商品查看物流页无物流数据时显示‘暂无配送信息’

This commit is contained in:
wyy
2023-07-10 13:38:53 +08:00
parent da1f91dd79
commit 62019b9b1b
2 changed files with 17 additions and 2 deletions

View File

@@ -16,9 +16,8 @@
</view>
</view>
</view>
<view class="deliveryDetail">
<view class="deliveryDetail" wx:if="{{dvyData.length}}">
<block wx:for="{{dvyData}}" wx:key=''>
<view class="detailItem {{index==0?'lastest':''}}" >
<view class="dot">
<image src='../../images/icon/delive-dot.png' ></image>
@@ -31,5 +30,8 @@
</view>
</block>
</view>
<view class="empty-space" wx:else>
暂无配送信息
</view>
</view>
</view>

View File

@@ -1,5 +1,9 @@
/* pages/express-delivery/express-delivery.wxss */
page {
background: #f7f8fa;
}
.container {
height: 100%;
}
@@ -182,3 +186,12 @@
line-height: 80rpx;
margin-bottom: 20rpx;
}
.empty-space {
margin-top: 20rpx;
background: #fff;
font-size: 28rpx;
color: #333;
padding: 20rpx 0;
text-align: center;
}