|
@@ -83,7 +83,7 @@
|
|
<image class="none-image" :src="productNoneImage" mode=""></image>
|
|
<image class="none-image" :src="productNoneImage" mode=""></image>
|
|
<view class="none-text">此商品已{{goodsData.disabledText}},请浏览以下推荐商品~</view>
|
|
<view class="none-text">此商品已{{goodsData.disabledText}},请浏览以下推荐商品~</view>
|
|
</view>
|
|
</view>
|
|
- <view class="product-parameter" @click="showPopup">
|
|
|
|
|
|
+ <view class="product-parameter" @click="showPopup" v-if="!goodsData.isNoneDisabled">
|
|
<text class="title">参数:</text>
|
|
<text class="title">参数:</text>
|
|
<text class="name">品牌 起订量 分类...</text>
|
|
<text class="name">品牌 起订量 分类...</text>
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
@@ -177,7 +177,7 @@
|
|
</view>
|
|
</view>
|
|
</tui-bottom-popup>
|
|
</tui-bottom-popup>
|
|
<!-- 底部按钮 -->
|
|
<!-- 底部按钮 -->
|
|
- <view class="menu" v-if="isShowButton">
|
|
|
|
|
|
+ <view class="menu" v-if="userIdentity != 1 || userIdentity !=3 ">
|
|
<view class="bottom-btn" :style="{paddingBottom :isIphoneX ? '68rpx' : '0rpx'}">
|
|
<view class="bottom-btn" :style="{paddingBottom :isIphoneX ? '68rpx' : '0rpx'}">
|
|
<view class="bottom-le">
|
|
<view class="bottom-le">
|
|
<view class="item-bt" @click="this.$api.switchTabTo('/pages/tabBar/home/index')">
|
|
<view class="item-bt" @click="this.$api.switchTabTo('/pages/tabBar/home/index')">
|
|
@@ -736,10 +736,7 @@
|
|
this.$api.getStorage().then((resolve) => {
|
|
this.$api.getStorage().then((resolve) => {
|
|
this.userID = resolve.userID ? resolve.userID : '';
|
|
this.userID = resolve.userID ? resolve.userID : '';
|
|
this.userIdentity = resolve.userIdentity ? resolve.userIdentity : 3
|
|
this.userIdentity = resolve.userIdentity ? resolve.userIdentity : 3
|
|
- this.shopID = resolve.shopID ? resolve.shopID : '';
|
|
|
|
- if(this.userIdentity === 1 || this.userIdentity === 3){
|
|
|
|
- this.isShowButton = false
|
|
|
|
- }
|
|
|
|
|
|
+ this.shopID = resolve.shopID ? resolve.shopID : '';
|
|
if (isPreviewImg) {
|
|
if (isPreviewImg) {
|
|
isPreviewImg = false;
|
|
isPreviewImg = false;
|
|
return;
|
|
return;
|
|
@@ -1384,13 +1381,14 @@
|
|
}
|
|
}
|
|
.btn-cart.disabled{
|
|
.btn-cart.disabled{
|
|
background-color: #E1E1E1;
|
|
background-color: #E1E1E1;
|
|
|
|
+ color: #FFFFFF;
|
|
}
|
|
}
|
|
.btn-bay{
|
|
.btn-bay{
|
|
background:linear-gradient(to right, #f28f31 0%, #e15616 100%);
|
|
background:linear-gradient(to right, #f28f31 0%, #e15616 100%);
|
|
border-radius: 0 42rpx 42rpx 0;
|
|
border-radius: 0 42rpx 42rpx 0;
|
|
}
|
|
}
|
|
.btn-bay.disabled{
|
|
.btn-bay.disabled{
|
|
- background-color: linear-gradient(135deg,rgba(242,143,49,0.5) 0%,rgba(225,86,22,0.5) 100%);;
|
|
|
|
|
|
+ background: linear-gradient(135deg,rgba(242,143,49,0.5) 0%,rgba(225,86,22,0.5) 100%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|