Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
Q
quzhou-large-screen
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
quzhou-large-screen
提交
88bb8981
提交
88bb8981
编写于
11月 11, 2025
作者:
钟一霄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
邵阳职业样式
上级
80e554c0
流水线
#39796
已失败
变更
9
流水线
1
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
327 行增加
和
195 行删除
+327
-195
package-lock.json
package-lock.json
+87
-105
config.js
public/config.js
+6
-0
multiClick.js
src/directives/multiClick.js
+40
-0
versions.js
src/directives/versions.js
+5
-0
main.js
src/main.js
+5
-0
index.vue
src/pages/exceptionRecordList/index.vue
+66
-32
index.vue
src/pages/welcome/index.vue
+56
-28
index.vue
src/pages/welcomeInfo/index.vue
+60
-29
vite.config.js
vite.config.js
+2
-1
未找到文件。
package-lock.json
浏览文件 @
88bb8981
...
@@ -181,6 +181,93 @@
...
@@ -181,6 +181,93 @@
"strip-ansi-cjs"
:
"npm:strip-ansi@^6.0.1"
,
"strip-ansi-cjs"
:
"npm:strip-ansi@^6.0.1"
,
"wrap-ansi"
:
"^8.1.0"
,
"wrap-ansi"
:
"^8.1.0"
,
"wrap-ansi-cjs"
:
"npm:wrap-ansi@^7.0.0"
"wrap-ansi-cjs"
:
"npm:wrap-ansi@^7.0.0"
},
"dependencies"
:
{
"ansi-regex"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz"
,
"integrity"
:
"sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
,
"dev"
:
true
},
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"emoji-regex"
:
{
"version"
:
"8.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz"
,
"integrity"
:
"sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
,
"dev"
:
true
},
"string-width-cjs"
:
{
"version"
:
"npm:string-width@4.2.3"
,
"resolved"
:
"https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz"
,
"integrity"
:
"sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="
,
"dev"
:
true
,
"requires"
:
{
"emoji-regex"
:
"^8.0.0"
,
"is-fullwidth-code-point"
:
"^3.0.0"
,
"strip-ansi"
:
"^6.0.1"
},
"dependencies"
:
{
"strip-ansi"
:
{
"version"
:
"6.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz"
,
"integrity"
:
"sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^5.0.1"
}
}
}
},
"strip-ansi-cjs"
:
{
"version"
:
"npm:strip-ansi@6.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz"
,
"integrity"
:
"sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^5.0.1"
}
},
"wrap-ansi-cjs"
:
{
"version"
:
"npm:wrap-ansi@7.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
,
"integrity"
:
"sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.0.0"
,
"string-width"
:
"^4.1.0"
,
"strip-ansi"
:
"^6.0.0"
},
"dependencies"
:
{
"string-width"
:
{
"version"
:
"4.2.3"
,
"resolved"
:
"https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz"
,
"integrity"
:
"sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="
,
"dev"
:
true
,
"requires"
:
{
"emoji-regex"
:
"^8.0.0"
,
"is-fullwidth-code-point"
:
"^3.0.0"
,
"strip-ansi"
:
"^6.0.1"
}
},
"strip-ansi"
:
{
"version"
:
"6.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz"
,
"integrity"
:
"sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^5.0.1"
}
}
}
}
}
}
},
},
"@jridgewell/gen-mapping"
:
{
"@jridgewell/gen-mapping"
:
{
...
@@ -1365,40 +1452,6 @@
...
@@ -1365,40 +1452,6 @@
"strip-ansi"
:
"^7.0.1"
"strip-ansi"
:
"^7.0.1"
}
}
},
},
"string-width-cjs"
:
{
"version"
:
"npm:string-width@4.2.3"
,
"resolved"
:
"https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz"
,
"integrity"
:
"sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="
,
"dev"
:
true
,
"requires"
:
{
"emoji-regex"
:
"^8.0.0"
,
"is-fullwidth-code-point"
:
"^3.0.0"
,
"strip-ansi"
:
"^6.0.1"
},
"dependencies"
:
{
"ansi-regex"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz"
,
"integrity"
:
"sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
,
"dev"
:
true
},
"emoji-regex"
:
{
"version"
:
"8.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz"
,
"integrity"
:
"sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
,
"dev"
:
true
},
"strip-ansi"
:
{
"version"
:
"6.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz"
,
"integrity"
:
"sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^5.0.1"
}
}
}
},
"strip-ansi"
:
{
"strip-ansi"
:
{
"version"
:
"7.1.0"
,
"version"
:
"7.1.0"
,
"resolved"
:
"https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz"
,
...
@@ -1408,23 +1461,6 @@
...
@@ -1408,23 +1461,6 @@
"ansi-regex"
:
"^6.0.1"
"ansi-regex"
:
"^6.0.1"
}
}
},
},
"strip-ansi-cjs"
:
{
"version"
:
"npm:strip-ansi@6.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz"
,
"integrity"
:
"sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^5.0.1"
},
"dependencies"
:
{
"ansi-regex"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz"
,
"integrity"
:
"sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
,
"dev"
:
true
}
}
},
"sucrase"
:
{
"sucrase"
:
{
"version"
:
"3.35.0"
,
"version"
:
"3.35.0"
,
"resolved"
:
"https://registry.npmmirror.com/sucrase/-/sucrase-3.35.0.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/sucrase/-/sucrase-3.35.0.tgz"
,
...
@@ -1633,60 +1669,6 @@
...
@@ -1633,60 +1669,6 @@
"strip-ansi"
:
"^7.0.1"
"strip-ansi"
:
"^7.0.1"
}
}
},
},
"wrap-ansi-cjs"
:
{
"version"
:
"npm:wrap-ansi@7.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
,
"integrity"
:
"sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.0.0"
,
"string-width"
:
"^4.1.0"
,
"strip-ansi"
:
"^6.0.0"
},
"dependencies"
:
{
"ansi-regex"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz"
,
"integrity"
:
"sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
,
"dev"
:
true
},
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"emoji-regex"
:
{
"version"
:
"8.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz"
,
"integrity"
:
"sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
,
"dev"
:
true
},
"string-width"
:
{
"version"
:
"4.2.3"
,
"resolved"
:
"https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz"
,
"integrity"
:
"sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="
,
"dev"
:
true
,
"requires"
:
{
"emoji-regex"
:
"^8.0.0"
,
"is-fullwidth-code-point"
:
"^3.0.0"
,
"strip-ansi"
:
"^6.0.1"
}
},
"strip-ansi"
:
{
"version"
:
"6.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz"
,
"integrity"
:
"sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^5.0.1"
}
}
}
},
"yaml"
:
{
"yaml"
:
{
"version"
:
"2.4.2"
,
"version"
:
"2.4.2"
,
"resolved"
:
"https://registry.npmmirror.com/yaml/-/yaml-2.4.2.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/yaml/-/yaml-2.4.2.tgz"
,
...
...
public/config.js
浏览文件 @
88bb8981
const
publicConfig
=
{
const
publicConfig
=
{
// 登录超时页路径
// 登录超时页路径
loginTimeoutUrl
:
'
/leaderCockpit/login_time_out.html
'
,
loginTimeoutUrl
:
'
/leaderCockpit/login_time_out.html
'
,
// 学校logo路径
SchoolLogo
:
"
https://yth.syzyedu.com/yxscreendata/logo.png
"
,
// 校训
schoolMotto
:
[
'
明德 笃学 强能
'
],
}
}
\ No newline at end of file
src/directives/multiClick.js
0 → 100644
浏览文件 @
88bb8981
export
default
{
// 在main.js内全局引入并注册
// 指令:3秒内点击5次触发
click5
:
{
mounted
(
el
,
binding
)
{
let
clickCount
=
0
;
let
timer
=
null
;
// 监听 click 事件
el
.
addEventListener
(
'
click
'
,
()
=>
{
// console.log('触发, clickCount', clickCount)
clickCount
++
;
// 启动计时器
if
(
!
timer
)
{
timer
=
setTimeout
(()
=>
{
clickCount
=
0
;
// 超过 3 秒重置计数
timer
=
null
;
},
3000
);
}
// 达到点击次数,触发事件
if
(
clickCount
===
5
)
{
clearTimeout
(
timer
);
// 清除计时器
timer
=
null
;
clickCount
=
0
;
// 调用绑定的回调函数
if
(
typeof
binding
.
value
===
'
function
'
)
{
binding
.
value
();
}
}
});
},
unmounted
(
el
)
{
el
.
removeEventListener
(
'
click
'
,
null
);
// 清理事件监听
}
}
};
src/directives/versions.js
0 → 100644
浏览文件 @
88bb8981
export
{
versions
}
const
versions
=
'
v20251111-syzy-blue
'
\ No newline at end of file
src/main.js
浏览文件 @
88bb8981
...
@@ -5,7 +5,12 @@ import router from "./router/index.js";
...
@@ -5,7 +5,12 @@ 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
multiClick
from
'
./directives/multiClick
'
// 注册指令
const
app
=
createApp
(
App
)
const
app
=
createApp
(
App
)
app
.
directive
(
'
click-5
'
,
multiClick
.
click5
)
app
.
use
(
vue3SeamlessScroll
)
app
.
use
(
vue3SeamlessScroll
)
app
.
use
(
router
)
app
.
use
(
router
)
...
...
src/pages/exceptionRecordList/index.vue
浏览文件 @
88bb8981
...
@@ -3,16 +3,19 @@
...
@@ -3,16 +3,19 @@
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"h-t"
>
<div
class=
"h-t"
>
<div
class=
"h-t-l"
>
<div
class=
"h-t-l"
>
<div
class=
"h-t-l-time"
>
<img
:src=
"pConfig.SchoolLogo"
/>
<!--
<span>
{{
init
.
data
.
time
}}
</span>
-->
</div>
</div>
</div>
<div
class=
"h-t-c"
>
<div
class=
"h-t-c"
>
<span
class=
"h-t-c-title"
>
{{
init
.
data
.
initTitle
.
subject_title
}}
</span>
<span
class=
"h-t-c-title"
>
{{
init
.
data
.
initTitle
.
subject_title
}}
</span>
</div>
</div>
<div
class=
"h-t-r"
>
<div
class=
"h-t-r"
>
<!--
<Icon
@
click=
"value = true"
style=
"font-size:1vw; "
type=
"ios-cog"
color=
"#00FFFFFF"
/>
-->
<div
class=
"h-t-r-motto"
>
<div
class=
"h-r-image"
@
click=
"back"
></div>
<span
v-for=
"(motto, mi) in pConfig.schoolMotto"
:key=
"mi"
>
{{
motto
}}
</span>
</div>
<div
class=
"h-t-r-time"
>
<span
v-for=
"(time, ti) in init.data.time"
:key=
"ti"
>
{{
time
}}
</span>
</div>
<img
class=
"h-r-image"
src=
"../../assets/大屏统一素材/back.png"
@
click=
"back"
/>
</div>
</div>
</div
>
</div
>
</div>
</div>
...
@@ -214,7 +217,11 @@ import {myEncapsulationFunciotn} from "../../utils/index.js";
...
@@ -214,7 +217,11 @@ import {myEncapsulationFunciotn} from "../../utils/index.js";
import
image1
from
"
../../chartsOptions/image1.js
"
;
import
image1
from
"
../../chartsOptions/image1.js
"
;
import
router
from
"
../../router/index.js
"
;
import
router
from
"
../../router/index.js
"
;
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
'
dayjs/locale/zh-cn
'
import
{
Message
,
Page
,
Select
,
Spin
}
from
"
view-ui-plus
"
;
import
{
Message
,
Page
,
Select
,
Spin
}
from
"
view-ui-plus
"
;
dayjs
.
locale
(
'
zh-cn
'
)
const
pConfig
=
ref
(
publicConfig
)
let
formData
=
reactive
({
let
formData
=
reactive
({
data
:{
data
:{
...
@@ -538,7 +545,11 @@ const GetDormScreenInit = async () => {
...
@@ -538,7 +545,11 @@ const GetDormScreenInit = async () => {
}
}
const
timePiece
=
()
=>
{
const
timePiece
=
()
=>
{
init
.
data
.
piece
=
setInterval
(()
=>
{
init
.
data
.
piece
=
setInterval
(()
=>
{
init
.
data
.
time
=
utils
.
getTime
()
init
.
data
.
time
=
[
dayjs
().
format
(
'
YYYY年MM月DD日
'
),
dayjs
().
format
(
'
HH:mm:ss
'
),
dayjs
().
format
(
'
dddd
'
),
]
},
1000
)
},
1000
)
}
}
const
openIndexDB
=
()
=>
{
const
openIndexDB
=
()
=>
{
...
@@ -710,7 +721,7 @@ onMounted(()=>{
...
@@ -710,7 +721,7 @@ onMounted(()=>{
})
})
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
lang=
"less"
>
:root{
:root{
--init-width:100%;
--init-width:100%;
...
@@ -737,48 +748,71 @@ onMounted(()=>{
...
@@ -737,48 +748,71 @@ onMounted(()=>{
justify-content: center;
justify-content: center;
align-content:center ;
align-content:center ;
.h-t-l{
.h-t-l{
width
:
25
%
;
width:
30
%;
height: var(--init-height);
height: var(--init-height);
position: relative;
display: flex;
display: flex;
justify-content: center;
align-items: center;
align-items: center;
.h-t-l-time{
width
:
var
(
--init-width
);
img{
height
:
var
(
--init-height
);
width: auto;
margin-bottom
:
1.4vh
;
height: 64px;
margin-left
:
0.2vw
;
position: absolute;
color
:
#00ffff
;
left: 60px;
font-size
:
1.1vw
;
top: 50%;
transform: translateY(-50%);
}
}
}
}
.h-t-c{
.h-t-c{
width
:
4
8.1
%
;
width: 4
0
%;
height: var(--init-height);
height: var(--init-height);
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
.h-t-c-title{
.h-t-c-title {
width: var(--init-width);
width: var(--init-width);
height: var(--init-height);
height: var(--init-height);
margin-bottom
:
1.5vh
;
color: #c2efff;
color
:
white
;
font-size: 50px;
font-size
:
1.6vw
;
font-family: "华文新魏";
}
}
}
}
.h-t-r{
.h-t-r{
width
:
25
%
;
width:
30
%;
height: var(--init-height);
height: var(--init-height);
position: relative;
display: flex;
display: flex;
padding-top
:
0.5vh
;
flex-direction: column;
justify-content
:
flex-end
;
justify-content: center;
align-items: center;
font-family: "华文新魏";
color: #c2efff;
.h-t-r-motto{
font-size: 30px;
}
.h-t-r-time{
font-size: 16px;
}
.h-t-r-time{
span{
margin-right: 20px;
}
span:last-child{
margin-right: 0;
}
}
.h-r-image {
width: auto;
height: 30px;
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
cursor: pointer;
.h-r-image{
width
:
18%
;
height
:
35%
;
background
:
url("../../assets/materialImage/9.返回图标.png")
;
background-size
:
100%
100%
;
margin-bottom
:
1vw
;
}
}
}
}
...
...
src/pages/welcome/index.vue
浏览文件 @
88bb8981
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"h-t"
>
<div
class=
"h-t"
>
<div
class=
"h-t-l"
>
<div
class=
"h-t-l"
>
<div
class=
"h-t-l-time"
>
<img
:src=
"pConfig.SchoolLogo"
/>
<span>
{{
init
.
data
.
time
}}
</span>
</div>
</div>
</div>
<div
class=
"h-t-c"
v-click-5=
"alertVersion"
>
<div
class=
"h-t-c"
>
<span
class=
"h-t-c-title"
>
{{
init
.
data
.
initTitle
.
subject_title
}}
</span>
<span
class=
"h-t-c-title"
>
{{
init
.
data
.
initTitle
.
subject_title
}}
</span>
</div>
</div>
<div
class=
"h-t-r"
>
<div
class=
"h-t-r"
>
<div
class=
"h-t-r-motto"
>
<div
class=
"h-t-r-motto"
>
<span>
求真笃行
</span>
<span
v-for=
"(motto, mi) in pConfig.schoolMotto"
:key=
"mi"
>
{{
motto
}}
</span>
<span>
厚德强能
</span>
</div>
<div
class=
"h-t-r-time"
>
<span
v-for=
"(time, ti) in init.data.time"
:key=
"ti"
>
{{
time
}}
</span>
</div>
</div>
<Icon
color=
"#fff"
style=
"font-size:1vw; "
type=
"ios-cog"
@
click=
"value = true"
/>
<Icon
color=
"#fff"
style=
"font-size:1vw; "
type=
"ios-cog"
@
click=
"value = true"
/>
</div>
</div>
...
@@ -509,7 +509,12 @@ import {myEncapsulationFunciotn} from "../../utils/index.js";
...
@@ -509,7 +509,12 @@ import {myEncapsulationFunciotn} from "../../utils/index.js";
import
image1
from
"
../../chartsOptions/image1.js
"
;
import
image1
from
"
../../chartsOptions/image1.js
"
;
import
router
from
"
../../router/index.js
"
;
import
router
from
"
../../router/index.js
"
;
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
'
dayjs/locale/zh-cn
'
import
{
Message
}
from
"
view-ui-plus
"
;
import
{
Message
}
from
"
view-ui-plus
"
;
dayjs
.
locale
(
'
zh-cn
'
)
import
{
versions
}
from
'
../../directives/versions
'
const
pConfig
=
ref
(
publicConfig
)
let
formData
=
reactive
({
let
formData
=
reactive
({
data
:
{
data
:
{
...
@@ -630,6 +635,10 @@ const to = (key) => {
...
@@ -630,6 +635,10 @@ const to = (key) => {
})
})
}
}
function
alertVersion
()
{
alert
(
'
versions:
'
+
versions
)
}
const
updateTitle
=
()
=>
{
const
updateTitle
=
()
=>
{
myEncapsulationFunciotn
(
async
()
=>
{
myEncapsulationFunciotn
(
async
()
=>
{
const
res
=
await
api
.
GetDormScreenSave
(
formData
.
data
)
const
res
=
await
api
.
GetDormScreenSave
(
formData
.
data
)
...
@@ -815,7 +824,11 @@ const GetDormScreenInit = async () => {
...
@@ -815,7 +824,11 @@ const GetDormScreenInit = async () => {
}
}
const
timePiece
=
()
=>
{
const
timePiece
=
()
=>
{
init
.
data
.
piece
=
setInterval
(()
=>
{
init
.
data
.
piece
=
setInterval
(()
=>
{
init
.
data
.
time
=
utils
.
getTime
()
init
.
data
.
time
=
[
dayjs
().
format
(
'
YYYY年MM月DD日
'
),
dayjs
().
format
(
'
HH:mm:ss
'
),
dayjs
().
format
(
'
dddd
'
),
]
},
1000
)
},
1000
)
}
}
const
openIndexDB
=
()
=>
{
const
openIndexDB
=
()
=>
{
...
@@ -901,24 +914,25 @@ onMounted(() => {
...
@@ -901,24 +914,25 @@ onMounted(() => {
align-content: center;
align-content: center;
.h-t-l {
.h-t-l {
width:
25
%;
width:
30
%;
height: var(--init-height);
height: var(--init-height);
position: relative;
display: flex;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
align-items: center;
.h-t-l-time
{
img
{
width:
var(--init-width)
;
width:
auto
;
height:
var(--init-height)
;
height:
64px
;
// margin-bottom: 1.4vh
;
position: absolute
;
// margin-left: 0.2vw
;
left: 60px
;
color: #c2efff
;
top: 50%
;
font-size: 24px
;
transform: translateY(-50%)
;
}
}
}
}
.h-t-c {
.h-t-c {
width: 4
8.1
%;
width: 4
0
%;
height: var(--init-height);
height: var(--init-height);
display: flex;
display: flex;
justify-content: center;
justify-content: center;
...
@@ -934,22 +948,36 @@ onMounted(() => {
...
@@ -934,22 +948,36 @@ onMounted(() => {
}
}
.h-t-r {
.h-t-r {
width:
25
%;
width:
30
%;
height: var(--init-height);
height: var(--init-height);
position: relative;
display: flex;
display: flex;
padding-top: 0.8vh;
flex-direction: column;
justify-content: flex-end;
justify-content: center;
cursor: pointer;
align-items: center;
.h-t-r-motto{
width: 100%;
height: 100%;
font-size: 32px;
font-family: "华文新魏";
font-family: "华文新魏";
color: #c2efff;
color: #c2efff;
display: flex;
justify-content: space-evenly;
.h-t-r-motto{
align-items: center;
font-size: 30px;
}
.h-t-r-time{
font-size: 16px;
}
.h-t-r-time{
span{
margin-right: 20px;
}
span:last-child{
margin-right: 0;
}
}
.ivu-icon{
position: absolute;
right: 4px;
top: 50%;
transform: translateY(-50%);
}
}
}
}
...
...
src/pages/welcomeInfo/index.vue
浏览文件 @
88bb8981
...
@@ -2,15 +2,19 @@
...
@@ -2,15 +2,19 @@
<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"
>
<img
:src=
"pConfig.SchoolLogo"
/>
<!--
<span>
{{
init
.
data
.
time
}}
</span>
-->
</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-r-image"
@
click=
"back"
></div>
-->
<div
class=
"h-t-r-motto"
>
<span
v-for=
"(motto, mi) in pConfig.schoolMotto"
:key=
"mi"
>
{{
motto
}}
</span>
</div>
<div
class=
"h-t-r-time"
>
<span
v-for=
"(time, ti) in init.data.time"
:key=
"ti"
>
{{
time
}}
</span>
</div>
<img
class=
"h-r-image"
src=
"../../assets/大屏统一素材/back.png"
@
click=
"back"
/>
</div>
</div>
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
...
@@ -405,13 +409,17 @@
...
@@ -405,13 +409,17 @@
</div>
</div>
</
template
>
</
template
>
<
script
setup
>
<
script
setup
>
import
{
computed
,
onMounted
,
onUnmounted
,
reactive
,
watch
}
from
"
vue
"
;
import
{
computed
,
onMounted
,
onUnmounted
,
reactive
,
ref
,
watch
}
from
"
vue
"
;
import
*
as
utils
from
"
../../utils/index
"
import
*
as
utils
from
"
../../utils/index
"
import
*
as
api
from
'
../../api/index.js
'
import
*
as
api
from
'
../../api/index.js
'
import
{
Vue3SeamlessScroll
}
from
"
vue3-seamless-scroll
"
;
import
{
Vue3SeamlessScroll
}
from
"
vue3-seamless-scroll
"
;
import
{
useRouter
}
from
"
vue-router
"
;
import
{
useRouter
}
from
"
vue-router
"
;
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
'
dayjs/locale/zh-cn
'
import
{
GetBuildStoreyData
}
from
"
../../api/index.js
"
;
import
{
GetBuildStoreyData
}
from
"
../../api/index.js
"
;
dayjs
.
locale
(
'
zh-cn
'
)
const
pConfig
=
ref
(
publicConfig
)
let
router
=
useRouter
()
let
router
=
useRouter
()
let
init
=
reactive
({
let
init
=
reactive
({
...
@@ -641,7 +649,11 @@ const back = () => {
...
@@ -641,7 +649,11 @@ const back = () => {
}
}
const
timePiece
=
()
=>
{
const
timePiece
=
()
=>
{
init
.
data
.
piece
=
setInterval
(()
=>
{
init
.
data
.
piece
=
setInterval
(()
=>
{
init
.
data
.
time
=
utils
.
getTime
()
init
.
data
.
time
=
[
dayjs
().
format
(
'
YYYY年MM月DD日
'
),
dayjs
().
format
(
'
HH:mm:ss
'
),
dayjs
().
format
(
'
dddd
'
),
]
},
1000
)
},
1000
)
}
}
const
initTitle
=
async
()
=>
{
const
initTitle
=
async
()
=>
{
...
@@ -659,7 +671,7 @@ onUnmounted(() => {
...
@@ -659,7 +671,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;
...
@@ -698,24 +710,25 @@ onUnmounted(() => {
...
@@ -698,24 +710,25 @@ onUnmounted(() => {
justify-content: space-evenly;
justify-content: space-evenly;
.h-l {
.h-l {
width
:
22
%
;
width:
30
%;
height: var(--init-height);
height: var(--init-height);
position: relative;
display: flex;
display: flex;
justify-content: center;
align-items: center;
align-items: center;
.h-l-time
{
img{
width
:
var
(
--init-width
);
width: auto;
height
:
var
(
--init-height
);
height: 64px;
margin-bottom
:
1.4vh
;
position: absolute;
margin-left
:
0.2vw
;
left: 60px;
color
:
#00ffff
;
top: 50%;
font-size
:
1.1vw
;
transform: translateY(-50%);
}
}
}
}
.h-c {
.h-c {
width
:
4
8.1
%
;
width: 4
0
%;
height: var(--init-height);
height: var(--init-height);
display: flex;
display: flex;
justify-content: center;
justify-content: center;
...
@@ -724,29 +737,47 @@ onUnmounted(() => {
...
@@ -724,29 +737,47 @@ onUnmounted(() => {
.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-left
:
1.5vw
;
font-size
:
1.6vw
;
color: #c2efff;
color: #c2efff;
font-size: 50px;
font-family: "华文新魏";
}
}
}
}
.h-r {
.h-r {
width
:
25
%
;
width:
30
%;
height: var(--init-height);
height: var(--init-height);
position: relative;
display: flex;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
align-items: center;
justify-content
:
flex-end
;
font-family: "华文新魏";
color: #c2efff;
.h-t-r-motto{
font-size: 30px;
}
.h-t-r-time{
font-size: 16px;
}
.h-t-r-time{
span{
margin-right: 20px;
}
span:last-child{
margin-right: 0;
}
}
.h-r-image {
.h-r-image {
width
:
20%
;
width: auto;
height
:
40%
;
height: 30px;
background
:
url("../../assets/materialImage/9.返回图标.png")
;
position: absolute;
background-size
:
100%
100%
;
right: 8px;
margin-bottom
:
1vw
;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
}
}
}
}
}
}
...
...
vite.config.js
浏览文件 @
88bb8981
...
@@ -14,7 +14,8 @@ export default defineConfig({
...
@@ -14,7 +14,8 @@ export default defineConfig({
// 这里的ccc可乱写, 是拼接在url后面的地址 如果接口中没有统一的后缀可自定义
// 这里的ccc可乱写, 是拼接在url后面的地址 如果接口中没有统一的后缀可自定义
// 如果有统一后缀, 如api, 直接写api即可, 也不用rewrite了
// 如果有统一后缀, 如api, 直接写api即可, 也不用rewrite了
"
/dormmanage
"
:
{
"
/dormmanage
"
:
{
target
:
"
https://asc.hnasct.cn/
"
,
// 真实接口地址, 后端给的基地址
// target: "https://asc.hnasct.cn/", // 真实接口地址, 后端给的基地址
target
:
"
https://yth.syzyedu.com/
"
,
// 真实接口地址, 后端给的基地址
changeOrigin
:
true
,
// 允许跨域
changeOrigin
:
true
,
// 允许跨域
// rewrite: (path) => path.replace(/^\/DutyManagement/, ""), // 将ccc替换为空
// rewrite: (path) => path.replace(/^\/DutyManagement/, ""), // 将ccc替换为空
},
},
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录