云仓切换
This commit is contained in:
parent
e70850d2fa
commit
1e901693c3
@ -35,13 +35,15 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="" style="display: flex;align-items: center;">
|
<view class="" style="display: flex;align-items: center;">
|
||||||
<view style="display: flex;align-items: center;z-index: 999999;">
|
<view style="display: flex;align-items: center;z-index: 999999;">
|
||||||
<u--image :showLoading="true" src="/static/images/GXSC/DW.png" width="50.82rpx"
|
<u--image :showLoading="true" src="/static/images/LHYC/DWB.png" width="50.82rpx"
|
||||||
height="50.82rpx"></u--image>
|
height="50.82rpx"></u--image>
|
||||||
<view class="town_name" :style="{color:cloudList.length>0?'':'black'}"
|
<view class="town_name" :style="{color:cloudList.length>0?'':'black'}"
|
||||||
@click="showpick">{{street}}</view>
|
@click="showpick">{{street}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="head_r" @click="showPop=true">
|
<view class="head_r" @click="showPop=true">
|
||||||
<u--image :showLoading="true" src="/static/images/LHYC/QB.png" width="50.82rpx"
|
<u--image v-if="cloudList.length>0" :showLoading="true" src="/static/images/LHYC/QB.png"
|
||||||
|
width="50.82rpx" height="50.82rpx"></u--image>
|
||||||
|
<u--image v-else :showLoading="true" src="/static/images/LHYC/QB.png" width="50.82rpx"
|
||||||
height="50.82rpx"></u--image>
|
height="50.82rpx"></u--image>
|
||||||
<text :style="{color:cloudList.length>0?'':'black'}">全部</text>
|
<text :style="{color:cloudList.length>0?'':'black'}">全部</text>
|
||||||
</view>
|
</view>
|
||||||
@ -246,7 +248,7 @@
|
|||||||
里海云仓
|
里海云仓
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="pop_content">
|
<view class="pop_content" v-if="cloudList.length">
|
||||||
<view class="pop_li" @click="all(index)" v-for="item,index in cloudList" :key="index">
|
<view class="pop_li" @click="all(index)" v-for="item,index in cloudList" :key="index">
|
||||||
<u--image :showLoading="true" :src="item.background" width="84.11rpx"
|
<u--image :showLoading="true" :src="item.background" width="84.11rpx"
|
||||||
height="84.11rpx"></u--image>
|
height="84.11rpx"></u--image>
|
||||||
@ -260,6 +262,22 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view v-else>
|
||||||
|
<!-- <u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx" height="50.82rpx"
|
||||||
|
@click='goBack'></u--image>
|
||||||
|
</view> -->
|
||||||
|
<view class="yuncangempty">
|
||||||
|
|
||||||
|
<u--image :showLoading="true" src="/static/images/noCart.png" width="400.09rpx"
|
||||||
|
height="400.09rpx"></u--image>
|
||||||
|
<view class="" style="text-align: center;color:#999">
|
||||||
|
当前区域暂无云仓
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
|
|
||||||
@ -269,11 +287,8 @@
|
|||||||
<view class="empty" style="" v-if="cloudList.length<=0">
|
<view class="empty" style="" v-if="cloudList.length<=0">
|
||||||
<view style="height: var(--status-bar-height);"></view>
|
<view style="height: var(--status-bar-height);"></view>
|
||||||
<view style="padding: 10rpx;">
|
<view style="padding: 10rpx;">
|
||||||
<!-- <u--image :showLoading="true" src="/static/images/LHYC/PFH.png" width="50.82rpx" height="50.82rpx"
|
|
||||||
@click='goBack'></u--image>
|
|
||||||
</view> -->
|
|
||||||
<view class="info">
|
|
||||||
|
|
||||||
|
<view class="info">
|
||||||
<u--image :showLoading="true" src="/static/images/noCart.png" width="400.09rpx"
|
<u--image :showLoading="true" src="/static/images/noCart.png" width="400.09rpx"
|
||||||
height="400.09rpx"></u--image>
|
height="400.09rpx"></u--image>
|
||||||
<view class="" style="text-align: center;color:#999">
|
<view class="" style="text-align: center;color:#999">
|
||||||
@ -507,7 +522,7 @@
|
|||||||
this.flag = true
|
this.flag = true
|
||||||
cloudWarehouse({
|
cloudWarehouse({
|
||||||
street_code: this.street_code,
|
street_code: this.street_code,
|
||||||
category_id: this.cloudList[this.current].category_id,
|
category_id: this.cloudList[this.current]?.category_id || "",
|
||||||
order: this.type,
|
order: this.type,
|
||||||
keyword: this.keyword,
|
keyword: this.keyword,
|
||||||
page_num: this.page_num
|
page_num: this.page_num
|
||||||
@ -775,7 +790,7 @@
|
|||||||
this.status = "loading"
|
this.status = "loading"
|
||||||
cloudWarehouse({
|
cloudWarehouse({
|
||||||
street_code: this.street_code,
|
street_code: this.street_code,
|
||||||
category_id: this.cloudList[this.current].category_id,
|
category_id: this.cloudList[this.current]?.category_id || "",
|
||||||
order: this.type,
|
order: this.type,
|
||||||
keyword: this.keyword,
|
keyword: this.keyword,
|
||||||
page_num: this.page_num
|
page_num: this.page_num
|
||||||
@ -1168,6 +1183,13 @@
|
|||||||
.head_tit {
|
.head_tit {
|
||||||
margin-left: 20rpx;
|
margin-left: 20rpx;
|
||||||
font-size: 40rpx;
|
font-size: 40rpx;
|
||||||
|
// background-color: red;
|
||||||
|
width: 40vw;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
// font-weight: 700;
|
// font-weight: 700;
|
||||||
// transform: skewX(-10deg);
|
// transform: skewX(-10deg);
|
||||||
}
|
}
|
||||||
@ -1219,7 +1241,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.town_name {
|
.town_name {
|
||||||
margin-right: 20rpx;
|
margin-right: 50rpx;
|
||||||
|
// background-color: red;
|
||||||
|
max-width: 15vw;
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.goods_list {
|
.goods_list {
|
||||||
@ -1533,4 +1562,11 @@
|
|||||||
// transform: translateX(100rpx);
|
// transform: translateX(100rpx);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.yuncangempty {
|
||||||
|
margin: 20vh 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center
|
||||||
|
}
|
||||||
</style>
|
</style>
|
@ -36,9 +36,9 @@
|
|||||||
</view>
|
</view>
|
||||||
<!-- 位置 -->
|
<!-- 位置 -->
|
||||||
<view v-else style="display: flex;align-items: center;" @click="showPicker=!showPicker">
|
<view v-else style="display: flex;align-items: center;" @click="showPicker=!showPicker">
|
||||||
<u--image @tap="showSerch=!showSerch" :showLoading="true" src="/static/images/GXSC/SS.png"
|
<u--image @tap="showSerch=!showSerch" style="margin-right: 30rpx;" :showLoading="true"
|
||||||
width="49rpx" height="49rpx"></u--image>
|
src="/static/images/GXSC/SS.png" width="49rpx" height="49rpx"></u--image>
|
||||||
<u--image :showLoading="true" src="/static/images/GXSC/DW.png" width="50.82rpx"
|
<u--image :showLoading="true" src="/static/images/GXSC/DW1.png" width="50.82rpx"
|
||||||
height="50.82rpx"></u--image>
|
height="50.82rpx"></u--image>
|
||||||
<view class="town_name">{{street}}</view>
|
<view class="town_name">{{street}}</view>
|
||||||
</view>
|
</view>
|
||||||
@ -1056,10 +1056,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.town_name {
|
.town_name {
|
||||||
// overflow: hidden;
|
overflow: hidden;
|
||||||
// white-space: nowrap;
|
white-space: nowrap;
|
||||||
/* 设置文本不换行 */
|
/* 设置文本不换行 */
|
||||||
// text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
max-width: 25vw;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
/* 设置溢出文本为省略号 */
|
/* 设置溢出文本为省略号 */
|
||||||
}
|
}
|
||||||
|
BIN
static/images/GXSC/DW1.png
Normal file
BIN
static/images/GXSC/DW1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
static/images/GXSC/QB.png
Normal file
BIN
static/images/GXSC/QB.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
BIN
static/images/LHYC/DWB.png
Normal file
BIN
static/images/LHYC/DWB.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.1 KiB |
Loading…
x
Reference in New Issue
Block a user