Commit 40130f36dcdb0eb6ac27791016f4c299f5d01388

Authored by wangfan
2 parents 51695bad 7cee7d1b

Merge remote-tracking branch 'origin/master'

@@ -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">