收藏
回答

小程序使用iPhone 7Plus手机浏览时,标题栏向下漂移了

问题类型 API/组件名称 AppID 操作系统 微信版本 基础库版本
Bug view form wxe8ce4f793f98d026 iOS 6.7.2 2.0.4

- 当前 Bug 的表现(可附上截图)



- 预期表现

标题在最顶端


- 复现路径


- 提供一个最简复现 Demo

小程序 -- 买哪个好 体验版

<!--page/addHouse/addHouse.wxml--> <!-- <text>page/addHouse/addHouse.wxml</text> --> <import src="../component/loadcomp.wxml"/> <import src="../component/overcomp.wxml"/> <import src="../component/successcomp.wxml"/> <view class="add-house"> <form bindsubmit="formSubmit" > <view class="select-house">基本信息</view> <view class="section"> <label>城市<text class="redC">*</text></label> <!-- <input name="CITY" type="text" placeholder="请输入城市名" /> --> <picker name="CITY" bindchange="bindCityPickerChange" value="{{cityIndex}}" range="{{cityArray}}"> <view> <text>{{cityArray[cityIndex]}}</text> </view> <image src="../../image/index/xiala.svg"></image> </picker> </view> <view class="section"> <label>楼盘名<text class="redC">*</text></label> <input name="NAME" type="text" placeholder="请输入楼盘名" focus="{{curCheckKey==='NAME'?true:false}}" /> </view> <view class="section"> <label>地址<text class="redC">*</text></label> <input name="LOCATION" type="text" placeholder="请输入地址" focus="{{curCheckKey==='LOCATION'?true:false}}"/> </view> <view class="section"> <label>楼层<text class="redC">*</text></label> <input name="FLOOR" type="number" placeholder="例如:12" focus="{{curCheckKey==='FLOOR'?true:false}}"/> </view> <view class="section"> <label>楼梯类型<text class="redC">*</text></label> <picker name="STAIR" bindchange="bindStairTypePickerChange" value="{{stairIndex}}" range="{{stairTypeArray}}"> <view> <text>{{stairTypeArray[stairIndex]}}</text> </view> <image src="../../image/index/xiala.svg"></image> </picker> </view> <view class="section"> <label>房屋类型<text class="redC">*</text></label> <!-- <input name="TYPE" type="text" placeholder="公寓/普通住宅/别墅/平房/其它" /> --> <picker name="TYPE" bindchange="bindHouseTypePickerChange" value="{{houseIndex}}" range="{{houseTypeArray}}"> <view> <text>{{houseTypeArray[houseIndex]}}</text> </view> <image src="../../image/index/xiala.svg"></image> </picker> </view> <view class="section"> <label>朝向</label> <input name="DIRECTION" type="text" placeholder="例如:坐北朝南" /> </view> <view class="section"> <label>面积(平方米)<text class="redC">*</text></label> <input name="AREA" type="number" placeholder="例如:120" focus="{{curCheckKey==='AREA'?true:false}}"/> </view> <view class="section"> <label>户型<text class="redC">*</text></label> <picker name="HOUSE_TYPE" bindchange="bindHouseKindPickerChange" value="{{kindIndex}}" range="{{houseKindArray}}"> <view> <text>{{houseKindArray[kindIndex]}}</text> </view> <image src="../../image/index/xiala.svg"></image> </picker> <!-- <input name="HOUSE_TYPE" type="text" placeholder="三房两厅一卫" focus="{{curCheckKey==='HOUSE_TYPE'?true:false}}"/> --> </view> <view class="section"> <label>是否学位房</label> <radio-group name="DEGREE" class="radio-group" bindchange="radioChange"> <label class="radio" wx:for="{{radioItems}}"> <radio value="{{item.name}}" checked="{{item.checked}}"/>{{item.value}} </label> </radio-group> </view> <view class="section"> <label>唯一物业</label> <radio-group name="ONLY_PROPERTY" class="radio-group" bindchange="radioChange"> <label class="radio" wx:for="{{radioItems}}"> <radio value="{{item.name}}" checked="{{item.checked}}"/>{{item.value}} </label> </radio-group> </view> <!-- <view class="section"> <label>唯一物业</label> <radio-group name="ONLY_PROPERTY" class="radio-group" bindchange="radioChange"> <label class="radio" wx:for="{{radioItems}}"> <radio value="{{item.name}}" checked="{{item.checked}}"/>{{item.value}} </label> </radio-group> </view> --> <view class="section"> <label>房龄(年)<text class="redC">*</text></label> <input name="HOUSE_YEAR" type="number" placeholder="例如:6" focus="{{curCheckKey==='HOUSE_YEAR'?true:false}}"/> </view> <view class="section"> <label>是否还清贷款<text class="redC">*</text></label> <radio-group name="IS_LOAN" class="radio-group" bindchange="radioChange"> <label class="radio" wx:for="{{radioItems}}"> <radio value="{{item.name}}" checked="{{item.checked}}"/>{{item.value}} </label> </radio-group> </view> <view class="select-house">交通情况</view> <view class="section"> <label>地铁</label> <input name="SUBWAY" type="text" placeholder="请输入地铁" /> </view> <view class="section"> <label>公交</label> <input name="BUS" type="text" placeholder="请输入公交" /> </view> <view class="select-other">补充说明</view> <view class="section"> <!-- <label>补充说明</label> --> <textarea name="TRAFFIC" auto-height placeholder="请输入补充说明" auto-focus style="min-height: 150rpx;" /> </view> <view class="select-house">室内环境</view> <view class="section"> <textarea name="INDOOR" auto-height placeholder="请输入室内环境" auto-focus style="min-height: 150rpx;" /> </view> <view class="select-house">小区环境</view> <view class="section"> <textarea name="VILLAGE" auto-height placeholder="请输入" auto-focus style="min-height: 150rpx;" /> </view> <view class="select-house">价格说明</view> <view class="section"> <label>销售总价(万元)</label> <input name="PRICE" type="text" placeholder="例如:200" /> </view> <view class="section"> <label>最低首付(万元)</label> <input name="DOWN_PAYMENT" type="text" placeholder="例如:60" /> </view> <view class="section"> <label>公积金贷款</label> <radio-group name="SUPPORT_LOAN" class="radio-group" bindchange="fundRadioChange"> <label class="radio" wx:for="{{radioItems}}"> <radio value="{{item.name}}" checked="{{item.checked}}"/>{{item.value}} </label> </radio-group> </view> <view class="select-house">联系方式</view> <view class="section"> <label>姓名<text class="redC">*</text></label> <input name="USERNAME" type="text" placeholder="请输入姓名" focus="{{curCheckKey==='USERNAME'?true:false}}" /> </view> <view class="section"> <label>电话<text class="redC">*</text></label> <input name="PHONE" type="number" placeholder="请输入电话" focus="{{curCheckKey==='PHONE'?true:false}}"/> </view> <view class="select-house">上传图片(最多四张)<text class="redC">*</text></view> <view class="upload-box"> <!-- 上传按钮 --> <view class="upload-box-view" catchtap="chooseImg"> <view class="upload-box-btn"> <image src="../../image/add_two.png"></image> </view> </view> <view wx:for="{{updateImg}}" class="upload-box-view"> <image class="upload-box-img" src="{{ item }}" data-img="{{ item }}" catchtap="preview"></image> <image class="upload-delete" src="../../image/delete.png" data-index="{{ index }}" catchtap="deleteimg"></image> </view> </view> <view class="btn-area"> <button formType="submit" type="warn">发布房源</button> </view> </form> </view> <template is="loadcomp" data="{{loaddata}}"></template> <template is="overcomp" data="{{overdata}}"></template> <template is="successcomp" data="{{successdata}}"></template>
回答关注问题邀请回答
收藏

3 个回答

  • 邓坤力
    邓坤力
    2018-10-12

    麻烦给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题

    2018-10-12
    有用
    回复
  • 2018-10-13

    代码片段如下:

    wechatide://minicode/NvV647mb7Y32

    2018-10-13
    有用
    回复
  • 疯狂的小辣椒
    疯狂的小辣椒
    2018-10-12

    你好,请提供一下出现问题的机型和微信版本,以及能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

    2018-10-12
    有用
    回复
登录 后发表内容