<template>
	<view class="full-page">
		<image
			v-if="globalImages"
			:src="globalImages + 'images/my/publicize.jpg'"
			mode="aspectFill"
			class="full-image"
		/>
	</view>
</template>

<script>
	import { waitForGlobalImages } from '@/utils/globalImageLoader'
	export default {
		data() {
			return {
				globalImages: ''
			}
		},
		onLoad() {
			waitForGlobalImages().then((path) => {
				console.log('✅ 全局图片路径:', path)
				this.globalImages = path
			})
		}
	}
</script>

<style scoped>
.full-page {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

.full-image {
	width: 100vw;
	height: 100vh;
}
</style>
