更新了供货采购
This commit is contained in:
parent
e888430b3e
commit
e59f83a0e9
|
@ -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)=>{
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -434,6 +434,14 @@
|
|||
"enablePullDownRefresh": true
|
||||
}
|
||||
|
||||
},{
|
||||
"path": "cloud_entrepot/indexb",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "供货采购",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
|
||||
}, {
|
||||
"path": "teach_video/teach_video",
|
||||
"style": {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -8,36 +8,44 @@
|
|||
<view class='productList' :style="viewColor">
|
||||
<!-- 顶部 -->
|
||||
<view class="top">
|
||||
<view style="height: 10px;">
|
||||
</view>
|
||||
<view class="head_tit">
|
||||
<view class="" style="display: flex;align-items: center;">
|
||||
<!--< view class="" style="display: flex;align-items: center;">
|
||||
<view class="back" @click='backjJump()' style="margin-right: 17rpx;">
|
||||
<view class="iconfont icon-xiangzuo" style="color: #333333;"></view>
|
||||
</view>
|
||||
<view class="" style="font-size: 40rpx;font-weight: 700;transform: skewX(-10deg);">
|
||||
<!-- {{titName}} -->
|
||||
供货采购
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="" style="display: flex;align-items: center;width: 100%;justify-content: space-between;">
|
||||
<!-- <u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx"
|
||||
height="50.82rpx" @click='backjJump'></u--image> -->
|
||||
<view style="display: flex;align-items: center;">
|
||||
<i class="iconfont icon-xiangzuo" style="font-size: 31.54rpx;text-align: left;" @click='backjJump'></i>
|
||||
<view class=""
|
||||
style="font-size: 31.54rpx;font-weight: 700;margin-left: 10rpx;color: #F84221;">
|
||||
供货采购市场
|
||||
</view>
|
||||
<view class="">
|
||||
|
||||
<view class=""
|
||||
@click="navGoto(`/pages/nongKe/cloud_entrepot/indexb?type_id=12`)"
|
||||
style="font-size: 31.54rpx;font-weight: 700;margin-left: 20rpx;">
|
||||
供货采购商品
|
||||
</view>
|
||||
<view style="position: relative;">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="position: relative;" class="search-box">
|
||||
<u-search borderColor="#FF6D20" bgColor="white" :showAction="false" placeholder="搜索店铺名称"
|
||||
v-model="sotreParam.keyword" class="serch_cls"></u-search>
|
||||
<u--image @tap="searchSubmit" class="img_cls" :showLoading="true"
|
||||
src="/static/images/GXSC/SSBT.png" width="115.65rpx" height="56.82rpx"></u--image>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<u-tabs v-if="no_prod" :list="[{name: '先款后货'},{name: '先货后款'}]" :scrollable="false" lineColor="#ff6d20" lineWidth="30" :itemStyle="{height: '88rpx'}" @change="changeTabs">
|
||||
</u-tabs>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="search-input"></view>
|
||||
<view v-if="no_prod" class="hot_serch">
|
||||
<!-- <text>热搜:</text> <text>热a搜商品</text> <text>热搜商品</text>
|
||||
<text>热搜sasas商品</text> -->
|
||||
</view>
|
||||
<view v-else class="hot_serch2">
|
||||
</view>
|
||||
|
@ -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
|
||||
|
@ -886,6 +899,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
.search-box{
|
||||
margin-top: 10rpx;
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
|
||||
.search-input{
|
||||
padding-top: 42rpx;
|
||||
/* #ifdef H5 */
|
||||
padding-top: 50rpx;
|
||||
/* #endif */
|
||||
}
|
||||
|
||||
.hot_serch {
|
||||
color: #B3B3B3;
|
||||
display: flex;
|
||||
|
@ -1358,7 +1383,8 @@
|
|||
.img_cls {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 7rpx;
|
||||
// right: 7rpx;
|
||||
right: 27rpx;
|
||||
transform: translateY(-50%);
|
||||
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue