<cover-view class= 'carnum' bindtap= 'keyboard' wx: if = '{{isFocus}}' >
<block wx: if = "{{boardcheck=='pro'}}" >
<block wx: for = '{{carnumone}}' wx:key= '{{index}}' >
<cover-view class= "carnumitemone {{index==31||index==32?'widone':''}}" data-intext= '{{item}}' >{{item}}</cover-view>
</block>
<!-- <cover-view class= 'carnumitemone' ></cover-view> -->
<cover-view class= 'carnumitemone widone' data-intext= '完成' >完成</cover-view>
</block>
<!-- </cover-view>
<cover-view class= 'carnum' bindtap= 'keyboard' wx: if = "{{boardcheck=='letter'}}" > -->
<block wx: if = "{{boardcheck=='letter'}}" >
<block wx: for = '{{carnumtwo}}' wx:key= '{{index}}' >
<cover-view class= "carnumitem {{index==30?'wid':''}}" data-intext= '{{item}}' >{{item}}</cover-view>
</block>
<cover-view class= 'carnumitem wid' data-intext= '完成' >完成</cover-view>
</block>
</cover-view>
js:
data值
carnumone: [ '京' , '津' , '沪' , '渝' , '冀' , '豫' , '云' , '辽' , '黑' , '湘' , '皖' , '鲁' , '新' , '苏' , '浙' , '赣' , '鄂' , '桂' , '甘' , '晋' , '蒙' , '陕' , '吉' , '闽' , '贵' , '粤' , '青' , '藏' , '川' , '宁' , '琼' , '删除' , '英文' , '使' , '领' , '挂' , '学' , '警' , '港' , '澳' ],
carnumtwo: [ '0' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' , 'Q' , 'W' , 'E' , 'R' , 'T' , 'Y' , 'U' , 'O' , 'P' , 'A' , 'S' , 'D' , 'F' , 'G' , 'H' , 'J' , 'K' , 'L' , 'Z' , '删' , '省份' , 'X' , 'C' , 'V' , 'B' , 'N' , 'M' ],
|
麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)