wujingjing
2024-08-08 a689b45a6f80460f9891cc5a346036a7e4c4c0b5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<view class="login-page" style="background:#027aff;">
  <!-- <view class="py-90 flex flex-col items-center" style="background:linear-gradient(#bcd8fa,#ffffff 100%) ;"> -->
 
  <view class="py-90 flex flex-col items-center">
 
    <image class="size-95" src="{{STATIC_FILE_BASE_URL+'/static/images/logo/logo-mini-white.svg'}}"></image>
    <text class="text-white">
      登录WI水务智能管家
    </text>
  </view>
  <view class="px-60 login-panel  bg-white" style="border-top-left-radius: 25rpx;border-top-right-radius: 25rpx;">
    <van-tabs model:active="{{ activeTab }}" bind:change="tabChange" tab-active-class="bg-gray-300">
      <van-tab name="account" title="账号登录">
        <van-cell-group>
          <van-field model:value="{{ user }}" placeholder="账号" />
          <van-field model:value="{{ password }}" placeholder="密码" border="{{ false }}" />
        </van-cell-group>
      </van-tab>
      <van-tab name="cellPhoneNumber" title="验证码登录">
        <van-cell-group>
          <van-field value="{{ user }}" placeholder="手机号码">
            <text slot="button" class="sms-send-btn font-bold font23">获取验证码</text>
          </van-field>
          <van-field value="{{ sms }}" center clearable label="" placeholder="请输入短信验证码" use-button-slot>
 
          </van-field>
        </van-cell-group>
      </van-tab>
 
    </van-tabs>
    <van-button custom-style="margin-top:60rpx" type="primary" color="#027aff" block bind:tap="login">登录</van-button>
  </view>
 
</view>