feat: 主题颜色的调整,现在支持切换颜色

This commit is contained in:
2026-03-10 15:51:55 +08:00
parent 9cfde3f10a
commit df8a7f4de7
29 changed files with 106 additions and 267 deletions

View File

@@ -65,7 +65,7 @@
#8afcf8 0%,
rgba(138, 252, 248, 0) 100%
),
#2d91ff;
$theme-color-500;
}
.send-icon {

View File

@@ -4,7 +4,7 @@
@click="sendReply(item)">
<view class="flex items-center justify-center">
<image v-if="item.icon" class="icon" :src="item.icon" />
<text class="font-size-14 color-2D91FF line-height-20">
<text class="font-size-14 theme-color-500 line-height-20">
{{ item.title }}
</text>
</view>

View File

@@ -18,6 +18,6 @@
}
.tag-text {
color: #2d91ff; /* 蓝色文字,可根据设计调整 */
color: $theme-color-500;
font-size: $uni-font-size-base;
}

View File

@@ -23,7 +23,7 @@
}
.right {
background-color: #2d91ff;
background-color: $theme-color-500;
border-radius: 5px;
padding: 6px;
}

View File

@@ -17,9 +17,9 @@
<view class="login-agreement flex flex-items-center">
<CheckBox v-model="isAgree">
<text class="font-size-12 color-525866">我已阅读并同意</text>
<text class="font-size-12 color-2D91FF ml-4 mr-4" @click.stop="handleAgreeClick('service')">服务协议</text>
<text class="font-size-12 theme-color-500 ml-4 mr-4" @click.stop="handleAgreeClick('service')">服务协议</text>
<text class="font-size-12 color-525866"></text>
<text class="font-size-12 color-2D91FF ml-4 mr-4" @click.stop="handleAgreeClick('privacy')">隐私协议</text>
<text class="font-size-12 theme-color-500 ml-4 mr-4" @click.stop="handleAgreeClick('privacy')">隐私协议</text>
<text class="font-size-12 color-525866">\n</text>
<text class="font-size-12 color-525866 ml-30">授权与账号关联操作</text>
</CheckBox>

View File

@@ -30,7 +30,7 @@
width: 304px;
.login-btn {
background: #2d91ff;
background: $theme-color-500;
width: 100%;
border-radius: 10px;
}