|
@@ -1,19 +1,24 @@
|
|
|
<template>
|
|
|
<view class="container product clearfix">
|
|
|
- <view class="superv-header">
|
|
|
- <view class="superv-header-click" v-if="!isSuperv">
|
|
|
- <view class="oltext" @click="supervClickFn">管理</view>
|
|
|
- <view class="ortext" @click="searchClickFn">筛选</view>
|
|
|
- </view>
|
|
|
- <view class="superv-header-checked" v-else>
|
|
|
- <view class="oltext" @click="isCheckedAll">
|
|
|
- <view class="checkbox iconfont" :class="[isAllChecked ?'icon-yixuanze':'icon-weixuanze']"></view>
|
|
|
- <view class="text">全选</view>
|
|
|
+ <view class="superv-header" :class="forbid ? 'forbid' : ''">
|
|
|
+ <template v-if="forbid">
|
|
|
+ <text>提示:您的上架费已到期,已禁止商品的所有操作,支付账户上架费后才能继续操作。</text>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <view class="superv-header-click" v-if="!isSuperv">
|
|
|
+ <view class="oltext" @click="supervClickFn">管理</view>
|
|
|
+ <view class="ortext" @click="searchClickFn">筛选</view>
|
|
|
</view>
|
|
|
- <view class="ortext" @click="closeSupervFn">完成</view>
|
|
|
- </view>
|
|
|
+ <view class="superv-header-checked" v-else>
|
|
|
+ <view class="oltext" @click="isCheckedAll">
|
|
|
+ <view class="checkbox iconfont" :class="[isAllChecked ?'icon-yixuanze':'icon-weixuanze']"></view>
|
|
|
+ <view class="text">全选</view>
|
|
|
+ </view>
|
|
|
+ <view class="ortext" @click="closeSupervFn">完成</view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
</view>
|
|
|
- <view class="product-content">
|
|
|
+ <view class="product-content" :style="{ paddingTop :forbid ? '100rpx' : '80rpx' }">
|
|
|
<view :class="{'tui-order-list':scrollTop >= 0}" class="clearfix">
|
|
|
<!-- 空白页 -->
|
|
|
<view class="empty-container" v-if="isEmpty">
|
|
@@ -23,7 +28,7 @@
|
|
|
<!-- 列表 -->
|
|
|
<checkbox-group @change="buyChange" class="tui-group">
|
|
|
<view class="tui-cart-cell tui-mtop" v-for="(item,index) in dataList" :key="index">
|
|
|
- <tui-swipe-actions :actions="item.actions" @click="handlerButton($event,item)" :params="item">
|
|
|
+ <tui-swipe-actions :actions="item.actions" @click="handlerButton($event,item)" :params="item" :forbid="forbid">
|
|
|
<template v-slot:content>
|
|
|
<view class="tui-goods-item">
|
|
|
<view class="tui-goods-checkBox" v-if="isSuperv">
|
|
@@ -223,6 +228,7 @@
|
|
|
isCmcustomClass : 'left',
|
|
|
featuredNum:0,
|
|
|
productIds:'',//批量下架操作商品ID
|
|
|
+ forbid:true
|
|
|
|
|
|
}
|
|
|
},
|
|
@@ -706,8 +712,15 @@
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
box-sizing: border-box;
|
|
|
- padding: 0 24rpx;
|
|
|
z-index: 999;
|
|
|
+ &.forbid{
|
|
|
+ height: 100rpx;
|
|
|
+ padding: 10rpx 24rpx;
|
|
|
+ background-color: #FFF3F3;
|
|
|
+ line-height: 40rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ color:#F94B4B ;
|
|
|
+ }
|
|
|
.superv-header-click{
|
|
|
width: 100%;
|
|
|
height: 80rpx;
|
|
@@ -918,7 +931,6 @@
|
|
|
height: auto;
|
|
|
position: relative;
|
|
|
padding:0;
|
|
|
- padding-top: 80rpx;
|
|
|
box-sizing: border-box;
|
|
|
.header-tabs{
|
|
|
width: 100%;
|