feat: 实现主题管理功能,优化样式和组件

This commit is contained in:
pikachu1995@126.com
2026-07-07 10:57:04 +08:00
parent 686aed848d
commit 23e3825366
20 changed files with 183 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="wrapper">
<div class="wrapper" :style="themeStyle">
<!-- 楼层装修组件 -->
<tpl ref="tpl" />
</div>

View File

@@ -10,7 +10,7 @@
.price-text {
font-size: 15px;
font-weight: 500;
color: #e1212b;
color: $main-color;
}
}
.join-item {

View File

@@ -73,7 +73,7 @@ export default {
.price-text {
font-size: 15px;
font-weight: 500;
color: #e1212b;
color: $main-color;
}
}
.join-item {

View File

@@ -70,7 +70,7 @@ export default {
.price-text {
font-size: 15px;
font-weight: 500;
color: #e1212b;
color: $main-color;
}
}
.join-item {

View File

@@ -198,7 +198,7 @@ export default {
.price-text {
font-size: 28rpx;
font-weight: 500;
color: #e1212b;
color: $main-color;
}
}
.join-item {
@@ -248,7 +248,7 @@ export default {
margin-left: 20rpx;
}
.sub {
background-color: #e1212b;
background-color: $main-color;
margin-right: 80rpx;
}
.sub-seckill {
@@ -256,9 +256,9 @@ export default {
padding: 0 !important;
}
.sub-seckill-block {
background: rgba($main-color, 0.3);
background: var(--theme-primary-30, rgba(255, 60, 42, 0.3));
border-radius: 100px !important;
color: rgba($main-color, 0.7);
color: var(--theme-primary-70, rgba(255, 60, 42, 0.7));
overflow: hidden;
padding-right: 8rpx;
}

View File

@@ -77,7 +77,7 @@ export default {
.price-text {
font-size: 15px;
font-weight: 500;
color: #e1212b;
color: $main-color;
}
}
.join-item {

View File

@@ -1,5 +1,5 @@
<template>
<div class="wrapper">
<div class="wrapper" :style="themeStyle">
<!-- uni 中不能使用 vue component 所以用if判断每个组件 -->
<div v-for="(item, index) in pageData.list" :key="index">
<!-- 搜索栏如果在楼层装修顶部则会自动浮动否则不浮动 -->