index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  1. <template>
  2. <view>
  3. <view class="sticky-nav">
  4. <view class="nav-bar">
  5. <view class="left-nav">
  6. <ul>
  7. <li v-for="(item,index) in navList" :class="{active:!(index-menuIndex)}" :key="index">
  8. <view v-if="item.url">
  9. <navigator :url="item.url" v-text="item.name"></navigator>
  10. </view>
  11. <view v-else @click="menuShow(index)">
  12. <text v-text="item.name"></text>
  13. </view>
  14. </li>
  15. </ul>
  16. </view>
  17. <view class="right-nav">
  18. <image src="../../static/index/search_white_blod_big_icon.png" class="index_search"></image>
  19. <image src="../../static/index/notice_message_white_icon.png" class="index_info"></image>
  20. </view>
  21. </view>
  22. </view>
  23. <view>
  24. <view v-if="menuIndex===0" class="left-nav-title-box">
  25. <view class="left-nav-titles">
  26. <view v-for="(item,index) in leftNavList" :key="index">
  27. <view @click="navigate(item)">
  28. <image :src="item.imgurl" class="left-nav-title-img"></image>
  29. <text class="left-nav-title-content">{{item.content}}</text>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="uni-margin-wrap">
  34. <swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay"
  35. :interval="interval" :duration="duration" indicator-active-color="#FF713F"
  36. indicator-color="transparent">
  37. <swiper-item v-for="(item,index) in indexSwiperImgs" :key="index">
  38. <view class="swiper-item">
  39. <image :src="item" style="width: 720rpx;height:320rpx;border-radius: 10rpx;"></image>
  40. </view>
  41. </swiper-item>
  42. </swiper>
  43. </view>
  44. <view class="left-nav-center">
  45. <view class="left-nav-btns">
  46. <image src="../../static/index/index_jisi_icon.png" class="jisi-img">
  47. </image>
  48. <view class="left-nav-btnBox">
  49. <view class="left-nav-btn left-nav-btn1">
  50. <navigator url="/pages/index/peifu/index">
  51. <image src="../../static/index/peifu_icon.png" class="small-btn-img">
  52. </image>
  53. <text class="left-nav-btn-content">培福</text>
  54. </navigator>
  55. </view>
  56. <view class="left-nav-btn">
  57. <image src="../../static/index/xixing_icon.png" class="small-btn-img">
  58. </image>
  59. <text class="left-nav-btn-content">西游</text>
  60. </view>
  61. </view>
  62. </view>
  63. <view>
  64. <view class="nav-left-date">
  65. <text class="nav-left-oldDate">{{oldDate}}</text>
  66. <text class="nav-left-today">{{today}}</text>
  67. <text class="nav-left-lunarDate">{{lunarDate}}</text>
  68. </view>
  69. <view class="foli-box">
  70. <text class="nav-left-suit">宜</text><text
  71. class="nav-left-thing">{{suit.substr(0,9)+"..."}}</text>
  72. <text class="nav-left-aviod">忌</text><text
  73. class="nav-left-thing">{{avoid.substr(0,9)+"..."}}</text>
  74. <image src="../../static/index/foli_jiaobiao.png" class="foli"></image>
  75. </view>
  76. </view>
  77. <view class="ad-box">
  78. <swiper class="adSwiper" circular :indicator-dots="adIndicatorDots" vertical="true"
  79. :autoplay="adAutoplay" :interval="adInterval" :duration="adDuration">
  80. <swiper-item v-for="(item,index) in adSwiperImgs" :key="index">
  81. <view>
  82. <image :src="item" style="width: 720rpx;height:120rpx;border-radius: 10rpx;">
  83. </image>
  84. </view>
  85. </swiper-item>
  86. </swiper>
  87. </view>
  88. </view>
  89. <view class="left-nav-bottom">
  90. <view class="left-nav-headline-box">
  91. <text class="left-nav-headline">头条</text>
  92. </view>
  93. <view class="news-list-box" v-for="(item,index) in newsList" :key="index">
  94. <view class="news-item">
  95. <navigator :url="'/pages/headlines/detail?id='+item.id">
  96. <view class="news-list-item">
  97. <view class="news-list-item-title">
  98. <text>{{item.title}}</text>
  99. </view>
  100. <view class="news-list-item-tag">
  101. <text class="item-tag">{{item.tag}}</text>
  102. <text>{{item.publish_at}}</text>
  103. </view>
  104. </view>
  105. <image :src="item.thumb" style="width: 215rpx;height: 192rpx;display: inline-block;
  106. vertical-align: top;"></image>
  107. </navigator>
  108. </view>
  109. </view>
  110. </view>
  111. </view>
  112. <view v-else-if="menuIndex===1" class="left-nav-title-box">
  113. <view class="left-nav-titles">
  114. <view v-for="(item,index) in rightNavList" :key="index">
  115. <view @click="rightNavigate(item)">
  116. <image :src="item.imgurl" class="left-nav-title-img"></image>
  117. <text class="left-nav-title-content">{{item.content}}</text>
  118. </view>
  119. </view>
  120. </view>
  121. <view>
  122. <view class="rank-box">
  123. <view class="week-rank-box">
  124. <view class="week-rank">周排名</view>
  125. <view class="rank">{{rank}}</view>
  126. </view>
  127. <view class="share-btn">分享</view>
  128. <image src="../../static/index/share_black_common.png" class="share-img"></image>
  129. <image src="../../static/index/merit_cneter2.png" class="merit-img"></image>
  130. <view class="merit-content">+{{meritNumber}}</view>
  131. <view class="qiandao-status">{{initialStatus}}</view>
  132. </view>
  133. <uni-swipe-action>
  134. <view v-for="(item,index) in items" :key="index">
  135. <uni-swipe-action-item :right-options="options2" :show="item.isOpened" :auto-close="false"
  136. @change="change(item)" @click="bindClick(item,index)">
  137. <view class="home-nav-box">
  138. <image :src="item.imgUrl" class="nav-img"></image>
  139. <view class="nav-name"
  140. :class="item.name == '修心日志'||item.name == '日行一善'? 'right-distance':' '">
  141. {{item.name}}
  142. </view>
  143. <image src="../../static/index/merit_cneter2.png" class="nav-merit"></image>
  144. <view class="nav-count">+{{item.meritCount}}</view>
  145. <view class="nav-status">{{item.status}}</view>
  146. </view>
  147. </uni-swipe-action-item>
  148. </view>
  149. </uni-swipe-action>
  150. <view style="height:100rpx"></view>
  151. <view class="uni-publish">
  152. <navigator
  153. :url="`/pages/index/xiuxing/xiuxingItem?deleteItems=${JSON.stringify(deleteItems)}&items=${JSON.stringify(items)}`">
  154. <image class="send" src="../../static/index/icon/gongxiu_notice_add.png"></image>
  155. </navigator>
  156. </view>
  157. </view>
  158. </view>
  159. </view>
  160. </view>
  161. </template>
  162. <script>
  163. export default {
  164. data() {
  165. return {
  166. title: 'Hello',
  167. menuIndex: 0,
  168. navList: [{
  169. name: '祈福',
  170. url: ''
  171. },
  172. {
  173. name: '修行',
  174. url: ''
  175. },
  176. {
  177. name: '商城',
  178. url: '/pages/shop/index'
  179. }
  180. ],
  181. activeColor: '#007aff',
  182. styleType: 'text',
  183. leftNavList: [{
  184. imgurl: "../../static/index/home_icon_wish.png",
  185. content: "祈福",
  186. page: '../index/qifu/index'
  187. },
  188. {
  189. imgurl: "../../static/index/home_icon_excess.png",
  190. content: "超度",
  191. page: '../index/chaodu/index'
  192. },
  193. {
  194. imgurl: "../../static/index/home_icon_release.png",
  195. content: "放生",
  196. page: '../index/fangsheng/index'
  197. },
  198. {
  199. imgurl: "../../static/index/home_icon_light.png",
  200. content: "供灯",
  201. page: '../index/gongdeng/index'
  202. },
  203. {
  204. imgurl: "../../static/index/home_icon_answer.png",
  205. content: "答疑",
  206. page: '../index/answer/index'
  207. }
  208. ],
  209. background: ['color1', 'color2', 'color3'],
  210. indicatorDots: true,
  211. adIndicatorDots: false,
  212. autoplay: true,
  213. adAutoplay: true,
  214. interval: 2000,
  215. adInterval: 4000,
  216. duration: 1000,
  217. adDuration: 500,
  218. indexSwiperImgs: [
  219. "../../static/index/seat_double.png",
  220. "../../static/index/seat_sat.png",
  221. "../../static/index/seat_single.png"
  222. ],
  223. oldDate: "辛丑年壬辰月丙午日",
  224. today: "04月28日",
  225. lunarDate: "十七",
  226. suit: "出行 嫁娶 会亲友 开市",
  227. avoid: "入宅 作灶 安门 修造",
  228. adSwiperImgs: [
  229. "../../static/index/ad1.jpg",
  230. "../../static/index/ad2.jpg",
  231. "../../static/index/ad3.jpg"
  232. ],
  233. newsList: [{
  234. id: 1,
  235. title: "宽运法师对话李家杰博士(下),如何做到自在生命",
  236. tag: "头条",
  237. publish_at: "2021-04-27 17:45:25",
  238. thumb: "../../static/index/news-img.png"
  239. },
  240. {
  241. id: 2,
  242. title: "宽运法师对话李家杰博士(下),如何做到自在生命",
  243. tag: "头条",
  244. publish_at: "2021-04-27 17:45:25",
  245. thumb: "../../static/index/news-img.png"
  246. }
  247. ],
  248. form: {
  249. content: '',
  250. checked: false
  251. },
  252. rightNavList: [{
  253. imgurl: "../../static/index/home_icon_music.png",
  254. content: "佛音",
  255. page: '../index/music/index'
  256. },
  257. {
  258. imgurl: "../../static/index/home_icon_book.png",
  259. content: "佛经",
  260. page: '../index/book/index'
  261. },
  262. {
  263. imgurl: "../../static/index/home_icon_yufo.png",
  264. content: "行善",
  265. page: '../index/xingshan/index'
  266. },
  267. {
  268. imgurl: "../../static/index/home_icon_nianfo.png",
  269. content: "念佛",
  270. page: '../index/nianfo/index'
  271. },
  272. {
  273. imgurl: "../../static/index/home_icon_calendar.png",
  274. content: "佛历",
  275. page: '../index/calendar/index'
  276. }
  277. ],
  278. rank: 50000, //排名
  279. meritNumber: 0, //周排名功绩数目
  280. initialStatus: '未签到',
  281. //修行项目
  282. items: [{
  283. index: 0,
  284. imgUrl: '../../static/index/home_gongxiu.png',
  285. name: '共修',
  286. meritCount: 0,
  287. status: '去完成',
  288. isOpened: 'none'
  289. },
  290. {
  291. index: 1,
  292. imgUrl: '../../static/index/home_qifu.png',
  293. name: '祈福',
  294. meritCount: 0,
  295. status: '去完成',
  296. isOpened: 'none'
  297. },
  298. {
  299. index: 2,
  300. imgUrl: '../../static/index/home_fojing.png',
  301. name: '佛经',
  302. meritCount: 0,
  303. status: '去完成',
  304. isOpened: 'none'
  305. },
  306. {
  307. index: 3,
  308. imgUrl: '../../static/index/home_foyin.png',
  309. name: '佛音',
  310. meritCount: 0,
  311. status: '去完成',
  312. isOpened: 'none'
  313. },
  314. {
  315. index: 4,
  316. imgUrl: '../../static/index/home_nianfo.png',
  317. name: '念佛',
  318. meritCount: 0,
  319. status: '去完成',
  320. isOpened: 'none'
  321. },
  322. {
  323. index: 5,
  324. imgUrl: '../../static/index/home_yufo.png',
  325. name: '浴佛',
  326. meritCount: 0,
  327. status: '去完成',
  328. isOpened: 'none'
  329. },
  330. {
  331. index: 6,
  332. imgUrl: '../../static/index/home_jisi.png',
  333. name: '祭祀',
  334. meritCount: 0,
  335. status: '去完成',
  336. isOpened: 'none'
  337. },
  338. {
  339. index: 7,
  340. imgUrl: '../../static/index/home_xiyou.png',
  341. name: '西游',
  342. meritCount: 0,
  343. status: '去完成',
  344. isOpened: 'none'
  345. },
  346. {
  347. index: 8,
  348. imgUrl: '../../static/index/home_peifu.png',
  349. name: '培福',
  350. meritCount: 0,
  351. status: '去完成',
  352. isOpened: 'none'
  353. },
  354. {
  355. index: 9,
  356. imgUrl: '../../static/index/home_chaodu.png',
  357. name: '超度',
  358. meritCount: 0,
  359. status: '去完成',
  360. isOpened: 'none'
  361. },
  362. {
  363. index: 10,
  364. imgUrl: '../../static/index/home_rizhi.png',
  365. name: '修心日志',
  366. meritCount: 0,
  367. status: '去完成',
  368. isOpened: 'none'
  369. },
  370. {
  371. index: 11,
  372. imgUrl: '../../static/index/home_xingshan.png',
  373. name: '日行一善',
  374. meritCount: 0,
  375. status: '去完成',
  376. isOpened: 'none'
  377. },
  378. {
  379. index: 12,
  380. imgUrl: '../../static/index/home_zuochan.png',
  381. name: '坐禅',
  382. meritCount: 0,
  383. status: '去完成',
  384. isOpened: 'none'
  385. },
  386. {
  387. index: 13,
  388. imgUrl: '../../static/index/home_fangsheng.png',
  389. name: '放生',
  390. meritCount: 0,
  391. status: '去完成',
  392. isOpened: 'none'
  393. }
  394. ],
  395. options2: [{
  396. text: '删除',
  397. style: {
  398. backgroundColor: '#ff0000'
  399. }
  400. }],
  401. deleteItems: []
  402. }
  403. },
  404. onLoad(option) {
  405. this.$request.api('/api/test/', {}).then(res => {
  406. console.log(res)
  407. }).catch(parmas => {
  408. console.log(432142)
  409. })
  410. if(option.items){
  411. this.items = JSON.parse(option.items);
  412. console.log("indexLength:"+this.items.length);
  413. }
  414. },
  415. onShow() {
  416. try {
  417. const value = uni.getStorageSync('items');
  418. if (value) {
  419. console.log(value);
  420. this.items = value;
  421. try {
  422. uni.removeStorageSync('items');
  423. } catch (e) {
  424. // error
  425. }
  426. }
  427. } catch (e) {
  428. // error
  429. }
  430. },
  431. methods: {
  432. menuShow(index) {
  433. this.menuIndex = index;
  434. console.log(index)
  435. },
  436. navigate(item) {
  437. if (item.page) {
  438. uni.navigateTo({
  439. url: item.page
  440. });
  441. }
  442. },
  443. rightNavigate(item) {
  444. if (item.page) {
  445. console.log("2222")
  446. uni.navigateTo({
  447. url: item.page
  448. });
  449. }
  450. },
  451. change(item) {
  452. item.isOpened = 'right';
  453. // console.log('返回:', e);
  454. },
  455. bindClick(item, index) {
  456. //删除该项目
  457. this.items.splice(index, 1);
  458. this.deleteItems.push(item);
  459. this.deleteItems = [...new Set(this.deleteItems)];
  460. },
  461. }
  462. }
  463. </script>
  464. <style>
  465. page {
  466. background-color: rgb(247, 246, 242);
  467. }
  468. </style>
  469. <style lang="less" scoped>
  470. .sticky-nav {
  471. position: sticky;
  472. width: 100%;
  473. top: 0;
  474. z-index: 1;
  475. }
  476. .nav-bar {
  477. padding-top: 70rpx;
  478. padding-bottom: 10rpx;
  479. display: flex;
  480. justify-content: space-between;
  481. align-items: center;
  482. background: linear-gradient(rgb(255, 152, 101), rgb(255, 122, 85));
  483. height: 125rpx;
  484. }
  485. .left-nav {
  486. ul {
  487. padding: 0;
  488. margin-left: 20rpx;
  489. }
  490. ul li {
  491. list-style: none;
  492. display: inline-block;
  493. height: 30px;
  494. line-height: 30px;
  495. width: 50px;
  496. text-align: center;
  497. color: rgb(255, 214, 205);
  498. font-size: 18px;
  499. }
  500. .active {
  501. color: #fff;
  502. font-size: 22px;
  503. border-bottom: 2px solid #fff;
  504. }
  505. }
  506. .content-text {
  507. font-size: 20px;
  508. color: #333;
  509. margin-right: 5rpx;
  510. }
  511. .right-nav {
  512. margin-right: 15rpx;
  513. .index_search {
  514. width: 45rpx;
  515. height: 45rpx;
  516. margin-right: 15rpx;
  517. }
  518. .index_info {
  519. width: 45rpx;
  520. height: 45rpx;
  521. }
  522. }
  523. .left-nav-title-box {
  524. background: linear-gradient(rgb(255, 152, 101), rgb(255, 122, 85));
  525. border-radius: 0 0 180rpx 180rpx;
  526. height: 280rpx;
  527. padding: 30rpx 0;
  528. .left-nav-titles {
  529. padding-bottom: 30rpx;
  530. display: flex;
  531. justify-content: space-around;
  532. flex-direction: row;
  533. flex: 1 1 auto;
  534. .left-nav-title-img {
  535. width: 105rpx;
  536. height: 105rpx;
  537. }
  538. .left-nav-title-content {
  539. display: block;
  540. text-align: center;
  541. color: white;
  542. }
  543. }
  544. .left-nav-center {
  545. margin-top: 15rpx;
  546. background-color: #fff;
  547. padding: 0 18rpx;
  548. .left-nav-btns {
  549. display: flex;
  550. flex-direction: row;
  551. padding: 25rpx 0;
  552. .jisi-img {
  553. width: 340rpx;
  554. height: 240rpx;
  555. }
  556. .left-nav-btnBox {
  557. padding-left: 32rpx;
  558. .left-nav-btn {
  559. display: flex;
  560. justify-content: left;
  561. width: 348rpx;
  562. border: 1px solid rgb(247, 246, 242);
  563. border-radius: 10rpx;
  564. align-items: center;
  565. .small-btn-img {
  566. width: 100rpx;
  567. height: 100rpx;
  568. padding-right: 50rpx;
  569. }
  570. .left-nav-btn-content {
  571. font-size: 40rpx;
  572. }
  573. }
  574. .left-nav-btn1 {
  575. margin-bottom: 25rpx;
  576. }
  577. }
  578. }
  579. }
  580. .nav-left-oldDate {
  581. font-size: 42rpx;
  582. margin-right: 10rpx;
  583. }
  584. .nav-left-today {
  585. font-size: 32rpx;
  586. margin-right: 90rpx;
  587. color: rgb(170, 170, 170);
  588. }
  589. .nav-left-lunarDate {
  590. font-size: 40rpx;
  591. color: rgb(204, 173, 82);
  592. }
  593. .foli-box {
  594. position: relative;
  595. padding-bottom: 25rpx;
  596. .nav-left-suit {
  597. color: rgb(0, 128, 0);
  598. font-size: 40rpx;
  599. margin-right: 15rpx;
  600. }
  601. .nav-left-thing {
  602. margin-right: 30rpx;
  603. color: rgb(170, 170, 170);
  604. text-overflow: ellipsis;
  605. overflow: hidden;
  606. }
  607. .nav-left-aviod {
  608. color: rgb(255, 0, 0);
  609. font-size: 40rpx;
  610. margin-right: 15rpx;
  611. }
  612. .foli {
  613. width: 60rpx;
  614. height: 60rpx;
  615. position: absolute;
  616. bottom: 17rpx;
  617. right: 0;
  618. }
  619. }
  620. .ad-box {
  621. padding-bottom: 25rpx;
  622. .adSwiper {
  623. height: 57px;
  624. }
  625. }
  626. .left-nav-bottom {
  627. background-color: #fff;
  628. margin-top: 30rpx;
  629. padding-bottom: 100rpx;
  630. .news-list-box {
  631. display: flex;
  632. align-items: center;
  633. }
  634. .left-nav-headline-box {
  635. font-size: 45rpx;
  636. padding: 15rpx 0 15rpx 15rpx;
  637. }
  638. .news-item {
  639. padding: 16rpx 0;
  640. }
  641. .news-list-item {
  642. display: inline-block;
  643. padding-right: 10rpx;
  644. .news-list-item-title {
  645. width: 495rpx;
  646. height: 133rpx;
  647. word-wrap: break-word;
  648. font-size: 40rpx;
  649. padding-left: 20rpx;
  650. display: table-cell;
  651. vertical-align: top;
  652. }
  653. .news-list-item-tag {
  654. height: 59rpx;
  655. line-height: 59rpx;
  656. padding-left: 20rpx;
  657. color: rgb(170, 170, 170);
  658. .item-tag {
  659. padding-right: 20rpx;
  660. }
  661. }
  662. }
  663. }
  664. }
  665. .uni-margin-wrap {
  666. // width: 690rpx;
  667. width: 100%;
  668. .swiper {
  669. height: 320rpx;
  670. .swiper-item {
  671. display: block;
  672. height: 320rpx;
  673. line-height: 320rpx;
  674. text-align: center;
  675. }
  676. /deep/.uni-swiper-dot {
  677. border: 1px solid #FF713F !important;
  678. }
  679. }
  680. }
  681. .rank-box {
  682. display: flex;
  683. flex-direction: row;
  684. align-items: center;
  685. background-color: #fff;
  686. width: 95%;
  687. height: 130rpx;
  688. margin: 0 0 15rpx 20rpx;
  689. border-radius: 20rpx;
  690. .week-rank-box {
  691. width: 100rpx;
  692. height: 100rpx;
  693. background-color: rgb(251, 124, 89);
  694. border-radius: 50%;
  695. text-align: center;
  696. margin-right: 20rpx;
  697. margin-left: 20rpx;
  698. .week-rank {
  699. color: #fff;
  700. padding: 15rpx 0 10rpx 0;
  701. }
  702. .rank {
  703. color: #fff;
  704. }
  705. }
  706. .share-btn {
  707. color: #000;
  708. // font-weight: bold;
  709. font-size: 38rpx;
  710. margin-right: 15rpx;
  711. }
  712. .share-img {
  713. width: 35rpx;
  714. height: 30rpx;
  715. margin-right: 30rpx;
  716. }
  717. .merit-img {
  718. width: 45rpx;
  719. height: 45rpx;
  720. margin-right: 8rpx;
  721. }
  722. .merit-content {
  723. color: rgb(121, 121, 121);
  724. margin-right: 170rpx;
  725. }
  726. .qiandao-status {
  727. color: #fff;
  728. background-color: rgb(209, 177, 90);
  729. width: 150rpx;
  730. height: 60rpx;
  731. line-height: 60rpx;
  732. text-align: center;
  733. border-radius: 60rpx;
  734. }
  735. }
  736. .home-nav-box {
  737. display: flex;
  738. flex-direction: row;
  739. align-items: center;
  740. background-color: #fff;
  741. width: 95%;
  742. height: 130rpx;
  743. margin: 0 0 15rpx 20rpx;
  744. border-radius: 20rpx;
  745. .nav-img {
  746. width: 95rpx;
  747. height: 95rpx;
  748. margin: 0 20rpx;
  749. }
  750. .nav-name {
  751. font-size: 38rpx;
  752. margin-right: 85rpx;
  753. }
  754. .right-distance {
  755. margin-right: 9rpx;
  756. }
  757. .nav-merit {
  758. width: 45rpx;
  759. height: 45rpx;
  760. margin-right: 5rpx;
  761. }
  762. .nav-count {
  763. color: rgb(121, 121, 121);
  764. margin-right: 170rpx;
  765. }
  766. .nav-status {
  767. color: #fff;
  768. background-color: rgb(209, 177, 90);
  769. width: 150rpx;
  770. height: 60rpx;
  771. line-height: 60rpx;
  772. text-align: center;
  773. border-radius: 60rpx;
  774. }
  775. }
  776. /deep/.uni-swipe_button-group {
  777. height: 130rpx !important;
  778. }
  779. .uni-publish {
  780. position: fixed;
  781. right: 40rpx;
  782. bottom: 8%;
  783. z-index: 3;
  784. }
  785. .uni-publish .send {
  786. width: 120rpx;
  787. height: 120rpx;
  788. }
  789. </style>