store_cate2.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  1. <template>
  2. <view class="one">
  3. <!-- 顶部搜索框 -->
  4. <!-- #ifndef MP -->
  5. <view class="header">
  6. <!-- #endif -->
  7. <!-- #ifdef MP -->
  8. <view class="header" :style="'height:'+(statusBarHeight+163)+'px;'">
  9. <!-- #endif -->
  10. <image :src="imgHost+'/statics/images/store-header.png'" mode="" class="header-img"></image>
  11. <navigator url="/pages/goods/goods_search/index" class="input acea-row row-center-wrapper" hover-class="none">
  12. <!-- #ifndef MP -->
  13. <view class="search">
  14. <!-- #endif -->
  15. <!-- #ifdef MP -->
  16. <view class="search on acea-row row-middle" style="height: 43px;" :style="'top:'+statusBarHeight+'px'">
  17. <view class="searchCon">
  18. <!-- #endif -->
  19. <text class="iconfont icon-xiazai5"></text>
  20. 搜索店内商品
  21. </view>
  22. <!-- #ifdef MP -->
  23. </view>
  24. <!-- #endif -->
  25. </navigator>
  26. <!-- 门店地址 -->
  27. <!-- #ifndef MP -->
  28. <view class="address">
  29. <!-- #endif -->
  30. <!-- #ifdef MP -->
  31. <view class="address" :style="'top:'+(statusBarHeight+68)+'px;'">
  32. <!-- #endif -->
  33. <view class="left">
  34. <view class="left-title" @click="goMap">
  35. <text class="iconfont icon-mendian"></text>
  36. <text class="text line1">{{info.name || '暂无门店'}}</text>
  37. <text class="iconfont icon-xiangyou"></text>
  38. </view>
  39. <!-- 营业时间 -->
  40. <view class="time">
  41. 营业时间:{{info.day_time || '-'}}
  42. </view>
  43. <view class="distance">
  44. <text class="iconfont icon-chakanditu"></text>
  45. 距您<text>{{info.range||0}}km</text>
  46. <text class="distance-name">{{info.detailed_address}}</text>
  47. </view>
  48. </view>
  49. <!-- 客服 -->
  50. <view class="right">
  51. <view class="kefu" @click="goKefu()">
  52. <text class="iconfont icon-kefu-mendian" />
  53. <text>客服</text>
  54. </view>
  55. <view class="goods" @click="shoppCart">
  56. <view class="cartNum" v-if="cart_num>0">
  57. {{cart_num}}
  58. </view>
  59. <text class="iconfont icon-gouwuche-mendian" />
  60. <text>购物车</text>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. <!-- 商品排序条件 -->
  66. <view class="content">
  67. <view class="nav">
  68. <view @click="set_where(1)" :class="{'activeColor':active == 1}">
  69. 综合排序
  70. </view>
  71. <view @click='set_where(2)' :class="{'activeColor':active == 2}">
  72. 价格
  73. <image v-if="price==1" src="../../static/images/up.png" alt="" class="nav-img"></image>
  74. <image v-else-if="price==2" src='../../static/images/down.png' class="nav-img"></image>
  75. <image v-else src='../../static/images/horn.png' class="nav-img"></image>
  76. </view>
  77. <view @click='set_where(3)' :class="{'activeColor':active == 3}">
  78. 销量
  79. <image v-if="stock==1" src="../../static/images/up.png" alt="" class="nav-img"></image>
  80. <image v-else-if="stock==2" src='../../static/images/down.png' class="nav-img"></image>
  81. <image v-else src='../../static/images/horn.png' class="nav-img"></image>
  82. </view>
  83. <view @click="set_where(4)">
  84. <text class="iconfont icon-shaixuan"></text>
  85. 筛选
  86. </view>
  87. </view>
  88. </view>
  89. <!-- 商品列表 -->
  90. <view class="list waterList" >
  91. <waterfallsFlow ref="waterfallsFlow" :list="productList" @wapper-lick="godDetail">
  92. <!-- #ifdef MP-WEIXIN -->
  93. <view v-for="(item, index) of productList" :key="index" slot="slot{{index}}">
  94. <view class="waterfalls">
  95. <view class='name line2'>{{item.store_name}}</view>
  96. <span class="label"
  97. v-if="item.activity && item.activity.type === '1' && !promotions_type">秒杀</span>
  98. <span class="label"
  99. v-if="item.activity && item.activity.type === '2' && !promotions_type">砍价</span>
  100. <span class="label"
  101. v-if="item.activity && item.activity.type === '3' && !promotions_type">拼团</span>
  102. <text class="label" v-if="item.promotions.title">{{item.promotions.title}}</text>
  103. <view class="vip acea-row row-middle">
  104. <view class='money font-color'>
  105. ¥<text class='num'>{{item.price.toString().split(".")[0]}}</text>
  106. <text class='nums'
  107. v-if="item.price.toString().split('.').length>1">.{{item.price.toString().split(".")[1]}}</text>
  108. </view>
  109. <view class='vip-money acea-row row-middle' v-if="item.vip_price && item.vip_price > 0">
  110. <view>¥{{item.vip_price}}</view>
  111. <!-- <image src='../../static/images/vip.png' v-if="item.price_type == 'member'"></image> -->
  112. <view class="icon on" v-if="item.price_type && item.price_type == 'member'"><text
  113. class="iconfont icon-huangguan4"></text>SVIP</view>
  114. <view class="icon" v-if="item.price_type && item.price_type == 'level'"><text
  115. class="iconfont icon-dengjitubiao"></text>{{item.level_name}}</view>
  116. </view>
  117. </view>
  118. <view class='vip acea-row row-between-wrapper'>
  119. <view>已售{{item.sales}}{{item.unit_name || '件'}}</view>
  120. <view>评分 {{item.star}}</view>
  121. </view>
  122. </view>
  123. </view>
  124. <!-- #endif -->
  125. <!-- #ifndef MP-WEIXIN -->
  126. <template v-slot:default="item">
  127. <view class="waterfalls">
  128. <view class='name line2'>{{item.store_name}}</view>
  129. <span class="label"
  130. v-if="item.activity && item.activity.type === '1' && !promotions_type">秒杀</span>
  131. <span class="label"
  132. v-if="item.activity && item.activity.type === '2' && !promotions_type">砍价</span>
  133. <span class="label"
  134. v-if="item.activity && item.activity.type === '3' && !promotions_type">拼团</span>
  135. <text class="label" v-if="item.promotions.title">{{item.promotions.title}}</text>
  136. <view class="vip acea-row row-middle">
  137. <view class='money font-color'>
  138. ¥<text class='num'>{{item.price.toString().split(".")[0]}}</text>
  139. <text class='nums'
  140. v-if="item.price.toString().split('.').length>1">.{{item.price.toString().split(".")[1]}}</text>
  141. </view>
  142. <view class='vip-money acea-row row-middle' v-if="item.vip_price && item.vip_price > 0">
  143. <view>¥{{item.vip_price}}</view>
  144. <view class="icon on" v-if="item.price_type && item.price_type == 'member'"><text
  145. class="iconfont icon-huangguan4"></text>SVIP</view>
  146. <view class="icon" v-if="item.price_type && item.price_type == 'level'"><text
  147. class="iconfont icon-v"></text>{{item.level_name}}</view>
  148. </view>
  149. </view>
  150. <view class='vip acea-row row-between-wrapper'>
  151. <view>已售{{item.sales}}{{item.unit_name || '件'}}</view>
  152. <view>评分 {{item.star}}</view>
  153. </view>
  154. </view>
  155. </template>
  156. <!-- #endif -->
  157. </waterfallsFlow>
  158. <view class='loadingicon acea-row row-center-wrapper' v-if='productList.length > 0'>
  159. <text class='loading iconfont icon-jiazai' :hidden='loading==false'></text>{{loadTitle}}
  160. </view>
  161. </view>
  162. <!-- 商品列表 -->
  163. <view class="default" v-if="productList.length==0 && where.page > 1">
  164. <image :src="imgHost+'/statics/images/no-thing.png'" mode="" class="img"></image>
  165. <view class="text">
  166. 暂无商品,去添加点什么吧
  167. </view>
  168. </view>
  169. <!-- 筛选弹窗 -->
  170. <filterPopup ref="popup" :storeCategory="storeCategory" :storeBrand="storeBrand" @brandChange="brandChange"
  171. @categoryChange="categoryChange" @submitFn="submitFn"></filterPopup>
  172. <!-- 客服弹窗 -->
  173. <Kefu ref="kefu" @closeKefu="closeKefu" :customerList="customerList" :customerType="customerType"></Kefu>
  174. </view>
  175. </template>
  176. <script>
  177. let statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  178. import waterfallsFlow from "@/components/maramlee-waterfalls-flow/maramlee-waterfalls-flow.vue";
  179. import filterPopup from "@/components/filterPopup/index.vue";
  180. import Kefu from "@/components/kefu/index.vue"
  181. import {
  182. mapState,
  183. mapGetters
  184. } from 'vuex';
  185. import {
  186. getProducts,
  187. getCustomerList,
  188. getStoreCategory,
  189. getStoreBrand
  190. } from '@/api/new_store.js';
  191. import {
  192. goShopDetail
  193. } from '@/libs/order.js';
  194. import {
  195. HTTP_REQUEST_URL
  196. } from '@/config/app';
  197. export default {
  198. components: {
  199. filterPopup,
  200. waterfallsFlow,
  201. Kefu
  202. },
  203. props: {
  204. info: {
  205. type: Object,
  206. default: {}
  207. },
  208. customerType:{
  209. type:Number,
  210. default:1
  211. },
  212. cart_num:{
  213. type:Number,
  214. default:0
  215. }
  216. },
  217. computed: {
  218. ...mapState({
  219. cartNum: state => state.indexData.cartNum
  220. }),
  221. ...mapGetters(['isLogin', 'uid', 'cartNum']),
  222. },
  223. data() {
  224. return {
  225. statusBarHeight:statusBarHeight,
  226. imgHost: HTTP_REQUEST_URL,
  227. price: 0,
  228. stock: 0,
  229. productList: [], // 商品数据
  230. customerList: [], // 客服数据
  231. storeCategory: [], // 分类数据
  232. storeBrand: [], // 品牌数据
  233. show: false,
  234. active: 1,
  235. where: {
  236. cid: 0,
  237. sid: 0,
  238. keyword: '',
  239. priceOrder: '',
  240. salesOrder: '',
  241. news: 0,
  242. page: 1,
  243. limit: 5,
  244. store_id: 0,
  245. brand_id: '',
  246. },
  247. loading: false,
  248. loadend: false,
  249. loadTitle: '加载更多',
  250. }
  251. },
  252. mounted() {},
  253. methods: {
  254. // 选择品牌
  255. brandChange(val) {
  256. this.where.brand_id=val
  257. },
  258. // 选择分类
  259. categoryChange(val) {
  260. this.where.cid = val.cid
  261. this.where.sid = val.sid
  262. },
  263. // 确认提交
  264. submitFn(val) {
  265. if (val == 1) {
  266. this.getProducts(true)
  267. this.$refs.popup.visible = false
  268. } else if (val == 2) {
  269. this.where.brand_id = ""
  270. this.where.cid = ""
  271. this.where.sid = ""
  272. this.getProducts(true)
  273. this.$refs.popup.visible = false
  274. }
  275. },
  276. // 打开附近门店
  277. goMap() {
  278. uni.navigateTo({
  279. url: "/pages/store/map/index?storeFrom=1&type=1&storeId="+this.info.id
  280. })
  281. },
  282. // 打开客服
  283. goKefu() {
  284. this.getCustomerList()
  285. this.$refs.kefu.show = true
  286. },
  287. // 购物车
  288. shoppCart() {
  289. uni.switchTab({
  290. url: "/pages/order_addcart/order_addcart"
  291. })
  292. },
  293. // 关闭客服
  294. closeKefu() {
  295. this.$refs.kefu.show = false
  296. },
  297. // 获取客服列表数据
  298. getCustomerList() {
  299. getCustomerList(this.where.store_id).then(res => {
  300. this.customerList = res.data
  301. })
  302. },
  303. // 去详情页
  304. godDetail(item) {
  305. this.currentPage = false
  306. if (this.promotions_type) {
  307. uni.navigateTo({
  308. url: `/pages/goods_details/index?id=${item.id}`
  309. })
  310. } else {
  311. goShopDetail(item, this.uid).then(res => {
  312. uni.navigateTo({
  313. url: `/pages/goods_details/index?id=${item.id}`
  314. })
  315. })
  316. }
  317. },
  318. // 操作
  319. set_where: function(e) {
  320. switch (e) {
  321. case 1:
  322. this.active = 1
  323. this.where.priceOrder = ""
  324. this.where.salesOrder = ""
  325. this.where.brand_id = ""
  326. this.price= 0
  327. break;
  328. case 2:
  329. if (this.price == 0) this.price = 1;
  330. else if (this.price == 1) this.price = 2;
  331. else if (this.price == 2) this.price = 0;
  332. if (this.price == 1) {
  333. this.where.priceOrder = "asc"
  334. } else if (this.price == 2) {
  335. this.where.priceOrder = "desc"
  336. } else {
  337. this.where.priceOrder = ""
  338. }
  339. this.active = 2
  340. this.stock = 0;
  341. break;
  342. case 3:
  343. if (this.stock == 0) this.stock = 1;
  344. else if (this.stock == 1) this.stock = 2;
  345. else if (this.stock == 2) this.stock = 0;
  346. if (this.stock == 1) {
  347. this.where.priceOrder = ""
  348. this.where.salesOrder = "asc"
  349. } else if (this.stock == 2) {
  350. this.where.priceOrder = ""
  351. this.where.salesOrder = "desc"
  352. } else {
  353. this.where.salesOrder = ""
  354. }
  355. this.active = 3
  356. this.price = 0
  357. break;
  358. case 4:
  359. console.log('1111111111');
  360. this.getStoreCategory()
  361. this.getStoreBrand()
  362. this.$refs.popup.visible = true
  363. this.loadend = false;
  364. this.loading = false;
  365. break;
  366. }
  367. if(e<4){
  368. this.loadend = false;
  369. this.$set(this.where, 'page', 1);
  370. this.getProducts(true)
  371. }
  372. },
  373. // 商品列表
  374. getProducts(isPage) {
  375. let that = this;
  376. if (that.loadend) return;
  377. if (that.loading) return;
  378. if (isPage === true) {
  379. that.$refs.waterfallsFlow.refresh();
  380. that.where.page = 1;
  381. that.$set(that, 'productList', []);
  382. }
  383. that.loading = true;
  384. that.loadTitle = '';
  385. getProducts(this.where).then(res => {
  386. let list = res.data;
  387. let productList = that.$util.SplitArray(list, that.productList);
  388. let loadend = list.length < that.where.limit;
  389. that.loadend = loadend;
  390. that.loading = false;
  391. that.loadTitle = loadend ? '没有更多内容啦~' : '加载更多';
  392. that.$set(that, 'productList', productList);
  393. that.$set(that.where, 'page', that.where.page + 1);
  394. }).catch(err => {
  395. that.loading = false;
  396. that.loadTitle = '加载更多'
  397. });
  398. },
  399. // 筛选-分类数据
  400. getStoreCategory() {
  401. let data = {
  402. pid: 0
  403. }
  404. getStoreCategory(data).then(res => {
  405. res.data.map(item => {
  406. this.$set(item, 'disabled', false)
  407. this.$set(item, 'current', -1)
  408. item.children.unshift({
  409. 'id': 0,
  410. 'cate_name': '全部'
  411. })
  412. })
  413. this.storeCategory = res.data
  414. })
  415. },
  416. // 筛选-品牌数据
  417. getStoreBrand() {
  418. getStoreBrand(this.where).then(res => {
  419. this.storeBrand = res.data
  420. })
  421. },
  422. // 触底刷新
  423. onReachBottom() {
  424. this.getProducts()
  425. }
  426. }
  427. }
  428. </script>
  429. <style lang="scss">
  430. page {
  431. background-color: #F5F5F5 !important;
  432. }
  433. .activeColor {
  434. color: var(--view-theme) !important;
  435. }
  436. .header {
  437. // #ifndef MP
  438. margin-bottom: 40rpx;
  439. // #endif
  440. .header-img {
  441. width: 100%;
  442. height: 300rpx;
  443. display: block;
  444. }
  445. .search {
  446. position: absolute;
  447. // #ifndef MP
  448. top: 56rpx;
  449. // #endif
  450. left: 20rpx;
  451. // #ifdef MP
  452. width: 520rpx;
  453. // #endif
  454. // #ifndef MP
  455. width: 710rpx;
  456. // #endif
  457. height: 64rpx;
  458. background: rgba(255, 255, 255, 0.2800);
  459. border-radius: 43rpx;
  460. font-weight: 400;
  461. color: #FFFFFF;
  462. font-size: 26rpx;
  463. line-height: 64rpx;
  464. &.on{
  465. background:unset;
  466. }
  467. .searchCon{
  468. width: 100%;
  469. height: 64rpx;
  470. background: rgba(255, 255, 255, 0.2800);
  471. border-radius: 43rpx;
  472. }
  473. .icon-xiazai5 {
  474. margin-left: 32rpx;
  475. margin-right: 12rpx;
  476. }
  477. }
  478. .address {
  479. position: absolute;
  480. top: 160rpx;
  481. margin: 0 20rpx;
  482. width: 710rpx;
  483. height: 192rpx;
  484. background: #fff;
  485. border-radius: 14rpx;
  486. padding: 30rpx 20rpx;
  487. display: flex;
  488. justify-content: space-between;
  489. .left {
  490. .left-title {
  491. height: 30rpx;
  492. line-height: 30rpx;
  493. display: flex;
  494. image {
  495. width: 30rpx;
  496. height: 28rpx;
  497. }
  498. .text {
  499. font-weight: 600;
  500. color: #333333;
  501. font-size: 30rpx;
  502. margin: 0 10rpx;
  503. max-width: 390rpx;
  504. }
  505. .icon-xiangyou {
  506. color: #333;
  507. font-size: 24rpx;
  508. }
  509. }
  510. .time {
  511. margin: 20rpx 0;
  512. font-size: 22rpx;
  513. font-weight: 400;
  514. color: #666666;
  515. }
  516. .distance {
  517. width: 500rpx;
  518. font-size: 22rpx;
  519. color: #666666;
  520. font-weight: 400;
  521. .icon-chakanditu {
  522. margin-right: 8rpx;
  523. font-size: 28rpx;
  524. color: #ccc;
  525. }
  526. .distance-name {
  527. display: inline-block;
  528. width: 286rpx;
  529. height: 22rpx;
  530. border-left: 1px solid #000;
  531. margin-left: 16rpx;
  532. line-height: 22rpx;
  533. text-align: left;
  534. padding-left: 16rpx;
  535. white-space: nowrap;
  536. overflow: hidden;
  537. text-overflow: ellipsis;
  538. }
  539. }
  540. }
  541. .right {
  542. margin-top: 36rpx;
  543. display: flex;
  544. font-size: 20rpx;
  545. color: #333333;
  546. .kefu {
  547. margin-right: 30rpx;
  548. display: flex;
  549. flex-direction: column;
  550. align-items: center;
  551. .icon-kefu-mendian {
  552. font-size: 36rpx;
  553. }
  554. }
  555. }
  556. .goods {
  557. position: relative;
  558. display: flex;
  559. flex-direction: column;
  560. align-items: center;
  561. .icon-gouwuche-mendian {
  562. font-size: 36rpx;
  563. }
  564. .cartNum {
  565. position: absolute;
  566. top: -8rpx;
  567. right: 2rpx;
  568. width: 30rpx;
  569. height: 30rpx;
  570. line-height: 30rpx;
  571. text-align: center;
  572. font-weight: 500;
  573. color: #FFFFFF;
  574. border-radius: 50%;
  575. background: var(--view-theme);
  576. border: 1px solid #FFFFFF;
  577. }
  578. }
  579. }
  580. }
  581. .goods-list {
  582. padding: 0 30rpx;
  583. margin-bottom: 50rpx !important;
  584. }
  585. .content {
  586. height: 100%;
  587. position: -webkit-sticky;
  588. position: sticky;
  589. top: var(--window-top);
  590. z-index: 99;
  591. // margin-bottom: 200rpx;
  592. .nav {
  593. padding: 40rpx 50rpx 40rpx 50rpx;
  594. display: flex;
  595. justify-content: space-between;
  596. font-size: 28rpx;
  597. font-weight: 500;
  598. color: #666666;
  599. background: #f5f5f5;
  600. .nav-img {
  601. width: 15rpx;
  602. height: 18rpx;
  603. margin-left: 10rpx;
  604. }
  605. .icon-shaixuan {
  606. font-size: 24rpx;
  607. margin-right: 10rpx;
  608. }
  609. }
  610. }
  611. .vip {
  612. margin: 20rpx 0 10rpx 0;
  613. .price {
  614. font-size: 34rpx;
  615. font-weight: 600;
  616. color: var(--view-theme);
  617. }
  618. .sold {
  619. font-size: 24rpx;
  620. font-weight: 400;
  621. color: #999999;
  622. }
  623. }
  624. .list {
  625. padding: 0 20rpx 90rpx 20rpx;
  626. }
  627. .list .waterList {
  628. margin-bottom: 60rpx;
  629. // margin-top: 192rpx;
  630. }
  631. .default {
  632. margin-top: 100rpx;
  633. display: flex;
  634. flex-direction: column;
  635. align-items: center;
  636. .img {
  637. width: 414rpx;
  638. height: 256rpx;
  639. }
  640. .text {
  641. font-size: 26rpx;
  642. font-weight: 400;
  643. color: #999999;
  644. }
  645. }
  646. .waterfalls {
  647. padding: 10rpx 16rpx 16rpx 16rpx;
  648. color: #222;
  649. .name {
  650. font-size: 28rpx;
  651. }
  652. .label {
  653. font-size: 20rpx;
  654. color: var(--view-theme);
  655. border-radius: 4rpx;
  656. border: 1px solid var(--view-theme);
  657. padding: 0 6rpx;
  658. display: inline-block;
  659. margin-top: 10rpx;
  660. margin-right: 10rpx;
  661. }
  662. .money {
  663. font-size: 26rpx;
  664. font-weight: 700;
  665. .num {
  666. font-size: 34rpx;
  667. }
  668. .nums {
  669. font-size: 28rpx;
  670. }
  671. }
  672. .vip {
  673. font-size: 22rpx;
  674. color: #aaa;
  675. margin-top: 6rpx;
  676. .vip-money {
  677. font-size: 24rpx;
  678. color: #282828;
  679. font-weight: bold;
  680. .icon{
  681. font-size: 15rpx;
  682. background: #FF9500;
  683. color: #fff;
  684. border-radius: 18rpx;
  685. padding: 1rpx 6rpx;
  686. margin-left: 10rpx;
  687. min-width: 60rpx;
  688. .iconfont {
  689. font-size: 15rpx;
  690. margin-right: 5rpx;
  691. }
  692. &.on {
  693. background: #333;
  694. color: #FDDAA4;
  695. min-width: unset;
  696. }
  697. }
  698. image {
  699. width: 46rpx;
  700. height: 21rpx;
  701. margin-left: 4rpx;
  702. }
  703. }
  704. }
  705. }
  706. </style>