<view class="page">
  <view class="page__bd">
    <view class="weui-toptips weui-toptips_warn" wx:if="{{showTopTips}}">错误提示</view>
    <view class="weui-cells__title">登录</view>
    <view class="weui-cells weui-cells_after-title" style="width: 750rpx; height: 303rpx; display: block; box-sizing: border-box">
      <view class="weui-cell weui-cell_input">
        <view class="weui-cell__hd">
          <view class="weui-label">用户名</view>
        </view>
        <view class="weui-cell__bd">
          <input class="weui-input" placeholder="请输入用户名" name="user_name" value="{{user_name}}" bindblur="userNameChange" />
        </view>
      </view>
      <view class="weui-cell weui-cell_input weui-cell_vcode">
        <view class="weui-cell__hd">
          <view class="weui-label">密码</view>
        </view>
        <view class="weui-cell__bd">
          <input password type="text" class="weui-input" placeholder="请输入密码" name="user_password" value="{{user_password}}" bindblur="userPasswordChange" />
        </view>
      </view>
    </view>
   
    <view class="weui-btn-area" bindtap="showLive" style="width: 750rpx; height: 190rpx; display: block; box-sizing: border-box; left: 0rpx; top: 0rpx">
      <button class="weui-btn" type="primary" style="width: 347rpx; height: 108rpx; display: block; box-sizing: border-box; left: -174rpx; top: -61rpx; position: relative">用户登陆</button>
    </view>
    <view class="weui-btn-area" bindtap="showpage">
      <button class="weui-btn" type="primary" style="width: 331rpx; height: 108rpx; display: block; box-sizing: border-box; left: 188rpx; top: -249rpx; position: relative">管理员登陆</button>
    </view>
     <view class="weui-cells__title"  style="position: relative; left: 0rpx; top: -79rpx">注册,忘记密码请联系qq:xx</view>
  </view>
</view>