findDetail.vue 656 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <div class="pb_content2" style="background: #fff">
  3. <div class="pb_head">
  4. <van-icon
  5. name="arrow-left"
  6. color="#fff"
  7. class="pb_back"
  8. size="1.2rem"
  9. @click="goBack"
  10. />
  11. <span>创新</span>
  12. </div>
  13. <div class="pb_content_body"></div>
  14. </div>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {};
  20. },
  21. methods: {
  22. goBack() {
  23. this.$router.isBack = true;
  24. if (window.history.length <= 1) {
  25. this.$router.push({ path: "/" });
  26. return false;
  27. } else {
  28. this.$router.go(-1);
  29. }
  30. },
  31. },
  32. };
  33. </script>
  34. <style scoped>
  35. </style>