index.vue 19 KB

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