index.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804
  1. <template>
  2. <view class="container">
  3. <!-- 顶部logo and 搜索 start-->
  4. <view class="status_bar"></view>
  5. <view class="top-bg"></view>
  6. <view class="top-search flex">
  7. <view class="search-box flex" @click="clickSearch()">
  8. <image class="search" src="../../static/icon/search-w.png" mode=""></image>
  9. <view class="search-font">输入关键词搜索</view>
  10. </view>
  11. </view>
  12. <!-- 顶部logo and 搜索 end-->
  13. <view class="jg" style="background-color: #fff;"></view>
  14. <!-- 轮播图 start -->
  15. <swiper class="top-swiper" autoplay="true" duration="400" interval="5000" >
  16. <swiper-item v-for="(item, index) in carouselList" :key="index" class="carousel-item"
  17. @click="bannerNavToUrl(item)">
  18. <image :src="item.pic" />
  19. </swiper-item>
  20. </swiper>
  21. <!-- 轮播图 end -->
  22. <!-- 分类 start -->
  23. <!-- <view class="cate-section flex">
  24. <view class="cate-item flex" v-for="citem in cateList" @click="gogogo(citem)">
  25. <view class="img-wrapper flex">
  26. <image :src="citem.img" mode=""></image>
  27. </view>
  28. <view class="item-title">{{citem.tit}}</view>
  29. </view>
  30. </view> -->
  31. <!-- 分类 ed -->
  32. <!-- 公告 start -->
  33. <!-- <view class="notice" v-if="list.length > 0">
  34. <xzw-notice theme="#ff5050" :list="list" @goItem="goItem" @goMore="goMore" :direction="'row'"/>
  35. </view> -->
  36. <!-- 公告 end -->
  37. <view class="jg">
  38. </view>
  39. <!-- #ifdef APP-PLUS -->
  40. <!-- <video src="../../static/video/v1.mp4" controls class="gsjs" ref="inv" id="myVideo" autoplay></video> -->
  41. <!-- <ad adpid="1108185255" @load="onload" @close="onclose" @error="onerror"></ad> -->
  42. <!-- #endif -->
  43. <!-- #ifdef H5 -->
  44. <!-- <video src="https://chat.yiqushangshi.com/wap/video/v1.mp4" controls class="gsjs" :muted="muted" ref="inv" id="myVideo"></video> -->
  45. <!-- #endif -->
  46. <!-- 商品列表 start -->
  47. <view class="hot-wrap">
  48. <view class="hot-top flex">
  49. <image src="../../static/icon/hhh.png" mode=""></image>
  50. <view class="">
  51. 礼包商品
  52. </view>
  53. </view>
  54. <view class="hot-list">
  55. <view class="good" v-for="item in goodList" @click="navTo('/pages/product/product?id=' + item.id)">
  56. <image :src="item.image" mode="" class="good-img"></image>
  57. <view class="good-tit">
  58. {{item.store_name}}
  59. </view>
  60. <view class="good-cz flex">
  61. <view class="price">
  62. <text class="xy">¥</text> <text>{{item.price}}</text><text class="old-price">¥{{item.ot_price}}</text>
  63. </view>
  64. <view class="cz-btn">
  65. 立即抢购
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <!-- 商品列表 ed-->
  72. <uni-popup ref="popupkf" type="center">
  73. <view class="popup-box">
  74. <view class="img">
  75. <image src="../../static/img/img009.png" mode=""></image>
  76. </view>
  77. <view class="mian">
  78. <view class="delivery">
  79. <view class="title">已经为您定制专属客服</view>
  80. <image src="../../static/img/img010.png" mode=""></image>
  81. </view>
  82. <view class="nocancel">客服VX:{{ text }}</view>
  83. <view class="comfirm-box">
  84. <view class="cancel" @click="cancel">取消</view>
  85. <view class="comfirm" @click="comfirm(text)">复制微信</view>
  86. </view>
  87. </view>
  88. </view>
  89. </uni-popup>
  90. </view>
  91. </template>
  92. <script>
  93. import { xzwNotoce} from '@/components/xzw-notice/xzw-notice.vue'
  94. import {
  95. loadIndexs,
  96. getArtList,
  97. groom1
  98. } from '@/api/index.js';
  99. import {
  100. getUserInfo,
  101. spread
  102. } from '@/api/user.js';
  103. import {
  104. getBargainList,
  105. getProducts,
  106. goodsDetail,
  107. poster
  108. } from '@/api/product.js';
  109. import {
  110. saveUrl,
  111. interceptor
  112. } from '@/utils/loginUtils';
  113. import {
  114. mapState,
  115. mapMutations
  116. } from 'vuex';
  117. // #ifdef H5
  118. import {
  119. weixindata,
  120. shareLoad
  121. } from '@/utils/wxAuthorized';
  122. // #endif
  123. export default {
  124. components: {
  125. xzwNotoce
  126. },
  127. data() {
  128. return {
  129. list: [],
  130. muted: false,
  131. cateList: [
  132. {
  133. path: '/pages/index/gift?is_pack=1',
  134. img: '../../static/icon/inx1.png',
  135. tit: 'VIP商品'
  136. },
  137. // {
  138. // path: '/pages/index/zero',
  139. // img: '../../static/icon/inx2.png',
  140. // tit: '零创业'
  141. // },
  142. // {
  143. // path: '/pages/index/gift?type=10',
  144. // img: '../../static/icon/inx3.png',
  145. // tit: '普惠商城'
  146. // },
  147. // {
  148. // path: '/pages/index/three',
  149. // img: '../../static/icon/inx4.png',
  150. // tit: '第三方商城'
  151. // },
  152. // {
  153. // path: '/pages/index/life',
  154. // img: '../../static/icon/inx5.png',
  155. // tit: '本地生活'
  156. // },
  157. // {
  158. // path: '/pages/index/gift?is_zero=1',
  159. // img: '../../static/icon/inx6.png',
  160. // tit: '超级秒杀'
  161. // },
  162. // {
  163. // path: '/pages/index/gift?type=5',
  164. // img: '../../static/icon/inx7.png',
  165. // tit: '新能源'
  166. // },
  167. // {
  168. // path: '/pages/index/gift?type=14',
  169. // img: '../../static/icon/inx8.png',
  170. // tit: '健康俱乐部'
  171. // }
  172. ],
  173. text: '18248691389', //客服微信
  174. // page: 1,
  175. limitt: 20,
  176. loadingType: 'more',
  177. current: 0,
  178. shareShow: false, //分享海报
  179. titleNViewBackground: '',
  180. swiperCurrent: 0,
  181. swiperLength: 0,
  182. carouselList: [], //轮播列表
  183. page: 1,
  184. limit: 5,
  185. firstList: [],
  186. goodList: [], //商品列表
  187. shopList: [],
  188. period: 1,
  189. shareImage: '',
  190. fgList: '',//复购商品
  191. };
  192. },
  193. computed: {
  194. ...mapState('user', ['hasLogin', 'userInfo'])
  195. },
  196. onShareAppMessage(options) {
  197. // 设置菜单中的转发按钮触发转发事件时的转发内容
  198. let pages = getCurrentPages(); //获取加载的页面
  199. let currentPage = pages[pages.length - 1]; //获取当前页面的对象
  200. let url = currentPage.route; //当前页面url
  201. let item = currentPage.options; //如果要获取url中所带的参数可以查看options
  202. let shareObj = {}
  203. if (this.userInfo.uid) {
  204. shareObj = {
  205. title: this.userInfo.nickname + '邀请您加入7131', // 默认是小程序的名称(可以写slogan等)
  206. path: url + '?scene=' + this.userInfo.uid, // 默认是当前页面,必须是以‘/’开头的完整路径
  207. imageUrl: '',
  208. success: function(res) {
  209. // 转发成功之后的回调
  210. if (res.errMsg == 'shareAppMessage:ok') {}
  211. },
  212. fail: function() {
  213. // 转发失败之后的回调
  214. if (res.errMsg == 'shareAppMessage:fail cancel') {
  215. // 用户取消转发
  216. } else if (res.errMsg == 'shareAppMessage:fail') {
  217. // 转发失败,其中 detail message 为详细失败信息
  218. }
  219. }
  220. };
  221. } else {
  222. shareObj = {
  223. title: '7131', // 默认是小程序的名称(可以写slogan等)
  224. path: url, // 默认是当前页面,必须是以‘/’开头的完整路径
  225. imageUrl: '',
  226. success: function(res) {
  227. // 转发成功之后的回调
  228. if (res.errMsg == 'shareAppMessage:ok') {}
  229. },
  230. fail: function() {
  231. // 转发失败之后的回调
  232. if (res.errMsg == 'shareAppMessage:fail cancel') {
  233. // 用户取消转发
  234. } else if (res.errMsg == 'shareAppMessage:fail') {
  235. // 转发失败,其中 detail message 为详细失败信息
  236. }
  237. }
  238. };
  239. }
  240. return shareObj;
  241. },
  242. onReachBottom() {
  243. console.log('到底')
  244. // this.getGoodList()
  245. },
  246. onLoad: function(option) {
  247. // #ifdef MP
  248. if (option.scene) {
  249. // 存储小程序邀请人
  250. uni.setStorage({
  251. key: 'spread_code',
  252. data: option.scene
  253. });
  254. }
  255. // #endif
  256. // #ifdef H5
  257. if (option.spread) {
  258. // 存储小程序邀请人
  259. uni.setStorage({
  260. key: 'spread',
  261. data: option.spread
  262. });
  263. }
  264. // #endif
  265. },
  266. onShow: function() {
  267. this.getGoodList()
  268. this.loadData();
  269. this.getArtList()
  270. },
  271. onHide() {
  272. console.log('滴答滴答滴答滴答滴答滴答的')
  273. let video = uni.createVideoContext('myVideo', this);
  274. console.log(video,'video')
  275. try{
  276. video.pause()
  277. }catch(e){
  278. //TODO handle the exception
  279. console.log('err',e)
  280. }
  281. // this.$refs.inv.pause()
  282. },
  283. methods: {
  284. onload(e) {
  285. console.log("onload--广告加载完成");
  286. },
  287. onclose(e) {
  288. console.log("广告关闭: " + e);
  289. },
  290. onerror(e) {
  291. console.log('广告error:',e);
  292. },
  293. getArtList() {
  294. getArtList({
  295. page: 1,
  296. limit: 100
  297. },2).then(({ data }) => {
  298. this.list = data;
  299. });
  300. },
  301. goItem(e) {
  302. console.log('bbbbbbbbbb',e);
  303. uni.navigateTo({
  304. url: '/pages/index/artDetail?id=' + e.id
  305. })
  306. },
  307. goMore() {
  308. console.log('dddddddddd');
  309. uni.navigateTo({
  310. url: '/pages/index/artList?id=2'
  311. })
  312. },
  313. gogogo(item) {
  314. if(!item.path) {
  315. uni.navigateTo({
  316. url: '/pages/index/dkf'
  317. })
  318. }else {
  319. uni.navigateTo({
  320. url: item.path + '&tit=' + item.tit,
  321. fail() {
  322. uni.navigateTo({
  323. url: item.path
  324. }) }
  325. })
  326. }
  327. },
  328. getGoodList() {
  329. let obj = this
  330. if (obj.loadingType == 'loading' || obj.loadingType == 'noMore') {
  331. return
  332. }
  333. obj.loadingType = 'loading'
  334. getProducts({
  335. is_pack: 1,
  336. page: 1,
  337. limit: 50,
  338. }).then(res => {
  339. obj.goodList = res.data
  340. if (obj.limit == res.data.length) {
  341. obj.loadingType = 'more'
  342. } else {
  343. obj.loadingType = 'noMore'
  344. }
  345. })
  346. },
  347. navto(url, type = 0) {
  348. if (type == 1) {
  349. if (!this.hasLogin) {
  350. // 保存地址
  351. saveUrl();
  352. // 登录拦截
  353. interceptor();
  354. } else {
  355. uni.navigateTo({
  356. url,
  357. fail() {
  358. uni.switchTab({
  359. url
  360. })
  361. }
  362. })
  363. }
  364. } else {
  365. uni.navigateTo({
  366. url,
  367. fail() {
  368. uni.switchTab({
  369. url
  370. })
  371. }
  372. })
  373. }
  374. },
  375. navTo(url) {
  376. if (url == '') {
  377. this.$api.msg('暂未开通,敬请期待');
  378. } else {
  379. this.navto(url)
  380. }
  381. },
  382. // 點擊搜索框
  383. clickSearch() {
  384. uni.navigateTo({
  385. url: '/pages/product/search'
  386. });
  387. },
  388. // 监听图片加载完成
  389. onImageError(key, index) {
  390. this[key][index].image = '/static/error/errorImage.jpg';
  391. },
  392. // 请求载入数据
  393. async loadData() {
  394. loadIndexs({})
  395. .then(({
  396. data
  397. }) => {
  398. let goods = data.info;
  399. console.log(goods, '商品信息');
  400. this.carouselList = data.banner;
  401. this.swiperLength = this.carouselList.length;
  402. this.bastList = data.giftInfo; //会员礼包
  403. data.info.firstList.forEach(e => {
  404. e.isVip = e.store_type ? "3" : "0"
  405. })
  406. this.firstList = data.info.firstList //首页商品
  407. uni.stopPullDownRefresh();
  408. })
  409. .catch(e => {
  410. uni.stopPullDownRefresh();
  411. });
  412. },
  413. //轮播图切换修改背景色
  414. swiperChange(e) {
  415. const index = e.detail.current;
  416. this.swiperCurrent = index;
  417. this.titleNViewBackground = this.carouselList[index].background;
  418. },
  419. // 轮播图跳转
  420. bannerNavToUrl(item) {
  421. // #ifdef H5
  422. console.log(item.wap_url.indexOf('http'), 'banner');
  423. if (item.wap_url.indexOf('http') >= 0) {
  424. window.location.href = item.wap_url;
  425. }
  426. // uni.navigateTo({
  427. // url: '/pages/zero/order'
  428. // })
  429. // #endif
  430. //测试数据没有写id,用title代替
  431. uni.navigateTo({
  432. url: item.wap_url
  433. });
  434. },
  435. comfirm(text) {
  436. console.log(text);
  437. const result = this.uniCopy(text);
  438. if (result === false) {
  439. uni.showToast({
  440. title: '不支持'
  441. });
  442. } else {
  443. uni.showToast({
  444. title: '复制成功',
  445. icon: 'none'
  446. });
  447. }
  448. this.$refs.popupkf.close();
  449. },
  450. uniCopy(content) {
  451. /**
  452. * 小程序端 和 app端的复制逻辑
  453. */
  454. //#ifndef H5
  455. uni.setClipboardData({
  456. data: content,
  457. success: function() {
  458. console.log('success');
  459. return true;
  460. }
  461. });
  462. //#endif
  463. /**
  464. * H5端的复制逻辑
  465. */
  466. // #ifdef H5
  467. if (!document.queryCommandSupported('copy')) {
  468. //为了兼容有些浏览器 queryCommandSupported 的判断
  469. // 不支持
  470. return false;
  471. }
  472. let textarea = document.createElement('textarea');
  473. textarea.value = content;
  474. textarea.readOnly = 'readOnly';
  475. document.body.appendChild(textarea);
  476. textarea.select(); // 选择对象
  477. textarea.setSelectionRange(0, content.length); //核心
  478. let result = document.execCommand('copy'); // 执行浏览器复制命令
  479. textarea.remove();
  480. return result;
  481. // #endif
  482. },
  483. // 打开客服
  484. openKf() {
  485. this.$refs.popupkf.open();
  486. },
  487. // 关闭客服
  488. cancel() {
  489. this.$refs.popupkf.close();
  490. },
  491. }
  492. };
  493. </script>
  494. <style lang="scss">
  495. page {
  496. min-height: 100%;
  497. height: auto;
  498. }
  499. // 顶部搜索
  500. .top-search {
  501. height: 80rpx;
  502. padding: 0 20rpx;
  503. position: relative;
  504. .top-logo {
  505. width: 50rpx;
  506. // height: 50rpx;
  507. margin-right: 10rpx;
  508. image {
  509. width: 48rpx;
  510. }
  511. }
  512. .search-box {
  513. justify-content: center;
  514. width: 698rpx;
  515. height: 60rpx;
  516. background: rgba(255,255,255,0.5);
  517. color: #fff;
  518. // box-shadow: 0px 10rpx 20rpx 0px rgba(4, 114, 69, 0.22);
  519. border-radius: 30rpx;
  520. .search {
  521. width: 34rpx;
  522. height: 34rpx;
  523. }
  524. .search-font {
  525. margin-left: 14rpx;
  526. font-size: 28rpx;
  527. font-weight: 500;
  528. }
  529. }
  530. }
  531. // 顶部轮播图
  532. .top-swiper {
  533. background-color: #fff;
  534. width: 690rpx;
  535. height: 320rpx;
  536. margin: auto;
  537. .carousel-item {
  538. image {
  539. width: 100%;
  540. height: 100%;
  541. border-radius: 20rpx;
  542. }
  543. }
  544. // margin: 20rpx 0 0;
  545. }
  546. .swiper-btm {
  547. height: 60rpx;
  548. width: 750rpx;
  549. background-color: #fff;
  550. margin-bottom: 20rpx;
  551. font-size: 26rpx;
  552. font-weight: 500;
  553. color: #333333;
  554. .btm-item {
  555. flex-grow: 1;
  556. justify-content: center;
  557. image {
  558. width: 25rpx;
  559. height: 25rpx;
  560. margin-right: 14rpx;
  561. }
  562. }
  563. }
  564. .jg {
  565. height: 20rpx;
  566. background: #F8F8F8;
  567. }
  568. // 分类
  569. .cate-section {
  570. justify-content: flex-start;
  571. background-color: #fff;
  572. padding: 0 0 30rpx;
  573. flex-wrap: wrap;
  574. .cate-item {
  575. padding-top: 30rpx;
  576. flex-grow: 0;
  577. width: 25%;
  578. flex-direction: column;
  579. text-align: center;
  580. align-items: center;
  581. justify-content: center;
  582. .img-wrapper {
  583. width:123rpx;
  584. height: 123rpx;
  585. border-radius: 20rpx;
  586. position: relative;
  587. image {
  588. width: 100%;
  589. height: 100%;
  590. position: absolute;
  591. left: 50%;
  592. top: 50%;
  593. transform: translate(-50%, -50%);
  594. }
  595. }
  596. .item-title {
  597. margin-top: 15rpx;
  598. font-size: 26rpx;
  599. font-weight: 500;
  600. color: #333333;
  601. }
  602. }
  603. }
  604. .hot-wrap {
  605. .hot-top {
  606. width: 750rpx;
  607. height: 174rpx;
  608. background: linear-gradient(#FFFFFF, rgba(255,255,255,0));
  609. padding: 0rpx 22rpx 75rpx;
  610. justify-content: flex-start;
  611. font-size: 32rpx;
  612. font-weight: 800;
  613. color: #000000;
  614. image {
  615. width: 36rpx;
  616. height: 36rpx;
  617. margin-right: 12rpx;
  618. }
  619. }
  620. .hot-list {
  621. margin-top: -70rpx;
  622. .good {
  623. width: 704rpx;
  624. background: #FFFFFF;
  625. border-radius: 20rpx;
  626. margin:0 auto 30rpx;
  627. .good-img {
  628. width: 704rpx;
  629. height: 330rpx;
  630. background: #D4D4E1;
  631. border-radius: 20rpx 20rpx 0rpx 0rpx;
  632. }
  633. .good-tit {
  634. padding:10rpx 20rpx;
  635. font-size: 30rpx;
  636. font-weight: bold;
  637. color: #000000;
  638. }
  639. .good-cz {
  640. padding: 0 20rpx 23rpx 23rpx;
  641. .price {
  642. font-size: 42rpx;
  643. font-weight: bold;
  644. color: $base-color;
  645. .xy {
  646. font-size: 24rpx;
  647. }
  648. .old-price {
  649. font-size: 26rpx;
  650. font-weight: 500;
  651. text-decoration: line-through;
  652. color: #999999;
  653. margin-left: 18rpx;
  654. }
  655. }
  656. .cz-btn {
  657. width: 172rpx;
  658. line-height: 60rpx;
  659. background: $base-color;
  660. border-radius: 10rpx;
  661. font-size: 26rpx;
  662. font-weight: 500;
  663. color: #FFFFFF;
  664. text-align: center;
  665. }
  666. }
  667. }
  668. }
  669. }
  670. .popup-box {
  671. width: 522rpx;
  672. height: 605rpx;
  673. background-color: #ffffff;
  674. border-radius: 20rpx;
  675. position: relative;
  676. .img {
  677. position: relative;
  678. top: -56rpx;
  679. left: 0;
  680. width: 522rpx;
  681. height: 132rpx;
  682. display: flex;
  683. justify-content: center;
  684. image {
  685. border-radius: 20rpx 20rpx 0 0;
  686. width: 450rpx;
  687. height: 132rpx;
  688. }
  689. }
  690. .mian {
  691. margin-top: -44rpx;
  692. display: flex;
  693. flex-direction: column;
  694. align-items: center;
  695. // padding: 32rpx 32rpx;
  696. background-color: #ffffff;
  697. border-radius: 0 0 20rpx 20rpx;
  698. text-align: center;
  699. .delivery {
  700. font-size: 40rpx;
  701. color: #333333;
  702. display: flex;
  703. align-items: center;
  704. flex-direction: column;
  705. image {
  706. margin-top: 48rpx;
  707. width: 172rpx;
  708. height: 160rpx;
  709. }
  710. }
  711. .nocancel {
  712. font-size: 32rpx;
  713. color: #333333;
  714. margin-top: 14rpx;
  715. }
  716. .comfirm-box {
  717. margin-top: 52rpx;
  718. display: flex;
  719. // margin-bottom: 32rpx;
  720. // justify-content: space-around;
  721. .cancel {
  722. display: flex;
  723. align-items: center;
  724. justify-content: center;
  725. width: 197rpx;
  726. height: 74rpx;
  727. border: 1px solid #dcc786;
  728. border-radius: 38rpx;
  729. font-size: 32rpx;
  730. color: #605128;
  731. }
  732. .comfirm {
  733. margin-left: 32rpx;
  734. display: flex;
  735. align-items: center;
  736. justify-content: center;
  737. width: 197rpx;
  738. height: 74rpx;
  739. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  740. border-radius: 38px;
  741. font-size: 32rpx;
  742. color: #605128;
  743. }
  744. }
  745. }
  746. }
  747. .top-bg {
  748. height: 450rpx;
  749. //#f53934
  750. background-image: linear-gradient(to bottom,#f53934,#fff);
  751. position: absolute;
  752. top: 0;
  753. width: 100%;
  754. }
  755. .gsjs {
  756. width: 100%;
  757. }
  758. .status_bar {
  759. height: var(--status-bar-height);
  760. width: 100%;
  761. }
  762. .notice {
  763. padding: 0 30rpx;
  764. background-color: #fff;
  765. }
  766. </style>