diff --git a/mall4uni/pages/index/index.css b/mall4uni/pages/index/index.css
index 451ed6a..d86a114 100644
--- a/mall4uni/pages/index/index.css
+++ b/mall4uni/pages/index/index.css
@@ -230,10 +230,10 @@ line-height:44rpx;
margin: auto;
height: auto;
width: calc(100% - 40rpx);
- padding:0 20rpx;
+ /* padding:0 20rpx; */
display: flex;
flex-wrap:wrap;
- justify-content: space-around;
+ /* justify-content: space-around; */
/* padding: 10rpx 0 0 0; */
}
@@ -253,6 +253,7 @@ line-height:44rpx;
width: 220rpx;
background: #fff;
display: inline-block;
+ margin: 0 8rpx;
margin-bottom:20rpx;
box-shadow: 0rpx 6rpx 8rpx rgba(58,134,185,0.2);
}
diff --git a/mall4uni/pages/index/index.vue b/mall4uni/pages/index/index.vue
index 30d8262..3375dc2 100644
--- a/mall4uni/pages/index/index.vue
+++ b/mall4uni/pages/index/index.vue
@@ -43,7 +43,7 @@
-
+
@@ -339,6 +339,7 @@ export default {
this.updata = true
this.getTagProd(res[i].id, i);
}
+ console.log('taglist:', this.taglist)
}
};
http.request(params);
diff --git a/mall4uni/pages/prod/prod.vue b/mall4uni/pages/prod/prod.vue
index ce024ad..ebc850c 100644
--- a/mall4uni/pages/prod/prod.vue
+++ b/mall4uni/pages/prod/prod.vue
@@ -405,19 +405,11 @@ export default {
},
callBack: res => {
- console.log('res:', res)
+ uni.hideLoading()
if (!res) {
- uni.hideLoading()
- uni.showModal({
- title: '提示',
- content: '商品信息异常',
- showCancel: false,
- confirmText: '确定',
- success(res) {
- // 返回上一页
- uni.navigateBack()
- }
- });
+ setTimeout(() => {
+ uni.navigateBack()
+ }, 1000);
return
}
//console.log(res);
diff --git a/mall4uni/pages/recent-news/recent-news.css b/mall4uni/pages/recent-news/recent-news.css
index 8d64e29..edba779 100644
--- a/mall4uni/pages/recent-news/recent-news.css
+++ b/mall4uni/pages/recent-news/recent-news.css
@@ -31,3 +31,11 @@
margin-top: 10rpx;
margin-bottom: 20rpx;
}
+
+.recent-news .empty {
+ display: block;
+ padding-top: 200rpx;
+ color: #999;
+ font-size: 26rpx;
+ text-align: center;
+}
diff --git a/mall4uni/pages/recent-news/recent-news.vue b/mall4uni/pages/recent-news/recent-news.vue
index b4517cb..bd5ff40 100644
--- a/mall4uni/pages/recent-news/recent-news.vue
+++ b/mall4uni/pages/recent-news/recent-news.vue
@@ -10,6 +10,7 @@
+ 暂无数据
diff --git a/mall4v/src/views/modules/shop/notice-add-or-update.vue b/mall4v/src/views/modules/shop/notice-add-or-update.vue
index f5f9b9d..81613e7 100644
--- a/mall4v/src/views/modules/shop/notice-add-or-update.vue
+++ b/mall4v/src/views/modules/shop/notice-add-or-update.vue
@@ -57,6 +57,9 @@ export default {
isTop: 0
},
dataRule: {
+ title: [
+ {required: true, message: '公告标题不能为空', trigger: 'blur'}
+ ]
}
}
},