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