卡券详情
This commit is contained in:
parent
dbd3663020
commit
e76af47396
|
@ -11,7 +11,12 @@
|
||||||
<wd-cell class="product-cell" title="订单号:" :value="productData.order_no"></wd-cell>
|
<wd-cell class="product-cell" title="订单号:" :value="productData.order_no"></wd-cell>
|
||||||
<wd-cell class="product-cell" title="创建时间:" :value="productData.order_time"></wd-cell>
|
<wd-cell class="product-cell" title="创建时间:" :value="productData.order_time"></wd-cell>
|
||||||
<wd-cell class="product-cell" title="面值:" :value="productData.order_amount"></wd-cell>
|
<wd-cell class="product-cell" title="面值:" :value="productData.order_amount"></wd-cell>
|
||||||
<wd-cell class="product-cell" title="图片:" value="" center>
|
<wd-cell
|
||||||
|
class="product-cell"
|
||||||
|
title="商品名称:"
|
||||||
|
:value="productData.details[0].product_name"
|
||||||
|
></wd-cell>
|
||||||
|
<wd-cell class="product-cell" title="商品图片:" value="" center>
|
||||||
<wd-img width="50" height="50" fit="fill" :src="productData.details[0].show_pic" />
|
<wd-img width="50" height="50" fit="fill" :src="productData.details[0].show_pic" />
|
||||||
</wd-cell>
|
</wd-cell>
|
||||||
<wd-img
|
<wd-img
|
||||||
|
@ -25,8 +30,8 @@
|
||||||
<wd-img
|
<wd-img
|
||||||
class="exchange"
|
class="exchange"
|
||||||
@click="exchange"
|
@click="exchange"
|
||||||
width="121px"
|
width="80px"
|
||||||
height="56px"
|
height="45px"
|
||||||
:src="imgQudui"
|
:src="imgQudui"
|
||||||
></wd-img>
|
></wd-img>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -1,32 +1,35 @@
|
||||||
<route lang="json5" type="page">
|
<route lang="json5" type="page">
|
||||||
{
|
{
|
||||||
style: {
|
style: {
|
||||||
navigationBarTitleText: '产品页',
|
navigationBarTitleText: '商品页',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</route>
|
</route>
|
||||||
<template>
|
<template>
|
||||||
<view class="product">
|
<view class="product">
|
||||||
<view class="product-content">
|
<view class="product-content">
|
||||||
<wd-cell class="product-cell" title="产品名:" :value="productData.product_name"></wd-cell>
|
<wd-cell class="product-cell" title="商品名:" :value="productData.show_name"></wd-cell>
|
||||||
<wd-cell class="product-cell" title="创建时间:" :value="productData.create_time"></wd-cell>
|
<wd-cell class="product-cell" title="创建时间:" :value="productData.create_time"></wd-cell>
|
||||||
<wd-cell class="product-cell" title="面值:" :value="productData.amount"></wd-cell>
|
<wd-cell class="product-cell" title="面值:" :value="productData.show_price"></wd-cell>
|
||||||
<wd-cell class="product-cell" title="图片:" value="" center>
|
<wd-cell class="product-cell" title="主图:" value="" center>
|
||||||
<wd-img width="50" height="50" fit="fill" :src="productData.show_pic" />
|
<wd-img width="50" height="50" fit="fill" :src="productData.show_pic" />
|
||||||
</wd-cell>
|
</wd-cell>
|
||||||
<wd-img
|
<wd-cell class="product-cell" title="详情图:" value="" center></wd-cell>
|
||||||
v-for="(item, index) in productData.images"
|
<wd-cell class="product-cell" title="" value="" vertical>
|
||||||
:key="index"
|
<wd-img
|
||||||
width="100"
|
v-for="(item, index) in productData.images"
|
||||||
height="100"
|
:key="index"
|
||||||
:src="item.imgurl"
|
width="100"
|
||||||
/>
|
height="100"
|
||||||
|
:src="item.imgurl"
|
||||||
|
/>
|
||||||
|
</wd-cell>
|
||||||
<view class="product-btn">
|
<view class="product-btn">
|
||||||
<wd-img
|
<wd-img
|
||||||
class="exchange"
|
class="exchange"
|
||||||
@click="exchange"
|
@click="exchange"
|
||||||
width="121px"
|
width="80px"
|
||||||
height="56px"
|
height="45px"
|
||||||
:src="imgQudui"
|
:src="imgQudui"
|
||||||
></wd-img>
|
></wd-img>
|
||||||
</view>
|
</view>
|
||||||
|
@ -34,7 +37,7 @@
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import imgQudui from '@/static/images/coupon/qudui.png'
|
import imgQudui from '@/static/images/coupon/okbtn.png'
|
||||||
import Api from '@/service/coupon/index'
|
import Api from '@/service/coupon/index'
|
||||||
import { currRoute } from '@/utils/index'
|
import { currRoute } from '@/utils/index'
|
||||||
const route = reactive<any>({})
|
const route = reactive<any>({})
|
||||||
|
@ -108,10 +111,10 @@ onLoad((options) => {
|
||||||
}
|
}
|
||||||
.product-cell {
|
.product-cell {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
margin-top: 5px;
|
margin-top: 0px;
|
||||||
}
|
}
|
||||||
.exchange {
|
.exchange {
|
||||||
margin-top: 20px;
|
margin-top: 2px;
|
||||||
width: 121rpx;
|
width: 121rpx;
|
||||||
height: 56rpx;
|
height: 56rpx;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Loading…
Reference in New Issue