shouhu.vue 22 KB

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