<!--pages/deviceRoter1/deviceRoter1.wxml-->
<!--pages/deviceRoter0/deviceRoter0.wxml-->
<view class="deviceRoter deviceRoter1">
  <nav-bar bind:goBack="_goBack" nav-bgc-class="ex-nav-bgc-class" nav-title-class="ex-nav-title-class" ex-back-pre="ex-back-pre" navbar-data='{{nvabarData}}'>
  </nav-bar>
  <view class="roterps">
    <view class="devicePic">
      <image mode="widthFix" src="./../../img/e.png"></image>
    </view>
  </view>
  <view class="wifiInfo">
    <view class="ssid">
      <input placeholder="请输入WIFI名称" bindinput="setSsid" type="text" value="{{ssid}}" maxlength="30" />
    </view>
    <view class="ssid pwd" maxlength="30">
      <input wx:if="{{!isShowPwd}}" class="notShow" bindinput="setPwd" password="true" placeholder="请输入WiFi密码" value="{{pwdData}}" />
      <input wx:else class="isShow" bindinput="setPwd" placeholder="请输入WiFi密码" value="{{pwdData}}" />
      <view class="yz" bindtap="showPwd">
        <image mode="widthFix" src="./../../img/yj{{isShowPwd ? '1' : '0'}}.png"></image>
      </view>
    </view>
    <view class="ps" wx:if="{{is5GWifi}}">
      <image mode="widthFix" class="" src="./../../img/d.png"></image>
      <text>该WiFi可能为5GHz WiFi，设备无法连接，请切换其他WiFi</text>
    </view>
  </view>
  <view class="subBtn">
    <view class="btn" bindtap="next">
      下一步
    </view>
  </view>
</view>