diff --git a/App.vue b/App.vue index 6737a67..914dd7f 100644 --- a/App.vue +++ b/App.vue @@ -7,13 +7,18 @@ \ No newline at end of file + diff --git a/components/FunctionCard.vue b/components/FunctionCard.vue index aa1155d..9b01ee5 100644 --- a/components/FunctionCard.vue +++ b/components/FunctionCard.vue @@ -1,11 +1,5 @@ diff --git a/pages/index/index.vue b/pages/index/index.vue index 49f1315..e35f652 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -15,15 +15,16 @@ - + - + - 修改WIFI + 修改配置 @@ -509,16 +510,6 @@ restartShow.value = false; }; - const copy = (content) => { - uni.setClipboardData({ - data: content, - success: () => uni.showToast({ - title: '复制成功', - icon: 'none' - }) - }); - }; - const YesRecover = async () => { try { await deviceApi.factoryReset(userStore.state.identifier); @@ -840,6 +831,13 @@ } }; + const copyWifiConfig = (content) => { + uni.setClipboardData({ + data: content, + success: () => uni.showToast({ title: '配置已复制', icon: 'none' }) + }); + }; + const getNotificationPriority = (item) => { const severityRank = { info: 10, warning: 20, error: 30, critical: 40 }; const remainingDays = Number(item?.days_until_expiry ?? item?.days_remaining ?? item?.remaining_days); diff --git a/pages/login/login.vue b/pages/login/login.vue index 244f5c6..f2d09f1 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -368,7 +368,7 @@ .input-wrap.focus { background: var(--bg-primary); border-color: var(--primary); - box-shadow: 0 0 0 4rpx rgba(10, 132, 255, 0.1); + box-shadow: 0 0 0 4rpx rgba(85, 171, 92, 0.1); } .input { @@ -419,7 +419,7 @@ align-items: center; justify-content: center; transition: all 0.3s ease; - box-shadow: 0 4rpx 12rpx rgba(10, 132, 255, 0.2); + box-shadow: 0 4rpx 12rpx rgba(85, 171, 92, 0.2); } .btn-login.disabled { @@ -430,7 +430,7 @@ .btn-login:active:not(.disabled) { transform: translateY(2rpx); - box-shadow: 0 2rpx 8rpx rgba(10, 132, 255, 0.2); + box-shadow: 0 2rpx 8rpx rgba(85, 171, 92, 0.2); } .btn-scan { @@ -451,7 +451,7 @@ } .btn-scan:active { - background: rgba(10, 132, 255, 0.05); + background: rgba(85, 171, 92, 0.05); } .scan-icon { diff --git a/pages/my-wallet/my-wallet.vue b/pages/my-wallet/my-wallet.vue index 0f0e634..ea4f2ee 100644 --- a/pages/my-wallet/my-wallet.vue +++ b/pages/my-wallet/my-wallet.vue @@ -1009,7 +1009,7 @@ &.active { border-color: var(--primary); - background: rgba(0, 122, 255, 0.05); + background: rgba(85, 171, 92, 0.05); .amount-value { color: var(--primary); @@ -1054,7 +1054,7 @@ &.active { border-color: var(--primary); - background: rgba(0, 122, 255, 0.05); + background: rgba(85, 171, 92, 0.05); } .method-left { diff --git a/pages/order-list/order-list.vue b/pages/order-list/order-list.vue index 39090d1..20712f6 100644 --- a/pages/order-list/order-list.vue +++ b/pages/order-list/order-list.vue @@ -446,7 +446,7 @@ &.tag-success { background: #e6f7ff; - color: #1890ff; + color: var(--primary); } &.tag-secondary { diff --git a/pages/package-order/package-order.vue b/pages/package-order/package-order.vue index eafd760..10ba506 100644 --- a/pages/package-order/package-order.vue +++ b/pages/package-order/package-order.vue @@ -607,7 +607,7 @@ .package-validity { padding: 8rpx 12rpx; border-radius: var(--radius-small); - background: rgba(10, 132, 255, 0.1); + background: rgba(85, 171, 92, 0.1); color: var(--primary-dark); font-size: 22rpx; font-weight: 600; @@ -622,8 +622,8 @@ gap: 24rpx; padding: 24rpx; margin-bottom: 24rpx; - background: linear-gradient(135deg, rgba(10, 132, 255, 0.08), rgba(10, 132, 255, 0.02)); - border: 1rpx solid rgba(10, 132, 255, 0.1); + background: linear-gradient(135deg, rgba(85, 171, 92, 0.08), rgba(85, 171, 92, 0.02)); + border: 1rpx solid rgba(85, 171, 92, 0.1); border-radius: 18rpx; .data-block { @@ -651,7 +651,7 @@ align-items: center; justify-content: center; padding-left: 24rpx; - border-left: 1rpx solid rgba(10, 132, 255, 0.18); + border-left: 1rpx solid rgba(85, 171, 92, 0.18); color: var(--primary-dark); white-space: nowrap; @@ -765,7 +765,7 @@ min-width: 0; padding: 10rpx 16rpx; border-radius: 28rpx; - background: rgba(10, 132, 255, 0.08); + background: rgba(85, 171, 92, 0.08); color: var(--primary-dark); font-size: 24rpx; line-height: 1.2; @@ -858,7 +858,7 @@ .package-summary { padding: 40rpx 30rpx 30rpx; - background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.02) 100%); + background: linear-gradient(135deg, rgba(85, 171, 92, 0.05) 0%, rgba(85, 171, 92, 0.02) 100%); border-bottom: 1rpx solid var(--border-light); text-align: center; @@ -884,7 +884,7 @@ justify-content: center; gap: 24rpx; padding-top: 20rpx; - border-top: 1rpx solid rgba(0, 122, 255, 0.1); + border-top: 1rpx solid rgba(85, 171, 92, 0.1); .detail-item { display: flex; @@ -932,7 +932,7 @@ &.active { border-color: var(--primary); - background: rgba(0, 122, 255, 0.05); + background: rgba(85, 171, 92, 0.05); } .method-left { diff --git a/static/shop.png b/static/shop.png index 0d4b549..2e7fc35 100644 Binary files a/static/shop.png and b/static/shop.png differ diff --git a/static/中国广电.png b/static/中国广电.png new file mode 100644 index 0000000..8d2a42f Binary files /dev/null and b/static/中国广电.png differ diff --git a/static/中国电信.png b/static/中国电信.png new file mode 100644 index 0000000..a7a458b Binary files /dev/null and b/static/中国电信.png differ diff --git a/static/中国移动.png b/static/中国移动.png new file mode 100644 index 0000000..3a505ab Binary files /dev/null and b/static/中国移动.png differ diff --git a/static/中国联通.png b/static/中国联通.png new file mode 100644 index 0000000..57c5388 Binary files /dev/null and b/static/中国联通.png differ diff --git a/static/卡槽1.png b/static/卡槽1.png new file mode 100644 index 0000000..606f7a6 Binary files /dev/null and b/static/卡槽1.png differ diff --git a/static/卡槽2.png b/static/卡槽2.png new file mode 100644 index 0000000..089ff34 Binary files /dev/null and b/static/卡槽2.png differ diff --git a/static/卡槽3.png b/static/卡槽3.png new file mode 100644 index 0000000..ba7d247 Binary files /dev/null and b/static/卡槽3.png differ diff --git a/uni.scss b/uni.scss index 0b7039d..07360c2 100644 --- a/uni.scss +++ b/uni.scss @@ -13,10 +13,15 @@ */ /* 颜色变量 */ +$u-primary: #55ab5c; +$u-primary-light: #eaf6ec; +$u-primary-dark: #3f8f47; +$u-success: #55ab5c; +$u-success-light: #eaf6ec; @import 'uview-plus/theme.scss'; /* 行为相关颜色 */ -$uni-color-primary: #007aff; -$uni-color-success: #4cd964; +$uni-color-primary: #55ab5c; +$uni-color-success: #55ab5c; $uni-color-warning: #f0ad4e; $uni-color-error: #dd524d;