Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
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
2022-05-17 08:55:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
87cec5e6699891738bcf4a77e3b0e8ec2c29ca38
87cec5e6
1 parent
e5fa6f53
颜色变量测试
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
12 deletions
src/assets/styles/base.less
src/components/BookCard/index.vue
src/components/CommentBox/index.vue
src/components/MyButton/index.vue
src/views/business/index.vue
src/views/business/login.vue
src/views/client/bookDetail.vue
src/views/client/personIndex.vue
src/views/client/videoDetailComment.vue
src/assets/styles/base.less
0 → 100644
View file @
87cec5e
@namespace:
'tswj'
;
/*
============
颜色
============
*/
//
主色调
@base
-color:
#F9D95C;
src/components/BookCard/index.vue
View file @
87cec5e
...
...
@@ -102,7 +102,7 @@ export default {
.upload {
color: #713610;
background-color:
#F9D95C
;
background-color:
@base-color
;
border-radius: 15px;
width: 4rem;
padding: 0.25rem 0.5rem;
...
...
src/components/CommentBox/index.vue
View file @
87cec5e
...
...
@@ -128,9 +128,9 @@ export default {
padding: 0.2rem;
// margin: 0.25rem;
font-size: 0.9rem;
background:
#F9D95C
;
background:
@base-color
;
border-radius: 24px;
border: 1px solid
#F9D95C
;
border: 1px solid
@base-color
;
color: #713610;
font-weight: bold;
margin-left: 1rem;
...
...
src/components/MyButton/index.vue
View file @
87cec5e
...
...
@@ -42,7 +42,6 @@ export default {
</script>
<style lang="less" scoped>
@base
:
#F9D95C;
.
button-primary
{
width:
auto
;
height:
auto
;
...
...
@@ -50,9 +49,9 @@ export default {
padding:
0.6
rem
;
margin:
0.5
rem
;
font-size:
1
rem
;
background:
@base
;
background:
@base
-color
;
border-radius:
24
px
;
border:
1
px
solid
@base
;
border:
1
px
solid
@base
-color
;
color:
#713610;
font-weight:
bold
;
}
...
...
@@ -78,4 +77,4 @@ export default {
border-radius:
24
px
;
border:
1
px
solid
;
}
</style>
\ No newline at end of file
</style>
...
...
src/views/business/index.vue
View file @
87cec5e
...
...
@@ -181,7 +181,7 @@ export default {
overflow: auto;
.text {
color: #222222;
border-bottom: 2px solid
#F9D95C
;
border-bottom: 2px solid
@base-color
;
font-size: 0.85rem;
display: block;
float: left;
...
...
src/views/business/login.vue
View file @
87cec5e
...
...
@@ -252,7 +252,7 @@ body {
// background-color: #FAFAFA;
.btn {
margin: 16px;
background-color:
#F9D95C
;
background-color:
@base-color
;
text-align: center;
color: #713610;
font-size: 2vh;
...
...
src/views/client/bookDetail.vue
View file @
87cec5e
...
...
@@ -407,7 +407,7 @@ export default {
}
.checked {
background:
#F9D95C
;
background:
@base-color
;
border-radius: 15px;
padding: 0.5rem;
text-align: center;
...
...
src/views/client/personIndex.vue
View file @
87cec5e
...
...
@@ -261,7 +261,7 @@ export default {
.title {
color: #222222;
font-size: 1.1rem;
border-bottom: 2px solid
#F9D95C
;
border-bottom: 2px solid
@base-color
;
padding: 0.5rem;
text-align: center;
}
...
...
src/views/client/videoDetailComment.vue
View file @
87cec5e
...
...
@@ -335,7 +335,7 @@ export default {
border-radius: 24px;
// border: 1px solid F7F7F7;
color: #713610;
background-color:
#F9D95C
;
background-color:
@base-color
;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.06);
}
}
...
...
Please
register
or
login
to post a comment