update 更新商品搜索页
This commit is contained in:
parent
365358c2cd
commit
adbe417bd2
@ -206,6 +206,12 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/warehouse/manage/productListSearch",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/warehouse/manage/brandList",
|
||||
"style": {
|
||||
|
||||
@ -45,7 +45,13 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="shop_status" :style="{background: shopStatus==1 ? '#D8F1EC' : shopStatus==2 ? '#ffecf2': '#eee'}">
|
||||
<view
|
||||
class="shop_status"
|
||||
:style="{
|
||||
background:
|
||||
shopStatus == 1 ? '#D8F1EC' : shopStatus == 2 ? '#ffecf2' : '#eee',
|
||||
}"
|
||||
>
|
||||
<u-cell-group :border="false">
|
||||
<u-cell
|
||||
@click="handleShowTime"
|
||||
@ -54,7 +60,7 @@
|
||||
isLink
|
||||
icon="hourglass-half-fill"
|
||||
title="营业中"
|
||||
v-if="shopStatus==1"
|
||||
v-if="shopStatus == 1"
|
||||
></u-cell>
|
||||
<u-cell
|
||||
iconStyle="marginRight:6px; color: #fe411b"
|
||||
@ -63,7 +69,7 @@
|
||||
url="/pages/my/shopQRcode/shopQRcode"
|
||||
icon="hourglass-half-fill"
|
||||
title="已停业"
|
||||
v-if="shopStatus==2"
|
||||
v-if="shopStatus == 2"
|
||||
></u-cell>
|
||||
<u-cell
|
||||
iconStyle="marginRight:6px; color: #666"
|
||||
@ -72,7 +78,7 @@
|
||||
url="/pages/my/shopQRcode/shopQRcode"
|
||||
icon="hourglass-half-fill"
|
||||
title="已打烊"
|
||||
v-if="shopStatus==3"
|
||||
v-if="shopStatus == 3"
|
||||
></u-cell>
|
||||
</u-cell-group>
|
||||
</view>
|
||||
@ -167,7 +173,7 @@
|
||||
</u-cell-group>
|
||||
</view>
|
||||
|
||||
<view class="btn_logout">退出登录</view>
|
||||
<view class="btn_logout" @click="outLogin">退出登录</view>
|
||||
|
||||
<tpfTimeRange
|
||||
ref="time"
|
||||
@ -228,7 +234,7 @@ export default {
|
||||
store_opening_hours: "00:00",
|
||||
store_close_hours: "00:00",
|
||||
},
|
||||
}
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
@ -277,6 +283,9 @@ export default {
|
||||
// url: "/pages/my/shopInfo",
|
||||
// });
|
||||
},
|
||||
outLogin() {
|
||||
this.$store.dispatch("user/LoginOut");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@ -342,8 +351,7 @@ export default {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
|
||||
|
||||
.kf_item{
|
||||
.kf_item {
|
||||
position: absolute;
|
||||
right: 48rpx;
|
||||
top: 24rpx;
|
||||
@ -416,7 +424,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.shop_status{
|
||||
.shop_status {
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
placeholder="搜索你想要的商品"
|
||||
:showAction="false"
|
||||
bgColor="#fff"
|
||||
:disabled="true"
|
||||
@click="skipuSearch"
|
||||
></u-search>
|
||||
</block>
|
||||
</navBar>
|
||||
@ -763,6 +765,13 @@ export default {
|
||||
this.showRightPopup = true;
|
||||
this.isAdd = false;
|
||||
},
|
||||
skipuSearch() {
|
||||
uni.hideKeyboard();
|
||||
|
||||
uni.navigateTo({
|
||||
url: "/pages/warehouse/manage/productListSearch",
|
||||
});
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user