check.vue 580 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <view>
  3. <button @click="zhuce">注册ylht</button>
  4. <button @click="success">成功</button>
  5. <button @click="fail">失败</button>
  6. <button @click="huidiao">回调</button>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. name: "my-file",
  12. data() {
  13. return {
  14. };
  15. },
  16. watch: {
  17. },
  18. mounted() {
  19. },
  20. methods: {
  21. zhuce() {
  22. },
  23. success() {
  24. uni.navigateTo({
  25. url: '/pages/living/success'
  26. })
  27. },
  28. fail() {
  29. uni.navigateTo({
  30. url: '/pages/living/fail'
  31. })
  32. },
  33. huidiao() {
  34. }
  35. }
  36. }
  37. </script>
  38. <style>
  39. </style>