|
[FAQ]
引入TabLayout 页面背景图片不显示
[复制链接]
</view>
</template>
<script>
export default {
name: 'tpl',
components: {},
apiready(){//like created
},
data() {
return{
}
},
methods: {
}
}
</script>
<style>
.page {
height: 100%;
background:url(../../image/hbg2.png) no-repeat;
background-size:100% 100%;
}
</style>
路径没问题的,因为直接预览可以直接显示,但只要加了TabLayout 运行就不显示背景图片
|
|