btn: function() {
var that = this;
if (!this.data.show_centent) {
this.setData({
if_show: true,
show_centent: true
})
} else {
that.setData({
show_centent: false
})
setTimeout(function() {
that.setData({
if_show: false
})
}, 2000)
}
btn: function() {
var that = this;
if (!this.data.show_centent) {
this.setData({
if_show: true,
show_centent: true
})
} else {
that.setData({
show_centent: false
})
setTimeout(function() {
that.setData({
if_show: false
})
}, 2000)
}