初始化

This commit is contained in:
乘风
2026-04-13 14:32:32 +08:00
parent b1cc4be1c2
commit 3cc33c7d7a
197 changed files with 17286 additions and 5095 deletions

View File

@@ -6,9 +6,9 @@
<text class="login-title">登录 卡若创业派对</text>
<text class="login-desc">{{desc}}</text>
<button id="agree-phone-btn" class="btn-wechat {{agreeProtocol ? '' : 'btn-wechat-disabled'}}" open-type="getPhoneNumber|agreePrivacyAuthorization" bindgetphonenumber="onPhoneLogin" bindagreeprivacyauthorization="onAgreePrivacy" disabled="{{isLoggingIn || !agreeProtocol}}" hover-class="btn-wechat-hover">
<text class="btn-wechat-icon"></text>
<text>{{isLoggingIn ? '登录中...' : '手机号一键登录'}}</text>
<button id="agree-phone-btn" class="btn-login {{agreeProtocol ? '' : 'btn-login-disabled'}}" open-type="getPhoneNumber|agreePrivacyAuthorization" bindgetphonenumber="onPhoneLogin" bindagreeprivacyauthorization="onAgreePrivacy" disabled="{{isLoggingIn || !agreeProtocol}}" hover-class="btn-login-hover">
<text class="btn-login-icon">📱</text>
<text>{{isLoggingIn ? '登录中...' : '手机号快捷登录'}}</text>
</button>
<view class="privacy-wechat-row" wx:if="{{showPrivacyModal}}">

View File

@@ -48,13 +48,13 @@
display: block;
margin-bottom: 48rpx;
}
.btn-wechat {
.btn-login {
display: flex;
align-items: center;
justify-content: center;
gap: 16rpx;
padding: 28rpx;
background: #07C160;
background: linear-gradient(135deg, #00CED1, #00B4D8);
color: #ffffff;
font-size: 30rpx;
font-weight: 600;
@@ -62,18 +62,12 @@
margin-bottom: 20rpx;
border: none;
}
.btn-wechat::after { border: none; }
.btn-wechat-icon {
width: 40rpx;
height: 40rpx;
background: rgba(255, 255, 255, 0.2);
border-radius: 8rpx;
font-size: 24rpx;
display: flex;
align-items: center;
justify-content: center;
.btn-login::after { border: none; }
.btn-login-icon {
font-size: 36rpx;
line-height: 1;
}
.btn-wechat-disabled { opacity: 0.6; }
.btn-login-disabled { opacity: 0.6; }
.login-modal-cancel {
margin-top: 24rpx;
padding: 24rpx;
@@ -96,7 +90,7 @@
.privacy-agree-btn {
width: 100%;
padding: 20rpx;
background: #07C160;
background: #00CED1;
color: #fff;
font-size: 28rpx;
border-radius: 16rpx;
@@ -136,5 +130,5 @@
}
/* 显式 hover 类名,避免基础库 3.x 报 hoverClass / hoverClassDisable 类型非法 */
.btn-wechat-hover { opacity: 0.92; }
.btn-login-hover { opacity: 0.92; }
.privacy-agree-btn-hover { opacity: 0.88; }