index.vue 17 KB

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