fankui.vue 539 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <view>
  3. <suggest @submit="submit"></suggest>
  4. </view>
  5. </template>
  6. <script>
  7. import suggest from "@/components/bert-suggest/suggest.vue"
  8. export default {
  9. components: { suggest },
  10. methods: {
  11. submit(v) {
  12. uni.showModal({
  13. title: '提示',
  14. content: "感谢您提供反馈意见,我们将立即联系您",
  15. showCancel: false,
  16. confirmText: '确定',
  17. success: () => {
  18. uni.navigateBack()
  19. }
  20. })
  21. console.log(v)
  22. }
  23. }
  24. }
  25. </script>
  26. <style>
  27. </style>