iPhone 8,iPhone se 页面白屏
发布于 5 年前 作者 gangdeng 2238 次浏览 来自 官方Issues

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{
 width100%;
 height100%;
}   

#luckdraw_back image{
 display: block;
 width100%;
 height100%;
 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;
 width100%;
 height100%;
}

#luckdraw_box {
  margin-top200rpx;
}
.hide-phone{
  position: relative;
  top: -145rpx;
  opacity0;
}
1 回复

图片没法访问,建议写个可复现问题的代码片段。

https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

回到顶部