iPhone 8,iPhone se 页面白屏
iPhone 8 iOS 13.6 页面白屏 可以调接口
<view class="container">
<view id="luckdraw_box">
<view id="luckdraw_back">
<image style='transform:rotate({{ change_angle}}deg)' mode="scaleToFill" src="/resources/images/circle.png"></image>
</view>
<view id="luckdraw_pointer" >
<image mode="scaleToFill" bindtap='luckDrawStart' src="/resources/images/needle.png"></image>
<button wx:if="{{!isRegisted}}" open-type="getPhoneNumber" class="hide-phone"
bindgetphonenumber="getPhoneNumber">注册</button>
</view>
</view>
</view>
wxss
#luckdraw_box{
width:531rpx;
height:531rpx;
margin:0 auto;
position:relative;
}
#luckdraw_back{
width: 100%;
height: 100%;
}
#luckdraw_back image{
display: block;
width: 100%;
height: 100%;
transform-origin:center center;
}
#luckdraw_pointer{
width:174rpx;
height:228rpx;
position:absolute;
left:178.5rpx;
z-index:999;
top:132.5rpx;
}
#luckdraw_pointer image{
display: block;
width: 100%;
height: 100%;
}
#luckdraw_box {
margin-top: 200rpx;
}
.hide-phone{
position: relative;
top: -145rpx;
opacity: 0;
}
1 回复