|
...
|
...
|
@@ -2,18 +2,18 @@ import util from '../../utils/util'; |
|
|
|
import App from '../../utils/api';
|
|
|
|
Page({
|
|
|
|
data:{
|
|
|
|
remark:''
|
|
|
|
remark:'',
|
|
|
|
buttonbottom:60
|
|
|
|
},
|
|
|
|
onLoad(opt){
|
|
|
|
this.setData({
|
|
|
|
remark:opt.remark
|
|
|
|
remark:opt.remark,
|
|
|
|
})
|
|
|
|
this.remark=opt.remark;
|
|
|
|
this.getlabellist();
|
|
|
|
},
|
|
|
|
inputremark(e){
|
|
|
|
this.remark=util.trim(e.detail.value)
|
|
|
|
console.log(e)
|
|
|
|
},
|
|
|
|
selectlabel(e){
|
|
|
|
let name=e.currentTarget.dataset.name;
|
|
...
|
...
|
@@ -37,9 +37,10 @@ Page({ |
|
|
|
console.log(this.remark,this.remark.length)
|
|
|
|
},
|
|
|
|
inputblur(e){
|
|
|
|
console.log(e)
|
|
|
|
console.log(e,'blur')
|
|
|
|
this.setData({
|
|
|
|
remark:this.remark
|
|
|
|
remark:this.remark,
|
|
|
|
buttonbottom:60
|
|
|
|
})
|
|
|
|
},
|
|
|
|
getlabellist(){
|
|
...
|
...
|
@@ -52,9 +53,14 @@ Page({ |
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
focusinput(e){
|
|
|
|
this.setData({
|
|
|
|
inputfocus:true,
|
|
|
|
buttonbottom:560
|
|
|
|
})
|
|
|
|
},
|
|
|
|
save(){
|
|
|
|
wx.setStorageSync('remark',this.remark);
|
|
|
|
wx.navigateBack();
|
|
|
|
},
|
|
|
|
|
|
|
|
}) |
|
|
\ No newline at end of file |
...
|
...
|
|