@jx3box/jx3box-vue3-ui 0.1.5 → 0.1.6
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 +6 -7
- package/src/single/PostHeader.vue +4 -4
package/package.json
CHANGED
package/src/bread/Admin.vue
CHANGED
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
v-model="dialog_visible"
|
|
6
6
|
:before-close="close"
|
|
7
7
|
append-to-body
|
|
8
|
-
:modal="false"
|
|
9
8
|
:with-header="false"
|
|
10
9
|
v-if="hasRight"
|
|
11
|
-
|
|
10
|
+
:close-on-click-modal="true"
|
|
12
11
|
>
|
|
13
|
-
<div class="c-admin-wrapper">
|
|
12
|
+
<div class="c-admin-wrapper" ref="adminDrawer">
|
|
14
13
|
<!-- <template v-if="isAdmin"> -->
|
|
15
14
|
<el-divider content-position="left">状态变更</el-divider>
|
|
16
15
|
<el-radio-group v-model="post_status" size="small" class="c-admin-status">
|
|
@@ -110,7 +109,7 @@ import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
|
110
109
|
import { getSetting, postSetting } from "../../service/admin";
|
|
111
110
|
import User from "@jx3box/jx3box-common/js/user";
|
|
112
111
|
import MARK from "@jx3box/jx3box-common/data/mark.json";
|
|
113
|
-
import { onClickOutside } from "@vueuse/core";
|
|
112
|
+
// import { onClickOutside } from "@vueuse/core";
|
|
114
113
|
export default {
|
|
115
114
|
name: "BreadAdmin",
|
|
116
115
|
data() {
|
|
@@ -296,9 +295,9 @@ export default {
|
|
|
296
295
|
});
|
|
297
296
|
|
|
298
297
|
// 点击外部关闭
|
|
299
|
-
onClickOutside(this.$refs.adminDrawer, () => {
|
|
300
|
-
|
|
301
|
-
});
|
|
298
|
+
// onClickOutside(this.$refs.adminDrawer, () => {
|
|
299
|
+
// this.close();
|
|
300
|
+
// });
|
|
302
301
|
},
|
|
303
302
|
};
|
|
304
303
|
</script>
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
</span>
|
|
65
65
|
|
|
66
66
|
<!-- 编辑 -->
|
|
67
|
-
<a class="u-edit u-sub-block" :href="edit_link"
|
|
68
|
-
<
|
|
67
|
+
<a class="u-edit u-sub-block" :href="edit_link">
|
|
68
|
+
<el-icon class="u-icon-edit" :size="16"><Edit /></el-icon>
|
|
69
69
|
<span>编辑</span>
|
|
70
70
|
</a>
|
|
71
71
|
</div>
|
|
@@ -286,8 +286,8 @@ export default {
|
|
|
286
286
|
font-size: 16px;
|
|
287
287
|
}
|
|
288
288
|
.pr;
|
|
289
|
-
top:
|
|
290
|
-
.mr(
|
|
289
|
+
top: 4px;
|
|
290
|
+
.mr(1px);
|
|
291
291
|
}
|
|
292
292
|
&:hover {
|
|
293
293
|
box-shadow: 0 1px 0 @color-link;
|