|
@@ -22,7 +22,7 @@
|
|
<view class="btns">
|
|
<view class="btns">
|
|
<u-button type="warning" text="分享好友" class="share" open-type="share"></u-button>
|
|
<u-button type="warning" text="分享好友" class="share" open-type="share"></u-button>
|
|
<u-button type="error" text="立即联系" class="contact" @click="toContact" v-if="!isMine"></u-button>
|
|
<u-button type="error" text="立即联系" class="contact" @click="toContact" v-if="!isMine"></u-button>
|
|
- <u-button type="primary" text="立即购买" class="buy" @click="toBuy" v-if="!isMine || detail.amount || detail.status === 4"></u-button>
|
|
|
|
|
|
+ <u-button type="primary" text="立即购买" class="buy" @click="toBuy" v-if="!isMine && detail.amount && detail.status !== 4"></u-button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|