|
@@ -4,7 +4,7 @@
|
|
|
<template v-if="!hasLogin">
|
|
|
<view class="p-login grade tui-skeleton-fillet">
|
|
|
<text class="p-no">¥</text>
|
|
|
- <uni-grader :grade="Number(product.price1Grade)"></uni-grader>
|
|
|
+ <uni-grader :grade="Number(product.priceGrade)"></uni-grader>
|
|
|
<view v-if="product.actStatus==1" class="floor-item-act">
|
|
|
<view v-if="product.promotions.type == 1 && product.promotions.mode==1" class="floor-tags" @click.stop="clickPopupShow()">
|
|
|
{{product.promotions.name}}<text v-if="hasLogin">:¥{{ product.price | NumFormat }}</text>
|
|
@@ -25,7 +25,7 @@
|
|
|
<view class="wrap-main-item">
|
|
|
<view class="p-price tui-skeleton-fillet" :class="PromotionsFormat(product.promotions) ? 'none' : ''">
|
|
|
<text class="txt sm">¥</text>
|
|
|
- <text class="txt big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice) | NumFormat }}</text>
|
|
|
+ <text class="txt big">{{ (PromotionsFormat(product.promotions) ? product.originalPrice : product.price) | NumFormat }}</text>
|
|
|
</view>
|
|
|
<view v-if="product.actStatus==1" class="floor-item-act">
|
|
|
<view v-if="product.promotions.type == 1 && product.promotions.mode == 1" class="floor-tags" @click.stop="clickPopupShow(1)">
|
|
@@ -41,14 +41,14 @@
|
|
|
<!-- 会员机构 -->
|
|
|
<template v-if="userIdentity == 2">
|
|
|
<view class="wrap-main-item">
|
|
|
- <view v-if="product.price1TextFlag == '1'" class="wrap-main-text">¥未公开价格</view>
|
|
|
+ <view v-if="product.priceFlag == 1" class="wrap-main-text">¥未公开价格</view>
|
|
|
<view v-else class="p-price tui-skeleton-fillet" :class="PromotionsFormat(product.promotions) ? 'none' : ''">
|
|
|
<text class="txt sm">¥</text>
|
|
|
- <text class="txt big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice) | NumFormat }}</text>
|
|
|
+ <text class="txt big">{{ (PromotionsFormat(product.promotions) ? product.originalPrice : product.price) | NumFormat }}</text>
|
|
|
</view>
|
|
|
<view v-if="product.actStatus==1" class="floor-item-act">
|
|
|
<view v-if="product.promotions.type == 1 && product.promotions.mode == 1" class="floor-tags" @click.stop="clickPopupShow(1)">
|
|
|
- {{product.promotions.name}}<text v-if="hasLogin && product.price1TextFlag != '1'">:¥{{ product.promotions == null ? '0.00' : product.promotions.touchPrice | NumFormat }}</text>
|
|
|
+ {{product.promotions.name}}<text v-if="hasLogin && product.priceFlag != 1">:¥{{ product.promotions == null ? '0.00' : product.promotions.touchPrice | NumFormat }}</text>
|
|
|
</view>
|
|
|
<view v-else class="floor-tags" @click.stop="clickPopupShow()">{{product.promotions.name}}</view>
|
|
|
</view>
|
|
@@ -61,14 +61,14 @@
|
|
|
<template v-if="userIdentity == 3">
|
|
|
<template v-if="product.shopID === shopID">
|
|
|
<view class="wrap-main-item">
|
|
|
- <view v-if="product.price1TextFlag == '1'" class="wrap-main-text">¥未公开价格</view>
|
|
|
+ <view v-if="product.priceFlag == 1" class="wrap-main-text">¥未公开价格</view>
|
|
|
<view v-else class="p-price tui-skeleton-fillet" :class="PromotionsFormat(product.promotions) ? 'none' : ''">
|
|
|
<text class="txt sm">¥</text>
|
|
|
- <text class="txt big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice) | NumFormat }}</text>
|
|
|
+ <text class="txt big">{{ (PromotionsFormat(product.promotions) ? product.originalPrice : product.price) | NumFormat }}</text>
|
|
|
</view>
|
|
|
<view v-if="product.actStatus==1" class="floor-item-act">
|
|
|
<view v-if="product.promotions.type == 1 && product.promotions.mode == 1" class="floor-tags" @click.stop="clickPopupShow(1)">
|
|
|
- {{product.promotions.name}}<text v-if="hasLogin && product.price1TextFlag != '1'">:¥{{ product.promotions == null ? '0.00' : product.promotions.touchPrice | NumFormat }}</text>
|
|
|
+ {{product.promotions.name}}<text v-if="hasLogin && product.priceFlag != 1">:¥{{ product.promotions == null ? '0.00' : product.promotions.touchPrice | NumFormat }}</text>
|
|
|
</view>
|
|
|
<view v-else class="floor-tags" @click.stop="clickPopupShow()">{{product.promotions.name}}</view>
|
|
|
</view>
|
|
@@ -80,30 +80,30 @@
|
|
|
<template v-else>
|
|
|
<view class="p-login grade tui-skeleton-fillet">
|
|
|
<text class="p-no">¥</text>
|
|
|
- <uni-grader :grade="Number(product.price1Grade)"></uni-grader>
|
|
|
+ <uni-grader :grade="Number(product.priceGrade)"></uni-grader>
|
|
|
</view>
|
|
|
</template>
|
|
|
</template>
|
|
|
<!-- 普通机构 -->
|
|
|
<template v-if="userIdentity == 4">
|
|
|
- <template v-if="product.price1TextFlag == '1'">
|
|
|
+ <template v-if="product.priceFlag == 1">
|
|
|
<text class="wrap-main-text">¥未公开价格</text>
|
|
|
</template>
|
|
|
- <template v-if="product.price1TextFlag == '2'">
|
|
|
+ <template v-if="product.priceFlag == 2">
|
|
|
<text class="wrap-main-text">¥价格仅会员可见</text>
|
|
|
<view class="floor-item-btn">
|
|
|
<view class="btn" @click.stop="goUpgradeApply">升级会员查看价格</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
- <template v-if="product.price1TextFlag == '0'">
|
|
|
+ <template v-if="product.priceFlag == 0">
|
|
|
<view class="wrap-main-item">
|
|
|
<view class="p-price tui-skeleton-fillet" :class="PromotionsFormat(product.promotions) ? 'none' : ''">
|
|
|
<text class="txt sm">¥</text>
|
|
|
- <text class="txt big">{{ (PromotionsFormat(product.promotions) ? product.price1 : product.retailPrice) | NumFormat }}</text>
|
|
|
+ <text class="txt big">{{ (PromotionsFormat(product.promotions) ? product.originalPrice : product.price) | NumFormat }}</text>
|
|
|
</view>
|
|
|
<view v-if="product.actStatus==1" class="floor-item-act">
|
|
|
<view v-if="product.promotions.type == 1 && product.promotions.mode == 1" class="floor-tags" @click.stop="clickPopupShow(1)">
|
|
|
- {{product.promotions.name}}<text v-if="hasLogin && product.price1TextFlag != '1'">:¥{{ product.promotions == null ? '0.00' : product.promotions.touchPrice | NumFormat }}</text>
|
|
|
+ {{product.promotions.name}}<text v-if="hasLogin && product.priceFlag != 1">:¥{{ product.promotions == null ? '0.00' : product.promotions.touchPrice | NumFormat }}</text>
|
|
|
</view>
|
|
|
<view v-else class="floor-tags" @click.stop="clickPopupShow()">{{product.promotions.name}}</view>
|
|
|
</view>
|