|
|
|
@ -137,33 +137,25 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 未授权登录提示弹窗 --> |
|
|
|
<view wx:if="{{showAuthModal}}" class="modal-overlay" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 9999;"> |
|
|
|
<view class="modal-container" style="background: white; padding: 40rpx; border-radius: 16rpx; width: 80%; max-width: 500rpx; text-align: center;"> |
|
|
|
<view class="modal-title" style="font-size: 32rpx; font-weight: bold; margin-bottom: 30rpx; color: #333;"> |
|
|
|
<text>提示</text> |
|
|
|
</view> |
|
|
|
<view class="modal-content" style="font-size: 28rpx; color: #666; margin-bottom: 40rpx; line-height: 1.5;"> |
|
|
|
<text>请先登录后再预约商品</text> |
|
|
|
</view> |
|
|
|
<view class="modal-buttons"> |
|
|
|
<button class="primary-button" style="background-color: #1677ff; color: white; font-size: 28rpx; line-height: 80rpx; border-radius: 8rpx; margin-bottom: 20rpx;" bindtap="showOneKeyLogin">一键登录</button> |
|
|
|
<button class="cancel-button" style="background-color: #f5f5f5; color: #333; font-size: 28rpx; line-height: 80rpx; border-radius: 8rpx;" bindtap="closeAuthModal">取消</button> |
|
|
|
<view wx:if="{{showAuthModal}}" class="auth-modal-overlay"> |
|
|
|
<view class="auth-modal-container"> |
|
|
|
<view class="auth-modal-title">提示</view> |
|
|
|
<view class="auth-modal-content">请先登录后再操作</view> |
|
|
|
<view class="auth-modal-buttons"> |
|
|
|
<button class="auth-primary-button" bindtap="showOneKeyLogin">一键登录</button> |
|
|
|
<button class="auth-cancel-button" bindtap="closeAuthModal">取消</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 一键登录弹窗 --> |
|
|
|
<view wx:if="{{showOneKeyLoginModal}}" class="modal-overlay" style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 9999;"> |
|
|
|
<view class="modal-container" style="background: white; padding: 40rpx; border-radius: 16rpx; width: 80%; max-width: 500rpx; text-align: center;"> |
|
|
|
<view class="modal-title" style="font-size: 32rpx; font-weight: bold; margin-bottom: 30rpx; color: #333;"> |
|
|
|
<text>授权登录</text> |
|
|
|
</view> |
|
|
|
<view class="modal-content" style="font-size: 28rpx; color: #666; margin-bottom: 40rpx; line-height: 1.5;"> |
|
|
|
<text>请授权获取您的手机号用于登录</text> |
|
|
|
</view> |
|
|
|
<view class="modal-buttons"> |
|
|
|
<button class="primary-button" open-type="getPhoneNumber" bind:getphonenumber="onGetPhoneNumber" style="background-color: #1677ff; color: white; font-size: 28rpx; line-height: 80rpx; border-radius: 8rpx; margin-bottom: 20rpx;">授权获取手机号</button> |
|
|
|
<button class="cancel-button" style="background-color: #f5f5f5; color: #333; font-size: 28rpx; line-height: 80rpx; border-radius: 8rpx;" bindtap="closeOneKeyLoginModal">取消</button> |
|
|
|
<view wx:if="{{showOneKeyLoginModal}}" class="auth-modal-overlay"> |
|
|
|
<view class="auth-modal-container"> |
|
|
|
<view class="auth-modal-title">授权登录</view> |
|
|
|
<view class="auth-modal-content">请授权获取您的手机号用于登录</view> |
|
|
|
<view class="auth-modal-buttons"> |
|
|
|
<button class="auth-primary-button" open-type="getPhoneNumber" bind:getphonenumber="onGetPhoneNumber">授权获取手机号</button> |
|
|
|
<button class="auth-cancel-button" bindtap="closeOneKeyLoginModal">取消</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|