@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-common-ui",
3
- "version": "7.9.0",
3
+ "version": "7.9.2",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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"
@@ -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;