Commit eb87fa9c9626e2ac99a69a76a90c11a3cc957a5b

Authored by zhangyan
1 parent 3d2fba3e

常用备注input框在ios端聚焦重影问题

@@ -65,10 +65,12 @@ Page({ @@ -65,10 +65,12 @@ Page({
65 if(res.ret==200){ 65 if(res.ret==200){
66 this.setData({ 66 this.setData({
67 defineremark:'', 67 defineremark:'',
68 - focus:true  
69 }) 68 })
70 this.getlabellist(); 69 this.getlabellist();
71 } 70 }
  71 + this.setData({
  72 + focus:true
  73 + })
72 }) 74 })
73 }, 75 },
74 }) 76 })
@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 </view> 11 </view>
12 </block> 12 </block>
13 </block> 13 </block>
14 - <input class="black-font flex-cc font28r smooth label-input flex-cc" placeholder="添加备注" placeholder-class="gray-font font28r smooth flex-cc" maxlength="10" style="width:{{defineremark.length>4 ? (defineremark.length-4)*28+160 : 160}}rpx;" value="{{defineremark}}" bindinput="inputremark" focus="{{focus}}" cursor-spacing="160" bindblur="addinputlabel"/> 14 + <input class="black-font flex-cc font28r smooth label-input flex-cc" placeholder="添加备注" placeholder-class="smooth flex-cc" maxlength="10" style="width:{{defineremark.length>4 ? (defineremark.length-4)*28+160 : 160}}rpx;" value="{{defineremark}}" bindinput="inputremark" focus="{{focus}}" cursor-spacing="160" bindblur="addinputlabel" placeholder-style="color:#999;font-size:28rpx;"/>
15 </view> 15 </view>
16 <view class="label-title black-font font30r smooth">所有备注</view> 16 <view class="label-title black-font font30r smooth">所有备注</view>
17 <view class="label-list flex-rs"> 17 <view class="label-list flex-rs">