li-guang
2020-12-25 3cb1b4fb5546ece252e29273b14975045ff4dbdf
hive-app/pages/workbench/selectService.vue
@@ -16,7 +16,7 @@
                  <text class="font-10 gray mt-5">有效期至: 2021-01-02</text>
                  <view class="mt-5 flex align-center justify-between">
                     <text class="font-12 blue">剩余次数: 2次</text>
                     <view>
                     <view class="flex align-center justify-end mt-10">
                        <text class="iconfont iconjian blue-outline-btn-circle mr-10"></text>
                        <text>1</text>
                        <text class="iconfont iconjia blue-btn-circle ml-10"></text>
@@ -40,7 +40,7 @@
                  <view class="flex flex-v ml-10 flex-1">
                     <text class="font-12">面部护理</text>
                     <text class="font-10 gray mt-5">时长: 30分钟</text>
                     <view class="mt-5 flex align-center justify-between">
                     <view class="flex align-center justify-between">
                        <text class="font-12 blue">剩余次数: 2次</text>
                        <view class="flex align-center justify-end mt-10">
                           <text class="iconfont iconjian blue-outline-btn-circle mr-10"></text>
@@ -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()
         }
      }
   }