order.vue 782 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <view class="ezy-order-page">
  3. <view class="icon-title-navBar-box">
  4. <view @click="handleBack" class="nav-bar-icon"></view>
  5. <text class="nav-bar-title">订单</text>
  6. </view>
  7. <view class="ezy-page-body">
  8. <view @click="bangdingPhone">绑定手机号</view>
  9. </view>
  10. </view>
  11. <bindPhone ref="bindPhoneRef" @success="onLoginSuccess"></bindPhone>
  12. </template>
  13. <script setup>
  14. import {
  15. reactive,
  16. ref
  17. } from "vue";
  18. import {
  19. onLoad,
  20. onShow
  21. } from "@dcloudio/uni-app"
  22. import bindPhone from "@/components/bindPhone/bindPhone.vue"
  23. const bindPhoneRef = ref(null);
  24. function handleBack() {
  25. uni.switchTab({
  26. url: '/pages/chanpinMy/my'
  27. })
  28. }
  29. function bangdingPhone() {
  30. bindPhoneRef.value.showDl();
  31. }
  32. onLoad(() => {})
  33. </script>
  34. <style>
  35. </style>