增加积分商城的功能

This commit is contained in:
Gaoxs
2021-01-12 15:21:22 +08:00
parent 6d4fe7f4cb
commit dec56d700e
2 changed files with 7 additions and 2 deletions

View File

@ -7,11 +7,15 @@
</view>
<view class="text">
<view class="line1">{{ attr.productSelect.store_name }}</view>
<view class="money font-color-red">
<view class="money font-color-red" v-if="!isIntegral">
<text class="num">{{ attr.productSelect.price }}</text>
<text class="stock">库存: {{ attr.productSelect.stock }}</text>
</view>
<view class="money font-color-red" v-if="isIntegral">
<text class="num">{{ attr.productSelect.integral }}积分</text>
<text class="stock">库存: {{ attr.productSelect.stock }}</text>
</view>
</view>
<view class="iconfont icon-guanbi" @click="closeAttr"></view>
</view>
@ -65,6 +69,7 @@
export default {
name: "ProductWindow",
props: {
isIntegral:Boolean,
attr: {
type: Object,
default: () => {},