index.vue 17 KB

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