shouhu.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859
  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>
  209. </template>
  210. <script>
  211. let that;
  212. export default {
  213. data() {
  214. return {
  215. syVal: '',
  216. cr_id: '',
  217. updatedList: [],
  218. tabsList: [],
  219. volunteer_id: '',
  220. volhow: false /* 非志愿者弹层 */,
  221. volunteerShow: false /* 是否是志愿者控制页面去报名弹层 */,
  222. Tab: 0,
  223. show: false,
  224. latitudeAndLongitude: {
  225. latitude: '',
  226. longitude: ''
  227. },
  228. volunteerDetails: {} /* 志愿者详情 */,
  229. patrolList: [],
  230. // 连线
  231. // polylines: [
  232. // {
  233. // points: [
  234. // { latitude: 24.51947, longitude: 118.19673 },
  235. // { latitude: 24.54995, longitude: 118.10997 }
  236. // ],
  237. // color: '#000',
  238. // width: 2
  239. // },
  240. // {
  241. // points: [
  242. // { latitude: 24.54995, longitude: 118.10997 },
  243. // { latitude: 24.531, longitude: 118.1918 },
  244. // { latitude: 24.51947, longitude: 118.19673 }
  245. // // 更多点...
  246. // ],
  247. // color: '#FF0000',
  248. // width: 2
  249. // }
  250. // ],
  251. list2: [
  252. {
  253. image: 'https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/zyz_gr.png'
  254. },
  255. {
  256. image: 'https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/gj_zyjz.jpg'
  257. }
  258. ]
  259. };
  260. },
  261. onLoad() {
  262. that = this;
  263. this.loadGlobalFont();
  264. },
  265. filters: {
  266. completedBtn(t) {
  267. let s = that.getitem(t);
  268. return s.progress_text;
  269. }
  270. },
  271. beforeCreate() {
  272. that = this;
  273. },
  274. onShow() {
  275. this.details();
  276. },
  277. methods: {
  278. // 根据任务状态控制字体颜色
  279. getTextColor(index) {
  280. const item = this.getitem(index);
  281. if (item.progress_text === '通过') {
  282. return '#5ac725';
  283. } else if (item.progress_text === '待审核') {
  284. return '#3c9cff ';
  285. } else if (item.progress_text === '待提交') {
  286. return '#f1a532';
  287. } else if (item.progress_text === '驳回') {
  288. return '#e45656';
  289. } else if (item.progress_text === '已过期') {
  290. return '#909399';
  291. } else {
  292. return '#c87d5a'; // 默认或其他状态的文字颜色
  293. }
  294. },
  295. // 已完成
  296. getitem(t) {
  297. let s = {
  298. id: '',
  299. cr_id: '',
  300. cr_code: '',
  301. progress_text: '未派发'
  302. };
  303. if (t == 1) {
  304. this.patrolList.forEach((item, index) => {
  305. const date = new Date(item.created_at.replace(' ', 'T'));
  306. let time = date.getDate();
  307. if (time < 15 && item.type == 1) {
  308. s = item;
  309. }
  310. });
  311. }
  312. if (t == 2) {
  313. this.patrolList.forEach((item, index) => {
  314. const date = new Date(item.created_at.replace(' ', 'T'));
  315. let time = date.getDate();
  316. if (time > 15 && item.type == 1) {
  317. s = item;
  318. }
  319. });
  320. }
  321. if (t == 3) {
  322. s.id = 'new';
  323. s.cr_id = this.cr_id;
  324. s.progress_text = '去巡查';
  325. this.patrolList.forEach((item, index) => {
  326. const date = new Date(item.created_at.replace(' ', 'T'));
  327. let time = date.getDate();
  328. if (item.type == 2 && s.id == 'new') {
  329. s = item;
  330. }
  331. });
  332. }
  333. return s;
  334. },
  335. // 巡查
  336. patrolBtn(t) {
  337. if (this.volunteerShow) {
  338. that.volhow = true;
  339. } else {
  340. let item = this.getitem(t);
  341. if (item.progress_text == '未派发') {
  342. this.$common.errorToShow('当前任务还未派发');
  343. } else if (item.progress_text == '已过期') {
  344. this.$common.errorToShow('当前任务已过期');
  345. } else if (item.progress_text == '通过') {
  346. this.$common.errorToShow('当前任务已完成');
  347. } else {
  348. //判断 额外为巡查任务并且已完成则获取新任务
  349. // console.log(item, 'itemoee');
  350. if (item.type == 2 && item.progress == 3) {
  351. item.id = 'new';
  352. }
  353. console.log(item, 7878);
  354. uni.navigateTo({
  355. url: '/shouhu_fenbao/xunCha/xunCha?id=' + item.id + '&cr_id=' + item.cr_id + '&cr_code=' + item.cr_code
  356. });
  357. }
  358. }
  359. },
  360. // 志愿者详情判断是否为志愿者
  361. details() {
  362. this.$api.details({ main_body_id: 1 }, function (res) {
  363. if (res.code == 1) {
  364. if (res.data != false && res.data.id != undefined) {
  365. that.volunteerDetails = res.data;
  366. // console.log(that.volunteerDetails.cr_list, '是志愿者');
  367. // 剔除认领未审核通过的文物
  368. that.updatedList = that.volunteerDetails.cr_list.filter((item) => item.status == 1);
  369. that.cr_id = that.updatedList[0].id;
  370. // console.log(that.volunteerDetails, '是志愿者');
  371. if (that.syVal === '') {
  372. that.syVal = that.volunteerDetails.cr_list[0].title;
  373. }
  374. //获取syVal当前文物名的文物数据
  375. let getPatrolTaskCr = that.updatedList.filter((item) => item.title === that.syVal);
  376. that.getPatrolTask(getPatrolTaskCr[0]);
  377. that.volhow = false;
  378. that.volunteerShow = false;
  379. if (res.data.cr_list.length > 0) {
  380. // 剔除认领但未审核通过的文物
  381. that.list2 = res.data.cr_list.filter((item) => item.status == 1);
  382. }
  383. } else {
  384. // 控制非志愿者弹层
  385. that.volhow = true;
  386. that.volunteerShow = true;
  387. // console.log(that.volunteerShow, '非志愿者点击11');
  388. // console.log(res, '非志愿者');
  389. }
  390. } else {
  391. console.log(res);
  392. }
  393. });
  394. },
  395. goSignUp() {
  396. uni.navigateTo({
  397. url: '/index_fenbao/fuWu/baoMing/renLing'
  398. });
  399. },
  400. tabsClick(i) {
  401. this.getPatrolTask(i);
  402. this.syVal = i.title;
  403. this.cr_id = i.id;
  404. },
  405. // 志愿者任务列表
  406. getPatrolTask(i) {
  407. // console.log(i, 888);
  408. this.$api.getPatrolTask({ created_at: 'month', main_body_id: 1, volunteer_id: this.volunteerDetails.id }, function (res) {
  409. if (res.code === 1) {
  410. // 剔除审核通过和待审核的任务&& item.progress != 3 && item.progress != 2
  411. that.patrolList = res.data.filter((item) => item.cr_title === i.title);
  412. // console.log(that.patrolList, '任务9999');
  413. // 首先计算badge的value
  414. let badgeValue = that.patrolList.length;
  415. // 然后遍历updatedList中的每个对象,并添加badge属性
  416. that.updatedList.forEach(function (item) {
  417. // 每次循环都重新计算与当前item相关的patrolList
  418. let matchingPatrolList = res.data.filter(function (patrolItem) {
  419. // 已通过和待审核的不计徽标数
  420. return patrolItem.cr_title === item.title && patrolItem.progress != 3 && patrolItem.progress != 2 && patrolItem.progress != -2;
  421. });
  422. // 计算badge的value
  423. let badgeValue = matchingPatrolList.length;
  424. // 添加badge属性
  425. item.badge = {
  426. value: badgeValue
  427. };
  428. });
  429. } else {
  430. // console.log(res, '任务');
  431. }
  432. });
  433. },
  434. // 我的守护
  435. guardBtn() {
  436. if (this.volunteerShow) {
  437. // console.log(this.volunteerShow, '非志愿者点击22');
  438. // 不是志愿者打开去报名弹层
  439. that.volhow = true;
  440. } else {
  441. // console.log(this.volunteerShow, '非志愿者点击33');
  442. uni.navigateTo({
  443. url: '/shouhu_fenbao/shouHu/woDe'
  444. });
  445. }
  446. },
  447. // 预警
  448. // earlyWarning() {
  449. // uni.navigateTo({
  450. // url: '/shouhu_fenbao/yuJing/yuJing'
  451. // });
  452. // },
  453. // 驳回修改资料
  454. modifyBtn() {
  455. uni.navigateTo({
  456. url: '/index_fenbao/fuWu/baoMing/baoMing?volunteer_id=' + this.volunteerDetails.id + '&modifyId=' + this.volunteerDetails.cr_list[0].id
  457. });
  458. },
  459. // 投稿
  460. touGaoBtn() {
  461. if (this.volunteerShow) {
  462. that.volhow = true;
  463. } else {
  464. uni.navigateTo({
  465. url: '/shouhu_fenbao/shouHu/touGao'
  466. });
  467. }
  468. },
  469. // 答题
  470. daTiBtn() {
  471. if (this.volunteerShow) {
  472. that.volhow = true;
  473. } else {
  474. uni.navigateTo({
  475. url: '/answer_pages/home/dashboard'
  476. });
  477. }
  478. },
  479. xueXiBtn() {
  480. if (this.volunteerShow) {
  481. that.volhow = true;
  482. } else {
  483. uni.navigateTo({
  484. url: '/xueYuan_fenbao/keCheng/keCheng'
  485. });
  486. }
  487. },
  488. chuTiBtn() {
  489. if (this.volunteerShow) {
  490. that.volhow = true;
  491. } else {
  492. uni.navigateTo({
  493. url: '/shouhu_fenbao/chuangGuan/chuTi'
  494. });
  495. }
  496. },
  497. swiperBtn(i) {
  498. if (this.volunteerShow) {
  499. that.volhow = true;
  500. } else {
  501. uni.navigateTo({
  502. url: '/index_fenbao/GuanLi/XiangQing?id=' + this.list2[i].id
  503. });
  504. }
  505. },
  506. crDetailsBtn(id) {
  507. if (this.volunteerShow) {
  508. that.volhow = true;
  509. } else {
  510. uni.navigateTo({
  511. url: '/index_fenbao/GuanLi/XiangQing?id=' + id
  512. });
  513. }
  514. },
  515. close() {
  516. this.show = false;
  517. this.volhow = false;
  518. },
  519. // 加载字体
  520. loadGlobalFont() {
  521. try {
  522. uni.loadFontFace({
  523. family: 'MyGlobalFont', // 自定义字体名
  524. source: 'url("https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/songTi.ttf")',
  525. success() {
  526. console.log('全局字体加载成功');
  527. }
  528. });
  529. } catch (error) {
  530. console.error('全局字体加载异常', error);
  531. }
  532. }
  533. }
  534. };
  535. </script>
  536. <style>
  537. /deep/.u-swiper-indicator__wrapper__dot--active {
  538. width: 5px !important;
  539. }
  540. .fg {
  541. width: 80rpx;
  542. height: 5rpx;
  543. background-image: linear-gradient(to right, #e6c8af, #f7e4d0);
  544. }
  545. .box {
  546. height: auto;
  547. min-height: 100%;
  548. width: 100%;
  549. padding-bottom: 50rpx;
  550. background-image: url('https://huli-app.wenlvti.net/app_static/minnanhun/image/sh_bg.png');
  551. background-repeat: repeat-y;
  552. background-size: cover;
  553. /* overflow-x: hidden; */
  554. }
  555. .zwrw {
  556. border: 2rpx solid #eba869;
  557. width: 90%;
  558. margin: auto;
  559. }
  560. .img {
  561. height: 100%;
  562. width: 100%;
  563. }
  564. .ranking_item {
  565. display: inline-block;
  566. width: 200rpx;
  567. height: 62rpx;
  568. }
  569. .ranking_menu {
  570. width: 90%;
  571. margin: auto;
  572. margin-top: 40rpx;
  573. display: flex;
  574. justify-content: space-around;
  575. font-size: 28rpx;
  576. color: rgba(68, 68, 68, 0.6);
  577. text-align: center;
  578. line-height: 60rpx;
  579. }
  580. .map_box {
  581. width: 670rpx;
  582. height: 670rpx;
  583. margin: auto;
  584. margin-top: 40rpx;
  585. overflow: hidden;
  586. background: #fcfdfd;
  587. border-radius: 0rpx 0rpx 0rpx 0rpx;
  588. opacity: 1;
  589. }
  590. .map_tit {
  591. display: flex;
  592. align-items: center;
  593. margin-left: 50rpx;
  594. margin-top: 40rpx;
  595. font-size: 40rpx;
  596. font-weight: 900;
  597. line-height: 52rpx;
  598. color: #444444;
  599. font-family: 'MyGlobalFont';
  600. }
  601. .sh_rw {
  602. position: absolute;
  603. margin: auto;
  604. margin-top: 24rpx;
  605. justify-content: space-evenly;
  606. display: flex;
  607. align-items: center;
  608. z-index: 9;
  609. top: 0;
  610. right: 30rpx;
  611. background-color: #f1d1aa;
  612. }
  613. .item_rw {
  614. width: 176rpx;
  615. height: 56rpx;
  616. align-items: center;
  617. text-align: center;
  618. display: flex;
  619. justify-content: center;
  620. border: 2rpx #eba869 solid;
  621. font-family: 'MyGlobalFont';
  622. }
  623. .item_xg {
  624. position: absolute;
  625. right: -30rpx;
  626. top: 10rpx;
  627. width: 170rpx;
  628. height: 50rpx;
  629. align-items: center;
  630. text-align: center;
  631. display: flex;
  632. justify-content: center;
  633. border: 2rpx #90523c solid;
  634. border-radius: 15rpx;
  635. font-family: 'MyGlobalFont';
  636. }
  637. .swiper_box {
  638. width: 92%;
  639. margin: auto;
  640. margin-top: 28rpx;
  641. }
  642. /* /deep/.u-swiper__wrapper__item__wrapper__title.data-v-6b019429 {
  643. width: 220rpx !important;
  644. height: 40rpx !important;
  645. margin: auto !important;
  646. bottom: 10rpx !important;
  647. text-align: center !important;
  648. color: #fef3e1 !important;
  649. font-weight: 500 !important;
  650. font-size: 28rpx !important;
  651. background-image: url('/static/img/tab.png') !important;
  652. background-size: 100% 100% !important;
  653. background-color: transparent !important;
  654. }
  655. /deep/.u-swiper__wrapper__item__wrapper__title.data-v-d35034ce {
  656. width: 220rpx !important;
  657. height: 40rpx !important;
  658. margin: auto !important;
  659. bottom: 10rpx !important;
  660. text-align: center !important;
  661. color: #fef3e1 !important;
  662. font-weight: 500 !important;
  663. font-size: 28rpx !important;
  664. background-image: url('/static/img/tab.png') !important;
  665. background-size: 100% 100% !important;
  666. background-color: transparent !important;
  667. } */
  668. .xwgg {
  669. width: 170rpx;
  670. height: 89rpx;
  671. margin: auto;
  672. margin-top: 50rpx;
  673. margin-bottom: 20rpx;
  674. font-size: 32rpx;
  675. font-weight: 900;
  676. text-align: center;
  677. line-height: 89rpx;
  678. letter-spacing: 1px;
  679. color: #feece3;
  680. font-family: 'MyGlobalFont';
  681. background-image: url('/static/img/title2.png');
  682. background-size: 100% 100%;
  683. }
  684. .xwgg2 {
  685. background-image: url('/static/img/title.png') !important;
  686. background-size: 100% 100% !important;
  687. }
  688. .gg_box {
  689. width: 670rpx;
  690. margin: auto;
  691. margin-top: 20rpx;
  692. padding: 20rpx;
  693. border: 2rpx solid #ebc9a9;
  694. }
  695. .gg_item {
  696. display: flex;
  697. align-items: center;
  698. justify-content: space-between;
  699. margin-top: 25rpx;
  700. width: 630rpx;
  701. /* height: 80rpx; */
  702. }
  703. .gg_box2 {
  704. display: flex;
  705. justify-content: space-between;
  706. width: 92%;
  707. margin: auto;
  708. padding: 10rpx;
  709. border: 2rpx solid #ebc9a9;
  710. }
  711. .sytxt {
  712. position: absolute;
  713. top: 30rpx;
  714. left: 10rpx;
  715. opacity: 0.3;
  716. font-size: 32rpx;
  717. color: #ffffff;
  718. transform: rotate(35deg);
  719. }
  720. .gg_item2 {
  721. position: relative;
  722. width: 210rpx;
  723. height: 220rpx;
  724. text-align: center;
  725. border: 2rpx solid #eba869;
  726. }
  727. .rw_tit1 {
  728. font-size: 28rpx;
  729. color: #444444;
  730. line-height: 44rpx;
  731. }
  732. .rw_tit2 {
  733. font-size: 24rpx;
  734. color: rgba(68, 68, 68, 0.4);
  735. line-height: 40rpx;
  736. }
  737. .rw_tit3 {
  738. font-size: 28rpx;
  739. font-size: 24rpx;
  740. color: #81acb0;
  741. }
  742. .yaoqing {
  743. display: flex;
  744. align-items: center;
  745. justify-content: center;
  746. width: 128rpx;
  747. height: 52rpx;
  748. color: #444444;
  749. font-size: 24rpx;
  750. border: 2rpx #eba869 solid;
  751. }
  752. .xxrw_box {
  753. display: flex;
  754. justify-content: space-between;
  755. width: 90%;
  756. margin: auto;
  757. margin-top: 40rpx;
  758. }
  759. .xuexi {
  760. width: 208rpx;
  761. height: 240rpx;
  762. }
  763. .dati {
  764. width: 208rpx;
  765. height: 108rpx;
  766. }
  767. .bohui {
  768. display: flex;
  769. justify-content: start;
  770. width: 100%;
  771. height: 920rpx;
  772. margin: auto;
  773. margin-top: 50rpx;
  774. padding: 60rpx 30rpx 20rpx 50rpx;
  775. color: #90523c;
  776. font-weight: 600;
  777. line-height: 50rpx;
  778. font-size: 30rpx;
  779. background-image: url('https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/bh_bg.png');
  780. background-repeat: no-repeat;
  781. background-size: 100% 100%;
  782. }
  783. .zhuxiao {
  784. width: 92%;
  785. margin: auto;
  786. margin-top: 50rpx;
  787. color: #90523c;
  788. font-weight: 600;
  789. line-height: 50rpx;
  790. text-align: center;
  791. font-size: 30rpx;
  792. }
  793. .modify_box {
  794. width: 660rpx;
  795. height: 1000rpx;
  796. overflow: scroll;
  797. padding: 20rpx;
  798. font-size: 36rpx;
  799. text-align: center;
  800. }
  801. .rwbg {
  802. height: 60rpx;
  803. background-color: #c87d5a;
  804. color: #ffffff;
  805. }
  806. .rwbg2 {
  807. /* height: 60rpx; */
  808. background-color: #ffffff;
  809. /* color: red; */
  810. }
  811. .bt_box {
  812. display: flex;
  813. margin-top: 50rpx;
  814. justify-content: space-around;
  815. }
  816. .bt1 {
  817. width: 244rpx;
  818. height: 78rpx;
  819. border: 1px solid #312520;
  820. border-radius: 39rpx;
  821. text-align: center;
  822. line-height: 78rpx;
  823. color: black;
  824. }
  825. .bt2 {
  826. width: 244rpx;
  827. height: 78rpx;
  828. background: #ca5642;
  829. border-radius: 39rpx;
  830. text-align: center;
  831. line-height: 78rpx;
  832. color: #ffffff;
  833. }
  834. </style>