Initial commit
This commit is contained in:
52
miniprogram/pages/login/login.wxml
Normal file
52
miniprogram/pages/login/login.wxml
Normal file
@@ -0,0 +1,52 @@
|
||||
<view class="login-page">
|
||||
<view class="login-bg">
|
||||
<view class="bg-blob blob1"></view>
|
||||
<view class="bg-blob blob2"></view>
|
||||
<view class="bg-blob blob3"></view>
|
||||
</view>
|
||||
|
||||
<view class="login-content">
|
||||
<view class="app-logo">
|
||||
<text class="logo-icon">🐾</text>
|
||||
<text class="logo-text">汪<text class="logo-accent">圈</text></text>
|
||||
<text class="logo-tagline">找到你们的共同话题</text>
|
||||
</view>
|
||||
|
||||
<view class="pet-row">
|
||||
<text>🐩</text><text>🐕</text><text>🐈</text><text>🦮</text><text>🐶</text>
|
||||
</view>
|
||||
|
||||
<view class="feature-list">
|
||||
<view class="feature-item">
|
||||
<text class="f-icon">📍</text>
|
||||
<text class="f-text">发现附近的宠物伙伴</text>
|
||||
</view>
|
||||
<view class="feature-item">
|
||||
<text class="f-icon">📸</text>
|
||||
<text class="f-text">分享毛孩子的日常故事</text>
|
||||
</view>
|
||||
<view class="feature-item">
|
||||
<text class="f-icon">💬</text>
|
||||
<text class="f-text">与同城铲屎官互动</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<button
|
||||
class="login-btn"
|
||||
open-type="getUserInfo"
|
||||
bindgetuserinfo="onGetUserInfo"
|
||||
wx:if="{{false}}"
|
||||
>微信一键登录</button>
|
||||
|
||||
<button
|
||||
class="login-btn"
|
||||
bindtap="onLogin"
|
||||
loading="{{loading}}"
|
||||
>
|
||||
<text wx:if="{{!loading}}">🐾 微信一键登录</text>
|
||||
<text wx:else>登录中...</text>
|
||||
</button>
|
||||
|
||||
<text class="privacy-tip">登录即同意<text class="link-text" bindtap="onPrivacy">《隐私政策》</text>和<text class="link-text" bindtap="onTerms">《用户协议》</text></text>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user