|
@@ -58,7 +58,9 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</viw>
|
|
|
- <view class="tip" v-if="pageType==1 || pageType==2">仅展示最近三个月的使用记录</view>
|
|
|
+ <img class="null-img" v-if="pageType!=0 && !newData.chemicalUseList[0]" :src="imagesUrl('commonality/chemicalsInfoNull.png')">
|
|
|
+ <p class="null-p" v-if="pageType!=0 && !newData.chemicalUseList[0]">暂无数据</p>
|
|
|
+ <view class="tip" v-if="pageType!=0 && newData.chemicalUseList[0]">仅展示最近三个月的使用记录</view>
|
|
|
</scroll-view>
|
|
|
</view>
|
|
|
|
|
@@ -103,6 +105,7 @@ export default {
|
|
|
cabinetName:'',
|
|
|
doorName:'',
|
|
|
layers:'',
|
|
|
+ chemicalUseList:[],
|
|
|
},
|
|
|
tagCode:'',
|
|
|
dataList:[],
|
|
@@ -459,6 +462,17 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .null-img{
|
|
|
+ width:300rpx;
|
|
|
+ height:300rpx;
|
|
|
+ display: block;
|
|
|
+ margin:140rpx auto 15rpx;
|
|
|
+ }
|
|
|
+ .null-p{
|
|
|
+ text-align: center;
|
|
|
+ color:#999;
|
|
|
+ font-size:28rpx;
|
|
|
+ }
|
|
|
.tip{
|
|
|
font-size: 26rpx;
|
|
|
font-family: PingFang SC-Medium, PingFang SC;
|
|
@@ -467,7 +481,7 @@ export default {
|
|
|
line-height: 37rpx;
|
|
|
text-align: center;
|
|
|
margin-top: 42rpx;
|
|
|
-
|
|
|
+ padding-bottom:140rpx;
|
|
|
}
|
|
|
}
|
|
|
|