From de639c808ce6f27011bfc9f7ac370c1e2e6e07ca Mon Sep 17 00:00:00 2001 From: mabo Date: Fri, 4 Jun 2021 17:32:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E9=A1=B5=E9=9D=A2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=BF=AB=E6=8D=B7=E5=AF=BC=E8=88=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/api.js | 8 +- pages/product/goods.vue | 1560 +++++++++++++------------- pages/product/product/shop/-shop.vue | 21 +- pages/product/product/style.scss | 36 +- 4 files changed, 845 insertions(+), 780 deletions(-) diff --git a/config/api.js b/config/api.js index 5932087..b25e3eb 100644 --- a/config/api.js +++ b/config/api.js @@ -5,10 +5,14 @@ // 开发环境 const dev = { common: "https://common-api.pickmall.cn", - buyer: "https://buyer-api.pickmall.cn", + buyer: "https://buyer-api.pickmall.cn", + // common: 'http://192.168.0.109:8890', + // buyer: 'http://192.168.0.109:8888', }; // 生产环境 -const prod = { +const prod = { + // common: 'http://192.168.0.109:8890', + // buyer: 'http://192.168.0.109:8888', common: "https://common-api.pickmall.cn", buyer: "https://buyer-api.pickmall.cn", diff --git a/pages/product/goods.vue b/pages/product/goods.vue index 6f78fe7..cc9d1b3 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -1,846 +1,868 @@ + @import "./product/style.scss"; + @import "./product/product.scss"; + diff --git a/pages/product/product/shop/-shop.vue b/pages/product/product/shop/-shop.vue index dcaeed9..feb95f9 100644 --- a/pages/product/product/shop/-shop.vue +++ b/pages/product/product/shop/-shop.vue @@ -7,13 +7,17 @@ {{ storeDetail.storeName }} - + + + {{storeDetail.goodsNum || 0}}商品 + {{storeDetail.collectionNum || 0}}关注 + 进店逛逛 @@ -138,8 +142,17 @@ export default { width: 100%; font-weight: 700; font-size: 28rpx; - line-height: 24px; - } + line-height: 24px; + margin-left: 10px; + } + .desc { + font-size: 12px; + color: #999; + margin-left: 10px; + text{ + margin-right: 10px; + } + } } .to-store-btn { diff --git a/pages/product/product/style.scss b/pages/product/product/style.scss index 32dae22..fecbe9b 100644 --- a/pages/product/product/style.scss +++ b/pages/product/product/style.scss @@ -130,12 +130,22 @@ page{ display: flex; width: 100%; background: #fff !important; - > div { - flex: 1; - } - > .headerList { - flex: 8; + > div:nth-child(1) { + width: 50rpx; } + > div:nth-child(2) { + flex: 1; + .headerList{ + display: flex; + div{ + flex: 1; + } + } + } + > div:nth-child(3) { + width: 100rpx; + } + justify-content: space-between; } @@ -366,4 +376,20 @@ page { .status_bar{ background: #fff; height: var(--status-bar-height); +} +// 快捷导航 + +.fast-icon{ + background-color: #999; + border-radius: 50rpx; + font-size: 40rpx; + padding: 4rpx; + color: #FFFFFF; +} +.ml-20{ + margin-left: 20rpx; +} +.fast-icon-dark { + color: #999; + background-color: #fff; } \ No newline at end of file