Skip to content

Commit fa75dfd

Browse files
committed
美化CSS样式
1 parent 2c2f2a0 commit fa75dfd

File tree

2 files changed

+29
-23
lines changed

2 files changed

+29
-23
lines changed

src/components/DebugList/index.vue

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<div class="view-container">
33
<div class="view-content no-scrollbar">
44
<div class="item" @click="handleDebug(dbg.id)" v-for="dbg in debugs">{{
5-
$t(`$debug${dbg.id}`) }} <div class="shadowed did">DEBUG {{ dbg.id }}</div></div>
5+
$t(`$debug${dbg.id}`) }} <div class="shadowed did">DEBUG {{ dbg.id }}</div>
6+
</div>
67
</div>
78
</div>
89
</template>
@@ -19,27 +20,33 @@ const handleDebug = (id) => {
1920
<style lang="less" scoped>
2021
@import url("../list.less");
2122
22-
.view-content .item {
23-
width: 100% !important;
24-
height: 44px;
25-
line-height: 44px;
26-
font-size: 2rem;
27-
font-weight: bold;
28-
text-align: left;
29-
padding: 0 1rem;
30-
justify-content: flex-start;
31-
.did{
32-
position: absolute;
33-
right: 0;
34-
top: 10px;
35-
height: 1.5rem;
36-
line-height: 1.5rem;
37-
margin-right: .75rem;
38-
width: 7rem;
39-
font-size: 24px;
40-
text-align: center;
41-
background-color: #fff;
42-
border-radius: 4px;
23+
.view-content {
24+
border-top: 4px solid #726c69;
25+
top: 2rem;
26+
27+
.item {
28+
width: 100% !important;
29+
height: 44px;
30+
line-height: 44px;
31+
font-size: 2rem;
32+
font-weight: bold;
33+
text-align: left;
34+
padding: 0 1rem;
35+
justify-content: flex-start;
36+
37+
.did {
38+
position: absolute;
39+
right: 0;
40+
top: 10px;
41+
height: 1.5rem;
42+
line-height: 1.5rem;
43+
margin-right: .75rem;
44+
width: 7rem;
45+
font-size: 24px;
46+
text-align: center;
47+
background-color: #fff;
48+
border-radius: 4px;
49+
}
4350
}
4451
}
4552
</style>

src/components/LanguageSelect/index.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const handleSelectLanguage = (value) => {
3131
.lang-select {
3232
top: 2rem;
3333
border-top: 4px solid #726c69;
34-
3534
}
3635
</style>
3736

0 commit comments

Comments
 (0)