<template>
<view class="content">
<view class="text-area">
<text class="title">{{title}}</text>
</view>
<image class="logo" src="/static/logo.png"></image>
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
console.log('onLoad')
},
onReachBottom() {
console.log('onReachBottom')
},
methods: {
}
}
</script>
<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
height: 800px;
background-color: red;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
</style>
FE_liyangyang (作者)
你看下复现视频
2024-08-08 16:10
FE_liyangyang (作者)
下边的评论里
2024-08-08 16:10
FE_liyangyang (作者)
我也是用的3.32.0.2,ios、开发者工具都没问题,就我这个安卓不可以
2024-08-08 16:11