index.vue 17 KB

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