hive-app/pages/workbench/selectService.vue
@@ -70,9 +70,7 @@ <button class="blue-btn btn mr-0">提交订单</button> </navigator> </view> <uni-popup ref="popup" type="bottom"> <shopping-cart></shopping-cart> </uni-popup> <shopping-cart ref="shopCart"></shopping-cart> </view> </template> @@ -90,9 +88,14 @@ return{ } }, onLoad(options) { uni.setNavigationBarTitle({ title: '当前客户:' + options.vipName }); }, methods:{ openShoppingCart(){ this.$refs.popup.open() this.$refs.shopCart.show() } } }