shouhu.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896
  1. <template>
  2. <view class="box">
  3. <u-navbar title="守护" :placeholder="true" bgColor="rgba(255,255,255,0)" :leftIconSize="0" titleStyle="font-weight:bold;color:#000000"></u-navbar>
  4. <!-- 审核中的志愿者信息 -->
  5. <view class="" v-if="volunteerDetails.status == '0' || volunteerDetails.status == '-1'">
  6. <view class="bohui">
  7. <view class="" style="margin-top: 50rpx">
  8. <image style="border: 4rpx #ce956d solid; width: 160rpx; height: 200rpx" src="https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/toux.png"></image>
  9. </view>
  10. <view style="margin-top: 30rpx; position: relative; line-height: 65rpx; margin-left: 20rpx">
  11. <view class="">姓名:{{ volunteerDetails.name }}</view>
  12. <view class="fg"></view>
  13. <view class="">手机:{{ volunteerDetails.mobile }}</view>
  14. <view class="fg"></view>
  15. <view class="">地址:{{ volunteerDetails.address }}</view>
  16. <view class="fg"></view>
  17. <view class="">单位:{{ volunteerDetails.unit_name }}</view>
  18. <view class="fg"></view>
  19. <view class="">身份证:{{ volunteerDetails.id_card }}</view>
  20. <view class="fg"></view>
  21. <view class="">志愿者状态:{{ volunteerDetails.status_text }}</view>
  22. <view class="fg"></view>
  23. <view class="" @click="crDetailsBtn(volunteerDetails.cr_list[0].id)">认领的文物:{{ volunteerDetails.cr_list[0].title || '暂无' }}</view>
  24. <view class="fg"></view>
  25. <view class="">认领描述:{{ volunteerDetails.cr_list[0].desc ? volunteerDetails.cr_list[0].desc : '' }}</view>
  26. <view class="fg"></view>
  27. <view v-if="volunteerDetails.status == '-1'" class="">反馈信息:{{ volunteerDetails.feedback ? volunteerDetails.feedback : '' }}</view>
  28. <view v-if="volunteerDetails.status == '-1'" class="fg"></view>
  29. <view v-if="volunteerDetails.status == '-1'" class="item_xg" @click="modifyBtn">
  30. <image style="width: 40rpx; height: 40rpx" src="https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/zyz_xg.png"></image>
  31. <view>去修改</view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <!-- 志愿者 -->
  37. <view v-else>
  38. <view class="" style="position: relative">
  39. <view class="sh_rw">
  40. <view class="item_rw" @click="guardBtn">
  41. <view>我的守护</view>
  42. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  43. </view>
  44. </view>
  45. </view>
  46. <!-- 轮播图 -->
  47. <view class="swiper_box">
  48. <u-swiper keyName="image" showTitle :autoplay="true" :height="160" :list="list2" @click="swiperBtn" circular radius="5" bgColor="transparent"></u-swiper>
  49. </view>
  50. <!-- 预警处理 -->
  51. <!-- <view class="xwgg">预警处理</view>
  52. <view class="gg_box">
  53. <view style="font-size: 32rpx; color: #444444">
  54. 您有
  55. <text style="color: #ff542d">3</text>
  56. 条预警事件待处理
  57. </view>
  58. <view @click="earlyWarning" class="gg_item" v-for="item in 2" :key="item">
  59. <view class="" style="display: flex; align-items: center">
  60. <image
  61. src="https://feicheng.16fw.cn:1443/uploads/20230425/suo34008e6935b8f2e920d95d58f8039a71.jpg"
  62. style="margin-right: 30rpx; width: 80rpx; height: 80rpx"
  63. ></image>
  64. <view class="">
  65. <view>疑似明火</view>
  66. <view style="font-size: 24rpx; color: rgba(68, 68, 68, 0.4)">发生时间 2024-2-1 14:24:30</view>
  67. </view>
  68. </view>
  69. <view style="display: flex; align-items: center">
  70. <text>去处理</text>
  71. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  72. </view>
  73. </view>
  74. </view> -->
  75. <!-- 巡查 -->
  76. <!-- <view v-if="patrolList.length > 0" class="gg_box" style="padding: 0 20rpx 20rpx 20rpx">
  77. <view @click="patrolBtn(item)" class="gg_item" v-for="item in patrolList" :key="item.id">
  78. <image :src="item.image" style="margin-right: 30rpx; width: 128rpx; height: 128rpx"></image>
  79. <view style="display: flex; align-items: center">
  80. <view>
  81. <view style="width: 330rpx">{{ item.desc }}</view>
  82. <view style="font-size: 24rpx; color: #81acb0">{{ item.title }}</view>
  83. </view>
  84. </view>
  85. <view style="display: flex; align-items: center">
  86. <text>去执行</text>
  87. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  88. </view>
  89. </view>
  90. </view> -->
  91. <!-- 是志愿者在显示内容 -->
  92. <!-- 修改不是志愿者也显示该页面 暂时注释 -->
  93. <view>
  94. <view class="map_tit" style="margin-left: 90rpx; margin-bottom: 30rpx">
  95. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  96. <view class="">巡查任务</view>
  97. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  98. </view>
  99. <view class="" style="width: 92%; display: flex; justify-content: center; margin: auto">
  100. <u-tabs
  101. keyName="title"
  102. :list="updatedList"
  103. @click="tabsClick"
  104. lineWidth="30"
  105. lineColor="#f56c6c"
  106. :activeStyle="{
  107. color: '#303133',
  108. fontWeight: 'bold',
  109. transform: 'scale(1.05)'
  110. }"
  111. :inactiveStyle="{
  112. color: '#606266',
  113. transform: 'scale(1)'
  114. }"
  115. itemStyle="padding-left: 15px; padding-right: 15px; height: 34px;"
  116. ></u-tabs>
  117. </view>
  118. <view class="gg_box2">
  119. <view class="gg_item2" v-for="(item, index) in 3" :key="item.index">
  120. <view class="sytxt">
  121. {{ syVal }}
  122. </view>
  123. <view @click="patrolBtn(index + 1)" v-if="index == 0">
  124. <view class="rwbg">上半月</view>
  125. <view class="rwbg">每月1号至15号</view>
  126. <button class="rwbg2" style="padding: 0" :style="{ color: getTextColor(index + 1) }">
  127. {{ (index + 1) | completedBtn }}
  128. </button>
  129. </view>
  130. <view @click="patrolBtn(index + 1)" v-if="index == 1">
  131. <view class="rwbg">下半月</view>
  132. <view class="rwbg">每月16号至31号</view>
  133. <button class="rwbg2" style="padding: 0" :style="{ color: getTextColor(index + 1) }">{{ (index + 1) | completedBtn }}</button>
  134. </view>
  135. <view class="rwbg" @click="patrolBtn(index + 1)" v-if="index == 2">
  136. <view class="rwbg">额外巡查</view>
  137. <view class="rwbg">任意时间</view>
  138. <!-- <view class="" style="display: flex"> -->
  139. <button class="rwbg2" style="padding: 0" :style="{ color: getTextColor(index + 1) }">
  140. {{ (index + 1) | completedBtn }}
  141. </button>
  142. <!-- <button style="height: 96rpx; font-size: 28rpx; line-height: 50rpx" class="rwbg2" :style="{ color: getTextColor(index + 1) }">线上</button> -->
  143. <!-- </view> -->
  144. </view>
  145. </view>
  146. </view>
  147. <!-- 投稿 -->
  148. <view class="map_tit" style="margin-left: 125rpx">
  149. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  150. <view class="">投稿</view>
  151. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  152. </view>
  153. <view class="gg_box">
  154. <view class="gg_item" @click="touGaoBtn">
  155. <view class="" style="display: flex; align-items: center">
  156. <view class="" style="width: 128rpx; margin-right: 30rpx">
  157. <u-swiper keyName="image" :autoplay="true" :height="64" :list="list2" circular radius="5" bgColor="transparent"></u-swiper>
  158. </view>
  159. <view class="">
  160. <view>
  161. <view class="rw_tit1">发布我与文物的故事</view>
  162. <view class="rw_tit2">发布文物最新动态</view>
  163. <view class="rw_tit3">积分奖励</view>
  164. </view>
  165. </view>
  166. </view>
  167. <view class="yaoqing">
  168. <view class="">去投稿</view>
  169. <image style="width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  170. </view>
  171. </view>
  172. </view>
  173. <view class="map_tit" style="margin-left: 125rpx">
  174. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  175. <view class="">闯关</view>
  176. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  177. </view>
  178. <view class="xxrw_box">
  179. <view class="xuexi" @click="xueXiBtn">
  180. <image src="/static/img/xx.png" class="img"></image>
  181. </view>
  182. <view class="">
  183. <view class="dati" @click="daTiBtn">
  184. <image src="/static/img/cg.png" class="img"></image>
  185. </view>
  186. <view @click="chuTiBtn" class="dati" style="margin-top: 20rpx">
  187. <image src="/static/img/ct.png" class="img"></image>
  188. </view>
  189. </view>
  190. <view class="xuexi" @click="show = true">
  191. <image src="/static/img/dk.png" class="img"></image>
  192. </view>
  193. </view>
  194. </view>
  195. </view>
  196. <u-popup :show="show" @close="close" mode="center" :round="10" bgColor="#fdf8ed">
  197. <view style="width: 600rpx; height: 300rpx; font-size: 36rpx; text-align: center; line-height: 300rpx">每日登录即可自动打卡</view>
  198. </u-popup>
  199. <!-- 去报名弹层 -->
  200. <u-popup bgColor="#f2c8a2" :show="volhow" @close="close" mode="center" customStyle="width:600rpx;padding: 30rpx;" round="20rpx">
  201. <view style="text-align: center; font-size: 30rpx">您当前还不是志愿者</view>
  202. <view style="margin-top: 20rpx"></view>
  203. <view class="bt_box">
  204. <view class="bt1" @click="volhow = false">取消</view>
  205. <view @click="goSignUp" class="bt2">去报名</view>
  206. </view>
  207. </u-popup>
  208. <view class="box-guanzhu3" v-if="loginShow">
  209. <view class="guanzhu-1" @click="loginPopUp()">点击登录,获取更多资讯</view>
  210. </view>
  211. </view>
  212. </template>
  213. <script>
  214. let that;
  215. export default {
  216. data() {
  217. return {
  218. syVal: '',
  219. cr_id: '',
  220. updatedList: [],
  221. tabsList: [],
  222. volunteer_id: '',
  223. volhow: false /* 非志愿者弹层 */,
  224. volunteerShow: false /* 是否是志愿者控制页面去报名弹层 */,
  225. Tab: 0,
  226. loginShow:false,
  227. show: false,
  228. latitudeAndLongitude: {
  229. latitude: '',
  230. longitude: ''
  231. },
  232. volunteerDetails: {} /* 志愿者详情 */,
  233. patrolList: [],
  234. // 连线
  235. // polylines: [
  236. // {
  237. // points: [
  238. // { latitude: 24.51947, longitude: 118.19673 },
  239. // { latitude: 24.54995, longitude: 118.10997 }
  240. // ],
  241. // color: '#000',
  242. // width: 2
  243. // },
  244. // {
  245. // points: [
  246. // { latitude: 24.54995, longitude: 118.10997 },
  247. // { latitude: 24.531, longitude: 118.1918 },
  248. // { latitude: 24.51947, longitude: 118.19673 }
  249. // // 更多点...
  250. // ],
  251. // color: '#FF0000',
  252. // width: 2
  253. // }
  254. // ],
  255. list2: [
  256. {
  257. image: 'https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/zyz_gr.png'
  258. },
  259. {
  260. image: 'https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/gj_zyjz.jpg'
  261. }
  262. ]
  263. };
  264. },
  265. onLoad() {
  266. that = this;
  267. },
  268. onShow() {
  269. this.loadGlobalFont();
  270. this.user = this.$common.userInfo();
  271. if (this.user === 'undefined' || this.user === '' || this.user === [] || this.user === null || this.user === false) {
  272. /* 跳转到登录页 */
  273. this.loginShow=true;
  274. // this.$common.toLogin();
  275. } else {
  276. // console.log(this.user);
  277. // 如果登录自动打卡
  278. this.loginShow=false;
  279. this.details();
  280. }
  281. },
  282. filters: {
  283. completedBtn(t) {
  284. let s = that.getitem(t);
  285. return s.progress_text;
  286. }
  287. },
  288. beforeCreate() {
  289. that = this;
  290. },
  291. methods: {
  292. // 根据任务状态控制字体颜色
  293. getTextColor(index) {
  294. const item = this.getitem(index);
  295. if (item.progress_text === '通过') {
  296. return '#5ac725';
  297. } else if (item.progress_text === '待审核') {
  298. return '#3c9cff ';
  299. } else if (item.progress_text === '待提交') {
  300. return '#f1a532';
  301. } else if (item.progress_text === '驳回') {
  302. return '#e45656';
  303. } else if (item.progress_text === '已过期') {
  304. return '#909399';
  305. } else {
  306. return '#c87d5a'; // 默认或其他状态的文字颜色
  307. }
  308. },
  309. loginPopUp(){
  310. this.$common.toLogin();
  311. },
  312. // 已完成
  313. getitem(t) {
  314. let s = {
  315. id: '',
  316. cr_id: '',
  317. cr_code: '',
  318. progress_text: '未派发'
  319. };
  320. if (t == 1) {
  321. this.patrolList.forEach((item, index) => {
  322. const date = new Date(item.created_at.replace(' ', 'T'));
  323. let time = date.getDate();
  324. if (time < 15 && item.type == 1) {
  325. s = item;
  326. }
  327. });
  328. }
  329. if (t == 2) {
  330. this.patrolList.forEach((item, index) => {
  331. const date = new Date(item.created_at.replace(' ', 'T'));
  332. let time = date.getDate();
  333. if (time > 15 && item.type == 1) {
  334. s = item;
  335. }
  336. });
  337. }
  338. if (t == 3) {
  339. s.id = 'new';
  340. s.cr_id = this.cr_id;
  341. s.progress_text = '去巡查';
  342. this.patrolList.forEach((item, index) => {
  343. const date = new Date(item.created_at.replace(' ', 'T'));
  344. let time = date.getDate();
  345. if (item.type == 2 && s.id == 'new') {
  346. s = item;
  347. }
  348. });
  349. }
  350. return s;
  351. },
  352. // 巡查
  353. patrolBtn(t) {
  354. if (this.volunteerShow) {
  355. that.volhow = true;
  356. } else {
  357. let item = this.getitem(t);
  358. if (item.progress_text == '未派发') {
  359. this.$common.errorToShow('当前任务还未派发');
  360. } else if (item.progress_text == '已过期') {
  361. this.$common.errorToShow('当前任务已过期');
  362. } else if (item.progress_text == '通过') {
  363. this.$common.errorToShow('当前任务已完成');
  364. } else {
  365. //判断 额外为巡查任务并且已完成则获取新任务
  366. // console.log(item, 'itemoee');
  367. if (item.type == 2 && item.progress == 3) {
  368. item.id = 'new';
  369. }
  370. console.log(item, 7878);
  371. uni.navigateTo({
  372. url: '/shouhu_fenbao/xunCha/xunCha?id=' + item.id + '&cr_id=' + item.cr_id + '&cr_code=' + item.cr_code
  373. });
  374. }
  375. }
  376. },
  377. // 志愿者详情判断是否为志愿者
  378. details() {
  379. this.$api.details({ main_body_id: 1 }, function (res) {
  380. if (res.code == 1) {
  381. if (res.data != false && res.data.id != undefined) {
  382. that.volunteerDetails = res.data;
  383. // console.log(that.volunteerDetails.cr_list, '是志愿者');
  384. // 剔除认领未审核通过的文物
  385. that.updatedList = that.volunteerDetails.cr_list.filter((item) => item.status == 1);
  386. that.cr_id = that.updatedList[0].id;
  387. // console.log(that.volunteerDetails, '是志愿者');
  388. if (that.syVal === '') {
  389. that.syVal = that.volunteerDetails.cr_list[0].title;
  390. }
  391. //获取syVal当前文物名的文物数据
  392. let getPatrolTaskCr = that.updatedList.filter((item) => item.title === that.syVal);
  393. that.getPatrolTask(getPatrolTaskCr[0]);
  394. that.volhow = false;
  395. that.volunteerShow = false;
  396. if (res.data.cr_list.length > 0) {
  397. // 剔除认领但未审核通过的文物
  398. that.list2 = res.data.cr_list.filter((item) => item.status == 1);
  399. }
  400. } else {
  401. // 控制非志愿者弹层
  402. that.volhow = true;
  403. that.volunteerShow = true;
  404. // console.log(that.volunteerShow, '非志愿者点击11');
  405. // console.log(res, '非志愿者');
  406. }
  407. } else {
  408. console.log(res);
  409. }
  410. });
  411. },
  412. goSignUp() {
  413. uni.navigateTo({
  414. url: '/index_fenbao/fuWu/baoMing/renLing'
  415. });
  416. },
  417. tabsClick(i) {
  418. this.getPatrolTask(i);
  419. this.syVal = i.title;
  420. this.cr_id = i.id;
  421. },
  422. // 志愿者任务列表
  423. getPatrolTask(i) {
  424. // console.log(i, 888);
  425. this.$api.getPatrolTask({ created_at: 'month', main_body_id: 1, volunteer_id: this.volunteerDetails.id }, function (res) {
  426. if (res.code === 1) {
  427. // 剔除审核通过和待审核的任务&& item.progress != 3 && item.progress != 2
  428. that.patrolList = res.data.filter((item) => item.cr_title === i.title);
  429. // console.log(that.patrolList, '任务9999');
  430. // 首先计算badge的value
  431. let badgeValue = that.patrolList.length;
  432. // 然后遍历updatedList中的每个对象,并添加badge属性
  433. that.updatedList.forEach(function (item) {
  434. // 每次循环都重新计算与当前item相关的patrolList
  435. let matchingPatrolList = res.data.filter(function (patrolItem) {
  436. // 已通过和待审核的不计徽标数
  437. return patrolItem.cr_title === item.title && patrolItem.progress != 3 && patrolItem.progress != 2 && patrolItem.progress != -2;
  438. });
  439. // 计算badge的value
  440. let badgeValue = matchingPatrolList.length;
  441. // 添加badge属性
  442. item.badge = {
  443. value: badgeValue
  444. };
  445. });
  446. } else {
  447. // console.log(res, '任务');
  448. }
  449. });
  450. },
  451. // 我的守护
  452. guardBtn() {
  453. if (this.volunteerShow) {
  454. // console.log(this.volunteerShow, '非志愿者点击22');
  455. // 不是志愿者打开去报名弹层
  456. that.volhow = true;
  457. } else {
  458. // console.log(this.volunteerShow, '非志愿者点击33');
  459. uni.navigateTo({
  460. url: '/shouhu_fenbao/shouHu/woDe'
  461. });
  462. }
  463. },
  464. // 预警
  465. // earlyWarning() {
  466. // uni.navigateTo({
  467. // url: '/shouhu_fenbao/yuJing/yuJing'
  468. // });
  469. // },
  470. // 驳回修改资料
  471. modifyBtn() {
  472. uni.navigateTo({
  473. url: '/index_fenbao/fuWu/baoMing/baoMing?volunteer_id=' + this.volunteerDetails.id + '&modifyId=' + this.volunteerDetails.cr_list[0].id
  474. });
  475. },
  476. // 投稿
  477. touGaoBtn() {
  478. if (this.volunteerShow) {
  479. that.volhow = true;
  480. } else {
  481. uni.navigateTo({
  482. url: '/shouhu_fenbao/shouHu/touGao'
  483. });
  484. }
  485. },
  486. // 答题
  487. daTiBtn() {
  488. if (this.volunteerShow) {
  489. that.volhow = true;
  490. } else {
  491. uni.navigateTo({
  492. url: '/answer_pages/home/dashboard'
  493. });
  494. }
  495. },
  496. xueXiBtn() {
  497. if (this.volunteerShow) {
  498. that.volhow = true;
  499. } else {
  500. uni.navigateTo({
  501. url: '/xueYuan_fenbao/keCheng/keCheng'
  502. });
  503. }
  504. },
  505. chuTiBtn() {
  506. if (this.volunteerShow) {
  507. that.volhow = true;
  508. } else {
  509. uni.navigateTo({
  510. url: '/shouhu_fenbao/chuangGuan/chuTi'
  511. });
  512. }
  513. },
  514. swiperBtn(i) {
  515. if (this.volunteerShow) {
  516. that.volhow = true;
  517. } else {
  518. uni.navigateTo({
  519. url: '/index_fenbao/GuanLi/XiangQing?id=' + this.list2[i].id
  520. });
  521. }
  522. },
  523. crDetailsBtn(id) {
  524. if (this.volunteerShow) {
  525. that.volhow = true;
  526. } else {
  527. uni.navigateTo({
  528. url: '/index_fenbao/GuanLi/XiangQing?id=' + id
  529. });
  530. }
  531. },
  532. close() {
  533. this.show = false;
  534. this.volhow = false;
  535. },
  536. // 加载字体
  537. loadGlobalFont() {
  538. try {
  539. uni.loadFontFace({
  540. family: 'MyGlobalFont', // 自定义字体名
  541. source: 'url("https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/songTi.ttf")',
  542. success() {
  543. console.log('全局字体加载成功');
  544. }
  545. });
  546. } catch (error) {
  547. console.error('全局字体加载异常', error);
  548. }
  549. }
  550. }
  551. };
  552. </script>
  553. <style>
  554. /deep/.u-swiper-indicator__wrapper__dot--active {
  555. width: 5px !important;
  556. }
  557. .fg {
  558. width: 80rpx;
  559. height: 5rpx;
  560. background-image: linear-gradient(to right, #e6c8af, #f7e4d0);
  561. }
  562. .box {
  563. height: auto;
  564. min-height: 100%;
  565. width: 100%;
  566. padding-bottom: 50rpx;
  567. background-image: url('https://huli-app.wenlvti.net/app_static/minnanhun/image/sh_bg.png');
  568. background-repeat: repeat-y;
  569. background-size: cover;
  570. /* overflow-x: hidden; */
  571. }
  572. .zwrw {
  573. border: 2rpx solid #eba869;
  574. width: 90%;
  575. margin: auto;
  576. }
  577. .img {
  578. height: 100%;
  579. width: 100%;
  580. }
  581. .ranking_item {
  582. display: inline-block;
  583. width: 200rpx;
  584. height: 62rpx;
  585. }
  586. .ranking_menu {
  587. width: 90%;
  588. margin: auto;
  589. margin-top: 40rpx;
  590. display: flex;
  591. justify-content: space-around;
  592. font-size: 28rpx;
  593. color: rgba(68, 68, 68, 0.6);
  594. text-align: center;
  595. line-height: 60rpx;
  596. }
  597. .map_box {
  598. width: 670rpx;
  599. height: 670rpx;
  600. margin: auto;
  601. margin-top: 40rpx;
  602. overflow: hidden;
  603. background: #fcfdfd;
  604. border-radius: 0rpx 0rpx 0rpx 0rpx;
  605. opacity: 1;
  606. }
  607. .map_tit {
  608. display: flex;
  609. align-items: center;
  610. margin-left: 50rpx;
  611. margin-top: 40rpx;
  612. font-size: 40rpx;
  613. font-weight: 900;
  614. line-height: 52rpx;
  615. color: #444444;
  616. font-family: 'MyGlobalFont';
  617. }
  618. .sh_rw {
  619. position: absolute;
  620. margin: auto;
  621. margin-top: 24rpx;
  622. justify-content: space-evenly;
  623. display: flex;
  624. align-items: center;
  625. z-index: 9;
  626. top: 0;
  627. right: 30rpx;
  628. background-color: #f1d1aa;
  629. }
  630. .item_rw {
  631. width: 176rpx;
  632. height: 56rpx;
  633. align-items: center;
  634. text-align: center;
  635. display: flex;
  636. justify-content: center;
  637. border: 2rpx #eba869 solid;
  638. font-family: 'MyGlobalFont';
  639. }
  640. .item_xg {
  641. position: absolute;
  642. right: -30rpx;
  643. top: 10rpx;
  644. width: 170rpx;
  645. height: 50rpx;
  646. align-items: center;
  647. text-align: center;
  648. display: flex;
  649. justify-content: center;
  650. border: 2rpx #90523c solid;
  651. border-radius: 15rpx;
  652. font-family: 'MyGlobalFont';
  653. }
  654. .swiper_box {
  655. width: 92%;
  656. margin: auto;
  657. margin-top: 28rpx;
  658. }
  659. /* /deep/.u-swiper__wrapper__item__wrapper__title.data-v-6b019429 {
  660. width: 220rpx !important;
  661. height: 40rpx !important;
  662. margin: auto !important;
  663. bottom: 10rpx !important;
  664. text-align: center !important;
  665. color: #fef3e1 !important;
  666. font-weight: 500 !important;
  667. font-size: 28rpx !important;
  668. background-image: url('/static/img/tab.png') !important;
  669. background-size: 100% 100% !important;
  670. background-color: transparent !important;
  671. }
  672. /deep/.u-swiper__wrapper__item__wrapper__title.data-v-d35034ce {
  673. width: 220rpx !important;
  674. height: 40rpx !important;
  675. margin: auto !important;
  676. bottom: 10rpx !important;
  677. text-align: center !important;
  678. color: #fef3e1 !important;
  679. font-weight: 500 !important;
  680. font-size: 28rpx !important;
  681. background-image: url('/static/img/tab.png') !important;
  682. background-size: 100% 100% !important;
  683. background-color: transparent !important;
  684. } */
  685. .xwgg {
  686. width: 170rpx;
  687. height: 89rpx;
  688. margin: auto;
  689. margin-top: 50rpx;
  690. margin-bottom: 20rpx;
  691. font-size: 32rpx;
  692. font-weight: 900;
  693. text-align: center;
  694. line-height: 89rpx;
  695. letter-spacing: 1px;
  696. color: #feece3;
  697. font-family: 'MyGlobalFont';
  698. background-image: url('/static/img/title2.png');
  699. background-size: 100% 100%;
  700. }
  701. .xwgg2 {
  702. background-image: url('/static/img/title.png') !important;
  703. background-size: 100% 100% !important;
  704. }
  705. .gg_box {
  706. width: 670rpx;
  707. margin: auto;
  708. margin-top: 20rpx;
  709. padding: 20rpx;
  710. border: 2rpx solid #ebc9a9;
  711. }
  712. .gg_item {
  713. display: flex;
  714. align-items: center;
  715. justify-content: space-between;
  716. margin-top: 25rpx;
  717. width: 630rpx;
  718. /* height: 80rpx; */
  719. }
  720. .gg_box2 {
  721. display: flex;
  722. justify-content: space-between;
  723. width: 92%;
  724. margin: auto;
  725. padding: 10rpx;
  726. border: 2rpx solid #ebc9a9;
  727. }
  728. .sytxt {
  729. position: absolute;
  730. top: 30rpx;
  731. left: 10rpx;
  732. opacity: 0.3;
  733. font-size: 32rpx;
  734. color: #ffffff;
  735. transform: rotate(35deg);
  736. }
  737. .gg_item2 {
  738. position: relative;
  739. width: 210rpx;
  740. height: 220rpx;
  741. text-align: center;
  742. border: 2rpx solid #eba869;
  743. }
  744. .rw_tit1 {
  745. font-size: 28rpx;
  746. color: #444444;
  747. line-height: 44rpx;
  748. }
  749. .rw_tit2 {
  750. font-size: 24rpx;
  751. color: rgba(68, 68, 68, 0.4);
  752. line-height: 40rpx;
  753. }
  754. .rw_tit3 {
  755. font-size: 28rpx;
  756. font-size: 24rpx;
  757. color: #81acb0;
  758. }
  759. .yaoqing {
  760. display: flex;
  761. align-items: center;
  762. justify-content: center;
  763. width: 128rpx;
  764. height: 52rpx;
  765. color: #444444;
  766. font-size: 24rpx;
  767. border: 2rpx #eba869 solid;
  768. }
  769. .xxrw_box {
  770. display: flex;
  771. justify-content: space-between;
  772. width: 90%;
  773. margin: auto;
  774. margin-top: 40rpx;
  775. }
  776. .xuexi {
  777. width: 208rpx;
  778. height: 240rpx;
  779. }
  780. .dati {
  781. width: 208rpx;
  782. height: 108rpx;
  783. }
  784. .bohui {
  785. display: flex;
  786. justify-content: start;
  787. width: 100%;
  788. height: 920rpx;
  789. margin: auto;
  790. margin-top: 50rpx;
  791. padding: 60rpx 30rpx 20rpx 50rpx;
  792. color: #90523c;
  793. font-weight: 600;
  794. line-height: 50rpx;
  795. font-size: 30rpx;
  796. background-image: url('https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/bh_bg.png');
  797. background-repeat: no-repeat;
  798. background-size: 100% 100%;
  799. }
  800. .zhuxiao {
  801. width: 92%;
  802. margin: auto;
  803. margin-top: 50rpx;
  804. color: #90523c;
  805. font-weight: 600;
  806. line-height: 50rpx;
  807. text-align: center;
  808. font-size: 30rpx;
  809. }
  810. .modify_box {
  811. width: 660rpx;
  812. height: 1000rpx;
  813. overflow: scroll;
  814. padding: 20rpx;
  815. font-size: 36rpx;
  816. text-align: center;
  817. }
  818. .rwbg {
  819. height: 60rpx;
  820. background-color: #c87d5a;
  821. color: #ffffff;
  822. }
  823. .rwbg2 {
  824. /* height: 60rpx; */
  825. background-color: #ffffff;
  826. /* color: red; */
  827. }
  828. .bt_box {
  829. display: flex;
  830. margin-top: 50rpx;
  831. justify-content: space-around;
  832. }
  833. .bt1 {
  834. width: 244rpx;
  835. height: 78rpx;
  836. border: 1px solid #312520;
  837. border-radius: 39rpx;
  838. text-align: center;
  839. line-height: 78rpx;
  840. color: black;
  841. }
  842. .bt2 {
  843. width: 244rpx;
  844. height: 78rpx;
  845. background: #ca5642;
  846. border-radius: 39rpx;
  847. text-align: center;
  848. line-height: 78rpx;
  849. color: #ffffff;
  850. }
  851. .box-guanzhu3{
  852. background-image: linear-gradient(160deg, rgba(162, 255, 146, 1.0) 0, rgba(84, 218, 255, 1.0) 100%);
  853. border-radius: 52rpx;
  854. height: 55rpx;
  855. display: flex;
  856. flex-direction: row;
  857. justify-self: center;
  858. width: 80%;
  859. position: fixed;
  860. bottom: 95rpx;
  861. right: 66rpx;
  862. z-index: 992;
  863. }
  864. .guanzhu-1{
  865. flex-grow: 5;
  866. text-align: center;
  867. margin-top: 10rpx;
  868. }
  869. </style>