zuiXinBiZhi.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <view class="content">
  3. <view :style="{ paddingTop: statusBarHeight + 'px' }"></view>
  4. <view class="imgs mgt-40 flex fw_wrap" style="gap: 14rpx;">
  5. <image class="w-220 h-280 radio-16" mode="aspectFill"
  6. v-for="img in list" :src="img">
  7. </image>
  8. </view>
  9. </view>
  10. </template>
  11. <script setup>
  12. import { ref, onMounted } from "vue";
  13. import { onShow } from "@dcloudio/uni-app";
  14. var statusBarHeight = uni.getStorageSync('statusBarHeight')
  15. const list = ref([
  16. 'https://img0.baidu.com/it/u=15396030,1143539239&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',
  17. 'https://img2.baidu.com/it/u=1320672626,288218548&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',
  18. 'https://img0.baidu.com/it/u=1652113119,3226642753&fm=253&app=138&f=JPEG?w=1423&h=800',
  19. 'https://img0.baidu.com/it/u=3087392912,2682394042&fm=253&app=138&f=JPEG?w=1423&h=800',
  20. 'https://img1.baidu.com/it/u=3631027001,3666368042&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',
  21. 'https://img1.baidu.com/it/u=3637490291,2814538424&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800',
  22. 'https://img2.baidu.com/it/u=2114786151,2275385596&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
  23. ])
  24. </script>
  25. <style lang="scss" scoped>
  26. .content{
  27. min-height: 100vh;
  28. padding: 28rpx;
  29. background: linear-gradient(to bottom, #a9d4ff, #cce6ff);
  30. }
  31. </style>