处理订单列表
This commit is contained in:
@@ -18,19 +18,6 @@
|
||||
|
||||
|
||||
<nut-cell-group>
|
||||
<!-- <nut-cell is-link v-for="(goods,idx) in detail.goods" :key="idx"
|
||||
@click="navigateTo('/pages/mall/item/index?id=' + goods.goods_id)">
|
||||
<template #title>
|
||||
<view class="detail">
|
||||
<view class="name">
|
||||
<nut-tag custom-color="#1a1a1a">{{goods.snapshot_info.degree.degree_name}}</nut-tag>
|
||||
<text>{{goods.goods_name}}</text>
|
||||
</view>
|
||||
<view class="sku">{{goods.content}}</view>
|
||||
</view>
|
||||
</template>
|
||||
</nut-cell> -->
|
||||
|
||||
<nut-cell v-for="(goods,index) in detail.goods" :key="index" center
|
||||
@click="navigateTo('/pages/mall/detail?id=' + goods.goods_id)">
|
||||
<template #title>
|
||||
@@ -59,16 +46,6 @@
|
||||
<nut-price :price="detail.pay_price" size="normal" :need-symbol="true" />
|
||||
</view>
|
||||
</nut-cell>
|
||||
<!-- <nut-cell>
|
||||
<view class="total-price-inner">
|
||||
<view>
|
||||
<text>邮费</text>
|
||||
</view>
|
||||
<view>
|
||||
<nut-price :price="0" size="normal" :need-symbol="true" />
|
||||
</view>
|
||||
</view>
|
||||
</nut-cell> -->
|
||||
</nut-cell-group>
|
||||
|
||||
<nut-cell-group>
|
||||
@@ -82,11 +59,11 @@
|
||||
</nut-cell-group>
|
||||
|
||||
|
||||
<view v-if="detail.progress === 1 && !audit" class="wechat-img-inner">
|
||||
<!-- <view v-if="detail.progress === 1 && !audit" class="wechat-img-inner">
|
||||
<nut-button type="primary" block @click="showPayImgs()">
|
||||
点我付款
|
||||
</nut-button>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -158,20 +135,20 @@
|
||||
})
|
||||
}
|
||||
|
||||
// 显示支付码
|
||||
const showPayImgs = () => {
|
||||
if (images.value.length === 0) {
|
||||
uni.showToast({
|
||||
title: '暂无图片',
|
||||
icon: 'none'
|
||||
});
|
||||
return;
|
||||
}
|
||||
console.log('preview images:', images);
|
||||
uni.previewImage({
|
||||
urls: images.value
|
||||
});
|
||||
}
|
||||
// // 显示支付码
|
||||
// const showPayImgs = () => {
|
||||
// if (images.value.length === 0) {
|
||||
// uni.showToast({
|
||||
// title: '暂无图片',
|
||||
// icon: 'none'
|
||||
// });
|
||||
// return;
|
||||
// }
|
||||
// console.log('preview images:', images);
|
||||
// uni.previewImage({
|
||||
// urls: images.value
|
||||
// });
|
||||
// }
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user