<template>
<view class="max">
<image src="../../static/suodao.png" mode=""></image>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.max{
image{
z-index:-1;
width:100%;
height:100%;
position: fixed;
top:0;
}
}
</style>
uni-app设置页面背景及背景图片
Guess you like
Origin blog.csdn.net/m0_49714202/article/details/115896920
Recommended
Ranking