diff --git a/components/shortPopup.vue b/components/shortPopup.vue index 2f1e599..6d29f4f 100644 --- a/components/shortPopup.vue +++ b/components/shortPopup.vue @@ -127,12 +127,12 @@ import { Toast } from '../libs/uniApi'; this.attrValue = datas.product?.attrValue; this.change = this.attrValue[0]; this.cart_num = 1; - this.sku = datas.sku||{}; - this.sku_key_list = Object.keys(this.sku); this.current = 0; getProductDetail(datas.product_id,{ product_type: 98 }).then((res)=>{ + this.sku = res.data.sku||{}; + this.sku_key_list = Object.keys(this.sku); this.attr = res.data.attr; if(this.attr.length>0){ this.attr.forEach((item, index)=>{ diff --git a/config/app.js b/config/app.js index d94b1a2..479ac47 100644 --- a/config/app.js +++ b/config/app.js @@ -9,8 +9,8 @@ let httpApiThree let wsApi // 在打包之前请检查当前环境是否正确 -// const env = 'dev'; // 开发 -const env = 'prod'; // 生产 +const env = 'dev'; // 开发 +// const env = 'prod'; // 生产 // const env = 'prew'; // 预上线 switch (env) { diff --git a/pages.json b/pages.json index 0ee15b6..8c680db 100644 --- a/pages.json +++ b/pages.json @@ -434,6 +434,14 @@ "enablePullDownRefresh": true } + },{ + "path": "cloud_entrepot/indexb", + "style": { + "navigationStyle": "custom", + "navigationBarTitleText": "供货采购", + "enablePullDownRefresh": true + } + }, { "path": "teach_video/teach_video", "style": { diff --git a/pages/nongKe/cloud_entrepot/indexb.vue b/pages/nongKe/cloud_entrepot/indexb.vue new file mode 100644 index 0000000..d7c456c --- /dev/null +++ b/pages/nongKe/cloud_entrepot/indexb.vue @@ -0,0 +1,1910 @@ + + + + + \ No newline at end of file diff --git a/pages/nongKe/supply_chain/supplierA.vue b/pages/nongKe/supply_chain/supplierA.vue index b9c85d1..dec480a 100644 --- a/pages/nongKe/supply_chain/supplierA.vue +++ b/pages/nongKe/supply_chain/supplierA.vue @@ -8,36 +8,44 @@ - - - + 供货采购 + --> + + + + + + 供货采购市场 + + + 供货采购商品 + + - - - - - - - - + + + + + - @@ -656,6 +664,11 @@ that.$set(that.sotreParam, 'keyword', this.sotreParam.keyword); this.set_where(this.firstKey) }, + navGoto(url) { + uni.redirectTo({ + url + }) + }, // 右侧切换 bindRight() { this.sotreParam.page = 1 @@ -885,6 +898,18 @@ font-size: 36rpx; } } + + .search-box{ + margin-top: 10rpx; + padding: 0 20rpx; + } + + .search-input{ + padding-top: 42rpx; + /* #ifdef H5 */ + padding-top: 50rpx; + /* #endif */ + } .hot_serch { color: #B3B3B3; @@ -1358,7 +1383,8 @@ .img_cls { position: absolute; top: 50%; - right: 7rpx; + // right: 7rpx; + right: 27rpx; transform: translateY(-50%); } diff --git a/static/images/no_short.png b/static/images/no_short.png new file mode 100644 index 0000000..505c230 Binary files /dev/null and b/static/images/no_short.png differ