You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
1.2 KiB

<view class="xt__verify-code data-v-f3a6312a"><input class="xt__input data-v-f3a6312a" id="xt__input" focus="{{isFocus}}" password="{{isPassword}}" type="{{inputType}}" maxlength="{{itemSize}}" data-event-opts="{{[['input',[['input',['$event']]]],['focus',[['inputFocus',['$event']]]],['blur',[['inputBlur',['$event']]]]]}}" value="{{code}}" bindinput="__e" bindfocus="__e" bindblur="__e"/><block wx:if="{{cursorVisible&&type!=='middle'}}"><view class="xt__cursor data-v-f3a6312a" style="{{'left:'+(codeCursorLeft[$root.g0]+'px')+';'+('height:'+(cursorHeight+'px')+';')+('background-color:'+(cursorColor)+';')}}" id="xt__cursor"></view></block><view class="xt__input-ground data-v-f3a6312a" id="xt__input-ground"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['data-v-f3a6312a','xt__box','xt__box-'+(type+''),'xt__box::after']}}" style="{{'border-color:'+(item.g1?boxActiveColor:boxNormalColor)+';'}}"><block wx:if="{{type==='middle'&&!code[index]}}"><view class="xt__middle-line data-v-f3a6312a" style="{{'border-color:'+(boxActiveColor)+';'}}"></view></block><text class="xt__code-text data-v-f3a6312a">{{item.f0}}</text></view></block></view></view>