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-06-17 18:23:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00660f9443a95417442dd5750cce7c1dc91a7ec9
00660f94
1 parent
1a108299
捐赠证书样式调整
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
src/components/DonateCert/index.vue
src/components/DonateCert/index.vue
View file @
00660f9
...
...
@@ -9,7 +9,7 @@
<span style="font-size: 0.8rem; color: #272727;">亲爱的捐赠者</span>
</van-col>
<van-col>
<div style="color: #713610; padding: 1rem;" class="
van-hairline--bottom
">{{ item.name }}</div>
<div style="color: #713610; padding: 1rem;" class="
bg-gradient
">{{ item.name }}</div>
</van-col>
<van-col>:</van-col>
</van-row>
...
...
@@ -143,6 +143,7 @@ export default {
margin: 1rem;
overflow: hidden;
margin-right: 2rem;
padding-bottom: 1rem;
.wrapper {
float: right;
font-size: 0.8rem;
...
...
@@ -202,5 +203,15 @@ export default {
width: 100%;
}
}
.bg-gradient {
// 文字下划线
background: linear-gradient(#EAEAEA, #EAEAEA) no-repeat;
/*调整下划线的宽度占百分之百 高度是3px */
// background-size: 100% 3px;
/* 调整下划线的起始位置 左侧是0 上边是1.15em */
// background-position: 0 1rem;
background-size: 100% 1px;
background-position: 0 2.5rem;
}
}
</style>
...
...
Please
register
or
login
to post a comment