1
xuxueyang
2024-09-03 6d583f26009a2cbc74f5963fb92ff184019f6c2b
1
已修改2个文件
20 ■■■■■ 文件已修改
sub_pages/customer/coupon/coupon-all.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/coupon/good-all.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/coupon/coupon-all.vue
@@ -39,13 +39,13 @@
                query: {
                    status: ''
                },
                list: [{}]
                list: []
            }
        },
        async onLoad() {
            this.listApi = '/api/v2/coupon/app' + `/center/list`
            // this.getList()
            this.getList()
        },
        methods: {
sub_pages/customer/coupon/good-all.vue
@@ -5,7 +5,7 @@
                mode="scaleToFill" />
            <view class="title">
                <uni-icons class="icon" type="left" size="24"></uni-icons>
                <uni-icons class="icon" type="left" size="24" @click="backpage"></uni-icons>
                积分兑换
            </view>
            <view class="flex point-info">
@@ -120,6 +120,7 @@
                    data: {
                        couponId: item.id,
                        goodsId: item.id, //兼容2个
                        num:1
                    }
                })
                this.$message.hideLoading()
@@ -133,8 +134,8 @@
                })
            },
            changeScore(item){
                this.query.pointLower = item.min || undefined
                this.query.pointUpper = item.max || undefined
                this.query.pointLower = item.min || 0
                this.query.pointUpper = item.max || 10000000000
                this.refreshList()
            }
        },
@@ -208,13 +209,12 @@
                }
                .title {
                    padding-top: 18rpx;
                    padding-bottom: 18rpx;
                    padding:18rpx 18rpx 0rpx 18rpx;
                    font-weight: 600;
                    font-size: 32rpx;
                    color: #000000;
                    line-height: 44rpx;
                    text-align: center;
                    text-align: left;
                }
                .score-info {
@@ -223,6 +223,7 @@
                    font-weight: 400;
                    font-size: 24rpx;
                    color: #44775A;
                    padding:18rpx;
                    padding-bottom: 28rpx;
                    .score {
@@ -240,6 +241,7 @@
                    font-weight: 400;
                    font-size: 24rpx;
                    color: #44775A;
                    text-align: center;
                }
            }
@@ -345,7 +347,7 @@
                .icon {
                    position: absolute;
                    left: 20rpx;
                    left: 0rpx;
                    z-index: 1;
                }
            }