wineList-MiniApp/miniprogram/pages/login/login.wxml

25 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-05-15 14:30:16 +08:00
<!--pages/login/login.wxml-->
<view class="page-box" style="margin-top: 50%;">
<!-- <view class="img-part card-part" style="text-align:center">
<image mode="aspectFit" style="width: 250rpx;height: 250rpx;" src="../../assets/ico.jpg"></image>
</view>
<view class="title-part card-part">
<view class="title">东方蝴蝶</view>
<view class="more-info">使用当前微信登录</view>
</view> -->
<view class="img-part card-part" style="text-align:center">
<!-- <image mode="aspectFit" style="width: 250rpx;height: 250rpx;" src="../../assets/ico.jpg"></image> -->
<view class="tip">
点击下方头像位置获取微信头像
</view>
<button class="avatar-wrapper" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar" style="border-radius: 50%;">
<image class="avatar" mode="aspectFill" src="{{avatarUrl}}"></image>
</button>
<input type="nickname" class="weui-input" placeholder="点击获取微信昵称" model:value="{{nickName}}" />
</view>
<view class="btn-part">
<!-- <button class="buy-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">立即登录</button> -->
<button class="buy-btn" bindtap="toWXLogin">立即登录</button>
</view>
</view>