|
@@ -28,7 +28,7 @@
|
|
|
<template v-if="item.product.actStatus===1">
|
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.product.promotions)">
|
|
|
{{item.product.promotions.name}}
|
|
|
- <text v-if="hasLogin && item.product.price1TextFlag != 1 && item.product.shopID == shopId">:¥{{item.product.retailPrice | NumFormat}}</text>
|
|
|
+ <text v-if="hasLogin && item.product.priceFlag != 1 && item.product.shopID == shopId">:¥{{item.product.price | NumFormat}}</text>
|
|
|
</view>
|
|
|
<view class="floor-tags" v-else>{{item.product.promotions.name}}</view>
|
|
|
</template>
|
|
@@ -40,7 +40,7 @@
|
|
|
<template v-if="item.product.actStatus===1">
|
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.product.promotions)">
|
|
|
{{item.product.promotions.name}}
|
|
|
- <text v-if="hasLogin && item.product.price1TextFlag != 1">:¥{{item.product.retailPrice | NumFormat}}</text>
|
|
|
+ <text v-if="hasLogin && item.product.priceFlag != 1">:¥{{item.product.price | NumFormat}}</text>
|
|
|
</view>
|
|
|
<view class="floor-tags" v-else>{{item.product.promotions.name}}</view>
|
|
|
</template>
|
|
@@ -53,42 +53,42 @@
|
|
|
<template v-if="item.product.productCategory == 1">
|
|
|
<template v-if="userIdentity == 3">
|
|
|
<template v-if="item.product.shopID == shopId">
|
|
|
- <view class="title-none" v-if="item.product.price1TextFlag === '1'">
|
|
|
+ <view class="title-none" v-if="item.product.priceFlag === 1">
|
|
|
<text class="p big">¥未公开价格</text>
|
|
|
</view>
|
|
|
<view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(item.product.promotions) ? 'none' : ''">
|
|
|
<text class="p sm">¥</text>
|
|
|
- <text class="p big">{{ (PromotionsFormat(item.product.promotions) ? item.product.price1 : item.product.retailPrice ) | NumFormat}}</text>
|
|
|
+ <text class="p big">{{ (PromotionsFormat(item.product.promotions) ? item.product.originalPrice : item.product.price ) | NumFormat}}</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<view class="no-price">
|
|
|
<view class="p-stars">
|
|
|
<text class="p-no">¥</text>
|
|
|
- <uni-grader :grade="Number(item.product.price1Grade)" :margin="14"></uni-grader>
|
|
|
+ <uni-grader :grade="Number(item.product.priceGrade)" :margin="14"></uni-grader>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
</template>
|
|
|
<template v-else-if="userIdentity ===4">
|
|
|
- <view class="title-none" v-if="item.product.price1TextFlag === '1'">
|
|
|
+ <view class="title-none" v-if="item.product.priceFlag === 1">
|
|
|
<text class="p big">¥未公开价格</text>
|
|
|
</view>
|
|
|
- <view class="title-none" v-if="item.product.price1TextFlag === '2'">
|
|
|
+ <view class="title-none" v-if="item.product.priceFlag === 2">
|
|
|
<text class="p big">¥价格仅会员可见</text>
|
|
|
</view>
|
|
|
- <view class="price tui-skeleton-rect" v-if="item.product.price1TextFlag === '0'" :class="PromotionsFormat(item.product.promotions) ? 'none' : ''">
|
|
|
+ <view class="price tui-skeleton-rect" v-if="item.product.priceFlag === '0'" :class="PromotionsFormat(item.product.promotions) ? 'none' : ''">
|
|
|
<text class="p sm">¥</text>
|
|
|
- <text class="p big">{{ (PromotionsFormat(item.product.promotions) ? item.product.price1 : item.product.retailPrice ) | NumFormat}}</text>
|
|
|
+ <text class="p big">{{ (PromotionsFormat(item.product.promotions) ? item.product.originalPrice : item.product.price ) | NumFormat}}</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <view class="title-none" v-if="item.product.price1TextFlag === '1'">
|
|
|
+ <view class="title-none" v-if="item.product.priceFlag === 1">
|
|
|
<text class="p big">¥未公开价格</text>
|
|
|
</view>
|
|
|
<view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(item.product.promotions) ? 'none' : ''">
|
|
|
<text class="p sm">¥</text>
|
|
|
- <text class="p big">{{ (PromotionsFormat(item.product.promotions) ? item.product.price1 : item.product.retailPrice ) | NumFormat}}</text>
|
|
|
+ <text class="p big">{{ (PromotionsFormat(item.product.promotions) ? item.product.originalPrice : item.product.price ) | NumFormat}}</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -99,7 +99,7 @@
|
|
|
</view>
|
|
|
<view class="price tui-skeleton-rect" v-else>
|
|
|
<text class="p sm">¥</text>
|
|
|
- <text class="p big">{{ item.product.retailPrice | NumFormat }}</text>
|
|
|
+ <text class="p big">{{ item.product.price | NumFormat }}</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
</view>
|
|
@@ -107,7 +107,7 @@
|
|
|
<template v-if="item.product.productCategory == 1">
|
|
|
<view class="p-stars">
|
|
|
<text class="p-no">¥</text>
|
|
|
- <uni-grader :grade="Number(item.product.price1Grade)" :margin="14"></uni-grader>
|
|
|
+ <uni-grader :grade="Number(item.product.priceGrade)" :margin="14"></uni-grader>
|
|
|
</view>
|
|
|
</template>
|
|
|
<template v-else>
|