index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. <template>
  2. <view>
  3. <!-- <u-notice-bar :autoplay="autoplay" :playState="playState" :speed="speed" :mode="mode" @click="click"
  4. :show="show" :type="type" :list="list" :moreIcon="moreIcon" :volumeIcon="volumeIcon" :duration="duration"
  5. bgColor="" padding="8rpx 24rpx" :isCircular="isCircular"
  6. style="position: absolute;top: 12%;z-index: 9;width: 100%;"></u-notice-bar> -->
  7. <!-- 状态栏 -->
  8. <view class="status" :style="{position:headerPosition,backgroundColor:bgColor}"></view>
  9. <!-- 漂浮头部 -->
  10. <view class="header" :style="{position:headerPosition,backgroundColor:bgColor}">
  11. <view class="scan">
  12. <view class="icon iconfont icon-scan" @tap="scan"></view>
  13. </view>
  14. <view class="input">
  15. <view class="icon iconfont icon-search"></view>
  16. <input disabled placeholder="车险" @tap="toSearch()" />
  17. </view>
  18. <view class="menu">
  19. <image mode="aspectFill" :src="avatar"
  20. @click='isShow?navigate({url:"/pages/realname/realname"},"navigateTo",true):""'></image>
  21. </view>
  22. </view>
  23. <!-- 公共组件-每个页面必须引入 -->
  24. <public-module></public-module>
  25. <!-- 占位 -->
  26. <view class="place" :style="{backgroundColor:'#fff'}"></view>
  27. <!-- 实名认证提示 -->
  28. <u-notice-bar :list="list" v-show="isShow" type="error" padding="8rpx 24rpx"
  29. @click='navigate({url:"/pages/realname/realname"},"navigateTo",true)'></u-notice-bar>
  30. <!-- 轮播图 -->
  31. <swiper-image :resdata="swiperList" @changeEvent="swiperChange"></swiper-image>
  32. <!-- 分类轮播 -->
  33. <index-nav :resdata="categoryList" :row="2"></index-nav>
  34. <!-- 推荐商品 -->
  35. <view class="pick" :style="{'background':'#fff'}">
  36. <view class="box">
  37. <view class="title">
  38. <view class="big">推荐商品</view>
  39. <view class="small">好货推荐 低价精选</view>
  40. </view>
  41. <view class="product-list">
  42. <view v-for="product in pickList" :key="product.goods_id" @tap="toPick(product)">
  43. <image mode="widthFix" :src="product.img"></image>
  44. <view class="price">{{product.price}}起</view>
  45. <view class="slogan">{{product.slogan}}</view>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <!-- 广告横幅 -->
  51. <view class="banner">
  52. <image mode="widthFix" src="/static/image/index/ad-img/ad.jpg"></image>
  53. </view>
  54. <!-- 商品列表 -->
  55. <view class="goods-list">
  56. <view class="title">— 猜你喜欢 —</view>
  57. <view class="product-list">
  58. <view class="product" v-for="product in productList" :key="product.goods_id" @tap="toGoods(product)">
  59. <image mode="widthFix" :src="product.img"></image>
  60. <view class="name">{{product.name}}</view>
  61. <view class="info">
  62. <view class="price">¥{{product.price}} 起</view>
  63. <view class="slogan">{{product.slogan}}</view>
  64. </view>
  65. </view>
  66. </view>
  67. <view class="loading-text">{{loadingText}}</view>
  68. </view>
  69. </view>
  70. </template>
  71. <script>
  72. import swiperImage from "@/components/modules/index/swiper-image.vue"
  73. import indexNav from "@/components/modules/index/index-nav.vue"
  74. import bankBin from "@/common/bankcardinfo.js"
  75. import store from '@/store';
  76. import {
  77. pathToBase64,
  78. base64ToPath
  79. } from '@/common/image-tools-base64.js';
  80. import {
  81. mapState
  82. } from "vuex"
  83. export default {
  84. components: {
  85. swiperImage,
  86. indexNav,
  87. },
  88. data() {
  89. return {
  90. xuelishow: false,
  91. border: false,
  92. form: {
  93. name: "", //姓名
  94. identity: "", //身份证号
  95. birthday: "", //出生日期
  96. addressnow: "", //居住地址
  97. education: "", //学历
  98. bankname: "", //开户行
  99. accountno: "", //银行卡号
  100. },
  101. labelPosition: 'left',
  102. errorType: ['message'],
  103. rules: {
  104. name: [{
  105. required: true,
  106. message: '请输入姓名',
  107. trigger: 'blur',
  108. }, ]
  109. },
  110. contentSlot: true,
  111. showTitle: false,
  112. asyncClose: false,
  113. isShow: false,
  114. autoplay: true,
  115. type: 'warning',
  116. list: ['欢迎登录晋掌柜,请点击此处文字进行实名验证,方可使用所有功能。'],
  117. mode: 'horizontal',
  118. playState: 'play',
  119. speed: 160,
  120. duration: 1000,
  121. moreIcon: true,
  122. volumeIcon: true,
  123. isCircular: true,
  124. current: 0,
  125. banben: {},
  126. bgColor: "#4B75EB",
  127. //轮播
  128. swiperList: [],
  129. //分类
  130. categoryList: [{
  131. cat_id: 0,
  132. img: '/static/image/index/category-img/0.png',
  133. title: '车险',
  134. src: '/pages/carInsure/entry'
  135. },
  136. {
  137. cat_id: 1,
  138. img: '/static/image/index/category-img/1.png',
  139. title: '车损测算',
  140. src: ''
  141. },
  142. {
  143. cat_id: 2,
  144. img: '/static/image/index/category-img/2.png',
  145. title: '道路救援',
  146. src: ''
  147. },
  148. {
  149. cat_id: 3,
  150. img: '/static/image/index/category-img/3.png',
  151. title: '司法鉴定',
  152. src: ''
  153. },
  154. {
  155. cat_id: 4,
  156. img: '/static/image/index/category-img/4.png',
  157. title: '掌柜商城',
  158. src: ''
  159. },
  160. {
  161. cat_id: 5,
  162. img: '/static/image/index/category-img/5.png',
  163. title: '洗车',
  164. src: ''
  165. },
  166. {
  167. cat_id: 6,
  168. img: '/static/image/index/category-img/6.png',
  169. title: '审车',
  170. src: ''
  171. },
  172. {
  173. cat_id: 7,
  174. img: '/static/image/index/category-img/7.png',
  175. title: '代驾',
  176. src: ''
  177. },
  178. {
  179. cat_id: 8,
  180. img: '/static/image/index/category-img/8.png',
  181. title: '车检代办',
  182. src: '/pages/caragent/index'
  183. },
  184. {
  185. cat_id: 9,
  186. img: '/static/image/index/category-img/9.png',
  187. title: '一键挪车',
  188. src: '/pages/ticket/ticket'
  189. }
  190. ],
  191. //推荐商品 3个
  192. pickList: [{
  193. goods_id: 0,
  194. img: '/static/image/index/pick-img/p1.jpg',
  195. price: '¥5.85',
  196. slogan: '限时抢购'
  197. },
  198. {
  199. goods_id: 1,
  200. img: '/static/image/index/pick-img/p2.jpg',
  201. price: '¥270',
  202. slogan: '精选商品'
  203. },
  204. {
  205. goods_id: 2,
  206. img: '/static/image/index/pick-img/p3.jpg',
  207. price: '¥281',
  208. slogan: '今日疯抢'
  209. }
  210. ],
  211. //猜你喜欢列表
  212. productList: [{
  213. goods_id: 0,
  214. img: '/static/image/index/img/p1.jpg',
  215. name: '平安个人意外伤害险',
  216. price: '25.8',
  217. slogan: '1235人购买'
  218. },
  219. {
  220. goods_id: 1,
  221. img: '/static/image/index/img/p2.jpg',
  222. name: '一年期意外险',
  223. price: '1.2',
  224. slogan: '1235人购买'
  225. },
  226. {
  227. goods_id: 2,
  228. img: '/static/image/index/img/p3.jpg',
  229. name: '平安行·国内自助游保险',
  230. price: '88',
  231. slogan: '1235人购买'
  232. },
  233. {
  234. goods_id: 3,
  235. img: '/static/image/index/img/p4.jpg',
  236. name: '企业团体综合意外险',
  237. price: '1.9',
  238. slogan: '1235人购买'
  239. },
  240. {
  241. goods_id: 4,
  242. img: '/static/image/index/img/p5.jpg',
  243. name: '平安行·境内自驾旅游保险',
  244. price: '442',
  245. slogan: '1235人购买'
  246. },
  247. {
  248. goods_id: 5,
  249. img: '/static/image/index/img/p6.jpg',
  250. name: '平安行·境内节假日旅游保险',
  251. price: '257',
  252. slogan: '1235人购买'
  253. },
  254. {
  255. goods_id: 6,
  256. img: '/static/image/index/img/p7.jpg',
  257. name: '平安行·境内高原旅游保险',
  258. price: '0.2',
  259. slogan: '1235人购买'
  260. },
  261. {
  262. goods_id: 7,
  263. img: '/static/image/index/img/p8.jpg',
  264. name: '儿童综合医疗保险',
  265. price: '1400',
  266. slogan: '1235人购买'
  267. },
  268. {
  269. goods_id: 8,
  270. img: '/static/image/index/img/p9.jpg',
  271. name: '女性关爱保险',
  272. price: '70',
  273. slogan: '1235人付款'
  274. },
  275. {
  276. goods_id: 9,
  277. img: '/static/image/index/img/p10.jpg',
  278. name: '全球交通意外保险',
  279. price: '74.5',
  280. slogan: '1235人购买'
  281. }
  282. ],
  283. headerPosition: "fixed",
  284. loadingText: "正在加载...",
  285. getApplicationStatus: "",
  286. };
  287. },
  288. computed: {
  289. ...mapState(['avatar', 'userInfo'])
  290. },
  291. onPageScroll(e) {
  292. //兼容iOS端下拉时顶部漂移
  293. if (e.scrollTop >= 0) {
  294. this.headerPosition = "fixed";
  295. } else {
  296. this.headerPosition = "absolute";
  297. }
  298. },
  299. onShow() {
  300. const arr = uni.getStorageSync('historyInfo');
  301. if (arr) {
  302. uni.removeStorageSync('historyInfo');
  303. }
  304. },
  305. async onLoad() {
  306. // uni.startPullDownRefresh();
  307. this.isShow = this.userInfo.sysUser.status == '2' ? true : false
  308. let res = await this.$http.get('/apps/getApplicationStatus?jobNumber=' + this.userInfo.sysUser.id);
  309. if (res.code == 200) {
  310. if (res.data == '0') {
  311. this.getApplicationStatus = res.data;
  312. }
  313. } else {
  314. }
  315. let banner = await this.$http.get('/apps/getCarousel');
  316. this.swiperList = banner.data;
  317. this.bgColor = this.swiperList[0].color;
  318. },
  319. // async onReady() {
  320. // this.bgColor = this.swiperList[0].color;
  321. // },
  322. //下拉刷新,需要自己在page.json文件中配置开启页面下拉刷新 "enablePullDownRefresh": true
  323. async onPullDownRefresh() {
  324. let userInfoRes = await this.$http.get('/user/loginUser')
  325. // let userInfoRes = await this.$http.get('/esmUserInternal/findById?id=' + this.userInfo.sysUser.id, {}, {});
  326. uni.stopPullDownRefresh();
  327. store.commit('setUserModules', {
  328. title: 'userInfo',
  329. data: {
  330. sysUser: {
  331. ...userInfoRes.data
  332. }
  333. }
  334. })
  335. if (userInfoRes.data.status == 2) {
  336. this.isShow = true;
  337. } else {
  338. this.isShow = false;
  339. }
  340. },
  341. //上拉加载,需要自己在page.json文件中配置"onReachBottomDistance"
  342. onReachBottom() {
  343. uni.showLoading({
  344. mask: true,
  345. title: "Loading..."
  346. })
  347. let len = this.productList.length;
  348. if (len >= 40) {
  349. uni.hideLoading()
  350. this.loadingText = "到底了";
  351. return false;
  352. }
  353. let end_goods_id = this.productList[len - 1].goods_id;
  354. for (let i = 1; i <= 10; i++) {
  355. let goods_id = end_goods_id + i;
  356. let goods_name = this.productList[i - 1].name;
  357. let goods_price = this.productList[i - 1].price;
  358. let p = {
  359. goods_id: goods_id,
  360. img: '/static/image/index/img/p' + (goods_id % 10 == 0 ? 10 : goods_id % 10) + '.jpg',
  361. name: goods_name,
  362. price: goods_price,
  363. slogan: '1235人购买'
  364. };
  365. this.productList.push(p);
  366. }
  367. setTimeout(() => {
  368. uni.hideLoading()
  369. }, 1000)
  370. },
  371. // async onShow() {
  372. // if (this.userInfo.sysUser.status == '2') {
  373. // this.show = true;
  374. // } else {
  375. // this.show = false;
  376. // }
  377. // },
  378. methods: {
  379. nameClick() {
  380. this.navigate({
  381. url: "/pages/realname/realname"
  382. }, "navigateTo", true)
  383. },
  384. async chooseImage() {
  385. var _this = this;
  386. uni.chooseImage({
  387. count: 1,
  388. sizeType: "compressed",
  389. success(res) {
  390. pathToBase64(res.tempFilePaths[0])
  391. .then(async base64 => {
  392. var paramImg = {
  393. "image": base64, //图片base64
  394. "imgType": "1" //1身份证 2行驶证
  395. }
  396. let res2 = await _this.$http.post('/api/huanong/imgAI', paramImg);
  397. var data = res2.data.customerInfo;
  398. data.identifyValidDate = data.identifyValidDate.substr(0, 4) + '-' +
  399. data.identifyValidDate.substr(4, 2) + "-" + data.identifyValidDate
  400. .substr(6, 2)
  401. _this.form.name = data.name;
  402. _this.form.identifyNumber = data.identifyNumber;
  403. _this.form.identifyValidDate = data.identifyValidDate;
  404. })
  405. }
  406. });
  407. },
  408. // 验证银行卡
  409. async validateBankCard() {
  410. var that = this;
  411. that.bankname = "";
  412. await bankBin.getBankBin(this.form.name4)
  413. .then((data) => {
  414. that.form.name5 = data.bankName;
  415. return true;
  416. })
  417. .catch((err) => {
  418. return uni.showToast({
  419. title: err.split(":")[1],
  420. icon: "none"
  421. });
  422. })
  423. },
  424. //点击通知
  425. async click(index) {
  426. let res1 = await this.$http.get('/apps/getApplicationStatus?jobNumber=' + this.userInfo.sysUser.id);
  427. if (res1.code == 200) {
  428. this.getApplicationStatus = res1.data;
  429. if (this.getApplicationStatus == '0') {
  430. uni.showToast({
  431. icon: "none",
  432. title: '实名认证等待审核中',
  433. duration: 1500
  434. })
  435. } else if (this.getApplicationStatus == '3') {
  436. uni.showToast({
  437. icon: "none",
  438. title: '实名认证不通过,请修改后提交',
  439. duration: 1500
  440. })
  441. setTimeout(() => {
  442. uni.navigateTo({
  443. url: '/pages/user/certification'
  444. })
  445. }, 1000)
  446. }
  447. } else if (res1.code != '200') {
  448. setTimeout(() => {
  449. uni.navigateTo({
  450. url: '/pages/user/infoInput'
  451. })
  452. }, 1000)
  453. }
  454. if (res1.code == 200) {
  455. this.getApplicationStatus = res1.data;
  456. }
  457. },
  458. // 改变头部颜色
  459. swiperChange(event) {
  460. this.bgColor = this.swiperList[event.detail.current].color;
  461. },
  462. //扫一扫
  463. scan() {
  464. uni.scanCode({
  465. success: (res) => {
  466. uni.showToast({
  467. title: '条码内容:' + res.result
  468. });
  469. }
  470. });
  471. },
  472. //搜索跳转
  473. toSearch() {
  474. // uni.showToast({title: "建议跳转到新页面做搜索功能"});
  475. },
  476. //推荐商品跳转
  477. toPick(e) {
  478. // uni.showToast({title: '推荐商品'+e.goods_id});
  479. },
  480. //商品跳转
  481. toGoods(e) {
  482. // uni.showToast({title: '商品'+e.goods_id});
  483. },
  484. }
  485. };
  486. </script>
  487. <style>
  488. .icon {
  489. font-size: 50upx;
  490. font-style: normal;
  491. color: #ffffff;
  492. }
  493. .status {
  494. width: 100%;
  495. height: 0;
  496. /* #ifdef APP-PLUS */
  497. height: var(--status-bar-height);
  498. /* #endif */
  499. position: fixed;
  500. top: 0;
  501. z-index: 999;
  502. }
  503. .header {
  504. width: 100%;
  505. height: 100upx;
  506. display: flex;
  507. position: fixed;
  508. top: 0;
  509. /* #ifdef APP-PLUS */
  510. top: var(--status-bar-height);
  511. /* #endif */
  512. z-index: 996;
  513. }
  514. .header .scan {
  515. width: 100upx;
  516. height: 100upx;
  517. flex-shrink: 1;
  518. display: flex;
  519. justify-content: center;
  520. align-items: center;
  521. }
  522. .header .input {
  523. width: calc(100% - 200upx);
  524. display: flex;
  525. justify-content: center;
  526. align-items: center;
  527. position: relative;
  528. }
  529. .header .input input {
  530. width: calc(100% - 60upx);
  531. height: 60upx;
  532. background-color: #ffffff;
  533. border-radius: 60upx;
  534. padding-left: 60upx;
  535. font-size: 30upx;
  536. }
  537. .header .input .icon {
  538. width: 60upx;
  539. height: 60upx;
  540. position: absolute;
  541. color: #a18090;
  542. z-index: 996;
  543. top: 20upx;
  544. left: 0;
  545. font-size: 40upx;
  546. display: flex;
  547. justify-content: center;
  548. align-items: center;
  549. }
  550. .header .menu {
  551. background-color: #FFFFFF;
  552. border-radius: 50%;
  553. box-sizing: border-box;
  554. margin: 20upx;
  555. width: 60upx;
  556. height: 60upx;
  557. flex-shrink: 1;
  558. display: flex;
  559. justify-content: center;
  560. align-items: center;
  561. }
  562. .header .menu image {
  563. width: 50upx;
  564. height: 50upx;
  565. border-radius: 60upx;
  566. }
  567. /* 占位 */
  568. .place {
  569. /* #ifdef APP-PLUS */
  570. margin-top: var(--status-bar-height);
  571. /* #endif */
  572. height: 100upx;
  573. }
  574. .pick {
  575. padding: 0 2.5vw 2.5vw 2.5vw;
  576. }
  577. .pick .box {
  578. width: 100%;
  579. border-radius: 20upx;
  580. background-color: #ffffff;
  581. }
  582. .pick .box .title {
  583. display: flex;
  584. justify-content: flex-start;
  585. align-items: flex-end;
  586. height: 60upx;
  587. border-bottom: solid 1upx #eee;
  588. padding-bottom: 10upx;
  589. }
  590. .pick .box .title .big {
  591. font-size: 34upx;
  592. padding-left: 20upx;
  593. color: #46434f;
  594. }
  595. .pick .box .title .small {
  596. font-size: 24upx;
  597. padding-left: 20upx;
  598. color: #827f8b;
  599. }
  600. .pick .box .product-list {
  601. padding-top: 15upx;
  602. box-sizing: border-box;
  603. overflow: hidden;
  604. }
  605. .pick .box .product-list>view {
  606. background-color: #f8f8f8;
  607. display: inline-block;
  608. width: calc(50% - 10upx);
  609. position: relative;
  610. box-sizing: border-box;
  611. margin: 5upx;
  612. float: left;
  613. }
  614. .pick .box .product-list>view:nth-child(1) {
  615. height: 390upx;
  616. }
  617. .pick .box .product-list>view:nth-child(2),
  618. .pick .box .product-list>view:nth-child(3) {
  619. height: 190upx;
  620. }
  621. .pick .box .product-list>view:nth-child(1) .price {
  622. color: #e65339;
  623. font-size: 26upx;
  624. position: absolute;
  625. bottom: 6upx;
  626. left: 8upx;
  627. }
  628. .pick .box .product-list>view:nth-child(1) .slogan {
  629. color: #807c87;
  630. font-size: 26upx;
  631. position: absolute;
  632. bottom: 6upx;
  633. right: 15upx;
  634. }
  635. .pick .box .product-list>view:nth-child(1) image {
  636. width: 100%;
  637. height: 350upx !important;
  638. padding: 15upx;
  639. box-sizing: border-box;
  640. margin-bottom: 40upx;
  641. }
  642. .pick .box .product-list>view:nth-child(2),
  643. .pick .box .product-list>view:nth-child(3) {
  644. padding: 10upx;
  645. box-sizing: border-box;
  646. }
  647. .pick .box .product-list>view:nth-child(2) image,
  648. .pick .box .product-list>view:nth-child(3) image {
  649. width: calc(50% - 5upx);
  650. height: 170upx !important;
  651. }
  652. .pick .box .product-list>view:nth-child(2) .price,
  653. .pick .box .product-list>view:nth-child(3) .price {
  654. position: absolute;
  655. top: 25%;
  656. left: 55%;
  657. color: #e65339;
  658. font-size: 30upx;
  659. }
  660. .pick .box .product-list>view:nth-child(2) .slogan,
  661. .pick .box .product-list>view:nth-child(3) .slogan {
  662. position: absolute;
  663. top: 60%;
  664. left: 55%;
  665. color: #807c87;
  666. font-size: 26upx;
  667. }
  668. .banner image {
  669. width: 100%;
  670. }
  671. .goods-list {
  672. background-color: #f4f4f4;
  673. }
  674. .goods-list .title {
  675. width: 100%;
  676. display: flex;
  677. justify-content: center;
  678. align-items: center;
  679. height: 60upx;
  680. color: #979797;
  681. font-size: 24upx;
  682. }
  683. .goods-list .loading-text {
  684. width: 100%;
  685. display: flex;
  686. justify-content: center;
  687. align-items: center;
  688. height: 60upx;
  689. color: #979797;
  690. font-size: 24upx;
  691. }
  692. .goods-list .product-list {
  693. padding: 0 2.5% 2.5vw 2.5%;
  694. display: flex;
  695. justify-content: space-between;
  696. flex-wrap: wrap;
  697. }
  698. .goods-list .product-list .product {
  699. width: 48.75%;
  700. border-radius: 20upx;
  701. background-color: #fff;
  702. margin: 0 0 15upx 0;
  703. }
  704. .goods-list .product-list .product image {
  705. width: 100%;
  706. border-radius: 20upx 20upx 0 0;
  707. }
  708. .goods-list .product-list .product .name {
  709. width: 92%;
  710. padding: 10upx 4%;
  711. display: -webkit-box;
  712. -webkit-box-orient: vertical;
  713. -webkit-line-clamp: 1;
  714. text-align: justify;
  715. overflow: hidden;
  716. font-size: 30upx;
  717. }
  718. .goods-list .product-list .product .info {
  719. display: flex;
  720. justify-content: space-between;
  721. align-items: flex-end;
  722. width: 92%;
  723. padding: 10upx 4% 10upx 4%;
  724. }
  725. .goods-list .product-list .product .info .price {
  726. color: #e65339;
  727. font-size: 30upx;
  728. font-weight: 600;
  729. }
  730. .goods-list .product-list .product .info .slogan {
  731. color: #807c87;
  732. font-size: 24upx;
  733. }
  734. </style>