uni-authStore-popup.vue 884 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <!-- 去认证弹框 -->
  3. <u-popup v-model="showPopup" mode="center" :border-radius="20" closeable @close="close">
  4. <view style="background-color: #fff;padding: 1rem;">
  5. <u-image width="533" height="415" src="/static/authimg.jpg"></u-image>
  6. <view style="padding-top:1rem;" class="flex justify_center">
  7. <u-button @click="toAuthStore()" shape="circle" :custom-style="{background:'#066cff',color:'#fff',width:'350rpx'}">开始认证</u-button>
  8. </view>
  9. </view>
  10. </u-popup>
  11. </template>
  12. <script>
  13. export default {
  14. name:"uni-authStore-popup",
  15. data() {
  16. return {
  17. showPopup: false
  18. };
  19. },
  20. methods: {
  21. close(){
  22. this.showPopup = false
  23. },
  24. open(){
  25. this.showPopup = true
  26. },
  27. // 去认证
  28. toAuthStore(){
  29. this.close()
  30. uni.navigateTo({
  31. url: '/pages/storeManage/storeAuth'
  32. })
  33. },
  34. },
  35. }
  36. </script>
  37. <style>
  38. </style>