```
<input type="text" placeholder="搜索国家或地区" placeholder-style="text-align:{{textAlign}}" placeholder-class="searchHolder" bindblur="blurSearch" bindfocus="focusSearch" bindinput='input' value='{{keyWord}}' bindconfirm="blurConfirm" focus='{{searchfocus}}' />
// 搜索输入框聚焦
focusSearch: function (e) {
var that = this;
that.setData({
textAlign: 'center'
})
},
// 搜索输入框失焦
blurSearch: function (e) {
var that = this;
if (e.detail.value == '') {
that.setData({
textAlign: 'center'
})
}
},
```
模拟器: v1.02.1804120
模拟器正常;
ios : 微信版本 v6.6.6
android: 微信版本 v6.6.5