jufubao-food 1.0.15-beta6 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-food",
3
- "version": "1.0.15-beta6",
3
+ "version": "1.0.15-beta7",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件餐饮插件包",
6
6
  "main": "index.js",
@@ -548,9 +548,16 @@
548
548
  this.showTakeoutShop = true;
549
549
  },
550
550
  handleSwitchShop(){
551
- this.$xdUniHelper.navigateTo({
552
- url: this.switchStorePath + "?brand_id=" + this.brand_id + "&resource_shop_id=" + this.resource_shop_id,
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: 28rpx;
1363
+ font-size: 24rpx;
1353
1364
  color: #999999;
1354
1365
  line-height: unit(32, rpx);
1355
1366
  }