Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
Q
quzhou-large-screen
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
quzhou-large-screen
提交
828298f4
提交
828298f4
编写于
8月 14, 2025
作者:
钟一霄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1. 字体改成在线字体
2. 深挖页面顶部标题字体更新,新增logo 3. 日期间隔调整
上级
79660a98
变更
12
隐藏空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
65 行增加
和
24 行删除
+65
-24
README.md
README.md
+4
-0
index.html
index.html
+2
-0
config.css
public/config.css
+0
-0
font.css
public/font.css
+3
-3
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
main.js
src/main.js
+0
-1
index.vue
src/pages/welcome/index.vue
+6
-1
index.vue
src/pages/welcomeInfo/index.vue
+44
-18
index.js
src/utils/index.js
+1
-1
vite.config.js
vite.config.js
+5
-0
未找到文件。
README.md
浏览文件 @
828298f4
# 宿舍出入记录大屏
# 宿舍出入记录大屏
单点:/et?type=2&token=
单点:/et?type=2&token=
### 更新日志:
### 更新日志:
-
20250814
1.
字体改成在线字体
2.
深挖页面顶部标题字体更新,新增logo
3.
日期间隔调整
-
20250813
-
20250813
1.
调整顶部标题样式
1.
调整顶部标题样式
2.
日期格式
2.
日期格式
...
...
index.html
浏览文件 @
828298f4
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
<link
rel=
"icon"
/>
<link
rel=
"icon"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<script
src=
"./config.js"
></script>
<script
src=
"./config.js"
></script>
<link
rel=
"stylesheet"
href=
"/config.css"
/>
<link
rel=
"stylesheet"
href=
"/font.css"
/>
<title></title>
<title></title>
<script>
<script>
...
...
public/config.css
0 → 100644
浏览文件 @
828298f4
src/assets/font
/font.css
→
public
/font.css
浏览文件 @
828298f4
/* 引入字体 */
/* 引入字体 */
@font-face
{
@font-face
{
font-family
:
'优设标题黑'
;
font-family
:
'优设标题黑'
;
src
:
url('YOUSHEBIAOTIHEI-2.TTF')
;
src
:
url('
/schoolFont/
YOUSHEBIAOTIHEI-2.TTF')
;
font-weight
:
normal
;
font-weight
:
normal
;
font-style
:
normal
;
font-style
:
normal
;
}
}
@font-face
{
@font-face
{
font-family
:
'PingFang SC'
;
font-family
:
'PingFang SC'
;
src
:
url('PingFang-Bold.ttf')
;
src
:
url('
/schoolFont/
PingFang-Bold.ttf')
;
font-weight
:
normal
;
font-weight
:
normal
;
font-style
:
normal
;
font-style
:
normal
;
}
}
@font-face
{
@font-face
{
font-family
:
'Bahnschrift'
;
font-family
:
'Bahnschrift'
;
src
:
url('bahnschrift.ttf')
;
src
:
url('
/schoolFont/
bahnschrift.ttf')
;
font-weight
:
normal
;
font-weight
:
normal
;
font-style
:
normal
;
font-style
:
normal
;
}
}
\ No newline at end of file
src/assets/font/PingFang-Bold.ttf
已删除
100644 → 0
浏览文件 @
79660a98
文件已删除
src/assets/font/YOUSHEBIAOTIHEI-2.TTF
已删除
100644 → 0
浏览文件 @
79660a98
文件已删除
src/assets/font/bahnschrift.ttf
已删除
100644 → 0
浏览文件 @
79660a98
文件已删除
src/main.js
浏览文件 @
828298f4
...
@@ -5,7 +5,6 @@ import router from "./router/index.js";
...
@@ -5,7 +5,6 @@ import router from "./router/index.js";
import
ViewUIPlus
from
'
view-ui-plus
'
import
ViewUIPlus
from
'
view-ui-plus
'
import
'
view-ui-plus/dist/styles/viewuiplus.css
'
import
'
view-ui-plus/dist/styles/viewuiplus.css
'
import
vue3SeamlessScroll
from
"
vue3-seamless-scroll
"
;
import
vue3SeamlessScroll
from
"
vue3-seamless-scroll
"
;
import
'
./assets/font/font.css
'
const
app
=
createApp
(
App
)
const
app
=
createApp
(
App
)
app
.
use
(
vue3SeamlessScroll
)
app
.
use
(
vue3SeamlessScroll
)
...
...
src/pages/welcome/index.vue
浏览文件 @
828298f4
...
@@ -12,7 +12,8 @@
...
@@ -12,7 +12,8 @@
</div>
</div>
<div
class=
"h-t-r"
>
<div
class=
"h-t-r"
>
<div
class=
"h-t-l-time"
>
<div
class=
"h-t-l-time"
>
<span>
{{
init
.
data
.
time
}}
</span>
<!--
<span>
{{
init
.
data
.
time
}}
</span>
-->
<pre
v-html=
"init.data.time"
></pre>
</div>
</div>
<Icon
@
click=
"value = true"
style=
"font-size:1vw; margin: 0 16px 0 8px; position: relative; top: -9%;"
type=
"ios-cog"
color=
"#00FFFFFF"
/>
<Icon
@
click=
"value = true"
style=
"font-size:1vw; margin: 0 16px 0 8px; position: relative; top: -9%;"
type=
"ios-cog"
color=
"#00FFFFFF"
/>
</div>
</div>
...
@@ -904,6 +905,10 @@ onMounted(()=>{
...
@@ -904,6 +905,10 @@ onMounted(()=>{
font-size: 1.1vw;
font-size: 1.1vw;
position: relative;
position: relative;
top: -9%;
top: -9%;
pre{
font-family: Arial;
}
}
}
.h-t-l{
.h-t-l{
width: 25%;
width: 25%;
...
...
src/pages/welcomeInfo/index.vue
浏览文件 @
828298f4
...
@@ -2,14 +2,18 @@
...
@@ -2,14 +2,18 @@
<div
class=
"container1"
>
<div
class=
"container1"
>
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"h-l"
>
<div
class=
"h-l"
>
<div
class=
"h-
l-time
"
>
<div
class=
"h-
t-l-logo
"
>
<
span>
{{
init
.
data
.
time
}}
</span
>
<
img
:src=
"schoolLogo"
/
>
</div>
</div>
</div>
</div>
<div
class=
"h-c"
>
<div
class=
"h-c"
>
<span
class=
"h-l-title"
>
{{
init
.
data
.
title
.
subject_title
}}
</span>
<span
class=
"h-l-title"
>
{{
init
.
data
.
title
.
subject_title
}}
</span>
</div>
</div>
<div
class=
"h-r"
>
<div
class=
"h-r"
>
<div
class=
"h-l-time"
>
<!--
<span>
{{
init
.
data
.
time
}}
</span>
-->
<pre
v-html=
"init.data.time"
></pre>
</div>
<div
class=
"h-r-image"
@
click=
"back"
></div>
<div
class=
"h-r-image"
@
click=
"back"
></div>
</div>
</div>
</div>
</div>
...
@@ -426,6 +430,8 @@ import {useRouter} from "vue-router";
...
@@ -426,6 +430,8 @@ import {useRouter} from "vue-router";
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
{
GetBuildStoreyData
}
from
"
../../api/index.js
"
;
import
{
GetBuildStoreyData
}
from
"
../../api/index.js
"
;
const
schoolLogo
=
SchoolLogo
let
router
=
useRouter
()
let
router
=
useRouter
()
let
init
=
reactive
({
let
init
=
reactive
({
data
:
{
data
:
{
...
@@ -699,7 +705,7 @@ onUnmounted(() => {
...
@@ -699,7 +705,7 @@ onUnmounted(() => {
Object
.
values
(
init
.
data
.
timePiece
).
map
(
cur
=>
clearInterval
(
cur
))
Object
.
values
(
init
.
data
.
timePiece
).
map
(
cur
=>
clearInterval
(
cur
))
})
})
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
lang=
"less"
>
.number {
.number {
font-size: 1.5vw;
font-size: 1.5vw;
font-weight: bolder;
font-weight: bolder;
...
@@ -737,39 +743,58 @@ onUnmounted(() => {
...
@@ -737,39 +743,58 @@ onUnmounted(() => {
display: flex;
display: flex;
justify-content: space-evenly;
justify-content: space-evenly;
.h-l-time {
width: var(--init-width);
height: var(--init-height);
margin-bottom: 1.4vh;
margin-left: 0.2vw;
color: #00ffff;
font-size: 1.1vw;
pre{
font-family: Arial;
}
}
.h-l {
.h-l {
width
:
2
2
%
;
width: 2
5
%;
height: var(--init-height);
height: var(--init-height);
display: flex;
display: flex;
align-items: center;
align-items: center;
.h-l-time
{
.h-t-l-logo{
width
:
var
(
--init-width
);
width: 100%;
height
:
var
(
--init-height
);
height: 100%;
margin-bottom
:
1.4vh
;
padding-left: 60px;
margin-left
:
0.2vw
;
position: relative;
color
:
#00ffff
;
font-size
:
1.1vw
;
img{
height: 6.4vh;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
}
}
}
}
.h-c {
.h-c {
width
:
48.1
%
;
width:
50
%;
height: var(--init-height);
height: var(--init-height);
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
font-size: 6.5vh;
.h-l-title {
.h-l-title {
width: var(--init-width);
width: var(--init-width);
height: var(--init-height);
height: var(--init-height);
margin-bottom: 1.5vh;
margin-bottom: 1.5vh;
margin-left
:
1.5vw
;
color: #00ffff;
color: #00ffff;
font-size
:
1.6vw
;
// font-size: 1.6vw;
font-weight
:
bolder
;
// font-weight: bolder;
font-style
:
italic
;
// font-style: italic;
font-size: 1em;
font-family: '优设标题黑';
}
}
}
}
...
@@ -786,7 +811,8 @@ onUnmounted(() => {
...
@@ -786,7 +811,8 @@ onUnmounted(() => {
height: 40%;
height: 40%;
background: url("../../assets/materialImage/9.返回图标.png");
background: url("../../assets/materialImage/9.返回图标.png");
background-size: 100% 100%;
background-size: 100% 100%;
margin-bottom
:
1vw
;
margin: 0 16px 1.4vh 8px;
cursor: pointer;
}
}
}
}
}
}
...
...
src/utils/index.js
浏览文件 @
828298f4
...
@@ -4,7 +4,7 @@ import {Message} from "view-ui-plus";
...
@@ -4,7 +4,7 @@ import {Message} from "view-ui-plus";
export
function
getTime
(){
export
function
getTime
(){
dayjs
.
locale
(
'
zh-cn
'
)
dayjs
.
locale
(
'
zh-cn
'
)
return
dayjs
().
format
(
'
YYYY-MM-DD
HH:mm:ss
dddd
'
)
// new Date() 换成自己需要转换的数据
return
dayjs
().
format
(
'
YYYY-MM-DD
HH:mm:ss
dddd
'
)
// new Date() 换成自己需要转换的数据
}
}
export
async
function
myEncapsulationFunciotn
(
fun
)
{
export
async
function
myEncapsulationFunciotn
(
fun
)
{
let
res
=
await
fun
()
let
res
=
await
fun
()
...
...
vite.config.js
浏览文件 @
828298f4
...
@@ -18,6 +18,11 @@ export default defineConfig({
...
@@ -18,6 +18,11 @@ export default defineConfig({
changeOrigin
:
true
,
// 允许跨域
changeOrigin
:
true
,
// 允许跨域
// rewrite: (path) => path.replace(/^\/DutyManagement/, ""), // 将ccc替换为空
// rewrite: (path) => path.replace(/^\/DutyManagement/, ""), // 将ccc替换为空
},
},
"
/schoolFont
"
:
{
target
:
"
https://zhxy.gzqy.cn/
"
,
// 真实接口地址, 后端给的基地址
changeOrigin
:
true
,
// 允许跨域
// rewrite: (path) => path.replace(/^\/DutyManagement/, ""), // 将ccc替换为空
},
},
},
}
}
})
})
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录