@jx3box/jx3box-ui 2.2.6 → 2.2.8
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/assets/css/bread/admin.less +61 -14
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/bread/Admin.vue +5 -5
|
@@ -62,26 +62,39 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
.c-admin-upload {
|
|
65
|
-
|
|
66
|
-
.x;
|
|
65
|
+
width: 100%;
|
|
67
66
|
|
|
68
67
|
.el-upload {
|
|
69
|
-
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
width: 100%;
|
|
72
|
+
min-height: 148px;
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
background-color: #fbfdff;
|
|
75
|
+
border: 1px dashed #c0ccda;
|
|
76
|
+
border-radius: 6px;
|
|
70
77
|
box-sizing: border-box;
|
|
78
|
+
vertical-align: top;
|
|
71
79
|
}
|
|
72
|
-
overflow: hidden;
|
|
73
80
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
img {
|
|
82
|
+
display: block;
|
|
83
|
+
width: 100%;
|
|
84
|
+
min-height: 148px;
|
|
85
|
+
max-height: 240px;
|
|
86
|
+
object-fit: cover;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.el-icon {
|
|
90
|
+
font-size: 24px;
|
|
91
|
+
color: #8c939d;
|
|
92
|
+
}
|
|
82
93
|
|
|
83
94
|
&:hover {
|
|
84
|
-
|
|
95
|
+
.el-upload {
|
|
96
|
+
border-color: #409eff;
|
|
97
|
+
}
|
|
85
98
|
}
|
|
86
99
|
}
|
|
87
100
|
|
|
@@ -89,6 +102,40 @@
|
|
|
89
102
|
display: flex;
|
|
90
103
|
}
|
|
91
104
|
|
|
105
|
+
.c-admin-select {
|
|
106
|
+
position: relative;
|
|
107
|
+
.flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
|
|
110
|
+
.c-admin-select__label {
|
|
111
|
+
background-color: #f5f7fa;
|
|
112
|
+
color: #909399;
|
|
113
|
+
position: relative;
|
|
114
|
+
display: inline-flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
height: 40px;
|
|
118
|
+
line-height: 40px;
|
|
119
|
+
border-radius: 4px;
|
|
120
|
+
padding: 0 20px;
|
|
121
|
+
white-space: nowrap;
|
|
122
|
+
border-right: 0;
|
|
123
|
+
border-top-right-radius: 0;
|
|
124
|
+
border-bottom-right-radius: 0;
|
|
125
|
+
box-shadow: 1px 0 0 0 #dcdfe6 inset, 0 1px 0 0 #dcdfe6 inset, 0 -1px 0 0 #dcdfe6 inset;
|
|
126
|
+
font-size: 14px;
|
|
127
|
+
box-sizing: border-box;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.c-admin-select__control {
|
|
131
|
+
.el-select__wrapper {
|
|
132
|
+
border-top-left-radius: 0;
|
|
133
|
+
border-bottom-left-radius: 0;
|
|
134
|
+
box-shadow: 0 1px 0 0 #dcdfe6 inset, 0 -1px 0 0 #dcdfe6 inset, 0 0 0 1px #dcdfe6 inset;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
92
139
|
.w-select {
|
|
93
140
|
position: relative;
|
|
94
141
|
.flex;
|
|
@@ -125,7 +172,7 @@
|
|
|
125
172
|
.w(50%);
|
|
126
173
|
min-width: 200px;
|
|
127
174
|
.mr(10px);
|
|
128
|
-
.
|
|
175
|
+
.c-admin-select__label {
|
|
129
176
|
height: 32px;
|
|
130
177
|
line-height: 32px;
|
|
131
178
|
}
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</template>
|
|
16
16
|
bread info
|
|
17
17
|
<template #op-prepend>
|
|
18
|
-
<AdminDrop :post="community" :isCommunity="
|
|
18
|
+
<AdminDrop :post="community" :isCommunity="false" :user-id="8" :showMove="true" />
|
|
19
19
|
</template>
|
|
20
20
|
</breadcrumb>
|
|
21
21
|
<LeftSidebar :open="true" :uid="8">
|
package/src/bread/Admin.vue
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<el-divider content-position="left">{{ $jx3boxT("jx3boxUi.admin.banner", "封面海报") }}</el-divider>
|
|
59
59
|
<div class="c-admin-banner">
|
|
60
60
|
<el-upload
|
|
61
|
-
class="c-admin-upload
|
|
61
|
+
class="c-admin-upload"
|
|
62
62
|
:action="uploadurl"
|
|
63
63
|
:with-credentials="true"
|
|
64
64
|
:show-file-list="false"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
:on-error="uploadFail"
|
|
67
67
|
>
|
|
68
68
|
<img v-if="post_banner" :src="post_banner" />
|
|
69
|
-
<el-icon><Plus /></el-icon>
|
|
69
|
+
<el-icon v-else><Plus /></el-icon>
|
|
70
70
|
</el-upload>
|
|
71
71
|
<el-input class="u-banner" v-model="post_banner">
|
|
72
72
|
<template #prepend>
|
|
@@ -84,13 +84,13 @@
|
|
|
84
84
|
|
|
85
85
|
<el-divider content-position="left">{{ $jx3boxT("jx3boxUi.admin.meta", "元信息") }}</el-divider>
|
|
86
86
|
<div class="c-admin-info">
|
|
87
|
-
<div class="
|
|
88
|
-
<div class="
|
|
87
|
+
<div class="c-admin-select c-admin-type">
|
|
88
|
+
<div class="c-admin-select__label">{{ $jx3boxT("jx3boxUi.admin.section", "板块") }}</div>
|
|
89
89
|
<el-select
|
|
90
90
|
v-model="post_type"
|
|
91
91
|
:placeholder="$jx3boxT('jx3boxUi.admin.sectionPlaceholder', '请选择板块')"
|
|
92
92
|
style="width: 100%"
|
|
93
|
-
class="
|
|
93
|
+
class="c-admin-select__control drawer-item-content"
|
|
94
94
|
:disabled="appDisabled"
|
|
95
95
|
>
|
|
96
96
|
<el-option
|