|
@@ -4,11 +4,11 @@
|
|
<template v-if="!hasLogin">
|
|
<template v-if="!hasLogin">
|
|
<view class="p-login grade tui-skeleton-fillet">
|
|
<view class="p-login grade tui-skeleton-fillet">
|
|
<view class="floor-item-btn" v-if="product.detailTalkFlag !=2">
|
|
<view class="floor-item-btn" v-if="product.detailTalkFlag !=2">
|
|
- <view class="btn" @click.stop="loginClick">登录查看价格</view>
|
|
|
|
|
|
+ <view class="btn" @click.stop="loginClick">{{ product.sold == 1 ? '已售二手商品不公开价格' : '登录查看价格' }}</view>
|
|
</view>
|
|
</view>
|
|
<template v-else>
|
|
<template v-else>
|
|
- <text class="p-no">¥</text>
|
|
|
|
- <text class="txt big" >详聊</text>
|
|
|
|
|
|
+ <text v-if="product.sold == 1">已售二手商品不公开价格</text>
|
|
|
|
+ <text v-else><text class="txt sm">¥</text>价格详聊</text>
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -16,14 +16,19 @@
|
|
<view class="wrap-main-item" v-if="identity == 1">
|
|
<view class="wrap-main-item" v-if="identity == 1">
|
|
<view class="p-price tui-skeleton-fillet">
|
|
<view class="p-price tui-skeleton-fillet">
|
|
<text class="txt sm">¥</text>
|
|
<text class="txt sm">¥</text>
|
|
- <text class="txt big" v-if="product.detailTalkFlag==2">详聊</text>
|
|
|
|
- <text class="txt big" v-else>{{product.price | NumFormat}}</text>
|
|
|
|
|
|
+ <text class="txt big">{{product.price | NumFormat}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="wrap-main-item" v-else>
|
|
<view class="wrap-main-item" v-else>
|
|
<view class="p-price tui-skeleton-fillet">
|
|
<view class="p-price tui-skeleton-fillet">
|
|
- <text class="txt sm">¥</text>
|
|
|
|
- <text class="txt big">{{product.price | NumFormat}}</text>
|
|
|
|
|
|
+ <text class="txt big" v-if="product.detailTalkFlag==2">
|
|
|
|
+ <text v-if="product.sold == 1">已售二手商品不公开价格</text>
|
|
|
|
+ <text v-else><text class="txt sm">¥</text>价格详聊</text>
|
|
|
|
+ </text>
|
|
|
|
+ <text class="txt big" v-else>
|
|
|
|
+ <text v-if="product.sold == 1">已售二手商品不公开价格</text>
|
|
|
|
+ <text v-else><text class="txt sm">¥</text>{{product.price | NumFormat}}</text>
|
|
|
|
+ </text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|