金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

722 lines
19 KiB

  1. <template>
  2. <view>
  3. <lf-nav title="商品详情" titleColor="#fff" :spreadOut="false" :showIcon="true" bgColor="transparent"></lf-nav>
  4. <skeleton :loading="skeletonLoading" :row="12" :showAvatar="false" :showTitle="true">
  5. <block>
  6. <!-- 商品图片轮播 -->
  7. <swiper :current="current" :indicator-dots="2 > 1 ? false : true" :circular="true" class="swiper-box" indicator-active-color="#1998FE">
  8. <swiper-item v-for="(item, index) in pictures" :key="index">
  9. <image mode="aspectFill" :src="item" style="width: 100%; height: 100%;" @click="lookImg(index)"></image>
  10. </swiper-item>
  11. </swiper>
  12. <!-- 商品主要信息 -->
  13. <view class="head-info">
  14. <view class="lf-row-between">
  15. <lf-price :iftext="false" :price="111"></lf-price>
  16. <text class="lf-iconfont icon-fenxiang lf-font-40" @click="shareGraphic()"></text>
  17. </view>
  18. <view class="lf-row-between lf-font-24 lf-m-t-20 lf-p-b-20">
  19. <view class="lf-font-bold lf-font-32 lf-color-222">颐莲喷雾 500ml</view>
  20. </view>
  21. <view class="lf-row-between lf-font-24 lf-p-b-30">
  22. <view class="lf-font-28 lf-color-777">门店自提</view>
  23. </view>
  24. </view>
  25. <self-line></self-line>
  26. <view class="bg-white">
  27. <view class="cu-bar padding-lr">
  28. <view class="lf-flex">
  29. <text class="lf-color-777 lf-font-28">优惠</text>
  30. <view v-if="orderDetails.coupon == ''">
  31. <text class="lf-color-price lf-font-28 lf-m-l-10" v-for="(item,index) of orderDetails.coupon">{{item.tag}}</text>
  32. </view>
  33. <view v-else>
  34. <text class="lf-color-222 lf-font-26 lf-m-l-30">化妆品教师节满1200减200</text>
  35. </view>
  36. </view>
  37. <view>
  38. <text class="lf-font-24 lf-color-777 lf-iconfont icon-xiangyou"></text>
  39. </view>
  40. </view>
  41. </view>
  42. <self-line></self-line>
  43. <view class="bg-white">
  44. <view class="cu-bar padding-lr">
  45. <view class="lf-flex">
  46. <text class="lf-color-777 lf-font-28">服务</text>
  47. <view style="width: 600rpx;flex-wrap: wrap;display: flex;margin-top: 32rpx;">
  48. <view class="lf-m-l-30" v-for="i of 5">
  49. <text class="lf-iconfont icon-xuanzhong lf-font-30" style="color: #15716E;"></text>
  50. <text class="lf-m-l-10 lf-font-26 lf-color-black">正品保障</text>
  51. </view>
  52. </view>
  53. </view>
  54. <view>
  55. <text class="lf-font-24 lf-color-777 lf-iconfont icon-xiangyou"></text>
  56. </view>
  57. </view>
  58. </view>
  59. <view class="bg-white">
  60. <view class="cu-bar padding-lr">
  61. <view class="lf-flex">
  62. <text class="lf-color-777 lf-font-28">已选</text>
  63. <text class="lf-color-222 lf-font-26 lf-m-l-30">已选500ml x1</text>
  64. </view>
  65. <view>
  66. <text class="lf-font-24 lf-color-777 lf-iconfont icon-xiangyou"></text>
  67. </view>
  68. </view>
  69. </view>
  70. <self-line></self-line>
  71. <view>
  72. <view class="user-top">
  73. <view class="lf-row-between lf-w-100">
  74. <view class="lf-flex">
  75. <view class="tag-father">
  76. <image src="https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png" mode="aspectFill" class="head-img"></image>
  77. </view>
  78. <view class="lf-flex-column lf-m-l-20">
  79. <text class="lf-font-28 lf-color-black lf-font-bold">颐莲官方店</text>
  80. <view class="lf-font-24 lf-color-777"><u-icon name="map" class="lf-m-r-10"></u-icon>L2</view>
  81. </view>
  82. </view>
  83. <view>
  84. <button class="head-btn"><u-icon name="chat" class="lf-m-r-10"></u-icon></button>
  85. </view>
  86. </view>
  87. </view>
  88. <scroll-view class="scroll-view" :scroll-x="true">
  89. <view class="scroll-content">
  90. <view class="goods-item" v-for="(item, index) in 5" :key="index">
  91. <image class="goods-img"></image>
  92. <view class="goods-info">
  93. <view class="lf-line-1">猪大肠卖咯 5毛钱一斤咯</view>
  94. <view>0.5</view>
  95. </view>
  96. </view>
  97. <view class="goods-item">
  98. <view class="more-box">
  99. <text>查看更多</text>
  100. <text class="lf-iconfont icon--2 lf-text-vertical"></text>
  101. </view>
  102. </view>
  103. </view>
  104. </scroll-view>
  105. </view>
  106. <!-- 商品详情 -->
  107. <view class="goods-detail">
  108. <view class="lf-font-32 lf-font-bold lf-m-b-20">商品详情</view>
  109. <rich-text :nodes="formatRichText('商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情商品详情')"></rich-text>
  110. <!-- <image class="goods-img" :src="item" v-for="(item, index) in goods_detail.content" :key="index" v-if="goods_detail.content_type == 'img'"></image> -->
  111. </view>
  112. <!-- 修饰专用 -->
  113. <view class="extra"></view>
  114. <!-- 吸底操作按钮 -->
  115. <view class="lf-row-between fixed-bottom">
  116. <view class="lf-flex lf-p-t-10 lf-p-b-10">
  117. <view class="lf-flex-column lf-row-center icon-item" open-type="contact">
  118. <text class="lf-iconfont icon-shoucang icon-img"></text>
  119. <view class="lf-m-t-1">客服</view>
  120. </view>
  121. <view class="lf-flex-column lf-row-center icon-item" @click="switchCollect">
  122. <text class="lf-iconfont icon-shoucang icon-img" v-if="is_collect"></text>
  123. <text class="lf-iconfont icon-shoucang icon-img" v-else></text>
  124. <view class="lf-m-t-1">{{ is_collect ? '已收藏' : '收藏' }}</view>
  125. </view>
  126. <button class="lf-flex-column lf-row-center icon-item">
  127. <text class="lf-iconfont icon-shoucang icon-img"></text>
  128. <view class="lf-m-t-1">购物车</view>
  129. </button>
  130. </view>
  131. <view class="lf-flex">
  132. <button class="btn1" @click="shoot(1)">加入购物车</button>
  133. <button class="btn lf-m-l-15" @click="shoot(2)">立即购买</button>
  134. </view>
  135. </view>
  136. <!-- 加入购物车立即购买模态框选规格 -->
  137. <u-popup v-model="show_popup" mode="bottom">
  138. <view class="popup-content">
  139. <!-- 商品信息及关闭按钮 -->
  140. <view class="popup-head">
  141. <view class="lf-flex">
  142. <image class="goods-img" src="https://picsum.photos/200"></image>
  143. <view class="goods-info">
  144. <view class="price">¥5.8</view>
  145. <view class="goods-name">桃子</view>
  146. </view>
  147. </view>
  148. <view @click="show_popup = false">
  149. <text class="lf-iconfont icon-cuo lf-font-50"></text>
  150. </view>
  151. </view>
  152. <!-- 规格 -->
  153. <view class="spec-title">重量</view>
  154. <view class="lf-flex-wrap">
  155. <view :class="{
  156. 'spec-item': true,
  157. 'spec-active': spec_current == index}"
  158. @click="activeSpec(index)"
  159. v-for="(item, index) in 5"
  160. :key="index">{{ item +'0克' }}
  161. </view>
  162. </view>
  163. <!-- 数量 -->
  164. <view class="lf-row-between lf-m-t-40">
  165. <view class="lf-font-28 lf-color-555">数量</view>
  166. <view class="lf-flex">
  167. <view class="num-btn">
  168. <text class="lf-iconfont icon-xiangyou lf-font-24"></text>
  169. </view>
  170. <view>
  171. <input class="input" value="1" />
  172. </view>
  173. <view class="num-btn lf-text-right">
  174. <text class="lf-iconfont icon-xiangyou lf-font-24"></text>
  175. </view>
  176. </view>
  177. </view>
  178. <!-- 操作按钮 -->
  179. <button class="comfirm-btn" @click="confirm">{{ click_type == 1 ? '加入购物车' : '立即购买' }}</button>
  180. </view>
  181. </u-popup>
  182. <!-- 回到顶部 -->
  183. <u-back-top :scroll-top="pageScrollTop"></u-back-top>
  184. </block>
  185. </skeleton>
  186. </view>
  187. </template>
  188. <script>
  189. export default {
  190. data(){
  191. return {
  192. current: 0, // 轮播下标
  193. goods_id: 0,
  194. goods_detail: {},
  195. is_collect: false, // 1为当前收藏商品了,0为否
  196. skeletonLoading: false,
  197. pictures: [
  198. 'https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png',
  199. 'https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png',
  200. 'https://hainan.lanzulive.com/storage/images/v2-deb89623e0ee2a2dad34bcded6dfd1ed_1440w.png'
  201. ],
  202. show_popup: false, // 是否显示选规格模态框
  203. spec_current: null, // 规格下标
  204. click_type: null // 当前点击的是加入购物车[1]还是立即购买[2]
  205. }
  206. },
  207. onLoad(options){
  208. this.goods_id = options.goods_id;
  209. console.log('商品',this.goods_id)
  210. // this.getGoodsDetail();
  211. },
  212. computed: {
  213. isRight() {
  214. return function(val) {
  215. return this.$shared.isRight(val);
  216. }
  217. }
  218. },
  219. methods: {
  220. shoot(type){
  221. // TODO 判断type做不同的逻辑
  222. this.click_type = type;
  223. this.show_popup = true;
  224. },
  225. activeSpec(index){
  226. if(this.spec_current == index){
  227. this.spec_current = null;
  228. }else{
  229. this.spec_current = index;
  230. }
  231. },
  232. confirm(){
  233. if(this.click_type == 2){
  234. this.$url('/pages/order/confirm/confirm');
  235. }
  236. },
  237. shareGraphic(){
  238. this.getCreateShareImg();
  239. },
  240. //请求h5的图片接口
  241. getCreateShareImg(){
  242. wx.showLoading({
  243. title:"生成中",
  244. mask:true
  245. })
  246. let origin = window.location.origin;
  247. let share_url = origin+'/pages/store/detail/detail';
  248. this.$http.get({
  249. api:'api/distribution/createH5ShareImg',
  250. data:{
  251. goods_id:this.id,
  252. share_url:share_url
  253. }
  254. }).then(res=>{
  255. res = res.data;
  256. if(res.status){
  257. this.qr_code_image = res.data.image;
  258. if(this.qr_code_image){
  259. this.share_gaphic =!this.share_gaphic;
  260. this.is_toggle_share = false;
  261. }
  262. } else{
  263. wx.showModal({
  264. content: res.message || '请求失败,请重试',
  265. showCancel: false
  266. });
  267. }
  268. wx.hideLoading()
  269. }).catch(rej=>{
  270. wx.hideLoading()
  271. wx.showModal({
  272. content: rej.message || '内部错误,请重试',
  273. showCancel: false
  274. });
  275. })
  276. },
  277. getGoodsDetail(){
  278. this.$http(this.API.API_ADVICEDETAILS, {id: this.goods_id}).then(res => {
  279. this.skeletonLoading = false;
  280. this.goods_detail = res.data;
  281. this.is_collect = Boolean(res.data.is_collect) || false;
  282. }).catch(err => {
  283. this.skeletonLoading = false;
  284. setTimeout(() => {
  285. this.$toBack();
  286. }, 1000);
  287. })
  288. },
  289. // 切换商品收藏
  290. switchCollect(){
  291. let userInfo = uni.getStorageSync('userinfo') || {};
  292. if(!userInfo.id || !userInfo.nickname || !userInfo.avatar){
  293. this.$url('/pages/login/index?type=userinfo');
  294. return;
  295. }
  296. if(this.is_collect) {
  297. this.$http(this.API.API_DELCOLLECT, {agent_product_id:this.goods_id}).then(res => {
  298. this.$msg('取消收藏成功!')
  299. this.is_collect = false
  300. console.log(res)
  301. })
  302. }else {
  303. this.$http(this.API.API_ADDCOLLECT, {agent_product_id:this.goods_id}).then(res => {
  304. this.$msg('添加收藏成功!')
  305. this.is_collect = true
  306. console.log(res)
  307. })
  308. }
  309. },
  310. // 拨打电话
  311. makePhoneCall(phoneStr){
  312. uni.makePhoneCall({
  313. phoneNumber: String(phoneStr)
  314. })
  315. },
  316. // 打开地图
  317. openMap(){
  318. let { address, lat, lng } = this.goods_detail?.store || {};
  319. uni.openLocation({
  320. longitude: Number(lat),
  321. latitude: Number(lng),
  322. scale: 20,
  323. name: address
  324. });
  325. },
  326. // 跳转到确认下单页面
  327. toAddOrder(){
  328. let goods_id = this.goods_detail.id;
  329. this.$url('/pages/order/confirm_order?goods_id='+ goods_id);
  330. },
  331. // 预览图片
  332. lookImg(index){
  333. this.$u.throttle(() => {
  334. let goods_banner = this.goods_detail.banners || [];
  335. let banners = goods_banner.map(item => item.cover);
  336. uni.previewImage({
  337. urls: banners,
  338. current: index
  339. })
  340. }, 200);
  341. },
  342. // 富文本处理
  343. formatRichText(richText){
  344. if(richText != null){
  345. let newRichText= richText.replace(/<img[^>]*>/gi, function(match, capture){
  346. match = match.replace(/style="[^"]+"/gi, '').replace(/style='[^']+'/gi, '');
  347. match = match.replace(/width="[^"]+"/gi, '').replace(/width='[^']+'/gi, '');
  348. match = match.replace(/height="[^"]+"/gi, '').replace(/height='[^']+'/gi, '');
  349. return match;
  350. });
  351. newRichText = newRichText.replace(/style="[^"]+"/gi,function(match, capture){
  352. match = match.replace(/width:[^;]+;/gi, 'width:100%;').replace(/width:[^;]+;/gi, 'width:100%;');
  353. return match;
  354. });
  355. newRichText = newRichText.replace(/<br[^>]*\/>/gi, '');
  356. newRichText = newRichText.replace(/\<img/gi, '<img style="width:100%;height:auto;display:block;margin:10px 0;"');
  357. return newRichText;
  358. }else{
  359. return null;
  360. }
  361. }
  362. },
  363. onShareAppMessage(){
  364. let goods = this.goods_detail;
  365. let title = goods.name;
  366. let imageUrl = goods.share_cover || goods.cover;
  367. let path = '/pages/route/index?route=goods_detail&id='+ goods.id;
  368. return {
  369. title,
  370. path,
  371. imageUrl
  372. }
  373. }
  374. }
  375. </script>
  376. <style>
  377. page{
  378. background-color: #f5f5f5;
  379. overflow-x: hidden;
  380. }
  381. </style>
  382. <style lang="scss" scoped="scoped">
  383. //商品上去scrollview部分
  384. .scroll-view{
  385. height: 310rpx;
  386. width: 100%;
  387. // margin-top: 20rpx;
  388. padding: 0 30rpx 30rpx 30rpx;
  389. background-color: white;
  390. .scroll-content{
  391. display: flex;
  392. width: 100%;
  393. .goods-item{
  394. margin-right: 15rpx;
  395. width: 180rpx;
  396. }
  397. .goods-img{
  398. width: 180rpx;
  399. height: 180rpx;
  400. background-color: #EEEEEE;
  401. }
  402. .goods-info{
  403. text-align: center;
  404. color: #222222;
  405. &>view:nth-child(1n){
  406. font-size: 24rpx;
  407. }
  408. &>view:nth-child(2n){
  409. font-size: 28rpx;
  410. font-weight: bold;
  411. text-align: left;
  412. color: #F63434;
  413. }
  414. }
  415. .more-box{
  416. width: 180rpx;
  417. height: 180rpx;
  418. background-color: #EEEEEE;
  419. text-align: center;
  420. line-height: 180rpx;
  421. font-size: 24rpx;
  422. }
  423. }
  424. }
  425. //scrollview结束
  426. .tag-father {
  427. position: relative;
  428. }
  429. .head-tag {
  430. color: white;
  431. display: flex;
  432. align-items: center;
  433. justify-content: center;
  434. text-align: center;
  435. font-size: 24rpx;
  436. width: 36rpx;
  437. height: 36rpx;
  438. border-radius: 50%;
  439. background-color: #15716E;
  440. border: 1rpx solid #FFFFFF;
  441. position: absolute;
  442. left: 76rpx;
  443. top: 86rpx;
  444. z-index: 99;
  445. }
  446. .qzone-img {
  447. width: 220rpx;
  448. height: 220rpx;
  449. border-radius: 10rpx;
  450. margin-right: 12rpx;
  451. &:nth-child(3n) {
  452. margin-right: 0;
  453. }
  454. &:nth-child(n + 4) {
  455. margin-top: 12rpx;
  456. }
  457. }
  458. .user-top {
  459. background-color: #F3F8F8;
  460. padding: 30rpx;
  461. display: flex;
  462. align-items: center;
  463. background-color: white;
  464. }
  465. .head-img {
  466. width: 80rpx;
  467. height: 80rpx;
  468. border-radius: 50%;
  469. }
  470. .head-btn {
  471. display: flex;
  472. width: max-content;
  473. height: 45rpx;
  474. background: white;
  475. border: 2rpx solid #15716E;
  476. align-items: center;
  477. font-size: 22rpx;
  478. color: #15716E;
  479. justify-content: space-between;
  480. border-radius: 35rpx;
  481. padding: 10rpx!important;
  482. }
  483. .swiper-box{
  484. width: 750rpx;
  485. height: 750rpx;
  486. background-color: #FFFFFF;
  487. }
  488. .head-info{
  489. width: 750rpx;
  490. height: auto;
  491. box-sizing: border-box;
  492. padding: 0 32rpx;
  493. padding-top: 20rpx;
  494. background-color: #FFFFFF;
  495. // .price>view:nth-of-type(1){
  496. // color: #FF0000;
  497. // margin-right: 22rpx;
  498. // font-weight: bold;
  499. // }
  500. .price>view:nth-of-type(1){
  501. text-decoration: line-through;
  502. color: #777777;
  503. margin-right: 22rpx;
  504. }
  505. .price>view:nth-of-type(2){
  506. width: max-content;
  507. padding: 0 18rpx;
  508. height: 46rpx;
  509. background-color: #1998FE;
  510. border-radius: 10rpx;
  511. display: flex;
  512. justify-content: center;
  513. align-items: center;
  514. color: #FFFFFF;
  515. }
  516. .label-box{
  517. min-height: 130rpx;
  518. width: 100%;
  519. border-top: 1rpx solid #E5E5E5;
  520. display: flex;
  521. flex-wrap: wrap;
  522. padding: 30rpx 0 10rpx 0;
  523. .label-item{
  524. width: max-content;
  525. padding: 20rpx;
  526. height: 70rpx;
  527. border-radius: 10rpx;
  528. border: 2rpx solid #1998FE;
  529. display: flex;
  530. justify-content: center;
  531. align-items: center;
  532. font-size: 28rpx;
  533. color: #1998FE;
  534. margin-right: 20rpx;
  535. margin-bottom: 20rpx;
  536. }
  537. }
  538. }
  539. .address-box{
  540. width: 750rpx;
  541. height: auto;
  542. box-sizing: border-box;
  543. background-color: #FFFFFF;
  544. padding: 32rpx;
  545. margin-top: 20rpx;
  546. .shop-img{
  547. width: 60rpx;
  548. height: 60rpx;
  549. border-radius: 50%;
  550. }
  551. }
  552. .goods-detail{
  553. width: 750rpx;
  554. height: auto;
  555. background-color: #FFFFFF;
  556. padding: 32rpx;
  557. box-sizing: border-box;
  558. margin-top: 20rpx;
  559. .goods-img{
  560. width: 100%;
  561. }
  562. }
  563. .extra{
  564. width: 100%;
  565. height: 110rpx;
  566. padding-bottom: constant(safe-area-inset-bottom);
  567. padding-bottom: env(safe-area-inset-bottom);
  568. box-sizing: content-box;
  569. }
  570. .fixed-bottom{
  571. position: fixed;
  572. bottom: 0;
  573. left: 0;
  574. background-color: #FFFFFF;
  575. width: 100%;
  576. height: auto;
  577. padding: 0 32rpx;
  578. border-top: 1rpx solid #e5e5e5;
  579. padding-bottom: constant(safe-area-inset-bottom);
  580. padding-bottom: env(safe-area-inset-bottom);
  581. .icon-item{
  582. text-align: center;
  583. margin-right: 16rpx;
  584. background-color: transparent;
  585. margin: 0;
  586. line-height: initial;
  587. font-size: 28rpx;
  588. font-weight: inherit;
  589. margin-right: 10rpx;
  590. padding: 0;
  591. width: 88rpx;
  592. position: relative;
  593. &:first-child{
  594. padding-left: 0;
  595. }
  596. .icon-img{
  597. height: 50rpx;
  598. width: 50rpx;
  599. }
  600. }
  601. .btn1{
  602. margin: 0;
  603. width: max-content;
  604. height: 80rpx;
  605. background-color: rgba(21, 113, 110, 0.1);
  606. color: #15716E;
  607. line-height: 80rpx;
  608. font-size: 32rpx;
  609. padding: 0 20rpx;
  610. border-radius: 42rpx;
  611. font-size: 26rpx;
  612. border: 2rpx solid #15716E;
  613. }
  614. .btn{
  615. margin: 0;
  616. padding: 0 20rpx;
  617. width: max-content;
  618. height: 80rpx;
  619. background-color: #15716E;
  620. color: #FFFFFF;
  621. line-height: 80rpx;
  622. font-size: 26rpx;
  623. border-radius: 42rpx;
  624. }
  625. }
  626. .popup-content{
  627. height: max-content;
  628. width: 750rpx;
  629. background: #FFFFFF;
  630. border-radius: 20rpx 20rpx 0rpx 0rpx !important;
  631. padding: 40rpx 32rpx;
  632. .popup-head{
  633. display: flex;
  634. justify-content: space-between;
  635. .goods-img{
  636. width: 150rpx;
  637. height: 150rpx;
  638. border-radius: 2rpx;
  639. margin-right: 20rpx;
  640. }
  641. .goods-info{
  642. width: 400rpx;
  643. height: 150rpx;
  644. display: flex;
  645. flex-direction: column;
  646. justify-content: space-around;
  647. .price{
  648. font-size: 48rpx;
  649. font-weight: bold;
  650. color: #F63434;
  651. line-height: 1;
  652. }
  653. .goods-name{
  654. font-size: 32rpx;
  655. color: #222222;
  656. line-height: 1.4;
  657. }
  658. }
  659. }
  660. .spec-title{
  661. font-size: 28rpx;
  662. color: #555555;
  663. margin-top: 40rpx;
  664. margin-bottom: 20rpx;
  665. }
  666. .spec-item{
  667. width: 142rpx;
  668. height: 64rpx;
  669. border-radius: 33rpx;
  670. border: 2rpx solid #555555;
  671. font-size: 28rpx;
  672. color: #555555;
  673. display: flex;
  674. justify-content: center;
  675. align-items: center;
  676. margin-right: 20rpx;
  677. &:nth-child(4n){
  678. margin-right: 0rpx;
  679. }
  680. &:nth-child(n+5){
  681. margin-top: 20rpx;
  682. }
  683. }
  684. .spec-active{
  685. border: none;
  686. background-color: #15716E;
  687. color: #FFFFFF;
  688. }
  689. .input{
  690. width: 40rpx;
  691. height: 45rpx;
  692. border-radius: 2rpx;
  693. background-color: #F3F8F7;
  694. text-align: center;
  695. }
  696. .num-btn{
  697. width: 36rpx;
  698. }
  699. .comfirm-btn{
  700. width: 550rpx;
  701. height: 100rpx;
  702. background: #15716E;
  703. border-radius: 50rpx;
  704. color: #FFFFFF;
  705. line-height: 100rpx;
  706. margin-top: 62rpx;
  707. }
  708. }
  709. </style>