goodDetails.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. <template>
  2. <view class="container">
  3. <swiper class="swiper" :indicator-dots="true" indicator-color="#9A9A9A" indicator-active-color="#52A63A" :autoplay="true"
  4. :interval="3000" :duration="500">
  5. <swiper-item v-for="(item,index) in goodData.imgs" :key="index">
  6. <cover-image :src="item.imgPath"></cover-image>
  7. </swiper-item>
  8. </swiper>
  9. <view class="good-info">
  10. <view class="auction-date" v-if="goodData.productType == 2">
  11. <text class="iconfont iconshijian"></text>
  12. {{goodData.auctionEndTime}}结束
  13. </view>
  14. <view class="good-price">
  15. <view class="auction-unit" v-if="goodData.productType == 2 || goodData.productType == 4">
  16. <view class="unit-type">RMB</view>
  17. <view class="unit-text">当前价</view>
  18. </view>
  19. <text class="sale-icon">¥</text>
  20. <text class="sale-price">{{ goodData.productType == 2 ? currentPrice : goodData.bizPrice }}</text>
  21. <text class="price" v-if="goodData.productType != 2">原价:{{goodData.originalPrice}}</text>
  22. <text class="seller-count" v-if="goodData.productType != 2 && goodData.productType != 4">{{goodData.sellCount}}人付款</text>
  23. <text class="good-stock" v-if="goodData.productType == 2">仅限{{goodData.stock}}份</text>
  24. </view>
  25. <view class="good-name">{{goodData.productName}}</view>
  26. <view class="good-plant" v-if="goodData.productType == 4">时长:{{goodData.term}}天&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;面积:{{goodData.areaSize}}平米</view>
  27. <view class="good-detail">{{goodData.productDescribe}}</view>
  28. </view>
  29. <view class="good-data" v-if="goodData.productType != 2 && goodData.productType != 4">
  30. <text class="good-select">选择</text>
  31. <text class="good-unit">{{number}}&nbsp;{{goodData.unit}}</text>
  32. <text class="iconfont iconfangxiang"></text>
  33. </view>
  34. <view class="tab-box">
  35. <view class="tab-col" :class="tabIndex == 1 ? 'tab-col-active' :''" @click="tabIndex = 1">产品介绍</view>
  36. <view class="tab-col" :class="tabIndex == 2 ? 'tab-col-active' :''" v-if="goodData.productType != 2 && goodData.productType != 4 "
  37. @click="tabIndex = 2">用户评价</view>
  38. </view>
  39. <rich-text :nodes="goodData.sellDesc" v-if="tabIndex == 1"></rich-text>
  40. <view class="good-assess" v-else>
  41. <view class="assess-row" v-for="(item,index) in assessList" :key="index">
  42. <cover-image class="assess-head" :src="item.headimg"></cover-image>
  43. <view class="assess-info">
  44. <view class="assess-name">{{item.nickname}}</view>
  45. <view class="assess-date">{{item.evaluateTime}}</view>
  46. <view class="assess-sore-box">
  47. <u-rate v-model="item.score" active-color="#FFAE21" disabled></u-rate>
  48. </view>
  49. <view class="assess-text">{{item.evaluateContent}}</view>
  50. <view class="assess-img-box">
  51. <cover-image class="img-col" v-for="site in item.evaluateImgs" :key="site" :src="site.imgUrl"></cover-image>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="assess-more" @click="goToEvaluate()">显示全部</view>
  56. </view>
  57. <view class="good-recommend">
  58. <view class="recommend-title">为您推荐</view>
  59. <scroll-view class="recommend-box" scroll-x="true">
  60. <view class="good-col" v-for="(item, index) in goodsList" :key="index">
  61. <cover-image class="good-img" :src="item.imgPath"></cover-image>
  62. <view class="good-name">{{item.productName}}</view>
  63. <view class="good-price">¥{{item.bizPrice}}</view>
  64. </view>
  65. </scroll-view>
  66. </view>
  67. <uni-goods-nav :fill="true" :options="goodData.productType == 4 ? [] : options" @click="goToShop" @buttonClick="showPopup"
  68. style="width: 100%; position: fixed; bottom: 0px;" :buttonGroup="goodData.productType == 2 ? buttonGroup2 : (goodData.productType == 4 ? (minePlant ? buttonGroup4 : buttonGroup3) : buttonGroup1)" />
  69. <uni-popup ref="popup" type="bottom">
  70. <view class="popup-box">
  71. <view class="popup-good-info-box">
  72. <cover-image class="popup-good-img" v-if="goodData.imgs.length" :src="goodData.imgs[0].imgPath"></cover-image>
  73. <view class="popup-good-data">
  74. <view class="popup-good-price"><text style="font-size: 14px;">¥</text>{{goodData.bizPrice}}</view>
  75. <view class="popup-good-number">库存{{goodData.stock}}件</view>
  76. <view class="popup-good-type">单位:{{goodData.unit}}</view>
  77. </view>
  78. <view class="popup-good-close"></view>
  79. </view>
  80. <view class="popup-good-info">数量</view>
  81. <view class="popup-good-number-box">
  82. <uni-icons type="minus-filled" size="20" color="#A67A54" @click="number>1?number--:''"></uni-icons>
  83. <text class="good-select">{{number}}</text>
  84. <uni-icons type="plus-filled" size="20" color="#A67A54" @click="number++"></uni-icons>
  85. </view>
  86. <uni-goods-nav :fill="true" :options="[]" :buttonGroup="buttonGroup1" @buttonClick="submitData" style="width: 100%; position: absolute; bottom: 0px;left:0px" />
  87. </view>
  88. </uni-popup>
  89. <u-top-tips ref="uTips"></u-top-tips>
  90. </view>
  91. </template>
  92. <script>
  93. const NET = require('@/utils/request')
  94. const API = require('@/config/api')
  95. export default {
  96. data() {
  97. return {
  98. // 从我的种植进入minePlant为true
  99. minePlant: false,
  100. goodId: '',
  101. goodData: {
  102. bizPrice: '',
  103. auctionStartPrice: '',
  104. originalPrice: '',
  105. productType: '',
  106. sellCount: '',
  107. productName: '',
  108. productDescribe: '',
  109. unit: '',
  110. sellDesc: '',
  111. stock: '',
  112. auctionEndTime: '',
  113. term: '',
  114. areaSize: '',
  115. imgs: [],
  116. },
  117. currentPrice: '',
  118. assessList: [],
  119. goodsList: [],
  120. number: 1,
  121. tabIndex: 1,
  122. options: [{
  123. icon: 'shop',
  124. text: '店铺',
  125. }],
  126. buttonGroup1: [{
  127. text: '加入购物车',
  128. backgroundColor: '#75BD60',
  129. color: '#fff'
  130. },
  131. {
  132. text: '立即购买',
  133. backgroundColor: '#52A63A',
  134. color: '#fff'
  135. }
  136. ],
  137. buttonGroup2: [{
  138. text: '立即参拍',
  139. backgroundColor: '#52A63A',
  140. color: '#fff'
  141. }],
  142. buttonGroup3: [{
  143. text: '立即购买',
  144. backgroundColor: '#52A63A',
  145. color: '#fff'
  146. }],
  147. buttonGroup4: [{
  148. text: '视察',
  149. backgroundColor: '#75BD60',
  150. color: '#fff'
  151. }, {
  152. text: '委托',
  153. backgroundColor: '#52A63A',
  154. color: '#fff'
  155. }],
  156. }
  157. },
  158. onLoad(options) {
  159. this.goodId = options.goodId ? options.goodId : ''
  160. this.minePlant = options.minePlant ? options.minePlant : false
  161. },
  162. onReady() {
  163. this.getGoodsList()
  164. if (this.goodId) {
  165. NET.request(API.getCommonGoodDetail + '/' + this.goodId, {}, 'GET').then(res => {
  166. this.goodData = res.data
  167. if (this.goodData.productType == 2) {
  168. this.getAuctionData()
  169. }
  170. }).catch(res => {
  171. this.$refs.uTips.show({
  172. title: '获取商品详情失败',
  173. type: 'warning',
  174. })
  175. })
  176. NET.request(API.getAssessList + this.goodId + '/1/3', {}, 'GET').then(res => {
  177. this.assessList = res.data.list
  178. }).catch(res => {
  179. this.$refs.uTips.show({
  180. title: '获取商品评价失败',
  181. type: 'warning',
  182. })
  183. })
  184. }
  185. },
  186. methods: {
  187. // 获取拍卖详情
  188. getAuctionData() {
  189. NET.request(API.getAuctionDetail + this.goodId, {}, 'GET').then(res => {
  190. this.currentPrice = res.data.currentPrice
  191. }).catch(error => {
  192. this.$refs.uTips.show({
  193. title: error.data.msg,
  194. type: 'warning',
  195. })
  196. })
  197. },
  198. // 跳转商铺页
  199. goToShop() {
  200. uni.navigateTo({
  201. url: '/pagesGood/shopDetails?goodId=' + this.goodId
  202. });
  203. },
  204. // 跳转评价页
  205. goToEvaluate() {
  206. uni.navigateTo({
  207. url: '/pagesGood/evaluateList?goodId=' + this.goodId
  208. });
  209. },
  210. // 获取为你推荐
  211. getGoodsList() {
  212. NET.request(API.getPreferGoods, {}, 'GET').then(res => {
  213. this.goodsList = res.data
  214. }).catch(error => {
  215. this.$refs.uTips.show({
  216. title: '获取为您推荐列表失败',
  217. type: 'warning',
  218. })
  219. })
  220. },
  221. // 弹出购物弹窗
  222. showPopup(e) {
  223. uni.removeStorageSync('defaultAddress');
  224. this.setGoodStorage()
  225. if (this.goodData.productType == 2) {
  226. uni.navigateTo({
  227. url: '/pagesGood/auctionDetail?goodId=' + this.goodId
  228. });
  229. } else if (this.goodData.productType == 4) {
  230. if (this.minePlant) {
  231. if (e.index == 0) {
  232. uni.navigateTo({
  233. url: '/pagesGood/plantVideo?productId=' + this.goodId
  234. });
  235. } else {
  236. uni.navigateTo({
  237. url: '/pagesMain/entrustList?productId=' + this.goodData.productId + '&tenantCode=' + this.goodData.tenantCode +
  238. '&productName=' + this.goodData.productName + '&areaSize=' + this.goodData.areaSize
  239. });
  240. }
  241. } else {
  242. uni.navigateTo({
  243. url: '/pagesGood/orderPay?flag=2&orderType=3&paySum=' + this.goodData.bizPrice
  244. });
  245. }
  246. } else {
  247. this.$refs.popup.open()
  248. }
  249. },
  250. // 存入商品信息缓存
  251. setGoodStorage() {
  252. uni.setStorage({
  253. key: 'orderData',
  254. data: {
  255. tenantCode: this.goodData.tenantCode,
  256. supplierName: this.goodData.supplierName,
  257. areaSize: this.goodData.productType == 4 ? this.goodData.areaSize : '',
  258. term: this.goodData.productType == 4 ? this.goodData.term : '',
  259. goodsList: [{
  260. bizPrice: this.goodData.bizPrice,
  261. buyNum: this.number,
  262. imgUrl: this.goodData.imgs.length ? this.goodData.imgs[0].imgPath : '',
  263. originalPrice: this.goodData.productType == 2 ? this.goodData.auctionStartPrice : this.goodData.originalPrice,
  264. productId: this.goodId,
  265. productName: this.goodData.productName,
  266. productType: this.goodData.productType,
  267. shoppingcartId: '',
  268. }]
  269. }
  270. });
  271. },
  272. // 提交操作
  273. submitData(e) {
  274. if (e.index) {
  275. // 立即购买
  276. uni.navigateTo({
  277. url: '/pagesGood/orderPay?flag=2&orderType=1'
  278. });
  279. } else {
  280. // 加入购物车
  281. NET.request(API.addCart, {
  282. productId: this.goodId,
  283. productName: this.goodData.productName,
  284. imgUrl: this.goodData.imgs.length ? this.goodData.imgs[0].imgPath : '',
  285. bizPrice: this.goodData.bizPrice,
  286. originalPrice: this.goodData.originalPrice,
  287. productType: this.goodData.productType,
  288. tenantCode: this.goodData.tenantCode,
  289. buyNum: this.number
  290. }, 'POST').then(res => {
  291. this.$refs.uTips.show({
  292. title: '加入购物车成功',
  293. type: 'success',
  294. })
  295. this.$refs.popup.close()
  296. }).catch(error => {
  297. this.$refs.uTips.show({
  298. title: '加入购物车失败',
  299. type: 'warning',
  300. })
  301. })
  302. }
  303. },
  304. },
  305. }
  306. </script>
  307. <style lang="less" scoped>
  308. .container {
  309. background-color: #f7f7f7;
  310. padding-bottom: 50px;
  311. .swiper {
  312. height: 375px;
  313. /deep/.uni-swiper-dot-active {
  314. width: 16px !important;
  315. border-radius: 8px;
  316. }
  317. }
  318. .good-info {
  319. box-sizing: border-box;
  320. padding: 0px 16px 22px 16px;
  321. background-color: #FFFFFF;
  322. .auction-date {
  323. width: calc(100% + 32px);
  324. height: 32px;
  325. box-sizing: border-box;
  326. padding: 0 16px;
  327. margin-left: -16px;
  328. background: #999999;
  329. line-height: 32px;
  330. font-size: 12px;
  331. font-family: PingFang SC;
  332. color: #FFFFFF;
  333. .iconshijian {
  334. font-size: 16px;
  335. margin-right: 8px;
  336. }
  337. }
  338. .good-price {
  339. height: 26px;
  340. padding-top: 22px;
  341. box-sizing: content-box;
  342. line-height: 26px;
  343. font-family: PingFang SC;
  344. white-space: nowrap;
  345. .auction-unit {
  346. width: 40px;
  347. height: 26px;
  348. float: left;
  349. .unit-type {
  350. height: 12px;
  351. font-size: 9px;
  352. font-family: PingFang SC;
  353. color: #666666;
  354. line-height: 9px;
  355. }
  356. .unit-text {
  357. height: 12px;
  358. font-size: 9px;
  359. font-family: PingFang SC;
  360. color: #52A63A;
  361. line-height: 12px;
  362. }
  363. }
  364. .sale-icon {
  365. font-size: 16px;
  366. color: #52A63A;
  367. margin-left: -2px;
  368. }
  369. .sale-price {
  370. font-size: 24px;
  371. color: #52A63A;
  372. }
  373. .price {
  374. font-size: 12px;
  375. text-decoration: line-through;
  376. color: #A67A54;
  377. margin-left: 6px;
  378. }
  379. .seller-count {
  380. float: right;
  381. font-size: 12px;
  382. color: #666666;
  383. }
  384. .good-stock {
  385. float: right;
  386. font-size: 12px;
  387. color: #A67954;
  388. }
  389. }
  390. .good-name {
  391. line-height: 20px;
  392. font-size: 16px;
  393. color: #343434;
  394. font-family: PingFang SC;
  395. margin: 12px 0 8px 0;
  396. }
  397. .good-plant {
  398. line-height: 14px;
  399. font-size: 12px;
  400. color: #000000;
  401. font-family: PingFang SC;
  402. margin-bottom: 4px;
  403. }
  404. .good-detail {
  405. line-height: 16px;
  406. font-size: 12px;
  407. color: #666666;
  408. font-family: PingFang SC;
  409. }
  410. }
  411. .good-data {
  412. height: 46px;
  413. margin-top: 10px;
  414. box-sizing: border-box;
  415. background-color: #FFFFFF;
  416. padding: 14px 16px;
  417. font-family: PingFang SC;
  418. font-size: 12px;
  419. line-height: 14px;
  420. .good-select {
  421. color: #666666;
  422. margin-right: 12px;
  423. }
  424. .good-unit {
  425. color: #343434;
  426. }
  427. .iconfont {
  428. float: right;
  429. font-size: 16px;
  430. color: #999999;
  431. }
  432. }
  433. .tab-box {
  434. height: 50px;
  435. background-color: #FFFFFF;
  436. box-sizing: border-box;
  437. padding: 0 16px;
  438. display: flex;
  439. justify-content: space-around;
  440. margin-top: 10px;
  441. .tab-col {
  442. height: 49px;
  443. font-size: 13px;
  444. font-family: PingFang SC;
  445. color: #666666;
  446. line-height: 50px;
  447. }
  448. .tab-col-active {
  449. font-size: 15px;
  450. color: #343434;
  451. border-bottom: 1px solid #52A63A;
  452. }
  453. }
  454. .good-assess {
  455. width: 100%;
  456. box-sizing: border-box;
  457. background-color: #FFFFFF;
  458. padding: 12px 16px 18px 16px;
  459. .assess-row {
  460. border-top: 1px solid #F6F6F6;
  461. padding: 12px 0;
  462. display: flex;
  463. .assess-head {
  464. width: 50px;
  465. height: 50px;
  466. object-fit: cover;
  467. border-radius: 50%;
  468. }
  469. .assess-info {
  470. width: calc(100% - 62px);
  471. margin-left: 12px;
  472. .assess-name {
  473. height: 18px;
  474. float: left;
  475. line-height: 18px;
  476. font-size: 15px;
  477. font-family: PingFang SC;
  478. font-weight: bold;
  479. color: #343434;
  480. }
  481. .assess-date {
  482. height: 18px;
  483. float: right;
  484. line-height: 18px;
  485. font-size: 12px;
  486. font-family: PingFang SC;
  487. font-weight: bold;
  488. color: #666666;
  489. }
  490. .assess-sore-box {
  491. width: 100%;
  492. height: 16px;
  493. float: left;
  494. margin: 6px 0;
  495. }
  496. .assess-text {
  497. width: 100%;
  498. float: left;
  499. font-size: 12px;
  500. font-family: PingFang SC;
  501. font-weight: bold;
  502. color: #666666;
  503. line-height: 16px;
  504. margin: 8px 0 10px 0;
  505. overflow: hidden;
  506. text-overflow: ellipsis;
  507. display: -webkit-box;
  508. -webkit-line-clamp: 2;
  509. -webkit-box-orient: vertical;
  510. word-wrap: break-word;
  511. }
  512. .assess-img-box {
  513. width: 100%;
  514. float: left;
  515. display: flex;
  516. .img-col {
  517. height: 60px;
  518. width: 60px;
  519. object-fit: cover;
  520. margin: 0 10px 10px 0;
  521. }
  522. }
  523. }
  524. }
  525. .assess-row:first-child {
  526. border-top: none;
  527. padding-top: 0;
  528. }
  529. .assess-more {
  530. width: 220px;
  531. height: 32px;
  532. position: relative;
  533. left: 50%;
  534. transform: translateX(-50%);
  535. border: 1px solid #52A63A;
  536. border-radius: 16px;
  537. text-align: center;
  538. font-size: 12px;
  539. font-family: PingFang SC;
  540. color: #53A63A;
  541. line-height: 32px;
  542. }
  543. }
  544. .good-recommend {
  545. height: 192px;
  546. background-color: #FFFFFF;
  547. margin: 10px 0;
  548. .recommend-title {
  549. height: 24px;
  550. padding-left: 16px;
  551. font-size: 14px;
  552. font-family: PingFang SC;
  553. color: #343434;
  554. line-height: 32px;
  555. }
  556. .recommend-box {
  557. width: 100%;
  558. height: 168px;
  559. white-space: nowrap;
  560. .good-col {
  561. width: 108px;
  562. height: 148px;
  563. margin: 10px 12px 10px 0px;
  564. border-radius: 5px;
  565. overflow: hidden;
  566. background: #FFFFFF;
  567. box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
  568. display: inline-block;
  569. .good-img {
  570. width: 108px;
  571. height: 108px;
  572. object-fit: cover;
  573. }
  574. .good-name {
  575. width: 100%;
  576. height: 14px;
  577. float: left;
  578. box-sizing: border-box;
  579. padding: 0 5px;
  580. font-size: 10px;
  581. font-family: PingFang SC;
  582. color: #343434;
  583. line-height: 14px;
  584. margin: 4px 0;
  585. white-space: nowrap;
  586. overflow: hidden;
  587. text-overflow: ellipsis;
  588. }
  589. .good-price {
  590. width: 100%;
  591. height: 16px;
  592. float: left;
  593. box-sizing: border-box;
  594. padding: 0 3px;
  595. font-size: 14px;
  596. font-family: PingFang SC;
  597. color: #6CA63A;
  598. line-height: 16px;
  599. }
  600. }
  601. .good-col:first-child {
  602. margin-left: 16px;
  603. }
  604. .good-col:last-child {
  605. margin-right: 16px;
  606. }
  607. }
  608. }
  609. .popup-box {
  610. width: 100vw;
  611. height: 362px;
  612. background-color: #FFFFFF;
  613. border-radius: 15px 15px 0px 0px;
  614. box-sizing: border-box;
  615. padding: 16px 16px 0 16px;
  616. .popup-good-info-box {
  617. height: 90px;
  618. margin-bottom: 4px;
  619. display: flex;
  620. .popup-good-img {
  621. width: 90px;
  622. height: 90px;
  623. object-fit: cover;
  624. border-radius: 5px;
  625. overflow: hidden;
  626. }
  627. .popup-good-data {
  628. width: calc(100% - 136px);
  629. height: 90px;
  630. margin-left: 22px;
  631. .popup-good-price {
  632. margin-top: 10px;
  633. height: 20px;
  634. line-height: 20px;
  635. font-size: 20px;
  636. font-family: PingFang SC;
  637. color: #52A63A;
  638. }
  639. .popup-good-number {
  640. height: 16px;
  641. font-size: 13px;
  642. font-family: PingFang SC;
  643. color: #9A9A9A;
  644. line-height: 16px;
  645. margin: 12px 0 10px 0;
  646. }
  647. .popup-good-type {
  648. height: 16px;
  649. font-size: 13px;
  650. font-family: PingFang SC;
  651. color: #343434;
  652. line-height: 16px;
  653. }
  654. }
  655. .popup-good-close {
  656. width: 24px;
  657. height: 24px;
  658. }
  659. }
  660. .popup-good-info {
  661. height: 33px;
  662. box-sizing: border-box;
  663. padding-top: 16px;
  664. margin-top: 16px;
  665. border-top: 1px solid #ECECEC;
  666. font-size: 14px;
  667. font-family: PingFang SC;
  668. color: #9A9A9A;
  669. line-height: 16px;
  670. }
  671. .popup-good-unit {
  672. height: 28px;
  673. display: inline-block;
  674. padding: 0 22px;
  675. margin-top: 14px;
  676. background: #52A63A;
  677. border-radius: 14px;
  678. font-size: 14px;
  679. font-family: PingFang SC;
  680. color: #FFFFFF;
  681. line-height: 28px;
  682. }
  683. .popup-good-number-box {
  684. height: 20px;
  685. float: right;
  686. margin-top: -20px;
  687. .good-select {
  688. font-size: 16px;
  689. font-family: PingFang SC;
  690. color: #343434;
  691. margin: 0 12px;
  692. line-height: 20px;
  693. }
  694. }
  695. }
  696. }
  697. </style>