调整支付成功页面字段

This commit is contained in:
唐明明
2021-09-18 15:31:50 +08:00
parent d8d5766c86
commit ac4552a3ee
6 changed files with 43 additions and 17 deletions

View File

@@ -11,7 +11,7 @@
</view>
</view>
<view class="lists">
<view class="item" v-for="(item, index) in marketArray" :key="index">
<view class="item" v-for="(item, index) in marketArray" :key="index" @click="onDetails(item)">
<image class="cover" :src="item.goods.cover" mode="aspectFill"></image>
<view class="content">
<view class="title nowrap">数字权证<text>{{item.surplus}}/{{item.stock}}</text></view>
@@ -36,7 +36,7 @@
page : {}
};
},
created() {
onShow() {
this.getMarkets()
},
methods:{
@@ -53,10 +53,14 @@
markets({
sort: this.tabIndex == 1 ? this.marketType : ''
}).then(res => {
console.log(res.data)
this.marketArray = res.data
this.page = res.page
})
},
// 转让商品详情
onDetails(e){
this.$Router.push({name: 'marketDetails', params: {marketId: e.market_id}})
console.log(e)
}
},
onNavigationBarButtonTap(){