文件
OmniCard/mpuniapp/pages/component/image/image-long.uvue

20 行
420 B
Plaintext

<template>
<!-- #ifdef APP && !VUE3-VAPOR -->
<scroll-view style="flex: 1;">
<!-- #endif -->
<image style="width: 100%;" src="/static/test-image/longPath.jpg" mode="widthFix" @load="load"></image>
<!-- #ifdef APP && !VUE3-VAPOR -->
</scroll-view>
<!-- #endif -->
</template>
<script setup lang="uts">
function load(event : ImageLoadEvent) {
console.log("load event:", event)
}
</script>
<style>
</style>