@ysgroup/ui 0.1.9 → 0.1.11
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
|
@@ -31,7 +31,7 @@ const emit = defineEmits<{ open: [app: AppCard] }>();
|
|
|
31
31
|
<div class="ys-portal__meta">
|
|
32
32
|
<span v-if="app.kind === 'service'" class="ys-portal__dot" :class="app.online ? 'on' : 'off'" />
|
|
33
33
|
<span v-if="app.status === 'maintenance'">维护中</span>
|
|
34
|
-
<span v-else-if="app.kind === 'link'"
|
|
34
|
+
<span v-else-if="app.kind === 'link'">链接系统</span>
|
|
35
35
|
<span v-else>{{ app.online ? "在线" : "离线" }}</span>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
@@ -51,7 +51,9 @@ const emit = defineEmits<{ open: [app: AppCard] }>();
|
|
|
51
51
|
padding: 20px 12px;
|
|
52
52
|
text-align: center;
|
|
53
53
|
cursor: pointer;
|
|
54
|
-
transition:
|
|
54
|
+
transition:
|
|
55
|
+
transform 0.12s,
|
|
56
|
+
box-shadow 0.12s;
|
|
55
57
|
}
|
|
56
58
|
.ys-portal__card:hover {
|
|
57
59
|
transform: translateY(-2px);
|
|
@@ -90,7 +90,10 @@ defineExpose({
|
|
|
90
90
|
show-icon
|
|
91
91
|
class="ys-settings__notice"
|
|
92
92
|
/>
|
|
93
|
-
<
|
|
93
|
+
<div class="ys-settings__password-link">
|
|
94
|
+
<span>前往 Auth系统修改密码:</span>
|
|
95
|
+
<el-button tag="a" type="primary" :href="passwordManagementUrl" target="_blank" rel="noopener noreferrer">前往</el-button>
|
|
96
|
+
</div>
|
|
94
97
|
</template>
|
|
95
98
|
<template v-else-if="canChangePassword">
|
|
96
99
|
<h3 class="ys-settings__title">修改登录密码</h3>
|
|
@@ -132,4 +135,10 @@ defineExpose({
|
|
|
132
135
|
.ys-settings__notice {
|
|
133
136
|
margin-bottom: 18px;
|
|
134
137
|
}
|
|
138
|
+
.ys-settings__password-link {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
gap: 8px;
|
|
142
|
+
color: var(--ys-color-text-2);
|
|
143
|
+
}
|
|
135
144
|
</style>
|