| | |
| | | query: { |
| | | status: '' |
| | | }, |
| | | list: [{}] |
| | | list: [] |
| | | } |
| | | }, |
| | | async onLoad() { |
| | | this.listApi = '/api/v2/coupon/app' + `/center/list` |
| | | |
| | | // this.getList() |
| | | this.getList() |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | 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"> |
| | |
| | | data: { |
| | | couponId: item.id, |
| | | goodsId: item.id, //兼容2个 |
| | | num:1 |
| | | } |
| | | }) |
| | | this.$message.hideLoading() |
| | |
| | | }) |
| | | }, |
| | | 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() |
| | | } |
| | | }, |
| | |
| | | } |
| | | |
| | | .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 { |
| | |
| | | font-weight: 400; |
| | | font-size: 24rpx; |
| | | color: #44775A; |
| | | padding:18rpx; |
| | | padding-bottom: 28rpx; |
| | | |
| | | .score { |
| | |
| | | font-weight: 400; |
| | | font-size: 24rpx; |
| | | color: #44775A; |
| | | text-align: center; |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | .icon { |
| | | position: absolute; |
| | | left: 20rpx; |
| | | left: 0rpx; |
| | | z-index: 1; |
| | | } |
| | | } |