index.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <!--
  3. <div class="youwei-trace-page" :style="{ height: `calc(100vh - ${tabBarHeight}px)` }">
  4. <empty
  5. image="https://birdseye-img.sysuimars.com/birdseye-look-mini/custom-empty-image.png"
  6. image-size="80"
  7. description="该页面正在升级,敬请期待..."
  8. />
  9. </div>
  10. -->
  11. <div class="youwei-trace-page" :style="{ height: `calc(100vh - ${tabBarHeight}px)` }">
  12. <img
  13. class="trace-long-img"
  14. src="https://birdseye-img.sysuimars.com/birdseye-look-vue/zj/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20260407220906_3750_42.png"
  15. alt="有味溯源"
  16. />
  17. </div>
  18. </template>
  19. <script setup>
  20. // import { computed } from "vue";
  21. // import { useStore } from "vuex";
  22. // import { Empty } from "vant";
  23. //
  24. // const store = useStore();
  25. // const tabBarHeight = computed(() => store.state.home.tabBarHeight);
  26. import { computed } from "vue";
  27. import { useStore } from "vuex";
  28. const store = useStore();
  29. const tabBarHeight = computed(() => store.state.home.tabBarHeight);
  30. </script>
  31. <style scoped lang="scss">
  32. /*
  33. .youwei-trace-page {
  34. width: 100%;
  35. height: 100%;
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. box-sizing: border-box;
  40. }
  41. */
  42. .youwei-trace-page {
  43. width: 100%;
  44. height: 100%;
  45. overflow-y: auto;
  46. -webkit-overflow-scrolling: touch;
  47. background: #ffffff;
  48. }
  49. .trace-long-img {
  50. width: 100%;
  51. height: auto;
  52. display: block;
  53. }
  54. </style>