Files
danyang-match/miniapp/pages/login/login.wxml
T

31 lines
831 B
Plaintext

<!-- 登录页 -->
<view class="page">
<view class="logo-area">
<view class="logo-icon">💕</view>
<view class="brand-name">{{platformName}}</view>
<view class="slogan">{{slogan}}</view>
</view>
<view class="login-content">
<button
class="login-btn {{loggingIn ? 'loading' : ''}}"
bindtap="onLoginTap"
loading="{{loggingIn}}"
disabled="{{loggingIn}}"
>
微信一键登录
</button>
<view class="login-hint" wx:if="{{error}}">
<text class="error-text">{{error}}</text>
</view>
<view class="login-agreement">
<text>登录即表示同意</text>
<text class="link" bindtap="onViewPrivacy">《隐私政策》</text>
<text>和</text>
<text class="link" bindtap="onViewTerms">《用户协议》</text>
</view>
</view>
</view>