<view class="selectwifi_bg"></view>
<view class="selectwifi">
    <view class="selectwifi_title">选择WI-FI</view>
    <view class="selectwifi_text">此设备只支持使用2.4GHz Wi-Fi连接使用</view>
    <view class="selectwifi_form">
        <form bind:submit="handleSubmit" id="formwifi" >
            <view class="row">
                <input class="row_input" name="wifi" placeholder="请输入Wi-Fi名称" />
                <view class="row_button" bind:tap="selectWifi">选择Wi-Fi</view>
            </view>
            <view class="row">
                <input class="row_input" name="password" type="{{eyes ? 'text' : 'password'}}" placeholder="请输入密码" />
                <view class="row_icon img_box" bind:tap="changeEyes">
                    <image mode="widthFix" lazy-load="true" src="{{eyes ? '/assets/images/xian/icon_eyes.png' : '/assets/images/xian/icon_close.png'}}" />
                </view>
            </view>
            <view class="row_tip">Wi-Fi密码输入错误是最常见的失败原因之一, 请仔细检查Wi-Fi密码。</view>
            <view class="row_btn">
                <button form-type="submit" id="triggerBtn" data-info="下一步" type="primary" class="submit-btn">下一步</button>
            </view>
        </form>
    </view>
</view>
