mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2026-03-22 09:17:16 +08:00
页面优化
This commit is contained in:
@@ -256,8 +256,9 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
|
||||
/* 购物车为空 */
|
||||
|
||||
.empty {
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
font-size: 26rpx;
|
||||
color: #aaa;
|
||||
padding-top: 200rpx;
|
||||
}
|
||||
|
||||
.empty .txt {
|
||||
|
||||
@@ -231,7 +231,14 @@ page {
|
||||
.cont-item.empty {
|
||||
display: block;
|
||||
font-size: 24rpx;
|
||||
margin-top: 80rpx;
|
||||
padding-top: 400rpx;
|
||||
color: #aaa;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.leftmenu .ca-empty {
|
||||
padding-top: 400rpx;
|
||||
text-align: center;
|
||||
color: #aaa;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
@@ -21,13 +21,14 @@
|
||||
{{item.categoryName}}
|
||||
</view>
|
||||
</block>
|
||||
<view v-if="!categoryList || !categoryList.length" class="ca-empty">暂无分类</view>
|
||||
</scroll-view>
|
||||
<!-- 左侧菜单end -->
|
||||
|
||||
<!-- 右侧内容start -->
|
||||
<scroll-view scroll-y="true" class="rightcontent">
|
||||
<!-- <block wx:for='{{ productList}}' wx:key=''> -->
|
||||
<view class="adver-map">
|
||||
<view v-if="categoryImg" class="adver-map">
|
||||
<view class="item-a">
|
||||
<image :src="categoryImg" mode="widthFix"></image>
|
||||
</view>
|
||||
@@ -49,7 +50,7 @@
|
||||
|
||||
</block>
|
||||
</view>
|
||||
<view v-if="!productList.length" class="cont-item empty">该分类下暂无商品</view>
|
||||
<view v-if="!productList.length" class="cont-item empty">{{categoryList && categoryList.length ? '该分类下暂无商品' : '暂无商品'}}</view>
|
||||
<!-- </block> -->
|
||||
</scroll-view>
|
||||
<!-- 右侧内容end -->
|
||||
|
||||
@@ -81,12 +81,12 @@
|
||||
<view v-else class="num">--</view>
|
||||
<view class="tit">我的收藏</view>
|
||||
</view>
|
||||
<view class="col-item">
|
||||
<view class="col-item" @tap="handleTips">
|
||||
<view v-if="loginResult" class="num">5</view>
|
||||
<view v-else class="num">--</view>
|
||||
<view class="tit">我的消息</view>
|
||||
</view>
|
||||
<view class="col-item">
|
||||
<view class="col-item" @tap="handleTips">
|
||||
<view v-if="loginResult" class="num">3</view>
|
||||
<view v-else class="num">--</view>
|
||||
<view class="tit">我的足迹</view>
|
||||
@@ -247,6 +247,12 @@
|
||||
title: '该功能未开源'
|
||||
});
|
||||
},
|
||||
handleTips: function() {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: '该功能未开源'
|
||||
});
|
||||
},
|
||||
toAddressList: function() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/delivery-address/delivery-address'
|
||||
|
||||
Reference in New Issue
Block a user