Skip to content

Commit c611653

Browse files
committed
style: 修改了移动端的空状态样式
1 parent f127ec1 commit c611653

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

src/components/mobile/MobileWorkspace.vue

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
<main class="mobile-main">
33
<div v-if="!activeChunk" class="mobile-empty">
44
<MessagesSquare class="mobile-empty-icon" />
5-
<p>选择一个场景开始编辑</p>
6-
<p>完整功能建议使用网页端~</p>
5+
<div class="mobile-empty-hint">
6+
选择一个场景开始编辑
7+
<br />
8+
完整功能建议使用 pc 端~
9+
</div>
710
<button
811
class="mobile-primary-button"
912
type="button"
@@ -136,12 +139,21 @@ function startChunkRename() {
136139
justify-content: center;
137140
gap: 14px;
138141
text-align: center;
139-
color: var(--text-secondary);
142+
}
143+
144+
.mobile-empty button {
145+
color: var(--text-primary);
140146
}
141147
142148
.mobile-empty-icon {
143149
width: 56px;
144150
height: 56px;
145151
color: var(--icon-color);
146152
}
153+
154+
.mobile-empty-hint {
155+
line-height: 1.6;
156+
margin-bottom: 12px;
157+
color: var(--text-secondary);
158+
}
147159
</style>

src/styles/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
--bg-statusbar: #333333;
3737
--bg-inspector: #2d2d2d;
3838

39-
--text-primary: #cccccc;
39+
--text-primary: #f3f3f3;
4040
--text-secondary: #707070;
4141
--text-muted: #858585;
4242

0 commit comments

Comments
 (0)