Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-22 10:54:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c1e1cca7d93239eff0b2c76c0739759407967cc2
c1e1cca7
1 parent
b37b9a53
style: 使用CSS变量统一占位文本颜色
将硬编码的颜色值#d1d5db替换为CSS变量--secondary-color-text,提高样式可维护性
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
src/app.less
src/pages/CreateFamily/index.vue
src/pages/EditFamily/index.vue
src/app.less
View file @
c1e1cca
...
...
@@ -13,6 +13,7 @@
--color-text: #9CA3AF;
--primary-color-rgb: 84, 171, 174;
--secondary-color-bg: #E7E7E7;
--secondary-color-text: #d1d5db;
}
.bg-blue-500 {
...
...
src/pages/CreateFamily/index.vue
View file @
c1e1cca
<!--
* @Date: 2025-08-27 17:44:53
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-22 10:5
1:07
* @LastEditTime: 2025-09-22 10:5
3:04
* @FilePath: /lls_program/src/pages/CreateFamily/index.vue
* @Description: 创建家庭
-->
...
...
@@ -79,7 +79,7 @@
type="text"
v-model="familyMotto[index]"
:placeholder="familyMottoPlaceholder[index]"
placeholder-style="color:
#d1d5db
;"
placeholder-style="color:
var(--secondary-color-text)
;"
@input="(e) => handleInputChange(index, e.target.value)"
@focus="focusedIndex = index"
@blur="handleBlur(index)"
...
...
src/pages/EditFamily/index.vue
View file @
c1e1cca
<!--
* @Date: 2025-08-27 17:44:53
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-22 10:5
1:28
* @LastEditTime: 2025-09-22 10:5
3:14
* @FilePath: /lls_program/src/pages/EditFamily/index.vue
* @Description: 文件描述
-->
...
...
@@ -77,7 +77,7 @@
type="text"
v-model="familyMotto[index]"
:placeholder="familyMottoPlaceholder[index]"
placeholder-style="color:
#d1d5db
;"
placeholder-style="color:
var(--secondary-color-text)
;"
@input="(e) => handleInputChange(index, e.target.value)"
@focus="focusedIndex = index"
@blur="handleBlur(index)"
...
...
Please
register
or
login
to post a comment