Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
7bae0f7b
Commit
7bae0f7b
authored
Feb 28, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改头部
parent
f6ac76b4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
66 additions
and
18 deletions
+66
-18
sample-form-client-ui/admin/src/assets/img/title_1.jpg
sample-form-client-ui/admin/src/assets/img/title_1.jpg
+0
-0
sample-form-client-ui/admin/src/components/Header.vue
sample-form-client-ui/admin/src/components/Header.vue
+33
-10
sample-form-client-ui/admin/src/components/SearchBox.vue
sample-form-client-ui/admin/src/components/SearchBox.vue
+6
-1
sample-form-client-ui/admin/src/pages/home/Home.vue
sample-form-client-ui/admin/src/pages/home/Home.vue
+5
-1
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
...form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
+22
-6
No files found.
sample-form-client-ui/admin/src/assets/img/title_1.jpg
0 → 100644
View file @
7bae0f7b
67.2 KB
sample-form-client-ui/admin/src/components/Header.vue
View file @
7bae0f7b
<
template
>
<
template
>
<div
class=
"header flex aic jcb"
>
<div
class=
"header flex aic jcc"
>
<slot
name=
"left"
>
<div
class=
"back-one flex aic pointer"
@
click=
"handleBack"
>
<img
class=
"mr10"
src=
"../assets/img/31fanhui1.png"
/>
<span
class=
"back-text"
>
返回上一级
</span>
</div>
</slot>
<slot
name=
"title"
class=
"title"
>
<slot
name=
"title"
class=
"title"
>
<div></div>
<div></div>
</slot>
</slot>
<slot
name=
"right"
><div></div></slot>
<div
class=
"right-box flex aic"
>
<div
class=
"back-one flex aic jcc pointer"
@
click=
"handleBack"
>
<span
class=
"back-text"
>
返回
</span>
</div>
<slot
name=
"right"
><div></div></slot>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -31,10 +30,16 @@ export default {
...
@@ -31,10 +30,16 @@ export default {
.header {
.header {
width: 100%;
width: 100%;
height: 100px;
height: 100px;
padding: 0px 60px;
// padding: 0px 40px;
background: url("../assets/img/title.jpg") no-repeat center;
margin-bottom: 10px;
background: url("../assets/img/title_1.jpg") no-repeat center;
background-size: 100% 100%;
background-size: 100% 100%;
// background: var(--main-theme-color);
box-shadow: 0px 2px 6px 6px #ccc;
box-shadow: 0px 2px 6px 6px #ccc;
.right-box {
position: absolute;
right: 40px;
}
.back-text {
.back-text {
font-size: 28px;
font-size: 28px;
color: #ffffff;
color: #ffffff;
...
@@ -45,5 +50,23 @@ export default {
...
@@ -45,5 +50,23 @@ export default {
font-weight: 500;
font-weight: 500;
color: #ffffff;
color: #ffffff;
}
}
.back-one {
width: 150px;
height: 64px;
border: 1px solid var(--main-h1-color);
border-radius: 8px;
cursor: pointer;
.el-icon-arrow-left,
.icon-home {
font-size: 26px;
color: var(--main-h1-color);
}
span {
font-size: 28px;
font-family: Microsoft YaHei;
color: var(--main-h1-color);
}
}
}
}
</
style
>
</
style
>
sample-form-client-ui/admin/src/components/SearchBox.vue
View file @
7bae0f7b
<
template
>
<
template
>
<div
class=
"search-box"
:style=
"
{ width }">
<div
class=
"search-box"
:style=
"
{ width }">
<el-input
placeholder=
"输入关键词查询"
:value=
"value"
@
input=
"changeInput"
>
<el-input
placeholder=
"输入关键词查询"
:value=
"value"
@
keyup.native.enter=
"handleSearch"
@
input=
"changeInput"
>
<i
<i
v-show=
"value"
v-show=
"value"
slot=
"suffix"
slot=
"suffix"
...
...
sample-form-client-ui/admin/src/pages/home/Home.vue
View file @
7bae0f7b
...
@@ -32,7 +32,11 @@
...
@@ -32,7 +32,11 @@
<div
class=
"flex flexc aic"
>
<div
class=
"flex flexc aic"
>
<img
class=
"mb32"
width=
"700"
src=
"../../assets/img/png_title@2x.png"
/>
<img
class=
"mb32"
width=
"700"
src=
"../../assets/img/png_title@2x.png"
/>
<div
class=
"search-box"
>
<div
class=
"search-box"
>
<el-input
v-model=
"search"
placeholder=
"输入关键词查询"
>
<el-input
v-model=
"search"
placeholder=
"输入关键词查询"
@
keyup.native.enter=
"handleSearch"
>
<i
<i
v-show=
"search"
v-show=
"search"
slot=
"suffix"
slot=
"suffix"
...
...
sample-form-client-ui/admin/src/pages/showpage/ShowMaterials.vue
View file @
7bae0f7b
...
@@ -3,9 +3,13 @@
...
@@ -3,9 +3,13 @@
<div
class=
"write-page flex flexc"
>
<div
class=
"write-page flex flexc"
>
<Header>
<Header>
<div
slot=
"title"
class=
"title"
>
样表展示
</div>
<div
slot=
"title"
class=
"title"
>
样表展示
</div>
<div
slot=
"right"
class=
"back-home flex aic"
@
click=
"handleBackHome"
>
<div
<img
class=
"mr10"
src=
"../../assets/img/shouye.png"
/>
slot=
"right"
返回首页
class=
"back-home flex aic jcc ml20"
@
click=
"handleBackHome"
>
<i
class=
"iconfont icon-home mr10"
></i>
<span>
首页
</span>
</div>
</div>
</Header>
</Header>
<div
class=
"main flex1 flex jcc scroll3"
>
<div
class=
"main flex1 flex jcc scroll3"
>
...
@@ -179,10 +183,21 @@ export default {
...
@@ -179,10 +183,21 @@ export default {
height: 100%;
height: 100%;
background-color: #f5f5f5;
background-color: #f5f5f5;
.back-home {
.back-home {
font-size: 28px;
width: 150px;
font-family: Source Han Sans CN;
height: 64px;
color: #ffffff;
border: 1px solid var(--main-h1-color);
border-radius: 8px;
cursor: pointer;
cursor: pointer;
.el-icon-arrow-left,
.icon-home {
font-size: 26px;
color: var(--main-h1-color);
}
span {
font-size: 28px;
font-family: Microsoft YaHei;
color: var(--main-h1-color);
}
}
}
}
}
.main {
.main {
...
@@ -304,6 +319,7 @@ export default {
...
@@ -304,6 +319,7 @@ export default {
top: 50px;
top: 50px;
.sidebar-btn-title {
.sidebar-btn-title {
writing-mode: vertical-lr;
writing-mode: vertical-lr;
letter-spacing: 3px;
}
}
}
}
}
}
...
...
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