|
@@ -13,18 +13,18 @@
|
|
</view>
|
|
</view>
|
|
<view class="" v-if="hasLogin">
|
|
<view class="" v-if="hasLogin">
|
|
<template v-if="userIdentity == 4">
|
|
<template v-if="userIdentity == 4">
|
|
- <view class="title-none" v-show="item.price1TextFlag == '1'">
|
|
|
|
|
|
+ <view class="title-none" v-show="item.priceFlag == '1'">
|
|
<text class="p big">¥未公开价格</text>
|
|
<text class="p big">¥未公开价格</text>
|
|
</view>
|
|
</view>
|
|
- <view class="title-none" v-show="item.price1TextFlag == '2'">
|
|
|
|
|
|
+ <view class="title-none" v-show="item.priceFlag == '2'">
|
|
<text class="p big">¥价格仅会员可见</text>
|
|
<text class="p big">¥价格仅会员可见</text>
|
|
</view>
|
|
</view>
|
|
- <view class="price tui-skeleton-rect" v-show="item.price1TextFlag == '0'" :class="PromotionsFormat(item.promotions) ? 'none' : ''">
|
|
|
|
|
|
+ <view class="price tui-skeleton-rect" v-show="item.priceFlag == '0'" :class="PromotionsFormat(item.promotions) ? 'none' : ''">
|
|
<text class="p sm">¥</text>
|
|
<text class="p sm">¥</text>
|
|
<text class="p big">{{ (PromotionsFormat(item.promotions) ? item.originalPrice : item.price ) | NumFormat}}</text>
|
|
<text class="p big">{{ (PromotionsFormat(item.promotions) ? item.originalPrice : item.price ) | NumFormat}}</text>
|
|
<template v-if="item.actStatus==1">
|
|
<template v-if="item.actStatus==1">
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
- {{item.promotions.name}}<text v-if="hasLogin && item.price1TextFlag != '1'">:¥{{item.price | NumFormat}}</text>
|
|
|
|
|
|
+ {{item.promotions.name}}<text v-if="hasLogin && item.priceFlag != '1'">:¥{{item.price | NumFormat}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
<view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
</template>
|
|
</template>
|
|
@@ -35,15 +35,15 @@
|
|
</template>
|
|
</template>
|
|
<template v-if="userIdentity == 3">
|
|
<template v-if="userIdentity == 3">
|
|
<template v-if="item.supplierId == shopId">
|
|
<template v-if="item.supplierId == shopId">
|
|
- <view class="title-none" v-if="item.price1TextFlag == '1'">
|
|
|
|
- <text class="p big">未公开价格</text>
|
|
|
|
|
|
+ <view class="title-none" v-if="item.priceFlag == '1'">
|
|
|
|
+ <text class="p big">¥未公开价格</text>
|
|
</view>
|
|
</view>
|
|
<view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(item.promotions) ? 'none' : ''">
|
|
<view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(item.promotions) ? 'none' : ''">
|
|
<text class="p sm">¥</text>
|
|
<text class="p sm">¥</text>
|
|
<text class="p big">{{ (PromotionsFormat(item.promotions) ? item.originalPrice : item.price ) | NumFormat}}</text>
|
|
<text class="p big">{{ (PromotionsFormat(item.promotions) ? item.originalPrice : item.price ) | NumFormat}}</text>
|
|
<template v-if="item.actStatus==1">
|
|
<template v-if="item.actStatus==1">
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
- {{item.promotions.name}}<text v-if="hasLogin && item.price1TextFlag != '1'">:¥{{item.price | NumFormat}} {{ shopId }}{{item.supplierId }}</text>
|
|
|
|
|
|
+ {{item.promotions.name}}<text v-if="hasLogin && item.priceFlag != '1'">:¥{{item.price | NumFormat}} {{ shopId }}{{item.supplierId }}</text>
|
|
</view>
|
|
</view>
|
|
<view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
<view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
</template>
|
|
</template>
|
|
@@ -62,15 +62,15 @@
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
<template v-else>
|
|
<template v-else>
|
|
- <view class="title-none" v-if="item.price1TextFlag == '1'">
|
|
|
|
- <text class="p big">未公开价格</text>
|
|
|
|
|
|
+ <view class="title-none" v-if="item.priceFlag == '1'">
|
|
|
|
+ <text class="p big">¥未公开价格</text>
|
|
</view>
|
|
</view>
|
|
<view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(item.promotions) ? 'none' : ''">
|
|
<view class="price tui-skeleton-rect" v-else :class="PromotionsFormat(item.promotions) ? 'none' : ''">
|
|
<text class="p sm">¥</text>
|
|
<text class="p sm">¥</text>
|
|
<text class="p big">{{ (PromotionsFormat(item.promotions) ? item.originalPrice : item.price ) | NumFormat}}</text>
|
|
<text class="p big">{{ (PromotionsFormat(item.promotions) ? item.originalPrice : item.price ) | NumFormat}}</text>
|
|
<template v-if="item.actStatus==1">
|
|
<template v-if="item.actStatus==1">
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
- {{item.promotions.name}}<text v-if="hasLogin && item.price1TextFlag != '1'">:¥{{item.price | NumFormat}}</text>
|
|
|
|
|
|
+ {{item.promotions.name}}<text v-if="hasLogin && item.priceFlag != '1'">:¥{{item.price | NumFormat}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
<view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
</template>
|
|
</template>
|
|
@@ -86,7 +86,7 @@
|
|
<uni-grader :grade="Number(item.priceGrade)"></uni-grader>
|
|
<uni-grader :grade="Number(item.priceGrade)"></uni-grader>
|
|
<template v-if="item.actStatus==1">
|
|
<template v-if="item.actStatus==1">
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
<view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
- {{item.promotions.name}}<text v-if="hasLogin && item.price1TextFlag != '1'">:¥{{item.price | NumFormat}}</text>
|
|
|
|
|
|
+ {{item.promotions.name}}<text v-if="hasLogin && item.priceFlag != '1'">:¥{{item.price | NumFormat}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
<view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
</template>
|
|
</template>
|