index.vue 18 KB

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