index.vue 882 B

12345678910111213141516171819202122232425262728
  1. <route lang="json">
  2. { "style": { "navigationStyle": "custom" } }
  3. </route>
  4. <script setup lang="ts">
  5. const imgs = ref([
  6. 'https://image.zhuchaohui.com/zhucaohui/4e9c3301a40e9dd01ecb8b014b17c86f33c7ad5f5b80e4a5d3623050ec49dce9.png',
  7. 'https://image.zhuchaohui.com/zhucaohui/a1694f628e7c30df5f4a8fe4ab980e4740aa67c60e7e01466a53c98fd4ea5118.png',
  8. 'https://image.zhuchaohui.com/zhucaohui/198e4eebd45a7fa1bf013465622a0c36bd71ad85cbf4bf54350d7443ffcd6e1c.png',
  9. ])
  10. const handleClickLeft = () => {
  11. uni.navigateBack()
  12. }
  13. </script>
  14. <template>
  15. <div>
  16. <wd-navbar
  17. left-arrow
  18. fixed
  19. safe-area-inset-top
  20. custom-class="bg-transparent"
  21. title="筑巢荟公约"
  22. @click-left="handleClickLeft"
  23. ></wd-navbar>
  24. <template v-for="(it, i) in imgs" :key="i">
  25. <wd-img width="100%" :src="it" mode="widthFix"></wd-img>
  26. </template>
  27. </div>
  28. </template>