info.vue 919 字节
<template>
	<view>
		<view class="page-content">
			<image :mode="mode" :src="src"></image>
		</view>
	</view>
</template>

<script>
	//#ifdef H5
	const $h5 = require('@/static/js/h5-utils.js')
	//#endif

	export default {
		data() {
			return {
				title: '快乐8 横屏走势图',
				mode: 'widthFix',
				text: '快乐8 横屏走势图',
				src: 'https://img2.ydniu.com/app/cd/202204122204/%E5%BF%AB%E4%B9%908%E5%9F%BA%E6%9C%AC%E8%B5%B0%E5%8A%BF%E5%9B%BE.png'
			}
		},
		async onLoad(e) {
			//#ifdef H5
			if (e) {
				this.title = e.text
				this.text = e.text
				this.src = e.src

				uni.setNavigationBarTitle({
					title: this.title
				})
			}

			$h5.head_tv(this.src)
			//#endif
		},
		methods: {}
	}
</script>

<style scoped>
	.page-content {
		top: 50px;
		width: 100vw;
		padding: 10px 5vw;

	}

	.page-content image {
		width: 90vw;
	}
</style>