修改配色,修改功能

This commit is contained in:
2026-02-08 15:43:32 +08:00
parent 17e32d7cc1
commit fa1a8e083e
14 changed files with 441 additions and 119 deletions

View File

@@ -13,8 +13,9 @@
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "道棋百宝箱",
"navigationBarBackgroundColor": "#ffffff"
"navigationBarBackgroundColor": "#EBF4F8"
},
"style": "v2",
"componentFramework": "glass-easel"
"componentFramework": "glass-easel",
"lazyCodeLoading": "requiredComponents"
}

View File

@@ -1,5 +1,5 @@
{
"navigationBarTitleText": "科学计算器",
"navigationBarBackgroundColor": "#1c1c1e",
"navigationBarTextStyle": "white"
"navigationBarBackgroundColor": "#EBF4F8",
"navigationBarTextStyle": "black"
}

View File

@@ -8,9 +8,27 @@ Page({
waitingForSecondOperand: false,
isScientific: false,
showHistory: false,
showHelp: false,
historyList: [] as Array<{expression: string, result: string}>
},
onShareAppMessage() {
return {
title: '便捷好用的科学计算器',
path: '/pages/calculator/calculator'
}
},
onShareTimeline() {
return {
title: '便捷好用的科学计算器'
}
},
toggleHelp() {
this.setData({ showHelp: !this.data.showHelp });
},
onLoad() {
// 从本地存储恢复历史记录
const saved = wx.getStorageSync('CALC_HISTORY');
@@ -34,6 +52,15 @@ Page({
});
},
switchMode(e: any) {
const mode = e.currentTarget.dataset.mode;
const isSci = (mode === 'scientific');
if (this.data.isScientific !== isSci) {
this.vibrate();
this.setData({ isScientific: isSci });
}
},
onDigit(e: any) {
this.vibrate();
const digit = e.currentTarget.dataset.digit;

View File

@@ -1,5 +1,42 @@
<!--pages/calculator/calculator.wxml-->
<view class="calculator-container">
<!-- 帮助说明面板 -->
<view class="history-panel {{showHelp ? 'show' : ''}}" catchtouchmove="preventTouchMove" style="z-index: 200;">
<view class="history-mask" bindtap="toggleHelp"></view>
<view class="history-content help-content">
<view class="history-header">
<text class="history-title">使用说明</text>
<text class="history-clear" bindtap="toggleHelp">关闭</text>
</view>
<scroll-view scroll-y class="history-list help-list">
<view class="help-section">
<view class="help-item">
<text class="help-icon">⚗️</text>
<view class="help-text">
<text class="help-h1">科学模式</text>
<text class="help-p">点击左上角“科学”按钮切换模式,支持三角函数(sin, cos, tan)、对数(log, ln)、指数(x²)、开方(√)等高级运算。</text>
</view>
</view>
<view class="help-item">
<text class="help-icon">🕐</text>
<view class="help-text">
<text class="help-h1">历史记录</text>
<text class="help-p">点击时钟图标查看过往计算记录,点击某条记录可将其结果填入当前计算。</text>
</view>
</view>
<view class="help-item">
<text class="help-icon">📋</text>
<view class="help-text">
<text class="help-h1">复制结果</text>
<text class="help-p">点击剪贴板图标可将当前显示结果复制到系统剪贴板。</text>
</view>
</view>
<button class="share-btn-large" open-type="share">分享给好友</button>
</view>
</scroll-view>
</view>
</view>
<!-- 历史记录面板 -->
<view class="history-panel {{showHistory ? 'show' : ''}}" catchtouchmove="preventTouchMove">
<view class="history-mask" bindtap="toggleHistory"></view>
@@ -28,8 +65,9 @@
<!-- 显示区域 -->
<view class="display-area">
<view class="display-top-bar">
<view class="mode-indicator" bindtap="toggleMode">
<text class="{{isScientific ? 'active' : ''}}">⚗️ 科学</text>
<view class="mode-indicator">
<text class="{{!isScientific ? 'active' : ''}}" bindtap="switchMode" data-mode="normal">常用</text>
<text class="{{isScientific ? 'active' : ''}}" bindtap="switchMode" data-mode="scientific">科学</text>
</view>
<view class="top-actions">
<view class="action-btn" bindtap="toggleHistory" hover-class="action-btn-hover" hover-stay-time="100">
@@ -38,6 +76,9 @@
<view class="action-btn" bindtap="copyResult" hover-class="action-btn-hover" hover-stay-time="100">
<text class="action-icon">📋</text>
</view>
<view class="action-btn" bindtap="toggleHelp" hover-class="action-btn-hover" hover-stay-time="100">
<text class="action-icon">❓</text>
</view>
</view>
</view>
<view class="history-text">{{history}}</view>

View File

@@ -38,42 +38,55 @@ page {
display: flex;
justify-content: space-between;
align-items: center;
z-index: 10;
}
.top-actions {
display: flex;
gap: 16rpx;
gap: 20rpx;
}
.action-btn {
width: 64rpx;
height: 64rpx;
width: 72rpx;
height: 72rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(17, 97, 107, 0.1); /* Color 01 with opacity */
background: #ffffff;
box-shadow: 0 4rpx 12rpx rgba(17, 97, 107, 0.15); /* Teal shadow */
}
.action-icon {
font-size: 30rpx;
font-size: 36rpx;
color: #11616B; /* Color 01 */
}
/* 模式切换 */
.mode-indicator {
display: flex;
background: #ffffff;
padding: 6rpx;
border-radius: 16rpx; /* Reduced radius */
box-shadow: 0 4rpx 12rpx rgba(17, 97, 107, 0.1);
}
.mode-indicator text {
color: #7BBDB6; /* Color 02 text */
font-size: 24rpx;
padding: 10rpx 24rpx;
border-radius: 30rpx;
background: rgba(123, 189, 182, 0.2); /* Color 02 bg */
color: #7BBDB6; /* Color 02 */
font-size: 26rpx;
padding: 10rpx 30rpx;
border-radius: 12rpx; /* Reduced radius */
background: transparent;
border: none;
font-weight: 500;
transition: all 0.2s ease;
}
.mode-indicator text.active {
color: #11616B; /* Color 01 text */
background: rgba(17, 97, 107, 0.15); /* Color 01 bg */
color: #ffffff;
background: #11616B; /* Color 01 */
font-weight: 600;
box-shadow: 0 2rpx 8rpx rgba(17, 97, 107, 0.2);
}
/* 表达式行 */
@@ -260,7 +273,7 @@ page {
position: relative;
z-index: 101;
background: #EBF4F8; /* Color 03 */
border-radius: 0 0 36rpx 36rpx;
border-radius: 0 0 16rpx 16rpx; /* Reduced radius */
max-height: 70vh;
display: flex;
flex-direction: column;
@@ -306,25 +319,25 @@ page {
.history-item {
padding: 28rpx 40rpx;
border-bottom: 1rpx solid rgba(255,255,255,0.05);
border-bottom: 1rpx solid rgba(17, 97, 107, 0.08); /* Darker border for light bg */
display: flex;
flex-direction: column;
align-items: flex-end;
}
.history-item:active {
background: rgba(255,255,255,0.06);
background: rgba(17, 97, 107, 0.05); /* Dark interaction state */
}
.history-expr {
color: rgba(255,255,255,0.45);
color: rgba(17, 97, 107, 0.6); /* Color 01 faded - Visible on light bg */
font-size: 26rpx;
margin-bottom: 8rpx;
font-family: -apple-system, 'SF Pro Display', monospace;
}
.history-result {
color: #ffffff;
color: #11616B; /* Color 01 - Visible High Contrast */
font-size: 42rpx;
font-weight: 500;
font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
@@ -344,6 +357,67 @@ page {
opacity: 0.5;
}
/* Help Panel Styles */
.help-list {
padding: 0; /* padding moved to inner section to avoid scroll-view width issues */
}
.help-section {
display: flex;
flex-direction: column;
gap: 40rpx;
padding: 30rpx 40rpx 60rpx; /* Apply padding here */
box-sizing: border-box;
}
.help-item {
display: flex;
gap: 24rpx;
align-items: flex-start;
}
.help-icon {
font-size: 44rpx;
width: 60rpx;
text-align: center;
padding-top: 4rpx;
}
.help-text {
flex: 1;
display: flex;
flex-direction: column;
}
.help-h1 {
font-size: 30rpx;
font-weight: bold;
color: #11616B; /* Color 01 */
margin-bottom: 12rpx;
}
.help-p {
font-size: 26rpx;
color: #2d3436;
line-height: 1.6;
opacity: 0.8;
}
.share-btn-large {
background-color: #11616B !important; /* Color 01 */
color: white !important;
border-radius: 16rpx !important; /* Unified radius */
font-size: 30rpx !important;
font-weight: 500 !important;
margin-top: 20rpx;
width: 100% !important;
box-shadow: 0 8rpx 20rpx rgba(17, 97, 107, 0.25);
display: flex;
align-items: center;
justify-content: center;
padding: 24rpx 0;
}
/* ========== 小屏适配 ========== */
@media (max-width: 360px) {
.btn {

View File

@@ -1,6 +1,6 @@
{
"usingComponents": {},
"navigationBarTitleText": "日期计算与农历转换",
"navigationBarBackgroundColor": "#f5f6fa",
"navigationBarBackgroundColor": "#EBF4F8",
"navigationBarTextStyle": "black"
}

View File

@@ -34,7 +34,27 @@ Page({
todayLunar: '',
todayGanZhi: '',
todayAnimal: '',
todayTerm: ''
todayTerm: '',
showHelp: false
},
onShareAppMessage() {
return {
title: '实用的日期推算与农历转换工具',
path: '/pages/date-calc/date-calc'
}
},
onShareTimeline() {
return {
title: '实用的日期推算与农历转换工具'
}
},
toggleHelp() {
this.setData({
showHelp: !this.data.showHelp
});
},
onLoad() {

View File

@@ -1,11 +1,49 @@
<!--pages/date-calc/date-calc.wxml-->
<view class="container">
<!-- 帮助说明面板 -->
<view class="history-panel {{showHelp ? 'show' : ''}}" catchtouchmove="preventTouchMove" style="z-index: 200;">
<view class="history-mask" bindtap="toggleHelp"></view>
<view class="history-content help-content">
<view class="history-header">
<text class="history-title">功能说明</text>
<text class="history-clear" bindtap="toggleHelp">关闭</text>
</view>
<scroll-view scroll-y class="history-list help-list">
<view class="help-section">
<view class="help-item">
<text class="help-icon">📅</text>
<view class="help-text">
<text class="help-h1">日期推算</text>
<text class="help-p">设定一个开始日期,输入往后(+)或往前(-)推算的天数,即可计算出目标日期。底部提供常用快捷按钮。</text>
</view>
</view>
<view class="help-item">
<text class="help-icon">⏳</text>
<view class="help-text">
<text class="help-h1">间隔计算</text>
<text class="help-p">选择两个日期,计算它们之间相差多少天,并自动换算为周数和月数。</text>
</view>
</view>
<view class="help-item">
<text class="help-icon">🌙</text>
<view class="help-text">
<text class="help-h1">农历转换</text>
<text class="help-p">支持公历(阳历)与农历(阴历)互转,并显示干支纪年、生肖、节气等传统信息。</text>
</view>
</view>
<button class="share-btn-large" open-type="share">分享给好友</button>
</view>
</scroll-view>
</view>
</view>
<!-- 顶部 Tab 切换 -->
<view class="tab-header">
<view class="tab-pill {{currentTab === 0 ? 'active' : ''}}" hover-class="tab-hover" bindtap="switchTab" data-index="{{0}}">日期推算</view>
<view class="tab-pill {{currentTab === 1 ? 'active' : ''}}" hover-class="tab-hover" bindtap="switchTab" data-index="{{1}}">间隔计算</view>
<view class="tab-pill {{currentTab === 2 ? 'active' : ''}}" hover-class="tab-hover" bindtap="switchTab" data-index="{{2}}">农历转换</view>
<view class="help-btn" bindtap="toggleHelp">❓</view>
</view>
<!-- ========== 模式1: 日期推算 ========== -->

View File

@@ -25,22 +25,23 @@ page {
/* ========== Tab 切换 ========== */
.tab-header {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
background: #dfe9ed; /* Slightly darker than page bg */
padding: 8rpx;
border-radius: 60rpx;
display: flex;
background: #ffffff; /* Changed to white */
padding: 6rpx;
border-radius: 16rpx; /* Reduced radius */
margin-bottom: 40rpx;
align-items: center;
gap: 8rpx;
gap: 4rpx; /* Reduced gap */
box-shadow: 0 4rpx 12rpx rgba(17, 97, 107, 0.1);
}
.tab-pill {
flex: 1;
text-align: center;
padding: 24rpx 0;
border-radius: 50rpx;
font-size: 28rpx;
color: #7f8c8d;
padding: 16rpx 8rpx; /* Added horizontal padding */
border-radius: 12rpx; /* Reduced radius */
font-size: 24rpx; /* Reduced font size to create more space */
color: #7BBDB6; /* Color 02 */
font-weight: 500;
white-space: nowrap;
transition: all 0.2s ease;
@@ -48,11 +49,155 @@ page {
z-index: 1;
}
.help-btn {
width: 64rpx; /* Reduced width */
height: 64rpx; /* Reduced height */
display: flex;
align-items: center;
justify-content: center;
font-size: 36rpx;
color: #11616B;
}
/* Modal Styles Copied & Adapted */
.history-panel {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
opacity: 0;
transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
pointer-events: none;
visibility: hidden;
}
.history-panel.show {
z-index: 1000;
opacity: 1;
pointer-events: auto;
visibility: visible;
}
.history-mask {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(4px);
}
.history-content {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: #EBF4F8; /* Color 03 */
border-radius: 36rpx 36rpx 0 0;
max-height: 80vh;
display: flex;
flex-direction: column;
box-shadow: 0 -8rpx 30rpx rgba(17, 97, 107, 0.15);
transform: translateY(100%);
transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.history-panel.show .history-content {
transform: translateY(0);
}
.history-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 36rpx 40rpx;
border-bottom: 2rpx solid rgba(17, 97, 107, 0.1);
}
.history-title {
color: #11616B; /* Color 01 */
font-size: 34rpx;
font-weight: 600;
letter-spacing: 1rpx;
}
.history-clear {
color: #DC8B70; /* Color 05 */
font-size: 28rpx;
padding: 8rpx 24rpx;
border-radius: 20rpx;
background: rgba(220, 139, 112, 0.15); /* Color 05 faint */
}
/* Help specific */
.help-list {
padding: 0;
}
.help-section {
display: flex;
flex-direction: column;
gap: 40rpx;
padding: 30rpx 40rpx 60rpx;
box-sizing: border-box;
}
.help-item {
display: flex;
gap: 24rpx;
align-items: flex-start;
}
.help-icon {
font-size: 44rpx;
width: 60rpx;
text-align: center;
padding-top: 4rpx;
}
.help-text {
flex: 1;
display: flex;
flex-direction: column;
}
.help-h1 {
font-size: 30rpx;
font-weight: bold;
color: #11616B; /* Color 01 */
margin-bottom: 12rpx;
}
.help-p {
font-size: 26rpx;
color: #2d3436;
line-height: 1.6;
opacity: 0.8;
}
.share-btn-large {
background-color: #11616B !important; /* Color 01 */
color: white !important;
border-radius: 16rpx !important;
font-size: 30rpx !important;
font-weight: 500 !important;
margin-top: 40rpx;
width: 100% !important;
box-shadow: 0 8rpx 20rpx rgba(17, 97, 107, 0.25);
display: flex;
align-items: center;
justify-content: center;
padding: 24rpx 0;
}
.tab-pill.active {
background: #11616B; /* Color 01 */
color: #ffffff;
font-weight: 600;
box-shadow: 0 4rpx 12rpx rgba(17, 97, 107, 0.3);
box-shadow: 0 2rpx 8rpx rgba(17, 97, 107, 0.2);
transform: none;
}
@@ -378,7 +523,7 @@ page {
align-items: center;
gap: 8rpx;
padding: 12rpx 24rpx;
border-radius: 30rpx;
border-radius: 12rpx; /* Reduced radius */
background: var(--primary-bg);
transition: all 0.2s;
border: 1rpx solid transparent; /* 防止抖动 */

View File

@@ -46,29 +46,6 @@
</view>
</view>
<!-- 功能亮点 -->
<view class="feature-highlights">
<view class="highlight-title">功能亮点</view>
<view class="highlight-list">
<view class="highlight-item">
<text class="highlight-dot">●</text>
<text>计算器支持基础四则运算和科学模式</text>
</view>
<view class="highlight-item">
<text class="highlight-dot">●</text>
<text>计算历史记录,随时回看</text>
</view>
<view class="highlight-item">
<text class="highlight-dot">●</text>
<text>日期推算与天数间隔计算</text>
</view>
<view class="highlight-item">
<text class="highlight-dot">●</text>
<text>公历农历互转,节日速查</text>
</view>
</view>
</view>
<!-- 推广/banner区域 -->
<view class="banner" bindtap="goToProfile" wx:if="{{false}}">
<view class="banner-text">

View File

@@ -18,74 +18,71 @@ page {
/* 顶部背景区 */
.header-bg {
width: 100%;
height: 380rpx;
height: 340rpx; /* Adjusted height */
background: #11616B; /* Color 01 - Solid Color */
border-bottom-left-radius: 48rpx;
border-bottom-right-radius: 48rpx;
border-bottom-left-radius: 0; /* Removed radius as requested */
border-bottom-right-radius: 0; /* Removed radius as requested */
padding: 40rpx;
padding-top: 100rpx;
box-sizing: border-box;
display: flex;
justify-content: center;
box-shadow: 0 12rpx 32rpx rgba(17, 97, 107, 0.25);
align-items: flex-start;
box-shadow: 0 4rpx 12rpx rgba(17, 97, 107, 0.15);
position: relative;
overflow: hidden;
}
.header-bg::after {
content: '';
position: absolute;
top: -80rpx;
right: -60rpx;
width: 240rpx;
height: 240rpx;
border-radius: 50%;
background: rgba(255,255,255,0.08);
pointer-events: none; /* Prevent blocking clicks */
}
/* Removed ::after pseudo-element to remove the large transparent circle */
.header-content {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20rpx;
height: 140rpx;
position: relative; /* Ensure z-index works */
z-index: 2; /* Ensure it is above the background decoration */
margin-top: 0;
height: auto;
position: relative;
z-index: 2;
}
.text-area {
display: flex;
flex-direction: column;
justify-content: center;
gap: 8rpx;
}
.greeting {
color: rgba(255, 255, 255, 0.85);
font-size: 26rpx;
margin-bottom: 10rpx;
color: rgba(255, 255, 255, 0.9);
font-size: 28rpx;
font-weight: 500;
}
.nickname {
color: #ffffff;
font-size: 44rpx;
font-size: 48rpx;
font-weight: 700;
letter-spacing: 2rpx;
}
.avatar-wrapper {
padding: 4rpx;
background: rgba(255, 255, 255, 0.25);
padding: 6rpx;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
backdrop-filter: blur(4rpx);
display: flex; /* Flex to center content */
align-items: center;
justify-content: center;
}
.avatar {
width: 110rpx;
height: 110rpx;
width: 120rpx;
height: 120rpx;
border-radius: 50%;
background-color: #fff;
border: 3rpx solid #ffffff;
border: 4rpx solid #ffffff;
display: block; /* Remove inline spacing */
}
/* 主要内容区 */
@@ -94,7 +91,7 @@ page {
width: 100%;
padding: 0 28rpx;
box-sizing: border-box;
margin-top: -80rpx;
margin-top: 20rpx; /* Separated layout */
z-index: 10;
padding-bottom: 60rpx;
}
@@ -122,7 +119,7 @@ page {
padding: 32rpx;
display: flex;
align-items: center;
box-shadow: 0 8rpx 24rpx rgba(17, 97, 107, 0.06); /* Teal shadow */
box-shadow: 0 12rpx 36rpx rgba(17, 97, 107, 0.20); /* Increased shadow opacity and size for better contrast */
}
.grid-item-hover {

View File

@@ -42,7 +42,7 @@
<view class="info-item">
<text class="label">手机</text>
<text class="value" wx:if="{{phoneNumber}}">{{phoneNumber}}</text>
<text class="value" wx:else style="color: #fa5151; font-weight: bold;">未绑定</text>
<text class="value" wx:else style="color: #DC8B70; font-weight: bold;">未绑定</text>
</view>
</view>
</block>

View File

@@ -3,7 +3,7 @@ page {
height: 100vh;
display: flex;
flex-direction: column;
background-color: #f6f7f9;
background-color: #EBF4F8; /* Color 03 (Background) */
}
.scrollarea {
flex: 1;
@@ -26,7 +26,7 @@ page {
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.03);
box-shadow: 0 8rpx 24rpx rgba(17, 97, 107, 0.08); /* Teal shadow */
margin-bottom: 30rpx;
position: relative;
}
@@ -41,7 +41,7 @@ page {
.settings-icon {
font-size: 40rpx;
color: #333;
color: #11616B; /* Color 01 */
}
/* Avatar */
@@ -57,14 +57,14 @@ page {
border-radius: 50%;
background: none;
border: none;
box-shadow: 0 6rpx 16rpx rgba(0,0,0,0.1);
box-shadow: 0 6rpx 16rpx rgba(17, 97, 107, 0.15); /* Teal shadow */
}
.avatar {
width: 160rpx;
height: 160rpx;
border-radius: 50%;
border: 4rpx solid #fff;
border: 4rpx solid #ffffff;
}
/* Nickname */
@@ -78,12 +78,12 @@ page {
.nickname-input, .nickname-text {
font-size: 36rpx;
font-weight: bold;
color: #333;
color: #11616B; /* Color 01 */
text-align: center;
}
.nickname-input {
border-bottom: 2rpx solid #eee;
border-bottom: 2rpx solid #7BBDB6; /* Color 02 */
padding: 10rpx;
width: 60%;
}
@@ -101,7 +101,7 @@ page {
justify-content: space-between;
align-items: center;
padding: 24rpx 0;
border-bottom: 1rpx solid #f5f5f5;
border-bottom: 1rpx solid #EBF4F8; /* Color 03 instead of gray */
}
.info-item:last-child {
@@ -109,14 +109,15 @@ page {
}
.label {
color: #666;
color: #11616B; /* Color 01 - Darkened from #7BBDB6 */
font-size: 28rpx;
font-weight: 600; /* Added weight for better visibility */
}
.value {
color: #333;
color: #11616B; /* Color 01 - Consistent dark teal */
font-size: 28rpx;
font-weight: 500;
font-weight: 400;
}
/* Gender Tags */
@@ -127,8 +128,8 @@ page {
border-radius: 8rpx;
font-size: 24rpx;
}
.gender-box.male { color: #1890ff; background: #e6f7ff; }
.gender-box.female { color: #eb2f96; background: #fff0f6; }
.gender-box.male { color: #11616B; background: #EBF4F8; } /* Color 01 on Color 03 */
.gender-box.female { color: #DC8B70; background: #FED9CD; } /* Color 05 on Color 04 */
/* Action Buttons */
.action-area {
@@ -136,11 +137,11 @@ page {
}
.login-hint {
color: #999;
font-size: 26rpx; /* 小一点 */
color: #7BBDB6; /* Color 02 */
font-size: 26rpx;
text-align: center;
margin-bottom: 30rpx;
display: block; /* 确保占满一行 */
display: block;
}
.login-btn, .secondary-btn {
@@ -153,21 +154,21 @@ page {
}
.login-btn {
background: linear-gradient(90deg, #07c160, #10ad63);
background: #11616B; /* Color 01 */
color: white;
box-shadow: 0 6rpx 16rpx rgba(7, 193, 96, 0.3);
box-shadow: 0 6rpx 16rpx rgba(17, 97, 107, 0.3);
}
.login-btn[disabled] {
background: #a0eac4 !important;
background: #7BBDB6 !important; /* Color 02 */
color: #fff !important;
box-shadow: none;
}
.secondary-btn {
background-color: #fff;
color: #666;
border: 1rpx solid #eee;
background-color: #ffffff;
color: #11616B; /* Color 01 text */
border: 1rpx solid #7BBDB6; /* Color 02 border */
}
/* Styles for verification area centered */
@@ -176,28 +177,29 @@ page {
}
.code-display {
background: #eef2f5;
background: #EBF4F8; /* Color 03 */
padding: 20rpx;
border-radius: 12rpx;
margin-top: 20rpx;
display: flex;
justify-content: center;
align-items: center;
border: 1rpx solid #dbecef;
}
.code-text {
font-size: 40rpx;
font-weight: bold;
color: #333;
color: #11616B; /* Color 01 */
margin-right: 20rpx;
letter-spacing: 4rpx;
}
.copy-btn {
font-size: 24rpx;
background: #fff;
background: #ffffff;
padding: 6rpx 16rpx;
border-radius: 20rpx;
color: #1890ff;
border: 1rpx solid #1890ff;
color: #11616B; /* Color 01 */
border: 1rpx solid #11616B; /* Color 01 */
}