xuxueyang
2024-09-10 5aefbc23367e65accd61b8f2f9686822a8767511
sub_pages/customer/coupon/good-all.vue
@@ -2,7 +2,8 @@
   <view class="good-list-container">
      <view class="top-bg img100 relative" :style="{'padding-top':(StatusBar)+'px','line-height':CustomBar+'rpx' }">
         <!-- ../../../static/images/customer/coupon/good-top-bg.png -->
         <image class="component-bg" src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/a9/a9731b0037924324a3d3318dfa7d10c5LZk6JsSC33ua754767bf8c714154f06bbd5b4d905174.png"
         <image class="component-bg"
            src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/a9/a9731b0037924324a3d3318dfa7d10c5LZk6JsSC33ua754767bf8c714154f06bbd5b4d905174.png"
            mode="scaleToFill" />
         <view class="title">
@@ -102,6 +103,7 @@
         changeTab(flg) {
            this.flg = '' + flg
            this.listApi = this.tabs[flg].api
            this.list = []
            this.refreshList()
         },
         async exchange(type, item) {
@@ -126,7 +128,10 @@
            })
            this.$message.hideLoading()
            if (code == 0) {
               this.$message.showToast('兑换成功')
               //刷新积分
               this.$store.dispatch('getCurrentInfo');
               await this.$message.showToast('兑换成功')
            }
         },
         toDetail(item) {
@@ -186,6 +191,7 @@
      },
      onLoad() {
         this.listApi = '/api/customer/point/goods/list'
         this.getList()
      },
      onReachBottom() {
@@ -260,6 +266,7 @@
      .query-scores {
         overflow-x: scroll;
         // width: max-content;
         .item {
            min-width: fit-content;