image-long.uvue 443 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <!-- #ifdef APP -->
  3. <scroll-view style="flex: 1;">
  4. <!-- #endif -->
  5. <image style="width: 100%;" src="/static/longPath.jpg" mode="widthFix" @load="load"></image>
  6. <!-- #ifdef APP -->
  7. </scroll-view>
  8. <!-- #endif -->
  9. </template>
  10. <script>
  11. export default {
  12. data() {
  13. return {
  14. }
  15. },
  16. methods: {
  17. load(event : ImageLoadEvent) {
  18. console.log("load event:", event)
  19. }
  20. }
  21. }
  22. </script>
  23. <style>
  24. </style>