diff --git a/pages/index/index/index.js b/pages/index/index/index.js
index c8d7cf0..91d42fa 100644
--- a/pages/index/index/index.js
+++ b/pages/index/index/index.js
@@ -56,7 +56,7 @@ Page({
gd_category:null,
is_no_more:0,
max_sw_height:0, //banner的最大高度
- is_disgraceful:1,//是否显示新人广告
+ is_disgraceful:0,//是否显示新人广告
},
onLoad: function () {
diff --git a/pages/user/labels/labels.js b/pages/user/labels/labels.js
index d3d7b09..f2dc823 100644
--- a/pages/user/labels/labels.js
+++ b/pages/user/labels/labels.js
@@ -31,17 +31,25 @@ Page({
check_label.splice(i, 1);
}
}
+ th.setData({
+ [labels_check]: labels_cid,
+ check_label: check_label
+ })
} else {
+ if (check_label.length>9){
+ getApp().my_warnning("最多可选10个哦",0,th);
+ }else{
var check_new = {
lable: labels[index]
};
labels_cid = 1;
check_label.push(labels[index]);
+ }
+ th.setData({
+ [labels_check]: labels_cid,
+ check_label: check_label
+ })
}
- th.setData({
- [labels_check]: labels_cid,
- check_label: check_label
- })
},
//获取配置信息
@@ -84,7 +92,9 @@ Page({
var interest_lables = th.data.interest_lables; //兴趣标签集合
getApp().request.promiseGet(url, {
data: {
- storeId: a.stoid
+ storeId: a.stoid,
+ pageSize:50,
+ page:1
}
}).then(res => {
if (res.data.code == 0) {
diff --git a/pages/user/labels/labels.wxml b/pages/user/labels/labels.wxml
index a855aaa..871885e 100644
--- a/pages/user/labels/labels.wxml
+++ b/pages/user/labels/labels.wxml
@@ -15,8 +15,8 @@
-
- {{item.LabelName}}
+
+ {{item.LabelName}}
@@ -26,15 +26,14 @@
已选中
-
-
+
+
{{it.LabelName}}
-
@@ -55,7 +54,6 @@
-
diff --git a/pages/user/labels/labels.wxss b/pages/user/labels/labels.wxss
index 5408048..aac7af4 100644
--- a/pages/user/labels/labels.wxss
+++ b/pages/user/labels/labels.wxss
@@ -65,7 +65,8 @@
}
.receive{
position: fixed;
- bottom:130rpx;
+ bottom:60rpx;
+ left: 65rpx;
width: 620rpx;
height: 70rpx;
line-height: 70rpx;
@@ -74,6 +75,6 @@
border-radius: 40rpx;
}
.check_labels{
- height: 280rpx;
+ height: 120rpx;
overflow-y: scroll;
}
\ No newline at end of file
diff --git a/pages/user/userinfo/userinfo.wxml b/pages/user/userinfo/userinfo.wxml
index cf21be0..edc1125 100644
--- a/pages/user/userinfo/userinfo.wxml
+++ b/pages/user/userinfo/userinfo.wxml
@@ -186,8 +186,8 @@
-
-
+
+
我的兴趣
diff --git a/pages/user/userinfo/userinfo.wxss b/pages/user/userinfo/userinfo.wxss
index 6e4be12..a28b25b 100644
--- a/pages/user/userinfo/userinfo.wxss
+++ b/pages/user/userinfo/userinfo.wxss
@@ -625,10 +625,9 @@ input {
.lables {
display: inline-block;
- max-height: 125rpx;
+ max-height: 120rpx;
overflow-y: scroll;
padding-top: 25rpx;
- padding-bottom: 20rpx;
}
.lable {