更改主题色
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!--
|
||||
<!--
|
||||
商家端自定义 TabBar 组件
|
||||
- 仅在 merchant Tab 页中使用
|
||||
- 支持微信小程序 custom tabBar 模式
|
||||
@@ -146,7 +146,7 @@
|
||||
}
|
||||
|
||||
.tab-item.active .tab-text {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 机构端 - AI问诊页面 -->
|
||||
<!-- 机构端 - AI问诊页面 -->
|
||||
<template>
|
||||
<view class="ai-page">
|
||||
<!-- ===== 顶部固定区 ===== -->
|
||||
@@ -471,9 +471,9 @@
|
||||
}
|
||||
|
||||
.qs-tag-selected {
|
||||
background-color: #eef2fe;
|
||||
border-color: rgb(66,121,240);
|
||||
color: rgb(66,121,240);
|
||||
background-color: #E3F7ED;
|
||||
border-color: #09C39D;
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
.qs-confirm-row {
|
||||
@@ -484,7 +484,7 @@
|
||||
}
|
||||
|
||||
.qs-confirm-btn {
|
||||
background-color: rgb(66,121,240);
|
||||
background-color: #09C39D;
|
||||
color: #ffffff;
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
@@ -514,7 +514,7 @@
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
border-radius: 36rpx;
|
||||
background-color: #eef2fe;
|
||||
background-color: #E3F7ED;
|
||||
font-size: 36rpx;
|
||||
line-height: 72rpx;
|
||||
text-align: center;
|
||||
@@ -582,7 +582,7 @@
|
||||
}
|
||||
|
||||
.ai-avatar {
|
||||
background-color: #eef2fe;
|
||||
background-color: #E3F7ED;
|
||||
}
|
||||
|
||||
.user-avatar {
|
||||
@@ -617,7 +617,7 @@
|
||||
}
|
||||
|
||||
.bubble-user {
|
||||
background-color: rgb(66,121,240);
|
||||
background-color: #09C39D;
|
||||
border-top-right-radius: 4rpx;
|
||||
}
|
||||
|
||||
@@ -710,15 +710,15 @@
|
||||
|
||||
.suggestion-item {
|
||||
font-size: 22rpx;
|
||||
color: rgb(66,121,240);
|
||||
color: #09C39D;
|
||||
border-width: 1rpx;
|
||||
border-style: solid;
|
||||
border-color: rgb(66,121,240);
|
||||
border-color: #09C39D;
|
||||
border-radius: 20rpx;
|
||||
padding: 6rpx 18rpx;
|
||||
margin-right: 10rpx;
|
||||
margin-bottom: 10rpx;
|
||||
background-color: #eef2fe;
|
||||
background-color: #E3F7ED;
|
||||
}
|
||||
|
||||
/* ===== 加载中气泡 ===== */
|
||||
@@ -747,7 +747,7 @@
|
||||
background-color: #f8f9ff;
|
||||
border-top-width: 1rpx;
|
||||
border-top-style: solid;
|
||||
border-top-color: #dde3f8;
|
||||
border-top-color: #D8EFE6;
|
||||
}
|
||||
|
||||
.quick-replies-header {
|
||||
@@ -779,7 +779,7 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
background-color: rgb(66,121,240);
|
||||
background-color: #09C39D;
|
||||
border-radius: 24rpx;
|
||||
padding: 8rpx 20rpx;
|
||||
}
|
||||
@@ -818,11 +818,11 @@
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
font-size: 24rpx;
|
||||
color: rgb(66,121,240);
|
||||
color: #09C39D;
|
||||
background-color: #ffffff;
|
||||
border-width: 1rpx;
|
||||
border-style: solid;
|
||||
border-color: rgb(66,121,240);
|
||||
border-color: #09C39D;
|
||||
border-radius: 24rpx;
|
||||
padding: 10rpx 28rpx;
|
||||
margin: 0 8rpx;
|
||||
@@ -869,7 +869,7 @@
|
||||
}
|
||||
|
||||
.send-btn-active {
|
||||
background-color: rgb(66,121,240);
|
||||
background-color: #09C39D;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -893,8 +893,8 @@
|
||||
}
|
||||
|
||||
.ia-btn-primary {
|
||||
color: rgb(66,121,240);
|
||||
border-color: rgb(66,121,240);
|
||||
background-color: #eef2fe;
|
||||
color: #09C39D;
|
||||
border-color: #09C39D;
|
||||
background-color: #E3F7ED;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -644,7 +644,7 @@ uni.navigateBack()
|
||||
.workbench { display: flex; flex-direction: column; height: 100vh; background-color: #f4f6f9; }
|
||||
|
||||
/* 顶部导航 */
|
||||
.wb-header { height: 88rpx; background-color: #1a6fd4; display: flex; flex-direction: row; align-items: center; padding: 0 24rpx; flex-shrink: 0; }
|
||||
.wb-header { height: 88rpx; background-color: #09C39D; display: flex; flex-direction: row; align-items: center; padding: 0 24rpx; flex-shrink: 0; }
|
||||
.wb-back { width: 60rpx; height: 60rpx; display: flex; align-items: center; justify-content: center; }
|
||||
.wb-back-icon { font-size: 52rpx; color: #fff; font-weight: bold; line-height: 1; }
|
||||
.wb-header-title { font-size: 34rpx; font-weight: bold; color: #fff; flex: 1; margin-left: 8rpx; }
|
||||
@@ -661,15 +661,15 @@ uni.navigateBack()
|
||||
.wb-tab-item:active { background-color: #f5f7fa; }
|
||||
.wb-tab-icon { font-size: 36rpx; }
|
||||
.wb-tab-label { font-size: 24rpx; color: #888; margin-top: 4rpx; }
|
||||
.wb-tab-active .wb-tab-label { color: #1a6fd4; font-weight: bold; }
|
||||
.wb-tab-active { border-bottom: 4rpx solid #1a6fd4; }
|
||||
.wb-tab-active .wb-tab-label { color: #09C39D; font-weight: bold; }
|
||||
.wb-tab-active { border-bottom: 4rpx solid #09C39D; }
|
||||
.wb-tab-badge { position: absolute; top: 10rpx; right: 16rpx; min-width: 28rpx; height: 28rpx; background-color: #ff4d4f; border-radius: 14rpx; display: flex; align-items: center; justify-content: center; padding: 0 6rpx; }
|
||||
.wb-tab-badge-num { font-size: 18rpx; color: #fff; font-weight: bold; }
|
||||
|
||||
/* 当前会话提示条 */
|
||||
.session-hint-bar { background-color: #f0f7ff; border-bottom: 1rpx solid #d0e8ff; padding: 12rpx 24rpx; display: flex; flex-direction: row; align-items: center; flex-shrink: 0; }
|
||||
.session-hint-avatar { font-size: 32rpx; margin-right: 10rpx; }
|
||||
.session-hint-name { font-size: 24rpx; color: #1a6fd4; font-weight: bold; flex: 1; }
|
||||
.session-hint-name { font-size: 24rpx; color: #09C39D; font-weight: bold; flex: 1; }
|
||||
.session-hint-status { border-radius: 8rpx; padding: 2rpx 12rpx; margin-right: 16rpx; }
|
||||
.shs-pending { background-color: #fff3e0; }
|
||||
.shs-pending .session-hint-status-text { font-size: 20rpx; color: #ff8c00; }
|
||||
@@ -677,7 +677,7 @@ uni.navigateBack()
|
||||
.shs-active .session-hint-status-text { font-size: 20rpx; color: #388e3c; }
|
||||
.shs-closed { background-color: #f5f5f5; }
|
||||
.shs-closed .session-hint-status-text { font-size: 20rpx; color: #999; }
|
||||
.session-hint-switch { background-color: #1a6fd4; border-radius: 20rpx; padding: 6rpx 20rpx; }
|
||||
.session-hint-switch { background-color: #09C39D; border-radius: 20rpx; padding: 6rpx 20rpx; }
|
||||
.session-hint-switch-text { font-size: 20rpx; color: #fff; }
|
||||
|
||||
/* 内容区 */
|
||||
@@ -691,7 +691,7 @@ uni.navigateBack()
|
||||
|
||||
.session-card { display: flex; flex-direction: row; align-items: center; padding: 28rpx 24rpx; border-bottom: 1rpx solid #f0f0f0; }
|
||||
.session-card:active { background-color: #f0f7ff; }
|
||||
.session-card-active { background-color: #e8f4ff; border-left: 6rpx solid #1a6fd4; }
|
||||
.session-card-active { background-color: #E3F7ED; border-left: 6rpx solid #09C39D; }
|
||||
.sc-avatar-wrap { position: relative; margin-right: 20rpx; flex-shrink: 0; }
|
||||
.sc-avatar-emoji { font-size: 80rpx; }
|
||||
.sc-unread-badge { position: absolute; top: -6rpx; right: -6rpx; min-width: 32rpx; height: 32rpx; background-color: #ff4d4f; border-radius: 16rpx; display: flex; align-items: center; justify-content: center; padding: 0 8rpx; border: 2rpx solid #fff; }
|
||||
@@ -700,7 +700,7 @@ uni.navigateBack()
|
||||
.sc-row-top { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 4rpx; }
|
||||
.sc-name { font-size: 30rpx; font-weight: bold; color: #1a1a1a; flex: 1; }
|
||||
.sc-time { font-size: 22rpx; color: #aaa; flex-shrink: 0; margin-left: 16rpx; }
|
||||
.sc-consult-type { font-size: 22rpx; color: #1a6fd4; display: block; margin-bottom: 8rpx; }
|
||||
.sc-consult-type { font-size: 22rpx; color: #09C39D; display: block; margin-bottom: 8rpx; }
|
||||
.sc-row-bottom { display: flex; flex-direction: row; align-items: center; }
|
||||
.sc-preview { font-size: 26rpx; color: #999; flex: 1; }
|
||||
.sc-preview-bold { color: #333; font-weight: bold; }
|
||||
@@ -778,7 +778,7 @@ uni.navigateBack()
|
||||
.qr-close { font-size: 28rpx; color: #aaa; padding: 8rpx; }
|
||||
.qr-scroll { max-height: 240rpx; }
|
||||
.qr-item { background-color: #fff; border-radius: 10rpx; padding: 14rpx 20rpx; margin-bottom: 10rpx; border: 1rpx solid #e8e8e8; }
|
||||
.qr-item:active { background-color: #e8f4ff; }
|
||||
.qr-item:active { background-color: #E3F7ED; }
|
||||
.qr-text { font-size: 26rpx; color: #333; line-height: 1.5; }
|
||||
|
||||
.chat-toolbar { display: flex; flex-direction: row; padding: 16rpx 20rpx 8rpx; gap: 20rpx; border-bottom: 1rpx solid #f0f0f0; }
|
||||
@@ -791,13 +791,13 @@ uni.navigateBack()
|
||||
.input-row { display: flex; flex-direction: row; align-items: flex-end; padding: 16rpx 20rpx 20rpx; }
|
||||
.chat-textarea { flex: 1; background-color: #f5f7fa; border-radius: 12rpx; padding: 14rpx 18rpx; font-size: 28rpx; color: #1a1a1a; min-height: 80rpx; max-height: 160rpx; margin-right: 16rpx; border: 1rpx solid #e0e0e0; box-sizing: border-box; }
|
||||
.send-btn { padding: 20rpx 36rpx; border-radius: 12rpx; background-color: #d0d0d0; flex-shrink: 0; }
|
||||
.send-btn-active { background-color: #1a6fd4; }
|
||||
.send-btn-active { background-color: #09C39D; }
|
||||
.send-btn-text { font-size: 28rpx; color: #fff; font-weight: bold; }
|
||||
|
||||
/* ====== 模块三:用户资料 ====== */
|
||||
.module-info { flex: 1; height: 0; overflow-y: auto; background-color: #f4f6f9; padding-bottom: 60rpx; }
|
||||
|
||||
.info-user-card { background-color: #1a6fd4; padding: 40rpx 30rpx 36rpx; display: flex; flex-direction: row; align-items: center; }
|
||||
.info-user-card { background-color: #09C39D; padding: 40rpx 30rpx 36rpx; display: flex; flex-direction: row; align-items: center; }
|
||||
.info-big-avatar { font-size: 100rpx; margin-right: 24rpx; flex-shrink: 0; }
|
||||
.info-user-main { flex: 1; }
|
||||
.info-user-name { font-size: 36rpx; font-weight: bold; color: #fff; display: block; margin-bottom: 12rpx; }
|
||||
@@ -846,7 +846,7 @@ uni.navigateBack()
|
||||
|
||||
.info-actions { margin: 24rpx 28rpx 0; display: flex; flex-direction: row; gap: 20rpx; }
|
||||
.info-action-btn { flex: 1; padding: 24rpx 0; border-radius: 14rpx; background-color: #f0f0f0; display: flex; align-items: center; justify-content: center; }
|
||||
.info-action-btn.primary { background-color: #1a6fd4; }
|
||||
.info-action-btn.primary { background-color: #09C39D; }
|
||||
.info-action-text { font-size: 28rpx; color: #555; font-weight: bold; }
|
||||
.info-action-btn.primary .info-action-text { color: #fff; }
|
||||
</style>
|
||||
@@ -370,7 +370,7 @@
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.add-btn {
|
||||
background: #2196F3;
|
||||
background: #09C39D;
|
||||
color: #fff;
|
||||
border-radius: 8rpx;
|
||||
font-size: 28rpx;
|
||||
@@ -500,7 +500,7 @@
|
||||
border-right: 1rpx solid #eee;
|
||||
}
|
||||
.btn.confirm {
|
||||
color: #2196F3;
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 机构端 - 结算中心页面 -->
|
||||
<!-- 机构端 - 结算中心页面 -->
|
||||
<template>
|
||||
<view class="finance-page">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -225,12 +225,12 @@
|
||||
|
||||
<style>
|
||||
.finance-page { background-color: #f5f5f5; min-height: 100vh; }
|
||||
.balance-card { background: linear-gradient(135deg, rgb(66, 121, 240) 0%, #5856D6 100%); padding: 50rpx 30rpx; color: #fff; text-align: center; }
|
||||
.balance-card { background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%); padding: 50rpx 30rpx; color: #fff; text-align: center; }
|
||||
.balance-label { font-size: 26rpx; opacity: 0.9; display: block; margin-bottom: 20rpx; }
|
||||
.balance-value { font-size: 60rpx; font-weight: bold; display: block; margin-bottom: 40rpx; }
|
||||
.balance-actions { display: flex; flex-direction: row; justify-content: center; gap: 30rpx; }
|
||||
.action-btn { padding: 16rpx 60rpx; border-radius: 40rpx; font-size: 28rpx; }
|
||||
.action-btn.withdraw { background-color: #fff; color: rgb(66, 121, 240); }
|
||||
.action-btn.withdraw { background-color: #fff; color: #09C39D; }
|
||||
.action-btn.detail { background-color: rgba(255,255,255,0.2); color: #fff; }
|
||||
.stats-row { display: flex;
|
||||
flex-direction: row;
|
||||
@@ -243,8 +243,8 @@
|
||||
flex-direction: row;
|
||||
background-color: #fff; padding: 0 20rpx; }
|
||||
.tab { flex: 1; text-align: center; padding: 24rpx 0; font-size: 28rpx; color: #666; position: relative; }
|
||||
.tab.active { color: rgb(66, 121, 240); font-weight: bold; }
|
||||
.tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40rpx; height: 4rpx; background-color: rgb(66, 121, 240); border-radius: 2rpx; }
|
||||
.tab.active { color: #09C39D; font-weight: bold; }
|
||||
.tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40rpx; height: 4rpx; background-color: #09C39D; border-radius: 2rpx; }
|
||||
.records-list { padding: 20rpx; height: calc(100vh - 500rpx); }
|
||||
.loading-container, .empty-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 0; }
|
||||
.empty-icon { font-size: 100rpx; margin-bottom: 20rpx; }
|
||||
@@ -269,5 +269,5 @@
|
||||
.modal-footer { display: flex; flex-direction: row; border-top: 1rpx solid #f5f5f5; }
|
||||
.modal-btn { flex: 1; height: 88rpx; line-height: 88rpx; text-align: center; font-size: 28rpx; }
|
||||
.modal-btn.cancel { color: #666; border-right: 1rpx solid #f5f5f5; }
|
||||
.modal-btn.confirm { color: rgb(66, 121, 240); font-weight: bold; }
|
||||
.modal-btn.confirm { color: #09C39D; font-weight: bold; }
|
||||
</style>
|
||||
|
||||
@@ -205,7 +205,7 @@
|
||||
icon: '📷',
|
||||
title: '优化服务封面与机构展示图',
|
||||
desc: '高质量展示图点击率提升 40% 以上',
|
||||
color: 'rgb(66, 121, 240)',
|
||||
color: '#09C39D',
|
||||
link: ''
|
||||
},
|
||||
{
|
||||
@@ -259,7 +259,7 @@
|
||||
title: '回复所有待回用户评价',
|
||||
desc: '及时回复可提升用户信任度',
|
||||
tag: '今日',
|
||||
tagColor: 'rgb(66, 121, 240)',
|
||||
tagColor: '#09C39D',
|
||||
done: false
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 机构端 - 健康管理页面 -->
|
||||
<!-- 机构端 - 健康管理页面 -->
|
||||
<template>
|
||||
<view class="hm-page">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -390,7 +390,7 @@
|
||||
|
||||
/* ===== 用户选择器 ===== */
|
||||
.user-selector-card {
|
||||
background: linear-gradient(135deg, rgb(66,121,240) 0%, rgb(40,80,180) 100%);
|
||||
background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%);
|
||||
padding: 24rpx 30rpx 20rpx 30rpx;
|
||||
}
|
||||
|
||||
@@ -496,7 +496,7 @@
|
||||
|
||||
.sct-action {
|
||||
font-size: 24rpx;
|
||||
color: rgb(66,121,240);
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
/* ===== 健康数据网格 ===== */
|
||||
@@ -759,20 +759,20 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-right: 20rpx;
|
||||
background-color: #eef2fe;
|
||||
background-color: #E3F7ED;
|
||||
border-radius: 8rpx;
|
||||
padding: 8rpx 10rpx;
|
||||
}
|
||||
|
||||
.appt-month {
|
||||
font-size: 18rpx;
|
||||
color: rgb(66,121,240);
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
.appt-day {
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
color: rgb(66,121,240);
|
||||
color: #09C39D;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
@@ -807,8 +807,8 @@
|
||||
}
|
||||
|
||||
.at-upcoming {
|
||||
color: rgb(66,121,240);
|
||||
background-color: #eef2fe;
|
||||
color: #09C39D;
|
||||
background-color: #E3F7ED;
|
||||
}
|
||||
|
||||
.at-done {
|
||||
@@ -848,7 +848,7 @@
|
||||
}
|
||||
|
||||
.bar-sys {
|
||||
background-color: rgb(66,121,240);
|
||||
background-color: #09C39D;
|
||||
}
|
||||
|
||||
.bar-dia {
|
||||
@@ -881,7 +881,7 @@
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
|
||||
.ld-sys { background-color: rgb(66,121,240); }
|
||||
.ld-sys { background-color: #09C39D; }
|
||||
.ld-dia { background-color: #84a8f8; }
|
||||
|
||||
.legend-text {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 医养综合服务商城 · 机构工作台首页 -->
|
||||
<!-- 医养综合服务商城 · 机构工作台首页 -->
|
||||
<template>
|
||||
<view class="merchant-container">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -959,11 +959,11 @@
|
||||
.main-scroll { height: 100vh; }
|
||||
|
||||
/* ===== 小程序顶部导航(蓝色,医养品牌色) ===== */
|
||||
.mp-tab-navbar { height: calc(88rpx + var(--status-bar-height)); padding-top: var(--status-bar-height); background-color: rgb(66, 121, 240); display: flex; flex-direction: row; align-items: center; justify-content: center; }
|
||||
.mp-tab-navbar { height: calc(88rpx + var(--status-bar-height)); padding-top: var(--status-bar-height); background-color: #09C39D; display: flex; flex-direction: row; align-items: center; justify-content: center; }
|
||||
.mp-tab-title { font-size: 34rpx; font-weight: bold; color: #ffffff; }
|
||||
|
||||
/* ===== 顶部工作台头部(浅蓝渐变,贴近 mall merchant 风格) ===== */
|
||||
.wt-header { background: linear-gradient(to right, #eef2fe, #ece9fa); padding-bottom: 0; }
|
||||
.wt-header { background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%); padding-bottom: 0; }
|
||||
.wt-header-top { padding: 32rpx 28rpx 24rpx; }
|
||||
.wt-shop-row { display: flex; flex-direction: row; align-items: center; }
|
||||
.wt-shop-logo { width: 100rpx; height: 100rpx; border-radius: 16rpx; border-width: 3rpx; border-style: solid; border-color: rgba(255,255,255,0.7); margin-right: 20rpx; background-color: #fff; flex-shrink: 0; }
|
||||
@@ -998,7 +998,7 @@
|
||||
.wt-card { background-color: #fff; margin-bottom: 16rpx; padding: 24rpx 28rpx; }
|
||||
.wt-card-hd { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 20rpx; }
|
||||
.wt-card-title { font-size: 30rpx; font-weight: bold; color: #333; }
|
||||
.wt-card-more { font-size: 26rpx; color: rgb(66, 121, 240); }
|
||||
.wt-card-more { font-size: 26rpx; color: #09C39D; }
|
||||
|
||||
/* ===== 功能宫格(无背景色,大图标,老年友好) ===== */
|
||||
.feature-grid { display: flex; flex-direction: row; flex-wrap: wrap; }
|
||||
@@ -1040,8 +1040,8 @@
|
||||
.pi-metric { flex: 1; display: flex; flex-direction: column; }
|
||||
.pi-metric-val { font-size: 26rpx; font-weight: bold; color: #333; margin-bottom: 2rpx; }
|
||||
.pi-metric-lbl { font-size: 22rpx; color: #999; }
|
||||
.pi-action-btn { background-color: #EFF4FF; border-radius: 10rpx; padding-top: 10rpx; padding-bottom: 10rpx; padding-left: 16rpx; padding-right: 16rpx; flex-shrink: 0; margin-left: 16rpx; }
|
||||
.pi-action-txt { font-size: 24rpx; color: rgb(66, 121, 240); }
|
||||
.pi-action-btn { background-color: #E3F7ED; border-radius: 10rpx; padding-top: 10rpx; padding-bottom: 10rpx; padding-left: 16rpx; padding-right: 16rpx; flex-shrink: 0; margin-left: 16rpx; }
|
||||
.pi-action-txt { font-size: 24rpx; color: #09C39D; }
|
||||
|
||||
/* ===== 底部安全区 ===== */
|
||||
.safe-bottom { height: 160rpx; }
|
||||
@@ -1064,7 +1064,7 @@
|
||||
|
||||
/* ===== 订单状态样式(order-detail 等页面引用保留) ===== */
|
||||
.status-pending { background-color: #FFF3E0; color: #FF9800; }
|
||||
.status-paid { background-color: #E3F2FD; color: #2196F3; }
|
||||
.status-paid { background-color: #E3F7ED; color: #09C39D; }
|
||||
.status-shipped { background-color: #E8F5E9; color: #4CAF50; }
|
||||
.status-completed { background-color: #F3E5F5; color: #9C27B0; }
|
||||
</style>
|
||||
|
||||
@@ -333,8 +333,8 @@
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.filter-tab { flex: 1; text-align: center; padding: 24rpx 0; font-size: 26rpx; color: #666; position: relative; }
|
||||
.filter-tab.active { color: rgb(66, 121, 240); font-weight: bold; }
|
||||
.filter-tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40rpx; height: 4rpx; background-color: rgb(66, 121, 240); border-radius: 2rpx; }
|
||||
.filter-tab.active { color: #09C39D; font-weight: bold; }
|
||||
.filter-tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40rpx; height: 4rpx; background-color: #09C39D; border-radius: 2rpx; }
|
||||
.inventory-list { padding: 0 20rpx; height: calc(100vh - 280rpx); }
|
||||
.loading-container, .empty-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 0; }
|
||||
.empty-icon { font-size: 100rpx; margin-bottom: 20rpx; }
|
||||
@@ -352,13 +352,13 @@
|
||||
.warning-info { margin-top: 8rpx; }
|
||||
.warning-text { font-size: 22rpx; color: #F44336; }
|
||||
.product-actions { margin-left: 20rpx; }
|
||||
.action-btn { padding: 12rpx 24rpx; font-size: 24rpx; background-color: #E3F2FD; color: #1976D2; border-radius: 24rpx; }
|
||||
.action-btn { padding: 12rpx 24rpx; font-size: 24rpx; background-color: #E3F7ED; color: #09C39D; border-radius: 24rpx; }
|
||||
.modal-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; }
|
||||
.modal-content { width: 80%; background-color: #fff; border-radius: 16rpx; }
|
||||
.modal-body { padding: 30rpx; }
|
||||
.adjust-type { display: flex; flex-direction: row; justify-content: space-between; margin-bottom: 30rpx; }
|
||||
.type-btn { flex: 1; height: 64rpx; line-height: 64rpx; text-align: center; font-size: 24rpx; background-color: #f5f5f5; color: #666; margin: 0 10rpx; border-radius: 32rpx; border: 1rpx solid #eee; }
|
||||
.type-btn.active { background-color: #E3F2FD; color: rgb(66, 121, 240); border-color: rgb(66, 121, 240); }
|
||||
.type-btn.active { background-color: #E3F7ED; color: #09C39D; border-color: #09C39D; }
|
||||
.form-item { margin-bottom: 20rpx; }
|
||||
.form-item .label { font-size: 26rpx; color: #999; display: block; margin-bottom: 10rpx; }
|
||||
.form-item .value { font-size: 28rpx; color: #333; }
|
||||
@@ -366,5 +366,5 @@
|
||||
.modal-footer { display: flex; flex-direction: row; border-top: 1rpx solid #f5f5f5; }
|
||||
.modal-btn { flex: 1; height: 88rpx; line-height: 88rpx; text-align: center; font-size: 28rpx; }
|
||||
.modal-btn.cancel { color: #666; border-right: 1rpx solid #f5f5f5; }
|
||||
.modal-btn.confirm { color: rgb(66, 121, 240); font-weight: bold; }
|
||||
.modal-btn.confirm { color: #09C39D; font-weight: bold; }
|
||||
</style>
|
||||
|
||||
@@ -502,7 +502,7 @@
|
||||
}
|
||||
|
||||
.tab.active {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -514,7 +514,7 @@
|
||||
transform: translateX(-50%);
|
||||
width: 44rpx;
|
||||
height: 4rpx;
|
||||
background: rgb(66, 121, 240);
|
||||
background: #09C39D;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
|
||||
@@ -550,7 +550,7 @@
|
||||
|
||||
.add-btn {
|
||||
font-size: 26rpx;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
@@ -606,7 +606,7 @@
|
||||
}
|
||||
|
||||
.action-edit {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
margin-right: 24rpx;
|
||||
}
|
||||
|
||||
@@ -722,7 +722,7 @@
|
||||
height: 60rpx;
|
||||
padding: 0 20rpx;
|
||||
font-size: 24rpx;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
background-color: #e8f0fe;
|
||||
border-radius: 30rpx;
|
||||
box-sizing: border-box;
|
||||
@@ -763,7 +763,7 @@
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
@@ -850,7 +850,7 @@
|
||||
color: #666666;
|
||||
}
|
||||
.btn.confirm {
|
||||
background: rgb(66, 121, 240);
|
||||
background: #09C39D;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -876,7 +876,7 @@
|
||||
}
|
||||
|
||||
.tier-option.selected {
|
||||
background: rgb(66, 121, 240);
|
||||
background: #09C39D;
|
||||
color: #ffffff;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -659,7 +659,7 @@ this.activeTab = 0
|
||||
|
||||
/* ===== 顶部导航(微信小程序) ===== */
|
||||
.mp-tab-navbar {
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
padding-top: var(--status-bar-height);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -722,8 +722,8 @@ this.activeTab = 0
|
||||
.wb-tab-item:active { background-color: #f5f7fa; }
|
||||
.wb-tab-icon { font-size: 38rpx; }
|
||||
.wb-tab-label { font-size: 24rpx; color: #888; margin-top: 6rpx; }
|
||||
.wb-tab-active .wb-tab-label { color: rgb(66, 121, 240); font-weight: bold; }
|
||||
.wb-tab-active { border-bottom-width: 4rpx; border-bottom-style: solid; border-bottom-color: rgb(66, 121, 240); }
|
||||
.wb-tab-active .wb-tab-label { color: #09C39D; font-weight: bold; }
|
||||
.wb-tab-active { border-bottom-width: 4rpx; border-bottom-style: solid; border-bottom-color: #09C39D; }
|
||||
.wb-tab-badge { position: absolute; top: 10rpx; right: 16rpx; min-width: 28rpx; height: 28rpx; background-color: #ff4d4f; border-radius: 14rpx; display: flex; align-items: center; justify-content: center; padding: 0 6rpx; }
|
||||
.wb-tab-badge-num { font-size: 18rpx; color: #fff; font-weight: bold; }
|
||||
|
||||
@@ -740,7 +740,7 @@ this.activeTab = 0
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.session-hint-avatar { font-size: 32rpx; margin-right: 10rpx; }
|
||||
.session-hint-name { font-size: 24rpx; color: rgb(66, 121, 240); font-weight: bold; flex: 1; }
|
||||
.session-hint-name { font-size: 24rpx; color: #09C39D; font-weight: bold; flex: 1; }
|
||||
.session-hint-status { border-radius: 8rpx; padding: 2rpx 12rpx; margin-right: 16rpx; }
|
||||
.shs-pending { background-color: #fff3e0; }
|
||||
.shs-pending .session-hint-status-text { font-size: 20rpx; color: #ff8c00; }
|
||||
@@ -748,7 +748,7 @@ this.activeTab = 0
|
||||
.shs-active .session-hint-status-text { font-size: 20rpx; color: #388e3c; }
|
||||
.shs-closed { background-color: #f5f5f5; }
|
||||
.shs-closed .session-hint-status-text { font-size: 20rpx; color: #999; }
|
||||
.session-hint-switch { background-color: rgb(66, 121, 240); border-radius: 20rpx; padding: 6rpx 20rpx; }
|
||||
.session-hint-switch { background-color: #09C39D; border-radius: 20rpx; padding: 6rpx 20rpx; }
|
||||
.session-hint-switch-text { font-size: 20rpx; color: #fff; }
|
||||
|
||||
/* ===== 内容区(flex:1 填充剩余高度) ===== */
|
||||
@@ -785,7 +785,7 @@ this.activeTab = 0
|
||||
|
||||
.session-card { display: flex; flex-direction: row; align-items: center; padding: 28rpx 24rpx; border-bottom-width: 1rpx; border-bottom-style: solid; border-bottom-color: #f0f0f0; }
|
||||
.session-card:active { background-color: #f0f7ff; }
|
||||
.session-card-active { background-color: #e8f4ff; border-left-width: 6rpx; border-left-style: solid; border-left-color: rgb(66, 121, 240); }
|
||||
.session-card-active { background-color: #E3F7ED; border-left-width: 6rpx; border-left-style: solid; border-left-color: #09C39D; }
|
||||
.sc-avatar-wrap { position: relative; margin-right: 20rpx; flex-shrink: 0; }
|
||||
.sc-avatar-emoji { font-size: 80rpx; }
|
||||
.sc-unread-badge { position: absolute; top: -6rpx; right: -6rpx; min-width: 32rpx; height: 32rpx; background-color: #ff4d4f; border-radius: 16rpx; display: flex; align-items: center; justify-content: center; padding: 0 8rpx; border-width: 2rpx; border-style: solid; border-color: #fff; }
|
||||
@@ -794,7 +794,7 @@ this.activeTab = 0
|
||||
.sc-row-top { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 4rpx; }
|
||||
.sc-name { font-size: 30rpx; font-weight: bold; color: #1a1a1a; flex: 1; }
|
||||
.sc-time { font-size: 22rpx; color: #aaa; flex-shrink: 0; margin-left: 16rpx; }
|
||||
.sc-consult-type { font-size: 22rpx; color: rgb(66, 121, 240); display: block; margin-bottom: 8rpx; }
|
||||
.sc-consult-type { font-size: 22rpx; color: #09C39D; display: block; margin-bottom: 8rpx; }
|
||||
.sc-row-bottom { display: flex; flex-direction: row; align-items: center; }
|
||||
.sc-preview { font-size: 26rpx; color: #999; flex: 1; }
|
||||
.sc-preview-bold { color: #333; font-weight: bold; }
|
||||
@@ -873,7 +873,7 @@ this.activeTab = 0
|
||||
.qr-close { font-size: 28rpx; color: #aaa; padding: 8rpx; }
|
||||
.qr-scroll { max-height: 240rpx; }
|
||||
.qr-item { background-color: #fff; border-radius: 10rpx; padding: 14rpx 20rpx; margin-bottom: 10rpx; border-width: 1rpx; border-style: solid; border-color: #e8e8e8; }
|
||||
.qr-item:active { background-color: #e8f4ff; }
|
||||
.qr-item:active { background-color: #E3F7ED; }
|
||||
.qr-text { font-size: 26rpx; color: #333; line-height: 1.5; }
|
||||
|
||||
.chat-toolbar { display: flex; flex-direction: row; padding: 16rpx 20rpx 8rpx; gap: 20rpx; border-bottom-width: 1rpx; border-bottom-style: solid; border-bottom-color: #f0f0f0; }
|
||||
@@ -886,14 +886,14 @@ this.activeTab = 0
|
||||
.input-row { display: flex; flex-direction: row; align-items: flex-end; padding: 12rpx 20rpx 16rpx; gap: 16rpx; }
|
||||
.chat-textarea { flex: 1; background-color: #f5f7fa; border-radius: 16rpx; padding: 16rpx 20rpx; font-size: 30rpx; min-height: 80rpx; max-height: 200rpx; color: #333; border-width: 1rpx; border-style: solid; border-color: #e8e8e8; }
|
||||
.send-btn { background-color: #ccc; border-radius: 16rpx; padding: 18rpx 28rpx; flex-shrink: 0; }
|
||||
.send-btn-active { background-color: rgb(66, 121, 240); }
|
||||
.send-btn-active { background-color: #09C39D; }
|
||||
.send-btn-text { font-size: 30rpx; color: #fff; font-weight: bold; }
|
||||
|
||||
/* ====== 模块三:用户资料 ====== */
|
||||
.module-info { flex: 1; overflow: hidden; }
|
||||
.info-scroll { height: 100%; }
|
||||
|
||||
.info-user-card { background-color: rgb(66, 121, 240); padding: 40rpx 30rpx 30rpx; display: flex; flex-direction: row; align-items: center; }
|
||||
.info-user-card { background-color: #09C39D; padding: 40rpx 30rpx 30rpx; display: flex; flex-direction: row; align-items: center; }
|
||||
.info-big-avatar { font-size: 100rpx; margin-right: 24rpx; }
|
||||
.info-user-main { flex: 1; }
|
||||
.info-user-name { font-size: 36rpx; font-weight: bold; color: #fff; display: block; margin-bottom: 16rpx; }
|
||||
@@ -939,7 +939,7 @@ this.activeTab = 0
|
||||
.info-actions { display: flex; flex-direction: row; gap: 20rpx; padding: 24rpx; }
|
||||
.info-action-btn { flex: 1; background-color: #f5f5f5; border-radius: 20rpx; padding: 22rpx 0; display: flex; align-items: center; justify-content: center; }
|
||||
.info-action-btn:active { opacity: 0.8; }
|
||||
.info-action-btn.primary { background-color: rgb(66, 121, 240); }
|
||||
.info-action-btn.primary { background-color: #09C39D; }
|
||||
.info-action-btn.primary .info-action-text { color: #fff; }
|
||||
.info-action-text { font-size: 30rpx; color: #555; font-weight: bold; }
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 机构端 - 服务订单详情页面 -->
|
||||
<!-- 机构端 - 服务订单详情页面 -->
|
||||
<template>
|
||||
<view class="detail-page">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -944,7 +944,7 @@
|
||||
|
||||
/* 医养状态色系 */
|
||||
.sh-pay { background: linear-gradient(135deg, #FF7800 0%, #ff9500 100%); }
|
||||
.sh-pending { background: linear-gradient(135deg, rgb(66,121,240) 0%, rgb(40,80,180) 100%); }
|
||||
.sh-pending { background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%); }
|
||||
.sh-service { background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%); }
|
||||
.sh-done { background: linear-gradient(135deg, #26A69A 0%, #00796B 100%); }
|
||||
.sh-cancel { background: linear-gradient(135deg, #90A4AE 0%, #607D8B 100%); }
|
||||
@@ -1332,10 +1332,10 @@
|
||||
|
||||
.copy-tag {
|
||||
font-size: 20rpx;
|
||||
color: rgb(66,121,240);
|
||||
color: #09C39D;
|
||||
border-width: 1rpx;
|
||||
border-style: solid;
|
||||
border-color: rgb(66,121,240);
|
||||
border-color: #09C39D;
|
||||
border-radius: 4rpx;
|
||||
padding: 2rpx 10rpx;
|
||||
margin-left: 12rpx;
|
||||
@@ -1371,8 +1371,8 @@
|
||||
}
|
||||
|
||||
.remark-tag.buyer {
|
||||
background-color: #e8f4ff;
|
||||
color: rgb(66,121,240);
|
||||
background-color: #E3F7ED;
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
.remark-tag.merchant {
|
||||
@@ -1393,7 +1393,7 @@
|
||||
|
||||
.remark-edit-btn {
|
||||
font-size: 22rpx;
|
||||
color: rgb(66,121,240);
|
||||
color: #09C39D;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
@@ -1445,7 +1445,7 @@
|
||||
}
|
||||
|
||||
.tl-dot-active {
|
||||
background-color: rgb(66,121,240);
|
||||
background-color: #09C39D;
|
||||
}
|
||||
|
||||
.tl-line {
|
||||
@@ -1548,7 +1548,7 @@
|
||||
}
|
||||
|
||||
.ab-primary {
|
||||
background-color: rgb(66,121,240);
|
||||
background-color: #09C39D;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@@ -1672,7 +1672,7 @@
|
||||
}
|
||||
|
||||
.modal-btn.confirm {
|
||||
color: rgb(66,121,240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 机构端 - 服务订单管理页面 -->
|
||||
<!-- 机构端 - 服务订单管理页面 -->
|
||||
<template>
|
||||
<view class="orders-page">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -1049,7 +1049,7 @@
|
||||
color: #666;
|
||||
}
|
||||
.lvl1-tab-item.active .lvl1-tab-text {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
.lvl1-tab-item.active::after {
|
||||
@@ -1060,7 +1060,7 @@
|
||||
transform: translateX(-50%);
|
||||
width: 48rpx;
|
||||
height: 4rpx;
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
|
||||
@@ -1095,7 +1095,7 @@
|
||||
color: #666;
|
||||
}
|
||||
.tab-item.active .tab-text {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
.tab-item.active::after {
|
||||
@@ -1106,7 +1106,7 @@
|
||||
transform: translateX(-50%);
|
||||
width: 36rpx;
|
||||
height: 4rpx;
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
.tab-badge {
|
||||
@@ -1148,15 +1148,15 @@
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
.filter-capsule.active {
|
||||
border-color: rgb(66, 121, 240);
|
||||
background-color: #eef2fe;
|
||||
border-color: #09C39D;
|
||||
background-color: #E3F7ED;
|
||||
}
|
||||
.filter-capsule-text {
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
}
|
||||
.filter-capsule.active .filter-capsule-text {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
/* ===== 搜索栏 ===== */
|
||||
@@ -1183,7 +1183,7 @@
|
||||
margin-left: 16rpx;
|
||||
height: 60rpx;
|
||||
padding: 0 28rpx;
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
color: #fff;
|
||||
font-size: 26rpx;
|
||||
border-radius: 30rpx;
|
||||
@@ -1285,7 +1285,7 @@
|
||||
font-size: 24rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cstatus-2 { color: rgb(66, 121, 240); }
|
||||
.cstatus-2 { color: #09C39D; }
|
||||
.cstatus-3 { color: #2E7D32; }
|
||||
.cstatus-4 { color: #999; }
|
||||
.cstatus-5, .cstatus--1 { color: #bbb; }
|
||||
@@ -1417,7 +1417,7 @@
|
||||
color: #555;
|
||||
}
|
||||
.card-btn.primary {
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
color: #fff;
|
||||
border: none;
|
||||
font-weight: bold;
|
||||
@@ -1553,7 +1553,7 @@
|
||||
border-right-color: #f5f5f5;
|
||||
}
|
||||
.modal-btn.confirm {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
@@ -432,12 +432,12 @@ export default {
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
padding-left: 16rpx;
|
||||
border-left: 6rpx solid rgb(66, 121, 240);
|
||||
border-left: 6rpx solid #09C39D;
|
||||
}
|
||||
|
||||
.edit-btn, .add-btn, .view-detail, .view-all {
|
||||
font-size: 26rpx;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
.product-images {
|
||||
@@ -582,7 +582,7 @@ export default {
|
||||
|
||||
.action-btn.edit {
|
||||
background-color: #e8f0fe;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
.action-btn.delete {
|
||||
@@ -600,14 +600,14 @@ export default {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
padding: 30rpx 0;
|
||||
background: linear-gradient(135deg, #eef2fe, #ece9fa);
|
||||
background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%);
|
||||
border-radius: 12rpx;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
|
||||
@@ -713,13 +713,13 @@ export default {
|
||||
}
|
||||
|
||||
.action-buttons .action-btn.primary {
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.action-buttons .action-btn.secondary {
|
||||
background-color: #E8F0FE;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
.action-buttons .action-btn.danger {
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
<switch
|
||||
:checked="product.is_hot"
|
||||
@change="product.is_hot = !product.is_hot"
|
||||
color="rgb(66, 121, 240)"
|
||||
color="#09C39D"
|
||||
/>
|
||||
</view>
|
||||
|
||||
@@ -221,7 +221,7 @@
|
||||
<switch
|
||||
:checked="product.is_new"
|
||||
@change="product.is_new = !product.is_new"
|
||||
color="rgb(66, 121, 240)"
|
||||
color="#09C39D"
|
||||
/>
|
||||
</view>
|
||||
|
||||
@@ -230,7 +230,7 @@
|
||||
<switch
|
||||
:checked="product.is_featured"
|
||||
@change="product.is_featured = !product.is_featured"
|
||||
color="rgb(66, 121, 240)"
|
||||
color="#09C39D"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
@@ -849,7 +849,7 @@
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 1rpx solid #f5f5f5;
|
||||
padding-left: 16rpx;
|
||||
border-left: 6rpx solid rgb(66, 121, 240);
|
||||
border-left: 6rpx solid #09C39D;
|
||||
}
|
||||
|
||||
.section-desc {
|
||||
@@ -1017,7 +1017,7 @@
|
||||
}
|
||||
|
||||
.submit-btn.primary {
|
||||
background: linear-gradient(135deg, rgb(66, 121, 240) 0%, #5856D6 100%);
|
||||
background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%);
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -455,7 +455,7 @@ font-size: 26rpx;
|
||||
.search-btn {
|
||||
margin-left: 20rpx;
|
||||
padding: 16rpx 30rpx;
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
color: #fff;
|
||||
font-size: 26rpx;
|
||||
border-radius: 32rpx;
|
||||
@@ -479,7 +479,7 @@ position: relative;
|
||||
}
|
||||
|
||||
.filter-tab.active {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -491,7 +491,7 @@ left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 40rpx;
|
||||
height: 4rpx;
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
|
||||
@@ -521,7 +521,7 @@ color: #999;
|
||||
.add-first-btn {
|
||||
margin-top: 30rpx;
|
||||
padding: 20rpx 60rpx;
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
border-radius: 40rpx;
|
||||
@@ -599,7 +599,7 @@ color: #999;
|
||||
|
||||
.status-pending {
|
||||
background-color: #E8F0FE;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
.product-desc {
|
||||
@@ -629,7 +629,7 @@ color: #fff;
|
||||
}
|
||||
|
||||
.tag-new {
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -640,7 +640,7 @@ color: #fff;
|
||||
|
||||
.tag-vip {
|
||||
background-color: #e8f0fe;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -702,7 +702,7 @@ border-radius: 32rpx;
|
||||
}
|
||||
|
||||
.action-edit {
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -736,7 +736,7 @@ align-items: center;
|
||||
justify-content: center;
|
||||
width: 320rpx;
|
||||
height: 88rpx;
|
||||
background: linear-gradient(135deg, rgb(66, 121, 240) 0%, #5856D6 100%);
|
||||
background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%);
|
||||
border-radius: 44rpx;
|
||||
box-shadow: 0 8rpx 20rpx rgba(66, 121, 240, 0.35);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 商家端 - 机构中心 -->
|
||||
<!-- 商家端 - 机构中心 -->
|
||||
<template>
|
||||
<view class="merchant-profile">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -669,7 +669,7 @@
|
||||
|
||||
.view-all-link {
|
||||
font-size: 24rpx;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
/* ===== 店铺头部(渐变背景与 index header 保持同设计语言)===== */
|
||||
@@ -678,7 +678,7 @@
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
padding: 40rpx 30rpx;
|
||||
background: linear-gradient(135deg, rgb(66, 121, 240) 0%, #5856D6 100%);
|
||||
background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%);
|
||||
}
|
||||
|
||||
.shop-logo {
|
||||
@@ -830,7 +830,7 @@
|
||||
.stat-value {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
margin-bottom: 6rpx;
|
||||
}
|
||||
|
||||
@@ -851,7 +851,7 @@
|
||||
border-radius: 16rpx;
|
||||
border-left-width: 6rpx;
|
||||
border-left-style: solid;
|
||||
border-left-color: rgb(66, 121, 240);
|
||||
border-left-color: #09C39D;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
@@ -882,13 +882,13 @@
|
||||
font-size: 22rpx;
|
||||
padding: 4rpx 12rpx;
|
||||
border-radius: 20rpx;
|
||||
background-color: #e3f2fd;
|
||||
color: #1976d2;
|
||||
background-color: #E3F7ED;
|
||||
color: #09C39D;
|
||||
}
|
||||
|
||||
.status-pending { background-color: #fff3e0; color: #f57c00; }
|
||||
.status-paid { background-color: #e8f5e9; color: #388e3c; }
|
||||
.status-shipped { background-color: #e3f2fd; color: #1976d2; }
|
||||
.status-shipped { background-color: #E3F7ED; color: #09C39D; }
|
||||
.status-done { background-color: #f5f5f5; color: #999999; }
|
||||
.status-refund { background-color: #ffebee; color: #f44336; }
|
||||
|
||||
|
||||
@@ -182,13 +182,13 @@
|
||||
.promotions-page { background-color: #f5f5f5; min-height: 100vh; padding-bottom: 140rpx; }
|
||||
.tabs { display: flex; flex-direction: row; background-color: #fff; padding: 0 20rpx; position: sticky; top: 0; z-index: 10; }
|
||||
.tab { flex: 1; text-align: center; padding: 24rpx 0; font-size: 28rpx; color: #666; position: relative; }
|
||||
.tab.active { color: rgb(66, 121, 240); font-weight: bold; }
|
||||
.tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40rpx; height: 4rpx; background-color: rgb(66, 121, 240); border-radius: 2rpx; }
|
||||
.tab.active { color: #09C39D; font-weight: bold; }
|
||||
.tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40rpx; height: 4rpx; background-color: #09C39D; border-radius: 2rpx; }
|
||||
.promotions-list { padding: 20rpx; height: calc(100vh - 200rpx); }
|
||||
.loading-container, .empty-container { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100rpx 0; }
|
||||
.empty-icon { font-size: 100rpx; margin-bottom: 20rpx; }
|
||||
.empty-text, .loading-text { font-size: 28rpx; color: #999; }
|
||||
.add-btn { margin-top: 30rpx; padding: 20rpx 60rpx; background-color: rgb(66, 121, 240); color: #fff; font-size: 28rpx; border-radius: 40rpx; }
|
||||
.add-btn { margin-top: 30rpx; padding: 20rpx 60rpx; background-color: #09C39D; color: #fff; font-size: 28rpx; border-radius: 40rpx; }
|
||||
.promotion-card { background-color: #fff; border-radius: 16rpx; padding: 24rpx; margin-bottom: 20rpx; }
|
||||
.promo-header { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 20rpx; }
|
||||
.promo-name { font-size: 30rpx; font-weight: bold; color: #333; }
|
||||
@@ -203,5 +203,5 @@
|
||||
.promo-actions { display: flex; flex-direction: row; justify-content: flex-end; gap: 16rpx; }
|
||||
.action-btn { padding: 12rpx 24rpx; font-size: 24rpx; background-color: #F5F5F5; color: #666; border-radius: 24rpx; }
|
||||
.action-btn.danger { background-color: #FFEBEE; color: #F44336; }
|
||||
.add-promotion-btn { position: fixed; bottom: 30rpx; left: 50%; transform: translateX(-50%); width: 300rpx; height: 88rpx; background: linear-gradient(135deg, rgb(66, 121, 240) 0%, #5856D6 100%); border-radius: 44rpx; display: flex; flex-direction: row; align-items: center; justify-content: center; font-size: 30rpx; color: #fff; font-weight: bold; box-shadow: 0 8rpx 20rpx rgba(0,122,255,0.3); }
|
||||
.add-promotion-btn { position: fixed; bottom: 30rpx; left: 50%; transform: translateX(-50%); width: 300rpx; height: 88rpx; background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%); border-radius: 44rpx; display: flex; flex-direction: row; align-items: center; justify-content: center; font-size: 30rpx; color: #fff; font-weight: bold; box-shadow: 0 8rpx 20rpx rgba(9,195,157,0.3); }
|
||||
</style>
|
||||
|
||||
@@ -285,7 +285,7 @@
|
||||
}
|
||||
|
||||
.filter-tab.active {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@
|
||||
transform: translateX(-50%);
|
||||
width: 44rpx;
|
||||
height: 4rpx;
|
||||
background-color: rgb(66, 121, 240);
|
||||
background-color: #09C39D;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
|
||||
@@ -444,7 +444,7 @@
|
||||
|
||||
.reply-label {
|
||||
font-size: 24rpx;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
margin-bottom: 8rpx;
|
||||
@@ -473,7 +473,7 @@
|
||||
font-size: 24rpx;
|
||||
line-height: 1.4;
|
||||
background-color: #e8f0fe;
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
border-radius: 24rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -578,7 +578,7 @@
|
||||
}
|
||||
|
||||
.modal-btn.confirm {
|
||||
color: rgb(66, 121, 240);
|
||||
color: #09C39D;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 机构端 - 搜索页面 -->
|
||||
<!-- 机构端 - 搜索页面 -->
|
||||
<template>
|
||||
<view class="page">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -64,7 +64,7 @@
|
||||
.detail-navbar-title { flex: 1; text-align: center; font-size: 32rpx; font-weight: 600; color: #1a1a1a; height: 88rpx; line-height: 88rpx; }
|
||||
.search-bar-row { display: flex; flex-direction: row; align-items: center; background-color: #ffffff; padding: 20rpx 30rpx; margin-bottom: 20rpx; }
|
||||
.search-input { flex: 1; height: 72rpx; background-color: #f5f5f5; border-radius: 36rpx; padding: 0 30rpx; font-size: 28rpx; }
|
||||
.search-btn { margin-left: 20rpx; padding: 0 30rpx; height: 72rpx; line-height: 72rpx; background-color: rgb(66, 121, 240); border-radius: 36rpx; }
|
||||
.search-btn { margin-left: 20rpx; padding: 0 30rpx; height: 72rpx; line-height: 72rpx; background-color: #09C39D; border-radius: 36rpx; }
|
||||
.search-btn-text { font-size: 28rpx; color: #ffffff; }
|
||||
.content { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120rpx 40rpx; }
|
||||
.tip { font-size: 28rpx; color: #999; }
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 机构端 - 机构信息编辑页面 -->
|
||||
<!-- 机构端 - 机构信息编辑页面 -->
|
||||
<template>
|
||||
<view class="shop-edit-page">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -247,7 +247,7 @@
|
||||
<style>
|
||||
.shop-edit-page { background-color: #f5f5f5; min-height: 100vh; padding-bottom: 160rpx; }
|
||||
.section { background-color: #fff; margin-bottom: 20rpx; padding: 30rpx; }
|
||||
.section-title { font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 30rpx; padding-bottom: 20rpx; border-bottom: 1rpx solid #f5f5f5; padding-left: 16rpx; border-left: 6rpx solid rgb(66, 121, 240); }
|
||||
.section-title { font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 30rpx; padding-bottom: 20rpx; border-bottom: 1rpx solid #f5f5f5; padding-left: 16rpx; border-left: 6rpx solid #09C39D; }
|
||||
.form-item { margin-bottom: 30rpx; }
|
||||
.label { font-size: 28rpx; color: #333; display: block; margin-bottom: 16rpx; }
|
||||
.input { height: 72rpx; border: 1rpx solid #e5e5e5; border-radius: 8rpx; padding: 0 20rpx; font-size: 28rpx; }
|
||||
@@ -257,5 +257,5 @@
|
||||
.logo-preview, .banner-preview { width: 100%; height: 100%; }
|
||||
.logo-placeholder, .banner-placeholder { width: 100%; height: 100%; background-color: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 40rpx; color: #999; border: 2rpx dashed #ddd; }
|
||||
.submit-bar { position: fixed; bottom: 0; left: 0; right: 0; padding: 20rpx 30rpx; padding-bottom: calc(20rpx + env(safe-area-inset-bottom)); background-color: #fff; box-shadow: 0 -2rpx 10rpx rgba(0,0,0,0.05); }
|
||||
.submit-btn { height: 88rpx; line-height: 88rpx; text-align: center; font-size: 32rpx; font-weight: bold; border-radius: 44rpx; background: linear-gradient(135deg, rgb(66, 121, 240) 0%, #5856D6 100%); color: #fff; }
|
||||
.submit-btn { height: 88rpx; line-height: 88rpx; text-align: center; font-size: 32rpx; font-weight: bold; border-radius: 44rpx; background: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%); color: #fff; }
|
||||
</style>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<!-- 机构端 - 服务数据统计页面 -->
|
||||
<!-- 机构端 - 服务数据统计页面 -->
|
||||
<template>
|
||||
<view class="statistics-page">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
@@ -209,22 +209,22 @@
|
||||
flex-direction: row;
|
||||
background-color: #fff; padding: 20rpx 30rpx; gap: 20rpx; margin-bottom: 2rpx; }
|
||||
.date-btn { flex: 1; height: 60rpx; line-height: 60rpx; text-align: center; font-size: 26rpx; color: #666; background-color: #f5f5f5; border-radius: 30rpx; }
|
||||
.date-btn.active { background-color: rgb(66, 121, 240); color: #fff; font-weight: bold; }
|
||||
.date-btn.active { background-color: #09C39D; color: #fff; font-weight: bold; }
|
||||
.overview-section, .trend-section, .product-section { background-color: #fff; margin: 20rpx 20rpx 0; border-radius: 16rpx; padding: 30rpx; box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.04); }
|
||||
.section-title { font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 24rpx; padding-left: 18rpx; border-left-width: 6rpx; border-left-style: solid; border-left-color: rgb(66, 121, 240); }
|
||||
.section-title { font-size: 30rpx; font-weight: bold; color: #333; margin-bottom: 24rpx; padding-left: 18rpx; border-left-width: 6rpx; border-left-style: solid; border-left-color: #09C39D; }
|
||||
.overview-grid { display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap; }
|
||||
.overview-item { width: 50%; padding: 20rpx 0; text-align: center; box-sizing: border-box; }
|
||||
.overview-item:nth-child(odd) { border-right-width: 1rpx; border-right-style: solid; border-right-color: #f5f5f5; }
|
||||
.overview-value { font-size: 40rpx; font-weight: bold; color: rgb(66, 121, 240); display: block; }
|
||||
.overview-value { font-size: 40rpx; font-weight: bold; color: #09C39D; display: block; }
|
||||
.overview-label { font-size: 24rpx; color: #999; }
|
||||
.trend-chart { padding: 20rpx 0; }
|
||||
.chart-bars { display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between; align-items: flex-end; height: 200rpx; }
|
||||
.chart-bar-wrapper { display: flex; flex-direction: column; align-items: center; flex: 1; }
|
||||
.chart-bar { width: 40rpx; background: linear-gradient(180deg, rgb(66, 121, 240) 0%, #ece9fa 100%); border-radius: 8rpx 8rpx 0 0; min-height: 10rpx; }
|
||||
.chart-bar { width: 40rpx; background: linear-gradient(180deg, #A6F1E4 0%, #69DFC2 100%); border-radius: 8rpx 8rpx 0 0; min-height: 10rpx; }
|
||||
.chart-label { font-size: 22rpx; color: #999; margin-top: 10rpx; }
|
||||
.product-list { display: flex; flex-direction: column; }
|
||||
.product-item { display: flex; align-items: center; padding: 20rpx 0; border-bottom-width: 1rpx; border-bottom-style: solid; border-bottom-color: #f5f5f5; }
|
||||
@@ -237,5 +237,5 @@
|
||||
.product-info { flex: 1; }
|
||||
.product-name { font-size: 26rpx; color: #333; display: block; }
|
||||
.product-sales { font-size: 22rpx; color: #999; }
|
||||
.product-revenue { font-size: 28rpx; font-weight: bold; color: rgb(66, 121, 240); }
|
||||
.product-revenue { font-size: 28rpx; font-weight: bold; color: #09C39D; }
|
||||
</style>
|
||||
|
||||
32
scripts/replace-theme-colors.ps1
Normal file
32
scripts/replace-theme-colors.ps1
Normal file
@@ -0,0 +1,32 @@
|
||||
$merchantDir = "d:\骅锋\医疗\pages\mall\merchant"
|
||||
$tabbarFile = "d:\骅锋\医疗\components\merchant-tabbar\MerchantTabBar.uvue"
|
||||
$targetFiles = @(Get-ChildItem "$merchantDir\*.uvue") + @(Get-Item $tabbarFile)
|
||||
Write-Host "Found $($targetFiles.Count) files to process"
|
||||
foreach ($file in $targetFiles) {
|
||||
$content = [System.IO.File]::ReadAllText($file.FullName, [System.Text.Encoding]::UTF8)
|
||||
$original = $content
|
||||
# Gradients first
|
||||
$content = $content -replace 'linear-gradient\(135deg,\s*rgb\(66,\s*121,\s*240\)\s*0%,\s*#5856D6\s*100%\)', 'linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%)'
|
||||
$content = $content -replace 'linear-gradient\(135deg,\s*rgb\(66,\s*121,\s*240\)\s*0%,\s*rgb\(40,\s*80,\s*180\)\s*100%\)', 'linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%)'
|
||||
$content = $content -replace 'linear-gradient\(180deg,\s*rgb\(66,\s*121,\s*240\)\s*0%,\s*#ece9fa\s*100%\)', 'linear-gradient(180deg, #A6F1E4 0%, #69DFC2 100%)'
|
||||
$content = $content -replace 'linear-gradient\(to right,\s*#eef2fe,\s*#ece9fa\)', 'linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%)'
|
||||
$content = $content -replace 'linear-gradient\(135deg,\s*#eef2fe,\s*#ece9fa\)', 'linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%)'
|
||||
# Primary blue
|
||||
$content = $content -replace 'rgb\(66,\s*121,\s*240\)', '#09C39D'
|
||||
# Shadow
|
||||
$content = $content -replace 'rgba\(0,\s*122,\s*255,\s*0\.3\)', 'rgba(9,195,157,0.3)'
|
||||
# Blue tints to green tints
|
||||
$content = $content -replace '#eef2fe', '#E3F7ED'
|
||||
$content = $content -replace '#ece9fa', '#B8EEE0'
|
||||
$content = $content -replace '#EFF4FF', '#E3F7ED'
|
||||
$content = $content -replace '#dde3f8', '#D8EFE6'
|
||||
$content = $content -replace '#E3F2FD', '#E3F7ED'
|
||||
$content = $content -replace '#e8f4ff', '#E3F7ED'
|
||||
if ($content -ne $original) {
|
||||
[System.IO.File]::WriteAllText($file.FullName, $content, [System.Text.Encoding]::UTF8)
|
||||
Write-Host "Updated: $($file.Name)"
|
||||
} else {
|
||||
Write-Host "No changes: $($file.Name)"
|
||||
}
|
||||
}
|
||||
Write-Host "All done."
|
||||
18
uni.scss
18
uni.scss
@@ -1,5 +1,23 @@
|
||||
/* Global styles entry. Keep minimal to avoid affecting existing pages. */
|
||||
|
||||
/* ===== 主题色 Token(薄荷绿医养主题)===== */
|
||||
/* 主色 */
|
||||
$theme-primary: #09C39D;
|
||||
$theme-primary-press: #07B58F;
|
||||
$theme-primary-light: #E3F7ED;
|
||||
/* 渐变 */
|
||||
$theme-gradient: linear-gradient(135deg, #A6F1E4 0%, #69DFC2 100%);
|
||||
/* 信息蓝(仅用于 AI 入口、报告指标等信息型场景) */
|
||||
$theme-info: #469AFD;
|
||||
/* 背景 */
|
||||
$theme-bg-page: #F7FCFA;
|
||||
$theme-bg-card: #FFFFFF;
|
||||
/* 边框 */
|
||||
$theme-border-soft: #D8EFE6;
|
||||
/* 文字 */
|
||||
$theme-text-primary: #1D2B2A;
|
||||
$theme-text-secondary: #5F6F6A;
|
||||
|
||||
/* ===== SCSS 变量定义 ===== */
|
||||
/* 为旧占位页面提供基础变量,防止编译错误 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user