@jx3box/jx3box-common-ui 7.9.0 → 7.9.2
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 +1 -1
- package/src/bread/Admin.vue +4 -4
- package/src/header/nav.vue +1 -1
package/package.json
CHANGED
package/src/bread/Admin.vue
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div class="c-admin-wrapper">
|
|
13
13
|
<!-- <template v-if="isAdmin"> -->
|
|
14
14
|
<el-divider content-position="left">状态变更</el-divider>
|
|
15
|
-
<el-radio-group v-model="post_status" class="c-admin-status">
|
|
15
|
+
<el-radio-group v-model="post_status" class="c-admin-status" size="small">
|
|
16
16
|
<el-radio-button v-for="(option, key) in status_options" :label="key" :key="key">{{
|
|
17
17
|
option
|
|
18
18
|
}}</el-radio-button>
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
<!-- </template> -->
|
|
21
21
|
|
|
22
22
|
<el-divider content-position="left">可见性变更</el-divider>
|
|
23
|
-
<el-radio-group v-model="visible" class="c-admin-status">
|
|
23
|
+
<el-radio-group v-model="visible" class="c-admin-status" size="small">
|
|
24
24
|
<el-radio-button v-for="(option, key) in visible_options" :label="key" :key="key">{{
|
|
25
25
|
option
|
|
26
26
|
}}</el-radio-button>
|
|
27
27
|
</el-radio-group>
|
|
28
28
|
|
|
29
29
|
<el-divider content-position="left">推荐角标</el-divider>
|
|
30
|
-
<el-checkbox-group v-model="mark" class="c-admin-mark">
|
|
30
|
+
<el-checkbox-group v-model="mark" class="c-admin-mark" size="small">
|
|
31
31
|
<el-checkbox v-for="(option, key) in mark_options" :label="key" :key="key">{{ option }}</el-checkbox>
|
|
32
32
|
</el-checkbox-group>
|
|
33
33
|
|
|
@@ -67,7 +67,6 @@
|
|
|
67
67
|
<el-divider content-position="left">元信息</el-divider>
|
|
68
68
|
<div class="c-admin-info">
|
|
69
69
|
<div class="w-select c-admin-type">
|
|
70
|
-
<div class="u-select-label">板块</div>
|
|
71
70
|
<el-select
|
|
72
71
|
v-model="post_type"
|
|
73
72
|
placeholder="请选择板块"
|
|
@@ -75,6 +74,7 @@
|
|
|
75
74
|
class="u-select drawer-item-content"
|
|
76
75
|
:disabled="appDisabled"
|
|
77
76
|
>
|
|
77
|
+
<span slot="prepend">板块</span>
|
|
78
78
|
<el-option
|
|
79
79
|
v-for="type in type_options"
|
|
80
80
|
:key="type.value"
|
package/src/header/nav.vue
CHANGED
|
@@ -184,7 +184,7 @@ export default {
|
|
|
184
184
|
methods: {
|
|
185
185
|
isFocus: function (type) {
|
|
186
186
|
let active = '';
|
|
187
|
-
const pathname = location.pathname?.split('/')?.filter(Boolean)?.[0] || '';
|
|
187
|
+
const pathname = location.pathname?.split('/')?.filter(Boolean)?.[0] || 'index';
|
|
188
188
|
for (const key in activeNav) {
|
|
189
189
|
if (activeNav[key].includes(pathname)) {
|
|
190
190
|
active = key;
|