novice.vue 700 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view class="main">
  3. <image src="https://rl-zk-image.oss-cn-hangzhou.aliyuncs.com/image/2023-07/20230710102702wx_new_btn.png"
  4. class="novice-guidance-go" @click="goNovice"></image>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. name: "novice",
  10. props: {
  11. stationCode: {
  12. type: String,
  13. default: null
  14. }
  15. },
  16. data() {
  17. return {
  18. }
  19. },
  20. methods: {
  21. //跳转到换电指南页面
  22. goNovice() {
  23. uni.redirectTo({
  24. url: `/pages/public/novice?stationCode=${this.stationCode}`
  25. })
  26. },
  27. }
  28. }
  29. </script>
  30. <style lang="scss" scoped>
  31. .novice-guidance-go {
  32. width: 108rpx;
  33. height: 110.59rpx;
  34. position: fixed;
  35. top: 700rpx;
  36. right: 36rpx;
  37. }
  38. </style>