wxml
<view wx:if="{{wallets_password_flag}}" class="wallets-password"> <view class="input-content-wrap"> <view class="top"> <view catchtap="close_wallets_password" class="close">×view> <view class="txt">请输入支付密码view> <view catchtap="modify_password" class="forget">忘记密码view> view> <view class="actual_fee"> <span>¥span> <text>{{actual_fee/100}}text> view> <view catchtap="set_Focus" class="input-password-wrap"> <view class="password_dot"> <i wx:if="{{wallets_password.length>=1}}">i> view> <view class="password_dot"> <i wx:if="{{wallets_password.length>=2}}">i> view> <view class="password_dot"> <i wx:if="{{wallets_password.length>=3}}">i> view> <view class="password_dot"> <i wx:if="{{wallets_password.length>=4}}">i> view> <view class="password_dot"> <i wx:if="{{wallets_password.length>=5}}">i> view> <view class="password_dot"> <i wx:if="{{wallets_password.length>=6}}">i> view> view> view> <input bindinput="set_wallets_password" class="input-content" password type="number" focus="{{isFocus}}" maxlength="6" /> view>
wxss