<!-- 账号设置 -->
<!--pages/accountSettings/accountSettings.wxml-->

<view class="set-accout">

  <!-- 用户名 -->
  <view class="set-accout-item">
    <text class="item-tit" decode="{{true}}">登录账号:</text>
    <input type="text" bindinput="bindMobileInt" class="item-input" maxlength="11" placeholder="请输入手机号"></input>
    <!-- 微信获取手机号码 -->
    <!-- <view class="userphone clearfix">
      <view class="show-num" wx:if="phoneNumber != ''">{{phoneNumber}}</view>
      <button class="get-userphone-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">点击获取手机号</button>
    </view> -->
  </view>

  <!-- 验证码 -->
  <view class="set-accout-item validcode">
	  <text class="item-tit" decode="true">验&ensp;证&ensp;码:</text>
    <input
        class="item-input valid-input"
        type="text"
        bindinput="bindValidCodeInt"
        placeholder="请输入验证码"/>
    <text class="send-code {{count >= 1 || !count ? 'defaulut-btn' : ''}}" wx-if="{{show}}" bindtap="getValidCode">获取验证码</text>
    <text wx-if="{{!show}}" class="send-code" style="cursor: not-allowed;">{{count}} s</text>
  </view>
  
  <!-- 密码 -->
  <view class="set-accout-item">
    <text class="item-tit" decode="{{true}}">设置密码:</text>
    <input type="password" bindinput="bindPasswordInt" class="item-input" placeholder="请设置6-12位登录密码"></input>
  </view>

  <!-- 确认密码 -->
  <view class="set-accout-item">
    <text class="item-tit" decode="{{true}}">确认密码:</text>
    <input type="password" bindinput="bindConfirmPasswordInt" class="item-input" placeholder="请再次输入密码"></input>
  </view>

  <!-- 确认 -->
  <view class="confirm">
    <view class="confirm-btn" bindtap="accountSettingsSubmit">确认</view>
  </view>


    <!-- tips -->
  <view class="tips-main">
    <view class="tips">提示：请用上面的账号密码在PC端打开店铺管理中心进行登录。商家管理端地址 http://b2b2c-multishop.gz-yami.com</view>
  </view>
    

</view>