jufubao-food 1.0.15-beta5 → 1.0.15-beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<!-- #endif -->
|
|
18
18
|
<view class="jfb-food-product-list__body" :style="[bodyStyleComp]">
|
|
19
19
|
<view v-if="shopInfo">
|
|
20
|
-
<view class="shop_info" :style="{top: layoutInfo.top+'rpx'}" @click="
|
|
20
|
+
<view class="shop_info" :style="{top: layoutInfo.top+'rpx'}" @click="handleSwitchShop">
|
|
21
21
|
<view class="flex-center">
|
|
22
22
|
<xd-font-icon icon="icona-Buy2" size="36" style="margin-right: 8rpx;"></xd-font-icon>
|
|
23
23
|
<view class="shop_name">{{ shopInfo.shop_name }}</view><text style="margin:0 20rpx;">|</text> <text class="_distance">{{ shopInfo.distance }}</text>
|
|
@@ -548,9 +548,16 @@
|
|
|
548
548
|
this.showTakeoutShop = true;
|
|
549
549
|
},
|
|
550
550
|
handleSwitchShop(){
|
|
551
|
-
|
|
552
|
-
|
|
551
|
+
//切换门店
|
|
552
|
+
let curPage = this.$xdUniHelper.getCurrentPages();
|
|
553
|
+
let query = {...curPage.query};
|
|
554
|
+
let callback= Base64.encode(curPage.path + '?' + this.$xdUniHelper.jsonToParams(query));
|
|
555
|
+
this.$xdUniHelper.redirectTo({
|
|
556
|
+
url: this.switchStorePath + '?brand_id=' + this.brand_id + '&callback=' + callback
|
|
553
557
|
})
|
|
558
|
+
// this.$xdUniHelper.navigateTo({
|
|
559
|
+
// url: this.switchStorePath + "?brand_id=" + this.brand_id + "&resource_shop_id=" + this.resource_shop_id,
|
|
560
|
+
// })
|
|
554
561
|
},
|
|
555
562
|
setCurShop(index){
|
|
556
563
|
if(this.curShopIndex !== index){
|
|
@@ -1041,6 +1048,10 @@
|
|
|
1041
1048
|
.jfb-food-product-list {
|
|
1042
1049
|
&__body{
|
|
1043
1050
|
background-color: #FFFFFF;
|
|
1051
|
+
::v-deep .xd-up-drawer__warper{
|
|
1052
|
+
border-radius: 24rpx 24rpx 0 0 !important;
|
|
1053
|
+
overflow: hidden;
|
|
1054
|
+
}
|
|
1044
1055
|
.empty_shop{
|
|
1045
1056
|
background-color: #FFFFFF;
|
|
1046
1057
|
height: 100%;
|
|
@@ -1349,7 +1360,7 @@
|
|
|
1349
1360
|
.prod_specs{
|
|
1350
1361
|
padding-top: unit(10, rpx);
|
|
1351
1362
|
display: block;
|
|
1352
|
-
font-size:
|
|
1363
|
+
font-size: 24rpx;
|
|
1353
1364
|
color: #999999;
|
|
1354
1365
|
line-height: unit(32, rpx);
|
|
1355
1366
|
}
|