| | |
| | | <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"> |
| | |
| | | changeTab(flg) { |
| | | this.flg = '' + flg |
| | | this.listApi = this.tabs[flg].api |
| | | this.list = [] |
| | | this.refreshList() |
| | | }, |
| | | async exchange(type, item) { |
| | |
| | | }) |
| | | this.$message.hideLoading() |
| | | if (code == 0) { |
| | | this.$message.showToast('兑换成功') |
| | | //刷新积分 |
| | | this.$store.dispatch('getCurrentInfo'); |
| | | await this.$message.showToast('兑换成功') |
| | | |
| | | } |
| | | }, |
| | | toDetail(item) { |
| | |
| | | }, |
| | | onLoad() { |
| | | this.listApi = '/api/customer/point/goods/list' |
| | | this.getList() |
| | | }, |
| | | |
| | | onReachBottom() { |
| | |
| | | |
| | | .query-scores { |
| | | overflow-x: scroll; |
| | | |
| | | // width: max-content; |
| | | .item { |
| | | min-width: fit-content; |