Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web-js
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
office-web-js
Commits
3cb9ed88
Commit
3cb9ed88
authored
Jan 16, 2023
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 支持切换颜色
parent
cc81912b
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
28 deletions
+24
-28
src/components/HomePageFooter.vue
+1
-3
src/components/HomePageHeader.vue
+4
-6
src/styles/common.scss
+2
-4
src/styles/index.scss
+4
-0
src/views/Home/AboutPage.vue
+3
-3
src/views/Home/ArticlePage.vue
+1
-1
src/views/Home/ColorfulPage.vue
+1
-1
src/views/Home/ContactPage.vue
+1
-1
src/views/Home/IndexPage.vue
+1
-3
src/views/Home/JoinUsPage.vue
+6
-6
No files found.
src/components/HomePageFooter.vue
View file @
3cb9ed88
...
@@ -61,8 +61,6 @@ export default {
...
@@ -61,8 +61,6 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
$
primary-color
:
#e28e39
;
.home-page-footer
{
.home-page-footer
{
background-color
:
#323232
;
background-color
:
#323232
;
color
:
#fff
;
color
:
#fff
;
...
@@ -93,7 +91,7 @@ $primary-color: #e28e39;
...
@@ -93,7 +91,7 @@ $primary-color: #e28e39;
margin-right
:
100px
;
margin-right
:
100px
;
&.active
.footer-link
{
&.active
.footer-link
{
color
:
$
primary-color
;
color
:
var
(
--primary-color
)
;
}
}
}
}
...
...
src/components/HomePageHeader.vue
View file @
3cb9ed88
...
@@ -78,8 +78,6 @@ export default {
...
@@ -78,8 +78,6 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
$
primary-color
:
#e28e39
;
.home-page-header
{
.home-page-header
{
width
:
100%
;
width
:
100%
;
height
:
70px
;
height
:
70px
;
...
@@ -126,7 +124,7 @@ $primary-color: #e28e39;
...
@@ -126,7 +124,7 @@ $primary-color: #e28e39;
width
:
50%
;
width
:
50%
;
transform
:
scaleX
(
$
x
);
transform
:
scaleX
(
$
x
);
height
:
4px
;
height
:
4px
;
background-color
:
$
primary-color
;
background-color
:
var
(
--primary-color
)
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
transition
:
transform
0.3s
;
transition
:
transform
0.3s
;
...
@@ -164,7 +162,7 @@ $primary-color: #e28e39;
...
@@ -164,7 +162,7 @@ $primary-color: #e28e39;
&
.active
{
&
.active
{
&
>
.header-nav-title
{
&
>
.header-nav-title
{
@include
header-nav-item-active(1);
@include
header-nav-item-active(1);
color
:
$
primary-color
;
color
:
var
(
--primary-color
)
;
}
}
}
}
...
@@ -194,7 +192,7 @@ $primary-color: #e28e39;
...
@@ -194,7 +192,7 @@ $primary-color: #e28e39;
list-style-type
:
none
;
list-style-type
:
none
;
&.active
{
&.active
{
color
:
$
primary-color
;
color
:
var
(
--primary-color
)
;
}
}
}
}
...
@@ -206,7 +204,7 @@ $primary-color: #e28e39;
...
@@ -206,7 +204,7 @@ $primary-color: #e28e39;
height
:
100%
;
height
:
100%
;
&:hover
{
&:hover
{
color
:
$
primary-color
;
color
:
var
(
--primary-color
)
;
}
}
}
}
...
...
src/styles/common.scss
View file @
3cb9ed88
$primary-color
:
#e28e39
;
.text-center
{
.text-center
{
text-align
:
center
;
text-align
:
center
;
}
}
...
@@ -24,7 +22,7 @@ $primary-color: #e28e39;
...
@@ -24,7 +22,7 @@ $primary-color: #e28e39;
display
:
block
;
display
:
block
;
width
:
2em
;
width
:
2em
;
height
:
2px
;
height
:
2px
;
background-color
:
$primary-color
;
background-color
:
var
(
--
primary-color
)
;
}
}
}
}
...
@@ -65,7 +63,7 @@ $primary-color: #e28e39;
...
@@ -65,7 +63,7 @@ $primary-color: #e28e39;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
transition
:
0
.3s
;
transition
:
0
.3s
;
background-color
:
$primary-color
;
background-color
:
var
(
--
primary-color
)
;
z-index
:
100
;
z-index
:
100
;
}
}
...
...
src/styles/index.scss
View file @
3cb9ed88
@import
'./icon.scss'
;
@import
'./icon.scss'
;
@import
'./common.scss'
;
@import
'./common.scss'
;
:root
{
--primary-color
:
#e28e39
;
}
html
,
html
,
body
{
body
{
margin
:
0
;
margin
:
0
;
...
...
src/views/Home/AboutPage.vue
View file @
3cb9ed88
...
@@ -206,14 +206,14 @@ export default {
...
@@ -206,14 +206,14 @@ export default {
.progress
{
.progress
{
font-size
:
38px
;
font-size
:
38px
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#e28e39
;
color
:
var
(
--primary-color
)
;
padding-top
:
30px
;
padding-top
:
30px
;
}
}
.progress-line
{
.progress-line
{
width
:
70px
;
width
:
70px
;
height
:
3px
;
height
:
3px
;
background
:
#f08917
;
background
:
var
(
--primary-color
)
;
margin
:
20px
0
;
margin
:
20px
0
;
}
}
...
@@ -235,7 +235,7 @@ export default {
...
@@ -235,7 +235,7 @@ export default {
}
}
.description
{
.description
{
color
:
#e28e39
;
color
:
var
(
--primary-color
)
;
font-weight
:
500
;
font-weight
:
500
;
font-family
:
lantingzh
;
font-family
:
lantingzh
;
line-height
:
27px
;
line-height
:
27px
;
...
...
src/views/Home/ArticlePage.vue
View file @
3cb9ed88
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
display
:
block
;
display
:
block
;
width
:
50px
;
width
:
50px
;
height
:
2px
;
height
:
2px
;
background-color
:
#e28e39
;
background-color
:
var
(
--primary-color
)
;
}
}
}
}
...
...
src/views/Home/ColorfulPage.vue
View file @
3cb9ed88
...
@@ -224,7 +224,7 @@ export default {
...
@@ -224,7 +224,7 @@ export default {
&
.active
{
&
.active
{
color
:
#fff
;
color
:
#fff
;
background-color
:
#e28e39
;
background-color
:
var
(
--primary-color
)
;
}
}
}
}
...
...
src/views/Home/ContactPage.vue
View file @
3cb9ed88
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
position
:
relative
;
position
:
relative
;
flex
:
1
;
flex
:
1
;
color
:
#fff
;
color
:
#fff
;
background-color
:
#e28e39
;
background-color
:
var
(
--primary-color
)
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
...
...
src/views/Home/IndexPage.vue
View file @
3cb9ed88
...
@@ -139,8 +139,6 @@ export default {
...
@@ -139,8 +139,6 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
$
primary-color
:
#e28e39
;
.slides
{
.slides
{
position
:
relative
;
position
:
relative
;
}
}
...
@@ -236,7 +234,7 @@ $primary-color: #e28e39;
...
@@ -236,7 +234,7 @@ $primary-color: #e28e39;
}
}
.services-intro-text
{
.services-intro-text
{
background-color
:
$
primary-color
;
background-color
:
var
(
--primary-color
)
;
color
:
#fff
;
color
:
#fff
;
padding
:
60px
30px
0
30px
;
padding
:
60px
30px
0
30px
;
...
...
src/views/Home/JoinUsPage.vue
View file @
3cb9ed88
...
@@ -490,8 +490,8 @@ input::placeholder {
...
@@ -490,8 +490,8 @@ input::placeholder {
}
}
.recruitment-active
{
.recruitment-active
{
color
:
#e28e39
;
color
:
var
(
--primary-color
)
;
border-bottom
:
1px
solid
#e28e39
;
border-bottom
:
1px
solid
var
(
--primary-color
)
;
}
}
.recruitment
,
.recruitment
,
.city
{
.city
{
...
@@ -505,8 +505,8 @@ input::placeholder {
...
@@ -505,8 +505,8 @@ input::placeholder {
}
}
.city-active
{
.city-active
{
border-bottom
:
1px
solid
#e28e39
;
border-bottom
:
1px
solid
var
(
--primary-color
)
;
color
:
#e28e39
;
color
:
var
(
--primary-color
)
;
}
}
.new-title
{
.new-title
{
...
@@ -562,13 +562,13 @@ input::placeholder {
...
@@ -562,13 +562,13 @@ input::placeholder {
button,
button,
a
{
a
{
background-color
:
#efa958
;
background-color
:
var
(
--primary-color
)
;
border
:
none
;
border
:
none
;
outline
:
none
;
outline
:
none
;
color
:
#fff
;
color
:
#fff
;
padding
:
12px
50px
;
padding
:
12px
50px
;
cursor
:
pointer
;
cursor
:
pointer
;
box-shadow
:
4px
4px
12px
#efa958
;
box-shadow
:
4px
4px
12px
var
(
--primary-color
)
;
text-decoration
:
none
;
text-decoration
:
none
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment