<view class="container">
  <image class="background-image" src="/assets/taddar/登录.png"></image>
  <view class="form-container">
    <!-- 欢迎语 -->
    <text class="welcome-message">欢迎来到登录</text>
    
    <!-- 用户名输入框 -->
    <input class="input" bindinput="inputUsername" placeholder="请输入您的用户名" />
    
    <!-- 密码输入框 -->
    <input class="input" bindinput="inputPassword" placeholder="请输入您的密码" type="password" />
    
    <!-- 登录按钮 -->
    <button class="btn" bindtap="login">登录</button>
    
    <!-- 错误消息 -->
    <text class="error">{{errorMessage}}</text>
  </view>
  
  <!-- 底部导航栏 -->
  <nav-tabar selected="{{selected}}"></nav-tabar>
</view>