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
18a72fbe
Commit
18a72fbe
authored
Jan 12, 2023
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 首页优化
parent
acc839ed
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
12 deletions
+20
-12
src/assets/logo.png
+0
-0
src/styles/common.scss
+10
-5
src/styles/index.scss
+1
-0
src/views/Home/CulturePage.vue
+6
-4
src/views/Home/IndexPage.vue
+3
-3
No files found.
src/assets/logo.png
View file @
18a72fbe
15.6 KB
|
W:
|
H:
15.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/styles/common.scss
View file @
18a72fbe
...
...
@@ -18,6 +18,11 @@ $primary-color: #e28e39;
}
.fill-parent
{
width
:
100%
;
height
:
100%
;
}
.cover-parent
{
position
:
absolute
;
top
:
0
;
right
:
0
;
...
...
@@ -32,9 +37,6 @@ $primary-color: #e28e39;
position
:
absolute
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
2
;
}
.hover-hl-hidden
{
...
...
@@ -53,7 +55,7 @@ $primary-color: #e28e39;
height
:
100%
;
transition
:
0
.3s
;
background-color
:
$primary-color
;
z-index
:
0
;
z-index
:
10
0
;
}
&
:hover
{
...
...
@@ -61,7 +63,10 @@ $primary-color: #e28e39;
transform
:
translate
(
16px
,
16px
);
opacity
:
0
.8
;
}
.hover-hl-content
{
z-index
:
101
;
}
.hover-hl-hidden
{
opacity
:
1
;
...
...
src/styles/index.scss
View file @
18a72fbe
...
...
@@ -5,6 +5,7 @@ html,
body
{
margin
:
0
;
padding
:
0
;
overflow-x
:
hidden
;
}
body
{
...
...
src/views/Home/CulturePage.vue
View file @
18a72fbe
...
...
@@ -8,15 +8,15 @@
<img
src=
"../../assets/culture/08.jpg"
alt=
""
class=
"mission-img"
/>
</div>
<div
class=
"joshine-idea"
>
<div
class=
"manage-idea"
>
<div
class=
"manage-text"
>
<div
class=
"manage-idea
hover-hl
"
>
<div
class=
"manage-text
hover-hl-content
"
>
<div
class=
"idea"
>
经营理念
</div>
<div>
客户至上 以人为本
</div>
</div>
<img
src=
"~@/assets/culture/02.jpg"
/>
</div>
<div
class=
"idea-content"
>
<div
class=
"content-text"
>
<div
class=
"idea-content
hover-hl
"
>
<div
class=
"content-text
hover-hl-content
"
>
<div
class=
"idea"
>
管理理念
</div>
<div
class=
"idea-des"
>
决策正确、选贤育人、崇尚行动
<br
/>
保持创新、协同互助、达成目标
...
...
@@ -98,6 +98,8 @@ export default {
.manage-idea
img
{
width
:
100%
;
height
:
100%
;
object-fit
:
cover
;
}
.manage-idea
.manage-text
{
...
...
src/views/Home/IndexPage.vue
View file @
18a72fbe
...
...
@@ -59,10 +59,10 @@
<h2
class=
"underline-title news-report-title"
>
新闻报道
</h2>
<div
class=
"news-wrapper"
>
<div
v-for=
"(n, i) in news"
:key=
"i"
class=
"news-item"
>
<div
class=
"news-item-content
fill
-parent"
>
<div
class=
"news-item-content
cover
-parent"
>
<img
class=
"news-img"
:src=
"n.img"
:alt=
"n.title"
/>
<div
class=
"news-summary
fill
-parent hover-hl"
>
<div
class=
"hover-hl-content"
>
<div
class=
"news-summary
cover
-parent hover-hl"
>
<div
class=
"hover-hl-content
fill-parent
"
>
<div
class=
"underline-title"
></div>
<h4
class=
"news-title"
>
{{
n
.
title
}}
</h4>
<div
class=
"news-brief hover-hl-hidden"
>
{{
n
.
brief
}}
</div>
...
...
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