diff --git a/pages/user/add_comment/add_comment.wxml b/pages/user/add_comment/add_comment.wxml
index 083ac03..50641e7 100644
--- a/pages/user/add_comment/add_comment.wxml
+++ b/pages/user/add_comment/add_comment.wxml
@@ -86,7 +86,7 @@
-
+
@@ -95,7 +95,7 @@
-
+
添加图片
{{imgs.length>0?imgs.length:0}}/3
diff --git a/pages/user/collect_list/collect_list.js b/pages/user/collect_list/collect_list.js
index 4e5ec32..61b7b0f 100644
--- a/pages/user/collect_list/collect_list.js
+++ b/pages/user/collect_list/collect_list.js
@@ -17,15 +17,15 @@ Page({
collects: null,
currentPage: 1,
curpage: 1,
- collects_Recommend: [],
+
ismore: 0,
iscollects: 0,
- loadName: null,
+
editEd: 0, //商品编辑按钮是否点击
isall: false, //是否全选
sum: 0,
total_collects:0,
- total_goods:0,
+ is_goods:0,
pageSize:8,//分页数量
},
onLoad: function() {
@@ -34,31 +34,34 @@ Page({
// this.requestList();
},
requestCollectList: function() {
- isShowLoading: 0;
var th = this;
e = "/api/weshop/goodscollect/list?" + "pageSize=" + th.data.pageSize +"&user_id=" +
app_d.user_id + "&store_id=" + oo.stoid + "&page=" + th.data.currentPage;
o.request(e, function(e) {
th.data.currentPage++;
-
- if(th.data.total_collects)
+ if(th.data.total_collects==0){
th.setData({ iscollects: 1, total_collects:e.data.data.total})
-
- if (th.data.total_collects
- 共{{collects.length}}件商品
+ 共{{total_collects}}件商品
{{editEd?'完成':'编辑'}}
@@ -49,7 +49,7 @@
-
+
@@ -75,10 +75,10 @@
-
+
找相似
-
+
@@ -89,95 +89,23 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
好物推荐
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.goods_name}}
-
-
-
-
- ¥
- {{item.shop_price}}
-
-
-
- ¥
- {{item.market_price}}
-
-
-
-
-
-
-
-
- {{loadName}}
-
-
-
-
-
- 没有更多内容了
-
-
-
-
-
-
-
+
+
+
+
-
-
+
@@ -195,8 +123,6 @@
删除
-
-
-
\ No newline at end of file
+