收藏
回答

background-color 不能覆盖全部,有点白底

问题模块 框架类型 问题类型 操作系统 操作系统版本 手机型号 微信版本
客户端 小程序 Bug Android MIUI9.5 小米6 6.6.6

屏幕背景没有能全部覆盖,主要是开始不在屏幕的内容


最后一次编辑于  2018-05-20  (未经腾讯允许,不得转载)
邀请回答
复制链接收藏关注问题回答

5 个回答

  • 啊展
    啊展
    2018-05-21

    page{background-color}

    2018-05-21
    赞同
    回复 1
    • 挣钱去🕶
      挣钱去🕶
      2018-07-22

      <view class="page" style='padding:40rpx;background-color:{{color}};height:100vh;color:#ffffff'>

      已经设置了的

      2018-07-22
      赞同
      回复
  • 娇华
    娇华
    2018-05-21

    你好,是只有小米6有这个不能全部覆盖的问题吗?麻烦给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题

    2018-05-21
    赞同
    回复 2
    • 挣钱去🕶
      挣钱去🕶
      2018-05-23
      <view class="page" style='padding:40rpx;background-color:{{color}};height:100vh;color:#ffffff'> <view wx:if='{{flag}}'> <view class="userinfo" wx:if='{{order.status == 0}}'> <text style='padding:5rpx;font-size: 60px;'>预约成功</text> <text class="userinfo-nickname" style='padding:5rpx;'>{{order.corporName}}</text> </view> <view class="userinfo" wx:if='{{order.status == 1}}'> <text style='padding:-10rpx;font-size: 110rpx;line-height:110rpx;text-algin:center;' wx:if='{{order.win_name}}'>{{order.win_name}}</text> <text style='padding:0px;font-size: 60px;' wx:else>已签到</text> <text class="userinfo-nickname" style='padding:5rpx;'>{{order.corporName}}</text> </view> <view class="userinfo" wx:if='{{order.status == 2}}'> <text style='padding:5rpx;font-size: 60px;'>{{time}}</text> <text class="userinfo-nickname" style='padding:5rpx;'>{{order.corporName}}</text> </view> <view class="userinfo" wx:if='{{order.status == 3}}'> <text style='padding:5rpx;font-size: 60px;'>已撤销</text> <text class="userinfo-nickname" style='padding:5rpx;'>{{order.corporName}}</text> </view> <view class="userinfo" wx:if='{{order.status == 4}}'> <text style='padding:5rpx;font-size: 60px;'>超时处置</text> <text class="userinfo-nickname" style='padding:5rpx;'>{{order.corporName}}</text> </view> <view class="weui-cells weui-cells_after-title" style='background-color:{{color}};'> <view class="weui-cell" wx:if='{{order.check_date>0}}'> <view class="weui-cell__bd" style='color:black;'>预约日期</view> <view class="weui-cell__ft" style='color:black;'>{{order.check_date}}日前</view> </view> <view class="weui-cell"> <view class="weui-cell__bd">车牌</view> <view class="weui-cell__ft">{{order.carno}}</view> </view> <view class="weui-cell"> <view class="weui-cell__bd">预约时段</view> <view class="weui-cell__ft">{{order.date}} {{order.start_t}}-{{order.end_t}}</view> </view> <view class="weui-cell" wx:if='{{order.sign_in}}'> <view class="weui-cell__bd" wx:if='{{order.st>0 && order.et>0}}'>签到时间</view> <view class="weui-cell__bd" wx:else style='color:black'>签到时间</view> <view class="weui-cell__ft" wx:if='{{order.st>0 && order.et>0}}'>{{order.sign_in}}</view> <view class="weui-cell__ft" wx:else style='color:black'>{{order.sign_in}}</view> </view> <view class="weui-cell" wx:if='{{order.sign_out}}'> <view class="weui-cell__bd">签出时间</view> <view class="weui-cell__ft">{{order.sign_out}}</view> </view> <view class="weui-cell" wx:if='{{order.se}}'> <view class="weui-cell__bd">耗时</view> <view class="weui-cell__ft">{{order.se}}分钟</view> </view> <view class="weui-cell" wx:if='{{order.status==2 }}'> <view class="weui-cell__bd">状态</view> <view class="weui-cell__ft">签出了</view> </view> <view class="weui-cell" wx:if='{{order.status==2 }}'> <view class="weui-cell__bd">业务窗口</view> <view class="weui-cell__ft">{{order.win_name}}</view> </view> </view> <view style='text-align:center;margin:20rpx;'> <form bindsubmit="sign_in" report-submit="true" wx:if='{{order.status==0}}'> <button formType="submit" bindconfirm="sign_in" type="primary" size='mini'> 点击签到 </button> </form> <form bindsubmit="sign_out" report-submit="true" wx:if='{{order.status==1}}'> <button formType="submit" bindconfirm="sign_out" type="primary" size='mini'> 点击签出 </button> </form> </view> <view class="weui-cells weui-cells_after-title" style='background-color:{{color}};'> <view class="weui-cell" wx:for='{{order.list}}'> <view class="weui-cell__bd">{{index+1}}/{{item.carno}}</view> <view class="weui-cell__ft">{{item.t}}</view> </view> </view> </view> <view wx:else> <view class="userinfo" style='padding:60rpx;color:black;'> <icon type="search" size="120" /> <text class="userinfo-nickname">{{msg}}</text> </view> </view> </view>
      2018-05-23
      赞同
      回复
    • 娇华
      娇华
      2018-05-23回复挣钱去🕶
      代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),按照这里来提供分享链接啊
      2018-05-23
      赞同
      回复