@v2coding/ui 1.1.7 → 1.1.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/dist/v2coding-ui.esm.js +10 -10
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +15 -15
- package/package.json +1 -1
package/dist/v2coding-ui.esm.js
CHANGED
|
@@ -4953,7 +4953,7 @@ var script$o = {
|
|
|
4953
4953
|
return this.$axios.post(this.createAttachmentUrl, params);
|
|
4954
4954
|
}
|
|
4955
4955
|
},
|
|
4956
|
-
|
|
4956
|
+
labelText: {
|
|
4957
4957
|
type: String,
|
|
4958
4958
|
default: '浏览...'
|
|
4959
4959
|
}
|
|
@@ -5119,7 +5119,7 @@ var __vue_render__$o = function () {
|
|
|
5119
5119
|
class: {
|
|
5120
5120
|
disabled: _vm.uploading
|
|
5121
5121
|
}
|
|
5122
|
-
}, [_vm._v(_vm._s(_vm.
|
|
5122
|
+
}, [_vm._v(_vm._s(_vm.labelText))])]) : _vm._e(), _vm._v(" "), _c('div', {
|
|
5123
5123
|
staticClass: "files"
|
|
5124
5124
|
}, [_vm._l(_vm.pickerValue, function (url, index) {
|
|
5125
5125
|
return [!!url ? _c('div', {
|
|
@@ -5151,8 +5151,8 @@ var __vue_staticRenderFns__$o = [];
|
|
|
5151
5151
|
|
|
5152
5152
|
const __vue_inject_styles__$o = function (inject) {
|
|
5153
5153
|
if (!inject) return;
|
|
5154
|
-
inject("data-v-
|
|
5155
|
-
source: ".ui-file-upload-field[data-v-
|
|
5154
|
+
inject("data-v-6b56a02a_0", {
|
|
5155
|
+
source: ".ui-file-upload-field[data-v-6b56a02a]{width:100%}.ui-file-upload-field .uploader[data-v-6b56a02a]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-6b56a02a] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-6b56a02a] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-6b56a02a]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-6b56a02a]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-6b56a02a]{max-width:100%}.ui-file-upload-field .files .file[data-v-6b56a02a]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;display:grid;grid-template-columns:14px auto 28px;align-items:center;max-width:100%}.ui-file-upload-field .files .file a[data-v-6b56a02a]{color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-6b56a02a]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-6b56a02a]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-6b56a02a]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-6b56a02a]{color:#409eff;visibility:visible}",
|
|
5156
5156
|
map: undefined,
|
|
5157
5157
|
media: undefined
|
|
5158
5158
|
});
|
|
@@ -5160,7 +5160,7 @@ const __vue_inject_styles__$o = function (inject) {
|
|
|
5160
5160
|
/* scoped */
|
|
5161
5161
|
|
|
5162
5162
|
|
|
5163
|
-
const __vue_scope_id__$o = "data-v-
|
|
5163
|
+
const __vue_scope_id__$o = "data-v-6b56a02a";
|
|
5164
5164
|
/* module identifier */
|
|
5165
5165
|
|
|
5166
5166
|
const __vue_module_identifier__$o = undefined;
|
|
@@ -5195,7 +5195,7 @@ var script$n = {
|
|
|
5195
5195
|
type: String,
|
|
5196
5196
|
default: 'oss'
|
|
5197
5197
|
},
|
|
5198
|
-
|
|
5198
|
+
labelText: {
|
|
5199
5199
|
type: String,
|
|
5200
5200
|
default: '上传图片'
|
|
5201
5201
|
}
|
|
@@ -5260,7 +5260,7 @@ var __vue_render__$n = function () {
|
|
|
5260
5260
|
staticClass: "item upload-btn"
|
|
5261
5261
|
}, [_c('i', {
|
|
5262
5262
|
staticClass: "el-icon-plus"
|
|
5263
|
-
}), _vm._v(" "), _c('span', [_vm._v(_vm._s(_vm.
|
|
5263
|
+
}), _vm._v(" "), _c('span', [_vm._v(_vm._s(_vm.labelText))])])]) : _vm._e()], 2);
|
|
5264
5264
|
};
|
|
5265
5265
|
|
|
5266
5266
|
var __vue_staticRenderFns__$n = [];
|
|
@@ -5268,8 +5268,8 @@ var __vue_staticRenderFns__$n = [];
|
|
|
5268
5268
|
|
|
5269
5269
|
const __vue_inject_styles__$n = function (inject) {
|
|
5270
5270
|
if (!inject) return;
|
|
5271
|
-
inject("data-v-
|
|
5272
|
-
source: ".ui-image-upload-field[data-v-
|
|
5271
|
+
inject("data-v-eb4c28a6_0", {
|
|
5272
|
+
source: ".ui-image-upload-field[data-v-eb4c28a6]{width:100%;display:flex;flex-direction:row;flex-wrap:wrap}.ui-image-upload-field .uploader.disabled[data-v-eb4c28a6] .el-upload{cursor:not-allowed;pointer-events:none}.ui-image-upload-field .uploader.disabled[data-v-eb4c28a6] .el-upload .upload-btn{background:#edeef0;color:#888c94}.ui-image-upload-field .item[data-v-eb4c28a6]{position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden;width:140px;height:140px;margin-bottom:10px;margin-right:10px;border:1px dashed #d0d2d7;padding:8px;border-radius:2px;box-sizing:border-box}.ui-image-upload-field .item .remove[data-v-eb4c28a6]{position:absolute;top:0;right:0;width:24px;height:24px;background-color:rgba(0,0,0,.7);border-radius:0 0 0 22px;cursor:pointer}.ui-image-upload-field .item .remove .el-icon-close[data-v-eb4c28a6]{position:absolute;top:4px;right:4px;color:#fff;font-size:14px}.ui-image-upload-field .item.upload-btn[data-v-eb4c28a6]{background:#f7f8f9;display:flex;flex-direction:column;align-items:center;justify-content:center;border:none;color:#409eff}.ui-image-upload-field .item.upload-btn>.el-icon-plus[data-v-eb4c28a6]{font-size:1.6em}.ui-image-upload-field .item.upload-btn>span[data-v-eb4c28a6]{font-size:16px;line-height:1.2;margin-top:5px}.ui-image-upload-field .item:hover .modal[data-v-eb4c28a6]{visibility:visible}.ui-image-upload-field[data-v-eb4c28a6] .preview{display:inline-block;width:auto;max-width:60%;left:50%;transform:translateX(-50%)}",
|
|
5273
5273
|
map: undefined,
|
|
5274
5274
|
media: undefined
|
|
5275
5275
|
});
|
|
@@ -5277,7 +5277,7 @@ const __vue_inject_styles__$n = function (inject) {
|
|
|
5277
5277
|
/* scoped */
|
|
5278
5278
|
|
|
5279
5279
|
|
|
5280
|
-
const __vue_scope_id__$n = "data-v-
|
|
5280
|
+
const __vue_scope_id__$n = "data-v-eb4c28a6";
|
|
5281
5281
|
/* module identifier */
|
|
5282
5282
|
|
|
5283
5283
|
const __vue_module_identifier__$n = undefined;
|