更新
This commit is contained in:
parent
3d4b24e383
commit
a3e20397f9
@ -8,7 +8,7 @@
|
||||
<view class="nav" v-if="showTab">
|
||||
<view class="nav-item" @click="navTo('/pages/cloud_warehouse/home/home')">
|
||||
<view class="nav-item-up">
|
||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/1c050202403121539159687.png" mode=""></image>
|
||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/10c5e202403181723158647.webp" mode=""></image>
|
||||
</view>
|
||||
<view class="nav-item-down">
|
||||
<view class="nav-item-down-title">里海云仓</view>
|
||||
@ -17,7 +17,7 @@
|
||||
</view>
|
||||
<view class="nav-item" @click="navTo('/pages/cloud_warehouse/market/market')">
|
||||
<view class="nav-item-up">
|
||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/9d4d720240312153933187.png" mode=""></image>
|
||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/2d5b3202403181723524392.webp" mode=""></image>
|
||||
</view>
|
||||
<view class="nav-item-down">
|
||||
<view class="nav-item-down-title">供销云市场</view>
|
||||
@ -26,7 +26,7 @@
|
||||
</view>
|
||||
<view class="nav-item" @click="navTo('/pages/cloud_warehouse/specialty/specialty')">
|
||||
<view class="nav-item-up">
|
||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/cef80202403121539479409.png" mode=""></image>
|
||||
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/0fccd202403181724074622.webp" mode=""></image>
|
||||
</view>
|
||||
<view class="nav-item-down">
|
||||
<view class="nav-item-down-title">名优特产</view>
|
||||
|
@ -2,8 +2,8 @@
|
||||
"name" : "惠农生活",
|
||||
"appid" : "__UNI__3A527D1",
|
||||
"description" : "",
|
||||
"versionName" : "2.0.0",
|
||||
"versionCode" : 200,
|
||||
"versionName" : "2.0.1",
|
||||
"versionCode" : 201,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
@ -128,6 +128,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cate {
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
@ -209,8 +210,8 @@
|
||||
<scroll-view scroll-x="true" :scroll-top="100" :show-scrollbar="false" scroll-into-view="a1">
|
||||
<view class="scrollview">
|
||||
<block v-for="(item,indx) in tabsArr" :key="indx">
|
||||
<view class="scrollview-item" :id="'a' + indx"
|
||||
:class="{'scrollview-active':tabsCurr == item.val}" @click="tabsChange(item.val)">
|
||||
<view class="scrollview-item" :id="'a' + indx" :class="{'scrollview-active':tabsCurr == item.val}"
|
||||
@click="tabsChange(item.val)">
|
||||
{{item.name}}
|
||||
</view>
|
||||
</block>
|
||||
@ -223,12 +224,12 @@
|
||||
<view class="wholeSale-nav">
|
||||
<!-- <u-icon class="icon" name="arrow-left" size="20" @click="navBack"></u-icon> -->
|
||||
<!-- 搜索 -->
|
||||
<view @click="navTo(`/pages/columnGoods/goods_search/index?back=true&searchVal=${where.keyword}`)" hover-class="none"
|
||||
class="search_content flex_a_c_j_sb">
|
||||
<view @click="navTo(`/pages/columnGoods/goods_search/index?back=true&searchVal=${where.keyword}`)"
|
||||
hover-class="none" class="search_content flex_a_c_j_sb">
|
||||
<view class="flex_a_c search_content_wrap">
|
||||
<view class="iconfont icon-sousuo" style="font-size: 39rpx;"></view>
|
||||
<input type="text" placeholder="搜索您需要批发进货的产品名称" :value="where.keyword" placeholder-style="font-size: 30rpx;color:#999;"
|
||||
disabled style="pointer-events: none;">
|
||||
<input type="text" placeholder="搜索您需要批发进货的产品名称" :value="where.keyword"
|
||||
placeholder-style="font-size: 30rpx;color:#999;" disabled style="pointer-events: none;">
|
||||
</view>
|
||||
<!-- <button class="search_btn">搜索</button> -->
|
||||
</view>
|
||||
@ -239,7 +240,8 @@
|
||||
<scroll-view scroll-x="true">
|
||||
<view class="category-wrap">
|
||||
<block v-for="(item,index) in store_category" :key="index">
|
||||
<view class="category-item" :class="{'category-item-active': index==cate_change}" @click="changeCate(index)">
|
||||
<view class="category-item" :class="{'category-item-active': index==cate_change}"
|
||||
@click="changeCate(index)">
|
||||
<u--image class="category-item-img" width="108rpx" :src="item.pic" height="108rpx" shape="circle">
|
||||
<template v-slot:loading>
|
||||
<u-loading-icon color="#999" size="15" />
|
||||
@ -257,7 +259,8 @@
|
||||
<scroll-view scroll-x="true">
|
||||
<view class="cate-wrap">
|
||||
<block v-for="(item,index) in store_category_children" :key="index">
|
||||
<view class="cate-item" :class="{'cate-item-active':index == cate_change_children}" @click="changeChildrenCate(index)">
|
||||
<view class="cate-item" :class="{'cate-item-active':index == cate_change_children}"
|
||||
@click="changeChildrenCate(index)">
|
||||
<text>{{item.cate_name}}</text>
|
||||
</view>
|
||||
</block>
|
||||
@ -274,14 +277,33 @@
|
||||
<view class="comprehensive-sales_num" :class="{'comp-color': orderCurr==2}" @click="toOrder('sales', 2)">
|
||||
<text>销量</text>
|
||||
</view>
|
||||
<view class="comprehensive-discount" :class="{'comp-color': orderCurr==3}" v-if="tabsCurr!=1" @click="toOrder('', 3)">
|
||||
<view class="comprehensive-discount" :class="{'comp-color': orderCurr==3}" v-if="tabsCurr!=1"
|
||||
@click="toOrder('', 3)">
|
||||
<text>综合</text>
|
||||
</view>
|
||||
<view class="comprehensive-discount" v-else >
|
||||
<view class="comprehensive-discount" v-else @click="deduction_rate=!deduction_rate;">
|
||||
<text>抵扣</text>
|
||||
<image class="loudou" src="@/static/new_define/loudou.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 综合查询 -->
|
||||
<view class="comprehensive" v-if="deduction_rate">
|
||||
<view class="comprehensive-sales_num" :class="{'comp-color': where.deduction_rate==''}" @click="changeDeduction('')">
|
||||
<text>全部</text>
|
||||
</view>
|
||||
<view class="comprehensive-sales_num" :class="{'comp-color': where.deduction_rate=='10'}" @click="changeDeduction('10')">
|
||||
<text>1:9</text>
|
||||
</view>
|
||||
<view class="comprehensive-sales_num" :class="{'comp-color': where.deduction_rate=='15'}" @click="changeDeduction('15')">
|
||||
<text>2:8</text>
|
||||
</view>
|
||||
<view class="comprehensive-sales_num" :class="{'comp-color': where.deduction_rate=='20'}" @click="changeDeduction('20')">
|
||||
<text>3:7</text>
|
||||
</view>
|
||||
<view class="comprehensive-sales_num" :class="{'comp-color': where.deduction_rate=='25'}" @click="changeDeduction('25')">
|
||||
<text>4:6</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 流水瀑布 -->
|
||||
<WaterfallsFlow :wfList='hostProduct' @itemTap="goDetail" :type="0" :sale_type="2" />
|
||||
@ -335,6 +357,7 @@
|
||||
cate_change: 0,
|
||||
cate_change_children: 0,
|
||||
isLoading: 0,
|
||||
deduction_rate: false, //是否显示
|
||||
where: {
|
||||
page: 1,
|
||||
limit: 20,
|
||||
@ -360,6 +383,10 @@
|
||||
this.getProductslist();
|
||||
},
|
||||
methods: {
|
||||
changeDeduction(e){
|
||||
this.where.deduction_rate = e;
|
||||
this.getProductslist(true);
|
||||
},
|
||||
toOrder(type, index = -1) {
|
||||
this.orderCurr = index;
|
||||
if (type == 'price') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user