云仓切换
This commit is contained in:
parent
e70850d2fa
commit
1e901693c3
@ -35,13 +35,15 @@
|
||||
</view>
|
||||
<view class="" style="display: flex;align-items: center;">
|
||||
<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>
|
||||
<view class="town_name" :style="{color:cloudList.length>0?'':'black'}"
|
||||
@click="showpick">{{street}}</view>
|
||||
</view>
|
||||
<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>
|
||||
<text :style="{color:cloudList.length>0?'':'black'}">全部</text>
|
||||
</view>
|
||||
@ -246,7 +248,7 @@
|
||||
里海云仓
|
||||
</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">
|
||||
<u--image :showLoading="true" :src="item.background" width="84.11rpx"
|
||||
height="84.11rpx"></u--image>
|
||||
@ -260,6 +262,22 @@
|
||||
</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>
|
||||
</u-popup>
|
||||
|
||||
@ -269,11 +287,8 @@
|
||||
<view class="empty" style="" v-if="cloudList.length<=0">
|
||||
<view style="height: var(--status-bar-height);"></view>
|
||||
<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"
|
||||
height="400.09rpx"></u--image>
|
||||
<view class="" style="text-align: center;color:#999">
|
||||
@ -507,7 +522,7 @@
|
||||
this.flag = true
|
||||
cloudWarehouse({
|
||||
street_code: this.street_code,
|
||||
category_id: this.cloudList[this.current].category_id,
|
||||
category_id: this.cloudList[this.current]?.category_id || "",
|
||||
order: this.type,
|
||||
keyword: this.keyword,
|
||||
page_num: this.page_num
|
||||
@ -775,7 +790,7 @@
|
||||
this.status = "loading"
|
||||
cloudWarehouse({
|
||||
street_code: this.street_code,
|
||||
category_id: this.cloudList[this.current].category_id,
|
||||
category_id: this.cloudList[this.current]?.category_id || "",
|
||||
order: this.type,
|
||||
keyword: this.keyword,
|
||||
page_num: this.page_num
|
||||
@ -1168,6 +1183,13 @@
|
||||
.head_tit {
|
||||
margin-left: 20rpx;
|
||||
font-size: 40rpx;
|
||||
// background-color: red;
|
||||
width: 40vw;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
|
||||
// font-weight: 700;
|
||||
// transform: skewX(-10deg);
|
||||
}
|
||||
@ -1219,7 +1241,14 @@
|
||||
}
|
||||
|
||||
.town_name {
|
||||
margin-right: 20rpx;
|
||||
margin-right: 50rpx;
|
||||
// background-color: red;
|
||||
max-width: 15vw;
|
||||
white-space: nowrap;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.goods_list {
|
||||
@ -1533,4 +1562,11 @@
|
||||
// transform: translateX(100rpx);
|
||||
|
||||
}
|
||||
|
||||
.yuncangempty {
|
||||
margin: 20vh 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center
|
||||
}
|
||||
</style>
|
@ -36,9 +36,9 @@
|
||||
</view>
|
||||
<!-- 位置 -->
|
||||
<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"
|
||||
width="49rpx" height="49rpx"></u--image>
|
||||
<u--image :showLoading="true" src="/static/images/GXSC/DW.png" width="50.82rpx"
|
||||
<u--image @tap="showSerch=!showSerch" style="margin-right: 30rpx;" :showLoading="true"
|
||||
src="/static/images/GXSC/SS.png" width="49rpx" height="49rpx"></u--image>
|
||||
<u--image :showLoading="true" src="/static/images/GXSC/DW1.png" width="50.82rpx"
|
||||
height="50.82rpx"></u--image>
|
||||
<view class="town_name">{{street}}</view>
|
||||
</view>
|
||||
@ -1056,10 +1056,11 @@
|
||||
}
|
||||
|
||||
.town_name {
|
||||
// overflow: hidden;
|
||||
// white-space: nowrap;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
/* 设置文本不换行 */
|
||||
// text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 25vw;
|
||||
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