增加积分商城的功能
This commit is contained in:
@ -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: () => {},
|
||||
|
@ -184,7 +184,7 @@
|
||||
<!-- 优惠券 -->
|
||||
<CouponPop v-on:changeFun="changeFun" :coupon="coupon"></CouponPop>
|
||||
<!-- 商品规格弹窗 -->
|
||||
<ProductWindow v-on:changeFun="changeFun" :attr="attr" :cartNum="cart_num"></ProductWindow>
|
||||
<ProductWindow isIntegral v-on:changeFun="changeFun" :attr="attr" :cartNum="cart_num"></ProductWindow>
|
||||
<!-- 分享海报 -->
|
||||
<StorePoster v-on:setPosterImageStatus="setPosterImageStatus" :posterImageStatus="posterImageStatus"
|
||||
:posterData="posterData" :goodId="id"></StorePoster>
|
||||
|
Reference in New Issue
Block a user