diff --git a/pages/cart/index.vue b/pages/cart/index.vue index 2cad72e..f58e929 100644 --- a/pages/cart/index.vue +++ b/pages/cart/index.vue @@ -79,7 +79,7 @@ - {{item.goods_price_max}} + {{item.goods_price_min}} 到手价 ¥{{item.line_price_min}} diff --git a/pages/index/index.vue b/pages/index/index.vue index 32465be..7749067 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -238,7 +238,7 @@ - {{item.goods_price_max}} + {{item.goods_price_min}} 到手价 ¥{{item.line_price_min}} @@ -259,7 +259,7 @@ {{cityInfo.shop_name}} - {{cityInfo.is_open==1?'营业中':'休息中'}} + 营业中 @@ -2263,4 +2263,4 @@ // height:10px; // width:10px; // } - + diff --git a/pages/news/rules/rulesList.vue b/pages/news/rules/rulesList.vue index 1a9cf99..1a0f3b3 100644 --- a/pages/news/rules/rulesList.vue +++ b/pages/news/rules/rulesList.vue @@ -26,14 +26,14 @@ } }, onLoad(options) { - this.itemInfo = JSON.parse(options.itemInfo) + this.itemInfo = JSON.parse(decodeURIComponent(options.itemInfo)) this.title = this.itemInfo.name this.list = this.itemInfo.child }, methods: { goRules(item) { uni.navigateTo({ - url: '/pages/news/rules/index?itemInfo=' + JSON.stringify(item) + url: '/pages/news/rules/index?itemInfo=' + encodeURIComponent(JSON.stringify(item)) }) } } diff --git a/pages/news1/help.vue b/pages/news1/help.vue index bc185242..7a1e06b 100644 --- a/pages/news1/help.vue +++ b/pages/news1/help.vue @@ -50,7 +50,7 @@ methods: { goListPage(item) { uni.navigateTo({ - url: '/pages/news/rules/rulesList?itemInfo=' + JSON.stringify(item) + url: '/pages/news/rules/rulesList?itemInfo=' + encodeURIComponent(JSON.stringify(item)) }) }, getHelpList() { diff --git a/pages/user/index.vue b/pages/user/index.vue index dcd45c4..d7b4d68 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -529,7 +529,7 @@ - {{item.goods_price_max}} + {{item.goods_price_min}} 到手价 ¥{{item.line_price_min}} @@ -618,6 +618,7 @@ let rawData = JSON.parse(res.rawData) this.userInfo.avatar_url = rawData.avatarUrl; this.userInfo.nick_name = rawData.nickName; + console.log("用户信息", JSON.parse(res.rawData)) if (rawData) { that.headImgUpload(rawData.avatarUrl, rawData.nickName) } else { @@ -627,7 +628,7 @@ } }) }, - nickSubmit(avatar_id, nick_name) { + nickSubmit(avatar_id,nick_name) { UserApi.editUser({ avatar_id: avatar_id, nick_name: nick_name