Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
Q
quzhou-large-screen
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
quzhou-large-screen
提交
cbf36faf
提交
cbf36faf
编写于
6月 27, 2025
作者:
钟一霄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
标题、数字样式修改
上级
c721706e
变更
8
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
136 行增加
和
2537 行删除
+136
-2537
package-lock.json
package-lock.json
+89
-2526
PingFang-Bold.ttf
src/assets/font/PingFang-Bold.ttf
+0
-0
YOUSHEBIAOTIHEI-2.TTF
src/assets/font/YOUSHEBIAOTIHEI-2.TTF
+0
-0
bahnschrift.ttf
src/assets/font/bahnschrift.ttf
+0
-0
font.css
src/assets/font/font.css
+19
-0
main.js
src/main.js
+1
-0
index.vue
src/pages/welcome/index.vue
+24
-10
index.js
src/utils/index.js
+3
-1
未找到文件。
package-lock.json
浏览文件 @
cbf36faf
此差异已折叠。
点击以展开。
src/assets/font/PingFang-Bold.ttf
0 → 100644
浏览文件 @
cbf36faf
文件已添加
src/assets/font/YOUSHEBIAOTIHEI-2.TTF
0 → 100644
浏览文件 @
cbf36faf
文件已添加
src/assets/font/bahnschrift.ttf
0 → 100644
浏览文件 @
cbf36faf
文件已添加
src/assets/font/font.css
0 → 100644
浏览文件 @
cbf36faf
/* 引入字体 */
@font-face
{
font-family
:
'优设标题黑'
;
src
:
url('YOUSHEBIAOTIHEI-2.TTF')
;
font-weight
:
normal
;
font-style
:
normal
;
}
@font-face
{
font-family
:
'PingFang SC'
;
src
:
url('PingFang-Bold.ttf')
;
font-weight
:
normal
;
font-style
:
normal
;
}
@font-face
{
font-family
:
'Bahnschrift'
;
src
:
url('bahnschrift.ttf')
;
font-weight
:
normal
;
font-style
:
normal
;
}
\ No newline at end of file
src/main.js
浏览文件 @
cbf36faf
...
...
@@ -5,6 +5,7 @@ import router from "./router/index.js";
import
ViewUIPlus
from
'
view-ui-plus
'
import
'
view-ui-plus/dist/styles/viewuiplus.css
'
import
vue3SeamlessScroll
from
"
vue3-seamless-scroll
"
;
import
'
./assets/font/font.css
'
const
app
=
createApp
(
App
)
app
.
use
(
vue3SeamlessScroll
)
...
...
src/pages/welcome/index.vue
浏览文件 @
cbf36faf
...
...
@@ -21,7 +21,7 @@
<span
class=
"title-module-title"
>
总人数
</span>
</div>
<div
class=
"h-c-module-l-c"
>
<h1
class=
"title-module-number orange"
>
{{
init
.
data
.
jcxx
.
num_count
}}
</h1>
<h1
class=
"title-module-number orange
fontNumber
"
>
{{
init
.
data
.
jcxx
.
num_count
}}
</h1>
<span
class=
"title-module-unit orange"
>
人
</span>
</div>
</div>
...
...
@@ -30,7 +30,7 @@
<span
class=
"title-module-title"
>
寝室数
</span>
</div>
<div
class=
"h-c-module-l-c"
>
<h1
class=
"title-module-number orange"
>
{{
init
.
data
.
jcxx
.
room_count
}}
</h1>
<h1
class=
"title-module-number orange
fontNumber
"
>
{{
init
.
data
.
jcxx
.
room_count
}}
</h1>
<span
class=
"title-module-unit orange"
>
个
</span>
</div>
</div>
...
...
@@ -41,7 +41,7 @@
<span
class=
"title-module-title"
>
床位数
</span>
</div>
<div
class=
"h-c-module-c-c"
>
<h1
class=
"title-module-number blueness"
>
{{
init
.
data
.
jcxx
.
bed_count
}}
</h1>
<h1
class=
"title-module-number blueness
fontNumber
"
>
{{
init
.
data
.
jcxx
.
bed_count
}}
</h1>
<span
class=
"title-module-unit blueness"
>
个
</span>
</div>
</div>
...
...
@@ -50,7 +50,7 @@
<span
class=
"title-module-title"
>
入住人数
</span>
</div>
<div
class=
"h-c-module-c-c"
>
<h1
class=
"title-module-number blueness"
>
{{
init
.
data
.
jcxx
.
register_count
}}
</h1>
<h1
class=
"title-module-number blueness
fontNumber
"
>
{{
init
.
data
.
jcxx
.
register_count
}}
</h1>
<span
class=
"title-module-unit blueness"
>
个
</span>
</div>
</div>
...
...
@@ -61,7 +61,7 @@
<span
class=
"title-module-title"
>
空床位
</span>
</div>
<div
class=
"h-c-module-r-c"
>
<h1
class=
"title-module-number yerllow"
>
{{
init
.
data
.
jcxx
.
bednull_count
}}
</h1>
<h1
class=
"title-module-number yerllow
fontNumber
"
>
{{
init
.
data
.
jcxx
.
bednull_count
}}
</h1>
<span
class=
"title-module-unit yerllow"
>
个
</span>
</div>
</div>
...
...
@@ -70,7 +70,7 @@
<span
class=
"title-module-title"
>
入住率
</span>
</div>
<div
class=
"h-c-module-r-c"
>
<h1
class=
"title-module-number yerllow"
>
{{
init
.
data
.
jcxx
.
register_ratio
}}
</h1>
<h1
class=
"title-module-number yerllow
fontNumber
"
>
{{
init
.
data
.
jcxx
.
register_ratio
}}
</h1>
<span
class=
"title-module-unit yerllow"
>
%
</span>
</div>
</div>
...
...
@@ -854,7 +854,15 @@ onMounted(()=>{
})
</
script
>
<
style
scoped
>
<
style
scoped
lang=
"less"
>
.fontNumber{
font-family: 'Bahnschrift';
font-size: 1.3em; /* 稍微放大一点 */
vertical-align: middle;
line-height: 1; /* 防止行高撑大父元素 */
display: inline-block;
}
:root{
...
...
@@ -901,14 +909,17 @@ onMounted(()=>{
display: flex;
justify-content: center;
align-items: center;
font-size: 6.5vh;
.h-t-c-title{
width: var(--init-width);
height: var(--init-height);
margin-bottom: 1.5vh;
color: #00ffff;
font-size
:
1.6vw
;
font-weight
:
bolder
;
font-style
:
italic
;
// font-size: 1.6vw;
// font-weight: bolder;
// font-style: italic;
font-size: 1em;
font-family: '优设标题黑';
}
}
.h-t-r{
...
...
@@ -952,6 +963,7 @@ onMounted(()=>{
display: flex;
justify-content: center;
align-items: center;
font-size: 1.8vw;
}
}
.h-c-module-c{
...
...
@@ -973,6 +985,7 @@ onMounted(()=>{
display: flex;
justify-content: center;
align-items: center;
font-size: 1.8vw;
}
}
.h-c-module-r{
...
...
@@ -994,6 +1007,7 @@ onMounted(()=>{
display: flex;
justify-content: center;
align-items: center;
font-size: 1.8vw;
}
}
}
...
...
src/utils/index.js
浏览文件 @
cbf36faf
import
dayjs
from
"
dayjs
"
;
import
'
dayjs/locale/zh-cn
'
;
import
{
Message
}
from
"
view-ui-plus
"
;
export
function
getTime
(){
return
dayjs
(
`
${
new
Date
()}
`
).
format
(
'
YYYY年MM月DD日 HH:mm:ss
'
)
// new Date() 换成自己需要转换的数据
dayjs
.
locale
(
'
zh-cn
'
)
return
dayjs
().
format
(
'
YYYY年MM月DD日 HH:mm:ss dddd
'
)
// new Date() 换成自己需要转换的数据
}
export
async
function
myEncapsulationFunciotn
(
fun
)
{
let
res
=
await
fun
()
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录