|
@@ -10,15 +10,28 @@
|
|
<text class="list-details-specs">规格:{{item.p_unit}}</text>
|
|
<text class="list-details-specs">规格:{{item.p_unit}}</text>
|
|
<view class="list-details-specs" v-if="item.p_code!=''&&item.p_code!=null">商品编码:{{item.p_code}}</view>
|
|
<view class="list-details-specs" v-if="item.p_code!=''&&item.p_code!=null">商品编码:{{item.p_code}}</view>
|
|
<view class="list-details-price">
|
|
<view class="list-details-price">
|
|
- <view class="floor-item-act" v-if="item.actStatus==1">
|
|
|
|
- <view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
|
|
- {{item.promotions.name}}<text v-if="hasLogin && item.p_price_flag != '1'">:¥{{ item.price | NumFormat }}</text>
|
|
|
|
|
|
+ <template v-if="userIdentity == 3">
|
|
|
|
+ <view class="floor-item-act" v-if="item.actStatus==1">
|
|
|
|
+ <view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
|
|
+ {{item.promotions.name}}<text v-if="item.p_price_flag != '1' && item.supplierId === shopId">:¥{{ item.price | NumFormat }}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
</view>
|
|
</view>
|
|
- <view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="floor-item-act" v-if="item.actStatus ==0 && item.ladderPriceFlag==1">
|
|
|
|
- <view class="floor-tags">阶梯价格</view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="floor-item-act" v-if="item.actStatus ==0 && item.ladderPriceFlag==1">
|
|
|
|
+ <view class="floor-tags">阶梯价格</view>
|
|
|
|
+ </view>
|
|
|
|
+ </template>
|
|
|
|
+ <template v-else>
|
|
|
|
+ <view class="floor-item-act" v-if="item.actStatus==1">
|
|
|
|
+ <view class="floor-tags" v-if="PromotionsFormat(item.promotions)">
|
|
|
|
+ {{item.promotions.name}}<text v-if="hasLogin && item.p_price_flag != '1'">:¥{{ item.price | NumFormat }}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="floor-tags" v-else>{{item.promotions.name}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="floor-item-act" v-if="item.actStatus ==0 && item.ladderPriceFlag==1">
|
|
|
|
+ <view class="floor-tags">阶梯价格</view>
|
|
|
|
+ </view>
|
|
|
|
+ </template>
|
|
<view v-if="hasLogin" class="list-price">
|
|
<view v-if="hasLogin" class="list-price">
|
|
<template v-if="userIdentity == 1">
|
|
<template v-if="userIdentity == 1">
|
|
<text v-if="priceLoading" class="price-larger small">正在获取价格...</text>
|
|
<text v-if="priceLoading" class="price-larger small">正在获取价格...</text>
|
|
@@ -146,7 +159,7 @@
|
|
this.$api.getComStorage('userInfo').then((resolve) =>{
|
|
this.$api.getComStorage('userInfo').then((resolve) =>{
|
|
this.clubStatus = resolve.clubStatus
|
|
this.clubStatus = resolve.clubStatus
|
|
this.userID = resolve.userID ? resolve.userID : 0;
|
|
this.userID = resolve.userID ? resolve.userID : 0;
|
|
- this.shopId = resolve.shopId ? resolve.shopId : 0;
|
|
|
|
|
|
+ this.shopId = resolve.shopID ? resolve.shopID : 0;
|
|
this.userIdentity = resolve.userIdentity
|
|
this.userIdentity = resolve.userIdentity
|
|
if(this.userIdentity == 1){
|
|
if(this.userIdentity == 1){
|
|
this.identity = 1
|
|
this.identity = 1
|
|
@@ -339,9 +352,6 @@
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 54rpx;
|
|
height: 54rpx;
|
|
line-height: 54rpx;
|
|
line-height: 54rpx;
|
|
- position: absolute;
|
|
|
|
- bottom: -10rpx;
|
|
|
|
- right: 0;
|
|
|
|
.floor-item-act{
|
|
.floor-item-act{
|
|
height: 54rpx;
|
|
height: 54rpx;
|
|
text-align: center;
|
|
text-align: center;
|