|
|
@ -113,11 +113,6 @@ Component({ |
|
|
this.data.touchEndy = e.touches[0].pageY-this.data.topHeight; |
|
|
this.data.touchEndy = e.touches[0].pageY-this.data.topHeight; |
|
|
var lindex = parseInt(this.data.touchEndy / this.data.rightheight * 26);//根据前面分析获取手指触摸位置在letters中的index值
|
|
|
var lindex = parseInt(this.data.touchEndy / this.data.rightheight * 26);//根据前面分析获取手指触摸位置在letters中的index值
|
|
|
var value = this.data.letter[lindex]; |
|
|
var value = this.data.letter[lindex]; |
|
|
if(value){ |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
cityListId: value |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|
|
|
this.titleDialog(value) |
|
|
this.titleDialog(value) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|