@xilonglab/vue-main 1.0.10 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xilonglab/vue-main",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "xilong vue main",
|
|
5
5
|
"main": "packages/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"element-plus": "2.3.6",
|
|
13
|
-
"image-conversion": "^2.1.1"
|
|
13
|
+
"image-conversion": "^2.1.1",
|
|
14
|
+
"@imengyu/vue3-context-menu": "^1.3.3",
|
|
15
|
+
"vue-router": "^4.2.2"
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
// XlLoadingView 组件 - 应用加载状态视图
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="xl-loading-view">
|
|
7
|
+
<div class="xl-loading-content">
|
|
8
|
+
<div class="xl-loading-spinner"></div>
|
|
9
|
+
<div class="xl-loading-text">正在加载...</div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<style lang="less" scoped>
|
|
15
|
+
.xl-loading-view {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
background: radial-gradient(circle at 10% 20%, rgb(0, 93, 133) 0%, rgb(0, 181, 149) 90%);
|
|
20
|
+
height: 100%;
|
|
21
|
+
width: 100%;
|
|
22
|
+
|
|
23
|
+
.xl-loading-content {
|
|
24
|
+
text-align: center;
|
|
25
|
+
color: white;
|
|
26
|
+
|
|
27
|
+
.xl-loading-spinner {
|
|
28
|
+
width: 40px;
|
|
29
|
+
height: 40px;
|
|
30
|
+
border: 3px solid rgba(255, 255, 255, 0.3);
|
|
31
|
+
border-top: 3px solid white;
|
|
32
|
+
border-radius: 50%;
|
|
33
|
+
animation: xl-spin 1s linear infinite;
|
|
34
|
+
margin: 0 auto 20px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.xl-loading-text {
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
opacity: 0.8;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes xl-spin {
|
|
45
|
+
0% { transform: rotate(0deg); }
|
|
46
|
+
100% { transform: rotate(360deg); }
|
|
47
|
+
}
|
|
48
|
+
</style>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
// XlSystemView 组件 - 系统视图(登录页等)
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="xl-system-view">
|
|
7
|
+
<router-view />
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<style lang="less" scoped>
|
|
12
|
+
.xl-system-view {
|
|
13
|
+
height: 100%;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
</style>
|