From 0fd304008da6961fde7386092197470cdcb0cb25 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Thu, 26 Aug 2021 17:18:57 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api.js | 2 +- pages/discover/discover.vue | 4 ++-- pages/goodsDetail/index.vue | 4 ++-- pages/index/index.vue | 6 ++++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/common/api.js b/common/api.js index 54fd627..f28f032 100644 --- a/common/api.js +++ b/common/api.js @@ -1,7 +1,7 @@ // appId: 正式 null | 测试 wxb35ef055a4dd8ad4 export const DEV = "dev"; // dev 测试 | prod 正式 export const VERSION = '1.0.0'; // 版本号 -export const DEVURL = 'http://hainan.lanzulive.com'; // 测试服请求地址 +export const DEVURL = 'https://hainan.lanzulive.com'; // 测试服请求地址 // export const DEVURL = 'http://hainan.com'; // 测试服请求地址 export const PRODURL = ''; // 正式服请求地址 diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue index 2dd5792..0604f17 100644 --- a/pages/discover/discover.vue +++ b/pages/discover/discover.vue @@ -2,8 +2,8 @@ - - + + diff --git a/pages/goodsDetail/index.vue b/pages/goodsDetail/index.vue index 1dd6ad6..68ac18a 100644 --- a/pages/goodsDetail/index.vue +++ b/pages/goodsDetail/index.vue @@ -102,7 +102,7 @@ } }, onLoad(options){ - this.goods_id = options.goods_id; + this.goods_id = options.goods_id || options.id; console.log('商品',this.goods_id) this.getGoodsDetail(); @@ -207,7 +207,7 @@ let title = goods.name; let imageUrl = goods.share_cover || goods.cover; let path = '/pages/route/index?route=goods_detail&id='+ goods.id; - + console.log("path", path); return { title, path, diff --git a/pages/index/index.vue b/pages/index/index.vue index 24a73bf..be3bd21 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -192,6 +192,7 @@ onPullDownRefresh(){ this.getIndexData() this.getFavourite() + uni.stopPullDownRefresh() }, onShareAppMessage(){ let shareInfo = { @@ -311,13 +312,14 @@ .recomm-img{ width: 222rpx; height: 222rpx; - border-radius: 5rpx; + border-radius: 15rpx; + overflow: hidden; } .max-recomm-img{ width: 455rpx; height: 455rpx; position: relative; - border-radius: 5rpx; + border-radius: 15rpx; overflow: hidden; .recomm-title{ // height: 142rpx; From 77963b637d8ebc4bf5b36b041bd913054fa626f9 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Thu, 26 Aug 2021 17:22:38 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E5=B0=81=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goodsDetail/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/goodsDetail/index.vue b/pages/goodsDetail/index.vue index 68ac18a..e7cf35d 100644 --- a/pages/goodsDetail/index.vue +++ b/pages/goodsDetail/index.vue @@ -205,7 +205,7 @@ onShareAppMessage(){ let goods = this.goods_detail; let title = goods.name; - let imageUrl = goods.share_cover || goods.cover; + let imageUrl = goods.pictures[0] || goods.picture; let path = '/pages/route/index?route=goods_detail&id='+ goods.id; console.log("path", path); return { From 075d83aed4011916de84987aa2ae04c6a128b423 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Thu, 26 Aug 2021 17:34:38 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/notice/article.vue | 2 +- pages/notice/notice.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/notice/article.vue b/pages/notice/article.vue index df4d420..1ac4e0b 100644 --- a/pages/notice/article.vue +++ b/pages/notice/article.vue @@ -1,5 +1,5 @@