From 818cb96255e139444902e169e4aac65acf4bf301 Mon Sep 17 00:00:00 2001 From: fanfan Date: Wed, 25 Sep 2024 21:37:00 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cart/index.vue | 4 +-- pages/goods/list.vue | 64 +++++++++++++++++++++++-------------------- pages/index/index.vue | 4 +-- pages/user/index.vue | 4 +-- 4 files changed, 41 insertions(+), 35 deletions(-) diff --git a/pages/cart/index.vue b/pages/cart/index.vue index b78f5a3..9e130b4 100644 --- a/pages/cart/index.vue +++ b/pages/cart/index.vue @@ -104,7 +104,7 @@ {{item.cmmdty_model}} --> - + + - + + + + {{item.goods_source}} + + + {{Number(item.discount)}}折 + + + + 24小时内发货 + 48小时内发货 + 72小时内发货 + 7天内发货 + 15天内发货 + 30天内发货 + 45天内发货 + + @@ -280,20 +280,26 @@ }, tabbar: [], multiArray: [{ - value: 'JD', - name: 'JD' - }, { - value: 'SN', - name: 'SN' - }, { value: 'GC', name: 'GC' }, { value: 'CC', - name: 'CC ' + name: 'CC' }, { value: 'ZC', name: 'ZC' + }, { + value: 'JD', + name: 'JD ' + }, { + value: 'SN', + name: 'SN' + }, { + value: 'TM', + name: 'TM' + }, { + value: 'PF', + name: 'PF' }], multiIndex: -1, blheight: 0, diff --git a/pages/index/index.vue b/pages/index/index.vue index d80f04b..8a4d099 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -289,7 +289,7 @@ {{item.cmmdty_model}} --> - + - + From 021f76b23040e8a946870b56942200f34a8f1f2a Mon Sep 17 00:00:00 2001 From: fanfan Date: Thu, 26 Sep 2024 19:21:51 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/list.vue | 22 +++++++++++----------- pages/search/index.vue | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pages/goods/list.vue b/pages/goods/list.vue index 741c5d2..1855b58 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -280,26 +280,26 @@ }, tabbar: [], multiArray: [{ + value: 'JD', + name: '京东 ' + }, { + value: 'SN', + name: '苏宁' + }, { value: 'GC', - name: 'GC' + name: '工厂' }, { value: 'CC', - name: 'CC' + name: '仓储' }, { value: 'ZC', - name: 'ZC' - }, { - value: 'JD', - name: 'JD ' - }, { - value: 'SN', - name: 'SN' + name: '自采' }, { value: 'TM', - name: 'TM' + name: '天猫' }, { value: 'PF', - name: 'PF' + name: '批发平台' }], multiIndex: -1, blheight: 0, diff --git a/pages/search/index.vue b/pages/search/index.vue index 259baec..ef4aa70 100644 --- a/pages/search/index.vue +++ b/pages/search/index.vue @@ -2,7 +2,7 @@ - + 搜索 From ac064cdae36376de15faa3906fbccb4ffba7b6b2 Mon Sep 17 00:00:00 2001 From: fanfan Date: Thu, 26 Sep 2024 19:41:05 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/list.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/goods/list.vue b/pages/goods/list.vue index 1855b58..3bdc493 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -468,7 +468,7 @@ page: pageNo, // keywords: keywords.length > 0 ? keywords.join(',') : '', keyword: app.options.search || '', - // goods_source: this.multiIndex > -1 ? this.multiArray[this.multiIndex].value : '' + goods_source: this.multiIndex > -1 ? this.multiArray[this.multiIndex].value : '' } return new Promise((resolve, reject) => { GoodsApi.list(param) From 5db14c5a8a7465b6f22c2ef07a860ed13366c25b Mon Sep 17 00:00:00 2001 From: fanfan Date: Thu, 26 Sep 2024 21:08:47 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/detail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index 0b194e5..cf92b27 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -128,10 +128,10 @@ - + {{goods.goods_no}} From 1ba71b14641987532c8cc7b8dbdda7e94080e7de Mon Sep 17 00:00:00 2001 From: fanfan Date: Fri, 11 Oct 2024 19:47:16 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cart/index.vue | 128 ++++++++++++++++++++++++------------------ pages/index/index.vue | 49 +++++++++------- pages/user/index.vue | 45 ++++++++------- 3 files changed, 127 insertions(+), 95 deletions(-) diff --git a/pages/cart/index.vue b/pages/cart/index.vue index 9e130b4..21c26c3 100644 --- a/pages/cart/index.vue +++ b/pages/cart/index.vue @@ -20,8 +20,10 @@ - - + + {{ item.goods.merchant.shop_name }} @@ -76,56 +78,56 @@ - - - - - - - - - {{item.goods_name}} - - - - - - {{ item.goods_price_min>0?Number(item.goods_price_min):0.00}} - - ¥{{ item.line_price_min>0?Number(item.line_price_min):0.00 }} - - - + + + + + + + + + {{item.goods_name}} + + + + + + {{ item.goods_price_min>0?Number(item.goods_price_min):0.00}} + + ¥{{ item.line_price_min>0?Number(item.line_price_min):0.00 }} + + + - - - - {{item.goods_source}} - - - {{Number(item.discount)}}折 - - - - 24小时内发货 - 48小时内发货 - 72小时内发货 - 7天内发货 - 15天内发货 - 30天内发货 - 45天内发货 - + + + + {{item.goods_source}} - - - + - + @@ -290,24 +290,24 @@ --> - - - {{item.goods_source}} - - - {{Number(item.discount)}}折 - - - - 24小时内发货 - 48小时内发货 - 72小时内发货 - 7天内发货 - 15天内发货 - 30天内发货 - 45天内发货 - + + + {{item.goods_source}} + + + {{Number(item.discount)}}折 + + + 24小时内发货 + 48小时内发货 + 72小时内发货 + 7天内发货 + 15天内发货 + 30天内发货 + 45天内发货 + + - - - {{item.goods_source}} - - - {{Number(item.discount)}}折 - - - - 24小时内发货 - 48小时内发货 - 72小时内发货 - 7天内发货 - 15天内发货 - 30天内发货 - 45天内发货 - + + + {{item.goods_source}} + + + {{Number(item.discount)}}折 + + + 24小时内发货 + 48小时内发货 + 72小时内发货 + 7天内发货 + 15天内发货 + 30天内发货 + 45天内发货 + + @@ -1387,16 +1387,23 @@ margin: 0 0 20rpx 0; .pic { + position: relative; width: 100%; align-items: center; display: flex; - height: 256rpx; + overflow: hidden; + width: 100%; + height: 0; + padding-bottom: 100%; overflow: hidden; image { width: 100%; height: 100%; - + object-fit: cover; + position: absolute; + left: 0; + top: 0 } }