shop.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701
  1. <template>
  2. <view class="shop-index iPhone-bottom flex-common-css box-border-box">
  3. <image class="bg-img" :src="shopsInfo.shop_logo" mode="aspectFill"></image>
  4. <view class="nav-box">
  5. <Nav :leftShow='false' :customNav='true' bgckgroundBox='transparent'>
  6. <template>
  7. <view slot="custom" class="">
  8. <image class="nav-img" @click="toBack()" src="@/static/img/takeout/bg-back.png"
  9. mode="scaleToFill"></image>
  10. </view>
  11. </template>
  12. </Nav>
  13. </view>
  14. <view class="head-box bgc-f box-border-box plr-24" :style="{height:domHeigjt + 'rpx'}">
  15. <view id="shopInfoBox" class="shop-info-box bgc-f box-border-box p-24">
  16. <view class="info-box-top flex-justify-space">
  17. <view class="box-top-left">
  18. <view class="top-left-1 fs-40 fw-600 text-overflow-ellipsis-one">{{shopsInfo.shop_name}}
  19. </view>
  20. <view class="align-items-center mb-8">
  21. <image class="img-x mr-12" src="@/static/img/my/wdpj.png" mode=""></image>
  22. <view class="fs-26 fw-600 fc-FF7F00 mr-12">{{shopsInfo.shop_score}}分</view>
  23. <view class="fc-6 fs-24 mr-12">| 预计{{shopsInfo.delivery_time}}分钟 |</view>
  24. <view class="fc-6 fs-24 mr-12">{{shopsInfo.shop_sales}}人购买</view>
  25. </view>
  26. </view>
  27. <image class="box-top-right" :src="shopsInfo.shop_logo" mode="scaleToFill"></image>
  28. </view>
  29. <view class="fs-24 fw-400 fc-9 mb-20 text-overflow-ellipsis-one">
  30. 公告:{{shopsInfo.notice}}
  31. </view>
  32. <view class="flex-wrap-wrap" v-if="couponData.length>0">
  33. <view class="info-box-quan-list" v-for="(item,i) in couponData" :key="i" @click="openCoupon">
  34. <view class="" v-if="i<=2">
  35. <image src="@/static/img/takeout/quan-bg.png" mode=""></image>
  36. <view class="quan-list-1 fw-b fs-32 fc-f">
  37. <span class="fw-b fs-20 fc-f">¥</span>{{item.money}}
  38. </view>
  39. <view class="quan-list-2 fw-400 fs-24 fc-f">领</view>
  40. </view>
  41. </view>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="head-box-1 bgc-f box-border-box plr-24">
  46. <view class="align-items-center shop-type-list">
  47. <view class="shop-item fs-32" @click="seletShopType(item)"
  48. :class="shopType === item.id?'s-item':'n-item'" v-for="(item,i) in shopTypeList" :key="i">
  49. {{item.name}}
  50. <!-- <view v-if="item.id == 2" class="pj-num" :class="shopType === item.id?'s-item':'n-item'">999+</view> -->
  51. </view>
  52. <view class="shop-item-bs" :style="{left:shopTypeBsLeft+'rpx'}"></view>
  53. </view>
  54. </view>
  55. <view class="common-view-css bgc-f" style="overflow: hidden;">
  56. <Menu style="height: 100%;" v-if="shopType === 1" :shop_id="shop_id" @setCartData="setCartData" ref="goodsMenu"></Menu>
  57. <Evaluate style="height: 100%;" :shopId='shop_id' :shopScore='shopsInfo.shop_score' v-else-if="shopType === 2"></Evaluate>
  58. <ShopInfo style="height: 100%;" :shopId='shop_id' v-else-if="shopType === 3"></ShopInfo>
  59. </view>
  60. <view class="shop-buttom-money box-border-box" @click="openBuyCrad()">
  61. <view class="shop-buttom-money-1 flex-justify-space align-items-center">
  62. <image src="@/static/img/takeout/buy-icon.png" mode="scaleToFill"></image>
  63. <view class="shop-buttom-num fs-24 fc-f text-align-center">{{cartData.total_num}}</view>
  64. <view class="" v-if="cartData.is_place_order===1">
  65. <view class="">
  66. <span class="fw-600 fs-24 fc-f">¥</span>
  67. <span class="fw-600 fs-44 fc-f">{{cartData.total_price}}</span>
  68. </view>
  69. <view class="fs-24 fc-ADADAD" v-if="delivery_money<=0">免配送</view>
  70. <view class="fs-24 fc-ff3939" v-else>配送费¥{{delivery_money}}</view>
  71. </view>
  72. <view class="fs-32 fw-600 fc-f mr-30" v-else>{{cartData.err_msg}}</view>
  73. <view class="shop-buttom-money-2 text-align-center fc-f fs-32 fw-600">去结算</view>
  74. </view>
  75. </view>
  76. <uni-popup ref="popupBuy" type="bottom">
  77. <view class="buy-card flex-index-css">
  78. <view class="buy-card-top box-border-box plr-32 flex-justify-space align-items-center">
  79. <view class="">
  80. <span class="fs-32 fc-3 mr-12">已选商品</span>
  81. <span class="fs-32 fc-9">(打包费<span class="fs-32 fc-FB3D03">{{cartData.pack_price}}元</span>)</span>
  82. </view>
  83. <view class="fs-28 fw-400 fc-9 align-items-center">
  84. <view class="">
  85. <uni-icons type="trash" size="18" color="#999"></uni-icons>
  86. </view>
  87. <view class="fs-28 fw-400 fc-9">清空</view>
  88. </view>
  89. </view>
  90. <view class="scroll-view-css box-border-box p-32">
  91. <view class="buy-card-item display-flex" v-for="(goods,i) in cartData.goods_list" :key="i">
  92. <image :src="goods.goods_image" mode="scaleToFill"></image>
  93. <view class="flex-1">
  94. <view class="w-514 text-overflow-ellipsis-one fs-34 fw-600 mb-12">
  95. {{goods.goods_name}}</view>
  96. <view class="w-514 text-overflow-ellipsis-one fs-24 fw-400 fc-9 mb-18">{{goods.goods_attr}}</view>
  97. <view class="flex-justify-space">
  98. <view class="">
  99. <span class="fs-24 fc-FB3D03 fw-400">¥</span>
  100. <span class="fs-40 fc-FB3D03 fw-b">{{goods.price}}</span>
  101. </view>
  102. <view class="display-flex align-items-center">
  103. <view class="right-only-right-red fw-500 text-align-center fs-36 fc-f" @click.stop="setShopIngNumber(goods,2)">-</view>
  104. <view class="right-only-right-2 text-align-center fs-28 fw-400">{{goods.goods_number}}</view>
  105. <view class="right-only-right-add fw-500 text-align-center fs-36 fc-f" @click.stop="setShopIngNumber(goods,1)">+</view>
  106. </view>
  107. </view>
  108. </view>
  109. </view>
  110. <en-blank v-if="cartData.goods_list.length<=0" message="快去选购商品吧!~"></en-blank>
  111. </view>
  112. <view class="shop-buttom-money box-border-box" @click="createOrder()">
  113. <view class="shop-buttom-money-1 flex-justify-space align-items-center">
  114. <image src="@/static/img/takeout/buy-icon.png" mode="scaleToFill"></image>
  115. <view class="shop-buttom-num fs-24 fc-f text-align-center">{{cartData.total_num}}</view>
  116. <view class="" v-if="cartData.is_place_order===1">
  117. <view class="">
  118. <span class="fw-600 fs-24 fc-f">¥</span>
  119. <span class="fw-600 fs-44 fc-f">{{cartData.total_price}}</span>
  120. </view>
  121. <view class="fs-24 fc-ADADAD" v-if="delivery_money<=0">免配送</view>
  122. <view class="fs-24 fc-ff3939" v-else>配送费¥{{delivery_money}}</view>
  123. </view>
  124. <view class="fs-32 fw-600 fc-f mr-30" v-else>{{cartData.err_msg}}</view>
  125. <view class="shop-buttom-money-2 text-align-center fs-32 fc-f fw-600" @click="toConfirmOrder()">
  126. 去结算</view>
  127. </view>
  128. </view>
  129. </view>
  130. </uni-popup>
  131. <uni-popup ref="popupCoupon" type="bottom">
  132. <view class="pop-coupon box-border-box p-24">
  133. <view class="text-align-center fs-36 fw-600 box-title mb-32">
  134. 本店优惠券
  135. <uni-icons @click="closeCoupon" class="box-close" type="closeempty" size="20"></uni-icons>
  136. </view>
  137. <view class="scroll-view-css">
  138. <view v-if="couponData<= 0" class="blank-text fs-32 fc-6 text-align-center">
  139. 暂无优惠券
  140. </view>
  141. <!-- <EnBlank :customSrc='true' v-if="couponData<= 0">
  142. <template v-slot:blankImg>
  143. <image class="black-img" src="@/static/img/common/no-order.png" mode=""></image>
  144. </template>
  145. </EnBlank> -->
  146. <view class="item-box display-flex mb-20" v-for="(item,index) in couponData" :key="index">
  147. <view class="item-right flex-direction flex-justify-center flex-1 bgc-f">
  148. <view class="fs-28 mb-12 ticket-name text-overflow-ellipsis fc-3 fw-600">
  149. {{item.name}}
  150. </view>
  151. <view class="fs-24 fc-6">
  152. 有效时间:{{item.time_type_str}}
  153. </view>
  154. </view>
  155. <view class="item-hr"></view>
  156. <view class="item-left flex-direction align-items-center flex-justify-center bgc-FCE7E2">
  157. <view class="align-items-center">
  158. <view class="fs-30 fw-600 fc-FB3D03">¥</view>
  159. <view class="fs-48 fw-600 fc-FB3D03">{{item.money}}</view>
  160. </view>
  161. <view class="fs-24 mb-18 fc-6">
  162. 满{{item.full_money}}可用
  163. </view>
  164. <view class="but-box fs-28 fc-f" @click="receiveCode(item)">
  165. 立即领取
  166. </view>
  167. <view class="ball"></view>
  168. <view class="ball-two"></view>
  169. </view>
  170. </view>
  171. </view>
  172. </view>
  173. </uni-popup>
  174. </view>
  175. </template>
  176. <script>
  177. import Menu from './shop-mod/menu.vue';
  178. import Evaluate from './shop-mod/evaluate.vue';
  179. import ShopInfo from './shop-mod/info.vue';
  180. import tools from "@/service/tools";
  181. import EnBlank from "@/components/en-utils/en-blank/en-blank";
  182. import {
  183. receiveCoupon
  184. } from "@/api/coupon.js"
  185. import {
  186. shopInfo,
  187. shopCoupon
  188. } from "@/api/shop.js"
  189. import {getDeliveryMoney} from "@/api/common";
  190. import {getShopIngList, setShopIngNumber} from "@/api/shopping";
  191. export default {
  192. components: {
  193. Menu,
  194. Evaluate,
  195. ShopInfo,
  196. EnBlank
  197. },
  198. data() {
  199. return {
  200. domHeigjt: 224,
  201. shopTypeList: [{
  202. name: "点菜",
  203. id: 1
  204. }, {
  205. name: "评价",
  206. id: 2
  207. }, {
  208. name: "店铺",
  209. id: 3
  210. }, ],
  211. shopType: 1, //组件类型
  212. shopTypeBsLeft: 12,
  213. shop_id: '',
  214. operate_id: '',
  215. shopsInfo: {},
  216. couponData: [], // 可领优惠卷
  217. goodsData: [], // 可领优惠卷
  218. categoryData: [], // 可领优惠卷
  219. delivery_money: 0, // 可领优惠卷
  220. cartData: {
  221. total_price:0,
  222. total_num:0,
  223. total_goods_money:0,
  224. pack_price:0,
  225. must_category:0,
  226. is_place_order:0,
  227. err_msg:0,
  228. goods_list:[],
  229. },
  230. isAjax:false
  231. }
  232. },
  233. onLoad(e) {
  234. if (e) {
  235. this.shop_id = e.shop_id
  236. this.operate_id = uni.getStorageSync('operate_id')
  237. this.shopInfo()
  238. }
  239. },
  240. mounted() {
  241. // this.getDomH();
  242. this.shopCoupon()
  243. },
  244. methods: {
  245. setShopIngNumber(item,type){
  246. if(this.isAjax){
  247. return
  248. }
  249. this.isAjax=true
  250. setShopIngNumber({
  251. 'type':1,
  252. 'goods_id':item.goods_id,
  253. 'shop_id':this.shop_id,
  254. 'category_id':item.category_id,
  255. 'goods_spec_id':item.goods_spec_id,
  256. 'operation':type===1?1:2,
  257. }).then(res=>{
  258. this.isAjax=false
  259. this.getShopIngList()
  260. }).catch(()=>{
  261. this.isAjax=false
  262. })
  263. },
  264. getShopIngList(){
  265. getShopIngList({
  266. 'shop_id':this.shop_id,
  267. }).then(res=>{
  268. if(res.code===1){
  269. this.cartData=res.data
  270. if(this.shopType===1){
  271. this.$refs.goodsMenu.setShopIngList( this.cartData)
  272. }
  273. }
  274. })
  275. },
  276. setCartData(cartData){
  277. this.cartData=cartData
  278. this.getDeliveryMoney()
  279. },
  280. getDeliveryMoney(){
  281. getDeliveryMoney({
  282. 'school_id':this.operate_id,
  283. 'shop_id':this.shop_id,
  284. }).then(res=>{
  285. if(res.code===1){
  286. this.delivery_money=res.data.delivery_money*1
  287. }
  288. })
  289. },
  290. receiveCode(item) {
  291. receiveCoupon({grant_id: item.grant_id,coupon_id: item.coupon_id}).then((res) => {
  292. if(res.code == 1) {
  293. tools.success(res.msg)
  294. this.couponData = []
  295. this.shopCoupon()
  296. }else {
  297. tools.error(res.msg)
  298. }
  299. })
  300. },
  301. toBack() {
  302. tools.leftClick()
  303. },
  304. getDomH() {
  305. let info = uni.createSelectorQuery().select('#shopInfoBox');
  306. info.boundingClientRect((data) => {
  307. this.domHeigjt = data.height * 2 - 34
  308. }).exec()
  309. },
  310. scrolltolower() {
  311. console.log('触底');
  312. },
  313. seletShopType(item) {
  314. if (this.shopType != item.id) {
  315. this.shopType = item.id;
  316. if (this.shopType == 1) {
  317. this.shopTypeBsLeft = 12
  318. } else if (this.shopType == 2) {
  319. this.shopTypeBsLeft = 166
  320. } else {
  321. this.shopTypeBsLeft = 160 * 2
  322. }
  323. }
  324. },
  325. openBuyCrad() {
  326. this.$refs.popupBuy.open()
  327. },
  328. createOrder() {
  329. },
  330. openCoupon() {
  331. this.$refs.popupCoupon.open()
  332. },
  333. closeCoupon() {
  334. this.$refs.popupCoupon.close()
  335. },
  336. toConfirmOrder() {
  337. uni.navigateTo({
  338. url: '/pages-takeout/confirm-order'
  339. })
  340. },
  341. shopInfo() {
  342. const operate_id = uni.getStorageSync('operate_id')
  343. shopInfo({
  344. operate_id: operate_id,
  345. shop_id: this.shop_id
  346. }).then((res) => {
  347. if (res.code == 1) {
  348. this.shopsInfo = res.data
  349. }else {
  350. tools.error(res.msg)
  351. tools.leftClick()
  352. }
  353. })
  354. },
  355. shopCoupon() {
  356. shopCoupon({
  357. operate_id: this.operate_id,
  358. shop_id: this.shop_id
  359. }).then((res) => {
  360. if (res.code == 1) {
  361. if(res.data.length>0) {
  362. this.domHeigjt = 224
  363. this.couponData = res.data
  364. }else {
  365. this.domHeigjt = 156
  366. console.log(this.domHeigjt, '1111111111111111111');
  367. }
  368. }
  369. })
  370. }
  371. },
  372. }
  373. </script>
  374. <style scoped lang="scss">
  375. .blank-text{
  376. line-height: 32vh;
  377. }
  378. .pop-coupon {
  379. width: 100%;
  380. height: 42vh;
  381. background-color: #F5F4F9;
  382. border-radius: 24rpx 24rpx 0rpx 0rpx;
  383. padding-top: 32rpx !important;
  384. display: flex;
  385. flex-direction: column;
  386. .box-title {
  387. position: relative;
  388. .box-close {
  389. position: absolute;
  390. right: 22rpx;
  391. }
  392. }
  393. .item-right {
  394. padding: 24rpx;
  395. box-sizing: border-box;
  396. border-radius: 20rpx 0 0 20rpx;
  397. position: relative;
  398. }
  399. .item-hr {
  400. width: 0px;
  401. height: auto;
  402. border-right: 1rpx dashed #FB7850;
  403. }
  404. .item-hr-two {
  405. width: 0px;
  406. height: auto;
  407. border-right: 1rpx dashed #999;
  408. }
  409. .item-left {
  410. width: 220rpx;
  411. height: auto;
  412. padding: 20rpx 24rpx;
  413. box-sizing: border-box;
  414. position: relative;
  415. border-radius: 0 20rpx 20rpx 0;
  416. }
  417. .but-box {
  418. width: 152rpx;
  419. height: 52rpx;
  420. line-height: 52rpx;
  421. text-align: center;
  422. background: linear-gradient(225deg, #FB3D03 0%, #FF6901 100%);
  423. border-radius: 200rpx;
  424. }
  425. .ball {
  426. width: 24rpx;
  427. height: 24rpx;
  428. border-radius: 50%;
  429. position: absolute;
  430. top: -12rpx;
  431. left: -12rpx;
  432. background: #F5F5F5;
  433. z-index: 2;
  434. }
  435. .ball-two {
  436. width: 24rpx;
  437. height: 24rpx;
  438. border-radius: 50%;
  439. position: absolute;
  440. background: #F5F5F5;
  441. z-index: 10;
  442. bottom: -12rpx;
  443. left: -12rpx;
  444. }
  445. }
  446. .shop-index {
  447. position: relative;
  448. .right-only-right-red {
  449. width: 44rpx;
  450. height: 44rpx;
  451. line-height: 40rpx;
  452. border-radius: 12rpx;
  453. border: 1rpx solid #41ABF5;
  454. color: #41ABF5;
  455. }
  456. .right-only-right-add {
  457. width: 44rpx;
  458. height: 44rpx;
  459. line-height: 40rpx;
  460. background: linear-gradient(117deg, #57CAFF 0%, #41ABF5 100%);
  461. border-radius: 12rpx;
  462. }
  463. .right-only-right-2 {
  464. min-width: 50rpx;
  465. }
  466. .w-514 {
  467. width: 514rpx;
  468. }
  469. .bg-img {
  470. position: absolute;
  471. top: 0;
  472. left: 0;
  473. width: 100%;
  474. height: 280rpx;
  475. z-index: -1;
  476. }
  477. .nav-box {
  478. margin-bottom: 110rpx;
  479. .nav-img {
  480. width: 56rpx;
  481. height: 56rpx;
  482. }
  483. }
  484. .shop-buttom-money {
  485. width: 100%;
  486. height: 140rpx;
  487. background: rgba(255, 255, 255, 0.8);
  488. padding: 20rpx 24rpx;
  489. .shop-buttom-money-1 {
  490. width: 100%;
  491. height: 100%;
  492. background: #333333;
  493. border-radius: 200rpx;
  494. box-sizing: border-box;
  495. padding-left: 136rpx;
  496. // padding-right: 32rpx;
  497. position: relative;
  498. image {
  499. position: absolute;
  500. bottom: 0;
  501. left: 8rpx;
  502. width: 128rpx;
  503. height: 128rpx;
  504. }
  505. .shop-buttom-num {
  506. width: 32rpx;
  507. height: 32rpx;
  508. line-height: 32rpx;
  509. background: #FB3D03;
  510. border-radius: 50%;
  511. position: absolute;
  512. top: 36rpx;
  513. left: 82rpx;
  514. }
  515. .shop-buttom-money-2 {
  516. width: 200rpx;
  517. height: 100rpx;
  518. line-height: 100rpx;
  519. background: #41ABF5;
  520. border-radius: 0rpx 200rpx 200rpx 0rpx;
  521. }
  522. }
  523. }
  524. .head-box {
  525. width: 100%;
  526. position: relative;
  527. .shop-info-box {
  528. position: absolute;
  529. top: -50rpx;
  530. left: 24rpx;
  531. width: 702rpx;
  532. // min-height: 156rpx;
  533. border-radius: 20rpx;
  534. box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(0, 0, 0, 0.1);
  535. .info-box-top {
  536. .box-top-left {
  537. .top-left-1 {
  538. width: 480rpx;
  539. margin-bottom: 8rpx;
  540. }
  541. .img-x {
  542. width: 24rpx;
  543. height: 24rpx;
  544. }
  545. }
  546. .box-top-right {
  547. width: 100rpx;
  548. height: 100rpx;
  549. border-radius: 12rpx;
  550. }
  551. }
  552. .info-box-quan-list {
  553. width: 164rpx;
  554. height: 48rpx;
  555. margin: 0 8rpx 8rpx 0;
  556. position: relative;
  557. image {
  558. width: 164rpx;
  559. height: 48rpx;
  560. position: absolute;
  561. top: 0;
  562. left: 0;
  563. z-index: 1;
  564. }
  565. .quan-list-1 {
  566. position: absolute;
  567. top: 3rpx;
  568. left: 8rpx;
  569. z-index: 2;
  570. }
  571. .quan-list-2 {
  572. position: absolute;
  573. top: 8rpx;
  574. right: 22rpx;
  575. z-index: 2;
  576. }
  577. }
  578. }
  579. }
  580. .head-box-1 {
  581. width: 100%;
  582. height: 88rpx;
  583. border-bottom: 1rpx solid #eee;
  584. .shop-type-list {
  585. height: 88rpx;
  586. position: relative;
  587. .shop-item-bs {
  588. position: absolute;
  589. bottom: 0;
  590. width: 40rpx;
  591. height: 6rpx;
  592. border-radius: 20rpx;
  593. background-color: #41ABF5;
  594. transition: left 0.5s;
  595. }
  596. .shop-item {
  597. margin-right: 90rpx;
  598. position: relative;
  599. .pj-num {
  600. position: absolute;
  601. right: -80rpx;
  602. top: 0;
  603. text-align: left;
  604. width: 80rpx;
  605. }
  606. }
  607. .s-item {
  608. font-weight: 600;
  609. color: #333;
  610. }
  611. .n-item {
  612. font-weight: 400;
  613. color: #999;
  614. }
  615. }
  616. }
  617. .buy-card {
  618. height: 828rpx;
  619. background-color: #fff;
  620. border-radius: 24rpx 24rpx 0rpx 0rpx;
  621. .buy-card-top {
  622. width: 100%;
  623. height: 92rpx;
  624. background: #FCF5DB;
  625. border-radius: 24rpx 24rpx 0rpx 0rpx;
  626. }
  627. .buy-card-item {
  628. width: 100%;
  629. height: 176rpx;
  630. margin-bottom: 32rpx;
  631. image {
  632. width: 152rpx;
  633. height: 152rpx;
  634. border-radius: 12rpx;
  635. margin-right: 20rpx;
  636. }
  637. }
  638. }
  639. }
  640. </style>