index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  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. <view style="width: 90%; margin: auto" @click="goXjy">
  5. <u-swiper
  6. :list="swiperList"
  7. imgMode="aspectFill"
  8. :height="160"
  9. bgColor="transparent"
  10. :indicator="true"
  11. radius="5"
  12. keyName="image"
  13. :autoplay="true"
  14. :circular="true"
  15. indicatorStyle="bottom: 10px"
  16. indicatorMode="dot"
  17. indicatorActiveColor="#fff"
  18. indicatorInactiveColor="rgba(255, 255, 255, 0.35)"
  19. ></u-swiper>
  20. </view>
  21. <view class="cd_box">
  22. <view @click="menuBtn(index)" class="cd_item" v-for="(item, index) in menuList" :key="item.index">
  23. <view style="width: 322rpx; height: 68rpx">
  24. <image class="img" :src="item.image"></image>
  25. </view>
  26. <view class="cd_tit">{{ item.title }}</view>
  27. </view>
  28. </view>
  29. <!-- 新闻公告 -->
  30. <view class="map_tit" style="margin-left: 90rpx">
  31. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  32. <view class="">新闻公告</view>
  33. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  34. </view>
  35. <view style="position: relative" @click="noticeBtn">
  36. <view style="width: 660rpx; margin: auto; margin-top: 25rpx">
  37. <u-notice-bar
  38. speed="60"
  39. bgColor="#fefdfb"
  40. :text="newsList.title + (newsList.updated_at ? ` (${newsList.updated_at.split(' ')[0]})` : '')"
  41. mode="link"
  42. ></u-notice-bar>
  43. </view>
  44. </view>
  45. <view class="map_tit">
  46. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  47. <view class="">志愿者排行</view>
  48. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  49. </view>
  50. <!-- 排名 -->
  51. <view class="ranking_menu">
  52. <scroll-view scroll-x style="display: flex; white-space: nowrap" class="">
  53. <view @click="rankingTab(index)" v-for="(item, index) in rankingList" :key="item.id" class="ranking_item" :class="{ active: Tab == index }">
  54. {{ item.title }}
  55. </view>
  56. </scroll-view>
  57. </view>
  58. <view class="pm_box">
  59. <view class="pm_tit">排名</view>
  60. <view class="pm_tit">志愿者</view>
  61. <view class="pm_tit">活跃度</view>
  62. <view class="pm_tit" style="width: 60rpx">积分</view>
  63. <view class="pm_tit" style="width: 145rpx">任务达标率</view>
  64. </view>
  65. <view class="xx_box">
  66. <scroll-view style="height: 1000rpx" scroll-y="true" @scrolltolower="LoadMoress">
  67. <view @click="detailsBtn(item.id)" class="xx_item" v-for="(item, index) in information" :key="item.id">
  68. <view style="width: 64rpx; height: 64rpx">{{ index + 1 }}</view>
  69. <view style="width: 120rpx; font-size: 32rpx">{{ item.name }}</view>
  70. <view style="width: 60rpx">{{ item.active }}</view>
  71. <view>{{ item.score }}</view>
  72. <view>{{ item.completion_rate }}</view>
  73. </view>
  74. </scroll-view>
  75. </view>
  76. <view class="map_tit" style="margin-left: 90rpx">
  77. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  78. <view class="">文物研学</view>
  79. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  80. </view>
  81. <view @click="researchBtn" class="gengduo">更多</view>
  82. <view class="yx_box" @click="$common.navigateTo('/index_fenbao/HuoHuaLiYong/YanXue/XiangQing?id=' + research.id)">
  83. <view style="position: absolute; left: 6rpx; top: 6rpx">
  84. <image style="width: 160rpx; height: 240rpx" :src="research.image"></image>
  85. </view>
  86. <view style="margin-left: 200rpx">
  87. <view class="wwd">{{ research.title }}</view>
  88. <view class="time">活动时:{{ (research.start_time && research.start_time.split(' ')[0]) || '' }}</view>
  89. </view>
  90. <view class="baoming">
  91. <text>查看</text>
  92. <image style="margin-left: 10rpx; width: 32rpx; height: 32rpx" src="/static/img/arrow-right-line.png"></image>
  93. </view>
  94. </view>
  95. <!-- <view class="hd_btm">
  96. <view @click="researchBtn" style="display: flex;justify-content: flex-end;" >
  97. <view class="">查看更多</view>
  98. <image style="margin-left: 10rpx; width: 40rpx; height: 40rpx" src="/static/img/more.png"></image>
  99. </view>
  100. </view> -->
  101. <!-- 经典文物 -->
  102. <view class="map_tit" style="margin-left: 90rpx">
  103. <image style="width: 211rpx; height: 52rpx" src="/static/img/right_img.png"></image>
  104. <view class="">厦门文物</view>
  105. <image style="width: 211rpx; height: 52rpx" src="/static/img/left_img.png"></image>
  106. </view>
  107. <view @click="gengDuo" class="gengduo">更多</view>
  108. <view class="wenwu_box">
  109. <view @click="openBuildingInfo(item.id)" v-for="(item, index) in recommendList" :key="item.id">
  110. <view class="gc_item">
  111. <view class="gc_box" style="">
  112. <image v-if="item.thumbnail != null" style="width: 100%; height: 100%; border-radius: 15rpx" :src="item.thumbnail"></image>
  113. <image v-else src="https://huli-app.wenlvti.net/assets/addons/cms/img/noimage.jpg" style="width: 100%; height: 100%; border-radius: 15rpx"></image>
  114. </view>
  115. <view class="ww_tit">{{ item.title }}</view>
  116. <!-- <view class="bg_box">湖里区</view> -->
  117. <u-badge type="primary" max="99" :value="item.district" :absolute="true" :offset="[10, 5]"></u-badge>
  118. </view>
  119. </view>
  120. </view>
  121. <u-back-top :scrollTop="scrollTop" mode="square" top="1000" customStyle="background-color: #f1ceb4" :iconStyle="iconStyle"></u-back-top>
  122. <view class="box-guanzhu3" v-if="loginShow">
  123. <view class="guanzhu-1" @click="loginPopUp()">点击登录,获取更多资讯</view>
  124. </view>
  125. </view>
  126. </template>
  127. <script>
  128. let that;
  129. export default {
  130. data() {
  131. return {
  132. user: {},
  133. iconStyle: {
  134. color: '#af7e44'
  135. },
  136. research: {} /* 研学 */,
  137. region_id: '' /* 排行区域id */,
  138. cycle: 'year' /* 年度id */,
  139. scrollTop: 0,
  140. Tab: 0,
  141. page: '1',
  142. page2: '1',
  143. isLoading: false,
  144. isLoading2: false,
  145. recommendList: [],
  146. swiperList: [],
  147. loginShow:false,
  148. menuList: [
  149. {
  150. image: '/static/img/cd_bg2.png',
  151. title: '志愿服务',
  152. page: '/index_fenbao/fuWu/zuZhi/fuWu'
  153. },
  154. {
  155. image: '/static/img/cd_bg1.png',
  156. title: '巡查守护',
  157. page: '/index_fenbao/GuanLi/zhiYuanGeRen',
  158. path: '/index_fenbao/GuanLi/GuanLi'
  159. },
  160. {
  161. image: '/static/img/cd_bg1.png',
  162. title: '厦门文物',
  163. page: '/pages/wenWuPage/wenWuPage'
  164. },
  165. {
  166. image: '/static/img/cd_bg2.png',
  167. title: '活化利用',
  168. page: '/index_fenbao/HuoHuaLiYong/YanXue/HuoHuaLiYong'
  169. }
  170. ],
  171. newsList: {} /* 新闻 */,
  172. rankingList: [],
  173. // 信息列表
  174. information: []
  175. };
  176. },
  177. /* 页面触底 */
  178. onReachBottom() {
  179. if (this.isLoading) {
  180. return;
  181. } else {
  182. this.page++;
  183. this.getContentList();
  184. }
  185. },
  186. onShow() {
  187. this.page2 = 1;
  188. that.information = [];
  189. this.gitRankingList();
  190. this.user = this.$common.userInfo();
  191. if (this.user === 'undefined' || this.user === '' || this.user === [] || this.user === null || this.user === false) {
  192. /* 跳转到登录页 */
  193. this.loginShow=true;
  194. // this.$common.toLogin();
  195. } else {
  196. // console.log(this.user);
  197. // 如果登录自动打卡
  198. this.loginShow=false;
  199. this.checkInOnce();
  200. }
  201. },
  202. onLoad(option) {
  203. that = this;
  204. this.getIndexBanner();
  205. this.getContentList();
  206. this.getCategoryOnlyChildList();
  207. this.getNewsNotice();
  208. // // this.checkInOnce()
  209. this.activityLists();
  210. this.loadGlobalFont();
  211. },
  212. methods: {
  213. goXjy() {
  214. uni.navigateTo({
  215. url: '/index_fenbao/XuanJiangYuan/index'
  216. });
  217. },
  218. loginPopUp(){
  219. this.$common.toLogin();
  220. },
  221. // 轮播
  222. getIndexBanner() {
  223. this.$api.getIndexBanner({ main_body_id: 1 }, function (res) {
  224. that.swiperList = res.data.filter((item) => {
  225. return item.title == '文物管家';
  226. });
  227. });
  228. },
  229. // 排行
  230. gitRankingList() {
  231. this.isLoading2 = true;
  232. this.$api.rankingList({ page: this.page2, pageSize: '50', main_body_id: 1, cycle: this.cycle || '', region_id: this.region_id || '' }, function (res) {
  233. that.isLoading2 = false;
  234. that.information = [...that.information, ...res.data];
  235. });
  236. },
  237. rankingTab(i) {
  238. this.Tab = i;
  239. this.page2 = 1;
  240. that.information = [];
  241. this.cycle = this.rankingList[i].cycleId;
  242. this.region_id = this.rankingList[i].id;
  243. this.gitRankingList();
  244. },
  245. getContentList() {
  246. this.isLoading = true;
  247. this.$api.getContentList({ main_body_id: 1, model_id: 1, page: this.page, pageSize: '10' }, function (res) {
  248. // console.log(res, 666666666);
  249. that.isLoading = false;
  250. that.recommendList = [...that.recommendList, ...res.data];
  251. });
  252. },
  253. LoadMoress() {
  254. if (this.isLoading2) {
  255. return;
  256. } else {
  257. this.page2++;
  258. this.gitRankingList(this.cycle, this.region_id);
  259. }
  260. },
  261. getCategoryOnlyChildList() {
  262. this.$api.getCategoryOnlyChildList({ main_body_id: 1, pid: '5' }, function (res) {
  263. if (res.code == 1) {
  264. let a = {
  265. title: '年度',
  266. cycleId: 'year'
  267. };
  268. let b = {
  269. title: '月度',
  270. cycleId: 'month'
  271. };
  272. let dataArray = Object.values(res.data);
  273. dataArray.unshift(a, b);
  274. that.rankingList = dataArray;
  275. // console.log( that.rankingList, 454);
  276. } else {
  277. // console.log(res);
  278. }
  279. });
  280. },
  281. menuBtn(i) {
  282. if (this.menuList[i].title === '厦门文物') {
  283. uni.switchTab({
  284. url: this.menuList[i].page
  285. });
  286. } else if (this.menuList[i].title === '巡查守护') {
  287. // 判断是否为管理员
  288. this.$api.userManageRegionCrAuth({ main_body_id: 1 }, function (res) {
  289. if (res.code === 1) {
  290. console.log(res.data, '管理员');
  291. if (res.data != false) {
  292. uni.navigateTo({
  293. url: that.menuList[i].path + '?id=' + res.data
  294. });
  295. } else {
  296. uni.navigateTo({
  297. url: that.menuList[i].page
  298. });
  299. }
  300. }
  301. });
  302. } else {
  303. uni.navigateTo({
  304. url: this.menuList[i].page
  305. });
  306. }
  307. },
  308. // 公告
  309. noticeBtn() {
  310. uni.navigateTo({
  311. url: '/index_fenbao/XinWen/XinWen?id=' + this.newsList.id
  312. });
  313. },
  314. // 公告
  315. getNewsNotice() {
  316. this.$api.getNotice({ main_body_id: 1 }, function (res) {
  317. if (res.code == 1) {
  318. that.newsList = res.data;
  319. // console.log(that.newsListTit,'新闻')
  320. }
  321. });
  322. },
  323. // 新闻公告
  324. // getNewsNotice(){
  325. // this.$api.getNewsNotice({main_body_id:1},function(res){
  326. // // console.log(res,'新闻')
  327. // that.newsList=res.data
  328. // })
  329. // },
  330. // 文物研学
  331. activityLists() {
  332. this.$api.activityLists({ main_body_id: 1, type: 1 }, function (res) {
  333. // console.log(res, '活动');
  334. that.research = res.data[0];
  335. });
  336. },
  337. checkInOnce() {
  338. // 获取当前UTC日期,确保跨时区的一致性
  339. const now = new Date();
  340. const todayUTC = new Date(Date.UTC(now.getUTCFullYear(), now.getUTCMonth(), now.getUTCDate()));
  341. const checkInKey = `checkInTimestamp_${todayUTC.toISOString().slice(0, 10)}`; // 根据UTC日期构建键
  342. console.log(checkInKey, '时间');
  343. // 从本地存储获取今天的打卡时间戳
  344. const lastCheckInTimestampStr = uni.getStorageSync(checkInKey);
  345. // 转换为日期对象进行比较,确保基于日期而非具体时间
  346. let lastCheckInDate;
  347. if (lastCheckInTimestampStr) {
  348. lastCheckInDate = new Date(parseInt(lastCheckInTimestampStr)).setHours(0, 0, 0, 0);
  349. } else {
  350. lastCheckInDate = null;
  351. }
  352. const nowDate = todayUTC.setHours(0, 0, 0, 0);
  353. // 检查昨天是否有打卡记录,且今天是新的日期
  354. if (lastCheckInDate && nowDate > lastCheckInDate) {
  355. // 新的一天,理论上允许打卡
  356. console.log('新的一天,可以打卡。');
  357. // 清除昨天的记录,准备新一天的打卡
  358. uni.removeStorageSync(checkInKey);
  359. // 实际调用打卡接口
  360. this.$api.checkIn({ main_body_id: 1 }, (res) => {
  361. if (res.code === 1) {
  362. console.log(res, '实际打卡成功');
  363. // 保存打卡时间戳
  364. uni.setStorageSync(checkInKey, now.getTime());
  365. } else {
  366. console.error('实际打卡失败:', res);
  367. }
  368. });
  369. } else if (lastCheckInDate && nowDate === lastCheckInDate) {
  370. // 如果今天已经有打卡记录,则提示已打卡
  371. console.log('今日已打卡,明天再来吧!');
  372. } else {
  373. // 如果昨天没有打卡记录(首次尝试打卡)
  374. console.log('今天首次尝试打卡。');
  375. // 尝试调用打卡接口
  376. this.$api.checkIn({ main_body_id: 1 }, (res) => {
  377. if (res.code === 1) {
  378. console.log(res, '打卡成功');
  379. // 保存打卡时间戳
  380. uni.setStorageSync(checkInKey, now.getTime());
  381. } else {
  382. console.error('打卡失败:', res);
  383. }
  384. });
  385. }
  386. },
  387. // 排行
  388. detailsBtn(id) {
  389. uni.navigateTo({
  390. url: '/index_fenbao/fuWu/paiMing/paiMingXQ?id=' + id
  391. });
  392. },
  393. researchBtn() {
  394. uni.navigateTo({
  395. url: '/index_fenbao/HuoHuaLiYong/YanXue/YanXue'
  396. });
  397. },
  398. // 文物风采
  399. openBuildingInfo(id) {
  400. uni.navigateTo({
  401. url: '/index_fenbao/GuanLi/XiangQing?id=' + id
  402. });
  403. },
  404. // 更多风采
  405. gengDuo() {
  406. uni.navigateTo({
  407. url: '/index_fenbao/GuanLi/gengDuoFC'
  408. });
  409. },
  410. onPageScroll(e) {
  411. this.scrollTop = e.scrollTop;
  412. },
  413. // 加载字体
  414. loadGlobalFont() {
  415. try {
  416. uni.loadFontFace({
  417. family: 'MyGlobalFont', // 自定义字体名
  418. source: 'url("https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/songTi.ttf")',
  419. success() {
  420. console.log('全局字体加载成功');
  421. }
  422. });
  423. } catch (error) {
  424. console.error('全局字体加载异常', error);
  425. }
  426. }
  427. }
  428. };
  429. </script>
  430. <style>
  431. /deep/.u-swiper-indicator__wrapper__dot--active {
  432. width: 5px !important;
  433. }
  434. .box {
  435. height: auto;
  436. width: 100%;
  437. padding-bottom: 50rpx;
  438. background-image: url('https://huli-app.wenlvti.net/app_static/minnanhun/image/gj_bg.png');
  439. background-repeat: repeat-y;
  440. background-size: 100%;
  441. }
  442. .tuchu {
  443. color: #000000 !important;
  444. }
  445. .img {
  446. width: 100%;
  447. height: 100%;
  448. }
  449. .cd_box {
  450. display: flex;
  451. width: 90%;
  452. margin: auto;
  453. justify-content: space-between;
  454. flex-flow: wrap;
  455. margin-top: 60rpx;
  456. margin-bottom: 50rpx;
  457. }
  458. .cd_item {
  459. width: 322rpx;
  460. position: relative;
  461. margin-top: 34rpx;
  462. }
  463. .cd_tit {
  464. position: absolute;
  465. font-size: 32rpx;
  466. top: 4rpx;
  467. left: 90rpx;
  468. font-weight: 900;
  469. line-height: 64rpx;
  470. letter-spacing: 8rpx;
  471. color: #feece3;
  472. font-family: 'MyGlobalFont';
  473. }
  474. .gengduo {
  475. width: 175rpx;
  476. height: 60rpx;
  477. position: relative;
  478. top: 10px;
  479. left: 30px;
  480. text-align: center;
  481. line-height: 62rpx;
  482. font-size: 30rpx;
  483. font-weight: 600;
  484. margin-left: 475rpx;
  485. background-image: url('/static/img/tab.png');
  486. background-size: 100% 100%;
  487. font-family: 'MyGlobalFont';
  488. }
  489. .map_tit {
  490. display: flex;
  491. align-items: center;
  492. margin-left: 60rpx;
  493. margin-top: 40rpx;
  494. font-size: 40rpx;
  495. font-weight: 900;
  496. line-height: 52rpx;
  497. color: #444444;
  498. font-family: 'MyGlobalFont';
  499. }
  500. .ranking_menu {
  501. width: 90%;
  502. margin: auto;
  503. margin-top: 30rpx;
  504. display: flex;
  505. justify-content: space-around;
  506. font-size: 28rpx;
  507. color: rgba(68, 68, 68, 0.6);
  508. text-align: center;
  509. line-height: 60rpx;
  510. }
  511. .ranking_item {
  512. display: inline-block;
  513. width: 200rpx;
  514. height: 62rpx;
  515. font-family: 'MyGlobalFont';
  516. }
  517. .active {
  518. background-image: url('/static/img/tab.png');
  519. background-size: 100% 100%;
  520. }
  521. .pm_box {
  522. display: flex;
  523. justify-content: space-between;
  524. width: 90%;
  525. margin: auto;
  526. margin-top: 40rpx;
  527. }
  528. .pm_tit {
  529. width: 135rpx;
  530. font-size: 26rpx;
  531. font-family: MiSans, MiSans;
  532. font-weight: 400;
  533. color: rgba(68, 68, 68, 0.6);
  534. line-height: 40rpx;
  535. }
  536. .xx_box {
  537. width: 90%;
  538. height: 400rpx;
  539. margin-top: 40rpx;
  540. margin-left: 30rpx;
  541. overflow: scroll;
  542. }
  543. .xx_item {
  544. display: flex;
  545. justify-content: space-between;
  546. margin-top: 40rpx;
  547. font-size: 28rpx;
  548. color: #444444;
  549. line-height: 44rpx;
  550. }
  551. .yx_box {
  552. position: relative;
  553. width: 670rpx;
  554. height: 252rpx;
  555. display: flex;
  556. align-items: center;
  557. padding-right: 10rpx;
  558. justify-content: space-around;
  559. margin: auto;
  560. margin-top: 34rpx;
  561. background-image: url('https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/hh_item_bg.png');
  562. background-size: 100% 100%;
  563. }
  564. .wwd {
  565. font-size: 36rpx;
  566. font-weight: 400;
  567. color: #444444;
  568. line-height: 52rpx;
  569. }
  570. .time {
  571. font-size: 28rpx;
  572. color: rgba(68, 68, 68, 0.6);
  573. line-height: 44rpx;
  574. margin-top: 12rpx;
  575. }
  576. .baoming {
  577. display: flex;
  578. width: 145rpx;
  579. height: 56rpx;
  580. line-height: 56rpx;
  581. justify-content: center;
  582. align-items: center;
  583. font-size: 28rpx;
  584. color: #eba869;
  585. border: 2rpx solid #eba869;
  586. }
  587. .hd_btm {
  588. width: 90%;
  589. margin: auto;
  590. margin-top: 12rpx;
  591. letter-spacing: 0.2em;
  592. }
  593. .gg_box {
  594. width: 670rpx;
  595. height: 150rpx;
  596. margin: auto;
  597. margin-top: 20rpx;
  598. padding: 0 20rpx 0 20rpx;
  599. border: 2rpx solid #ebc9a9;
  600. }
  601. .gg_item {
  602. display: flex;
  603. align-items: center;
  604. justify-content: space-between;
  605. margin-top: 25rpx;
  606. width: 630rpx;
  607. height: 80rpx;
  608. }
  609. .wenwu_box {
  610. width: 92%;
  611. margin: auto;
  612. margin-top: 25rpx;
  613. display: flex;
  614. flex-flow: wrap;
  615. justify-content: space-between;
  616. }
  617. .gc_item {
  618. position: relative;
  619. width: 324rpx;
  620. color: #444444;
  621. /* font-weight: 900; */
  622. font-size: 32rpx;
  623. margin-top: 20rpx;
  624. font-family: 'MyGlobalFont';
  625. /* background: url('https://huli-app.wenlvti.net/app_static/WenWuGuanJia/image/ww_bg2.png') no-repeat;
  626. background-size: 100% 100%; */
  627. }
  628. .gc_box {
  629. width: 333rpx;
  630. height: 280rpx;
  631. }
  632. .bg_box {
  633. width: 184rpx;
  634. height: 62rpx;
  635. margin: auto;
  636. margin-top: 20rpx;
  637. line-height: 62rpx;
  638. color: #fef3e1;
  639. font-size: 28rpx;
  640. font-weight: 500;
  641. background-image: url('/static/img/tab.png');
  642. background-size: 100% 100%;
  643. font-family: 'MyGlobalFont';
  644. }
  645. .ww_tit {
  646. white-space: nowrap;
  647. overflow: hidden;
  648. text-overflow: ellipsis;
  649. margin-top: 10rpx;
  650. margin-left: 10rpx;
  651. }
  652. /deep/.u-notice-bar.data-v-24c07869 {
  653. border: 2rpx solid #ebc9a9;
  654. }
  655. /deep/.u-notice-bar.data-v-6862e5d8 {
  656. border: 2rpx solid #ebc9a9;
  657. }
  658. .box-guanzhu3{
  659. background-image: linear-gradient(160deg, rgba(162, 255, 146, 1.0) 0, rgba(84, 218, 255, 1.0) 100%);
  660. border-radius: 52rpx;
  661. height: 55rpx;
  662. display: flex;
  663. flex-direction: row;
  664. justify-self: center;
  665. width: 80%;
  666. position: fixed;
  667. bottom: 95rpx;
  668. right: 66rpx;
  669. z-index: 992;
  670. }
  671. .guanzhu-1{
  672. flex-grow: 5;
  673. text-align: center;
  674. margin-top: 10rpx;
  675. }
  676. </style>