Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-exam-show
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-exam-show
Commits
8323a338
提交
8323a338
authored
7月 22, 2026
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 调整移动端题号浮钮位置
上级
9ec605d6
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
16 行增加
和
10 行删除
+16
-10
index.html
index.html
+1
-1
QuestionNum.vue
src/components/QuestionNum.vue
+8
-0
Confirm.vue
src/views/Confirm.vue
+2
-1
Exam.vue
src/views/Exam.vue
+4
-8
Finish.vue
src/views/Finish.vue
+1
-0
没有找到文件。
index.html
浏览文件 @
8323a338
...
...
@@ -4,7 +4,7 @@
<meta
charset=
"UTF-8"
/>
<link
rel=
"icon"
href=
"/favicon.ico"
/>
<meta
name=
"theme-color"
content=
"#3276fc"
/>
<meta
name=
"viewport"
id=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta
name=
"viewport"
id=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no
, viewport-fit=cover
"
/>
<title></title>
</head>
<body>
...
...
src/components/QuestionNum.vue
浏览文件 @
8323a338
...
...
@@ -270,6 +270,14 @@ export default {
/* ========== 移动端适配 ========== */
// 横屏手机 + 平板
@media
(
min-width
:
768px
)
and
(
max-width
:
991px
)
{
.flag-tips
{
width
:
180px
;
padding
:
10px
0
6px
;
}
}
// 竖屏手机
@media
(
max-width
:
767px
)
{
.info
{
...
...
src/views/Confirm.vue
浏览文件 @
8323a338
...
...
@@ -331,6 +331,7 @@ export default {
}
}
.explain-box
{
position
:
relative
;
width
:
100%
;
min-height
:
100%
;
background
:
#f9f9f9
;
...
...
@@ -477,7 +478,7 @@ export default {
transform
:
none
;
width
:
100%
;
background
:
#fff
;
padding
:
16px
0
24px
;
padding
:
16px
0
calc
(
24px
+
env
(
safe-area-inset-bottom
))
;
box-shadow
:
0
-2px
8px
rgba
(
0
,
0
,
0
,
0
.08
);
.tips
{
text-align
:
center
;
...
...
src/views/Exam.vue
浏览文件 @
8323a338
...
...
@@ -327,6 +327,7 @@ export default {
.exam-container
{
width
:
100%
;
height
:
100vh
;
height
:
100dvh
;
display
:
flex
;
flex-direction
:
column
;
overflow
:
hidden
;
...
...
@@ -495,7 +496,7 @@ export default {
}
.footer
{
height
:
auto
;
padding
:
8px
12px
;
padding
:
8px
12px
calc
(
8px
+
env
(
safe-area-inset-bottom
))
;
flex-wrap
:
wrap
;
gap
:
8px
;
.exam-btn
{
...
...
@@ -527,7 +528,7 @@ export default {
.mobile-num-fab
{
display
:
flex
;
position
:
fixed
;
bottom
:
80px
;
bottom
:
calc
(
96px
+
env
(
safe-area-inset-bottom
))
;
right
:
16px
;
width
:
48px
;
height
:
48px
;
...
...
@@ -592,12 +593,7 @@ export default {
overflow-y
:
auto
;
padding
:
0
16px
24px
;
-webkit-overflow-scrolling
:
touch
;
// 隐藏原有固定定位的图例(在弹出层内部跟着文档流)
.flag-tips
{
position
:
static
;
width
:
100%
;
padding
:
10px
0
0
;
}
// 图例在弹出层内跟随文档流(由 QuestionNum 组件自身处理)
}
}
}
...
...
src/views/Finish.vue
浏览文件 @
8323a338
...
...
@@ -50,6 +50,7 @@ export default {
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
width
:
342px
;
max-width
:
90vw
;
height
:
220px
;
background
:
#ffffff
;
border-radius
:
5px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论