Commit 10d9f199 authored by 黄媛媛's avatar 黄媛媛

已下架处理

parent a5d7c2b6
......@@ -53,9 +53,11 @@
<view style="flex: 1;" v-if="optionType != 1"><u-button @click="joinCar" :ripple="true" :hair-line="false" :custom-style="btn1">加入购物车</u-button></view>
<view style="flex: 1;" v-if="optionType != 0"><u-button @click="buy" :ripple="true" :hair-line="false" :custom-style="btn2">立即购买</u-button></view>
</view>
<view class="btn-box" v-if="g.totalStock==0||g.status==2">
<view class="btn-box" v-if="g.totalStock==0">
<view style="flex: 1;" ><u-button :ripple="true" :hair-line="false" :custom-style="btn3">售馨</u-button></view>
</view>
<view class="btn-box" v-if="g.status==2">
<view style="flex: 1;" ><u-button :ripple="true" :hair-line="false" :custom-style="btn3">已下架</u-button></view>
</view>
</view>
</u-popup>
......
......@@ -17,9 +17,12 @@
<view style="flex: 1;"><u-button @click="joinCar" :ripple="true" :hair-line="false" :custom-style="btn1">加入购物车</u-button></view>
<view style="flex: 1;"><u-button @click="buy" :ripple="true" :hair-line="false" :custom-style="btn2">立即购买</u-button></view>
</view>
<view class="item2" v-if="totalStock==0|| status==2">
<view class="item2" v-if="totalStock==0 ">
<view style="flex: 1;" ><u-button :ripple="true" :hair-line="false" :custom-style="btn3">售馨</u-button></view>
</view>
<view class="item2" v-if=" status==2">
<view style="flex: 1;" ><u-button :ripple="true" :hair-line="false" :custom-style="btn3">已下架</u-button></view>
</view>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth>
</view>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment