leisure-common 0.6.85 → 0.6.87
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/index.js +27 -0
- package/le-button-select-media/index.js +7 -0
- package/le-button-select-media/src/main.vue +87 -0
- package/le-button-upload/index.js +7 -0
- package/le-button-upload/src/main.vue +70 -0
- package/le-help/index.js +12 -0
- package/le-help/src/detail.vue +40 -0
- package/le-help/src/main.vue +134 -0
- package/le-image-container/index.js +7 -0
- package/le-image-container/src/main.vue +155 -0
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -12,6 +12,15 @@ import LeRoleUser from "./le-role-user/index.js";
|
|
|
12
12
|
|
|
13
13
|
import LeSelectUser from "./le-select-user/index.js";
|
|
14
14
|
import LeUser from "./le-user/index.js";
|
|
15
|
+
import LeButtonSelectMedia from "./le-button-select-media/index.js";
|
|
16
|
+
|
|
17
|
+
// import LeMedia from "./le-media/index.js";
|
|
18
|
+
// import LeMediaUpload from "./le-media-upload/index.js";
|
|
19
|
+
// import LeMediaList from "./le-media-list/index.js";
|
|
20
|
+
import LeButtonUpload from "./le-button-upload/index.js";
|
|
21
|
+
import LeImageContainer from "./le-image-container/index.js";
|
|
22
|
+
|
|
23
|
+
import { LeHelp, LeHelpDetail } from "./le-help/index.js";
|
|
15
24
|
|
|
16
25
|
const components = [
|
|
17
26
|
LeComEmployee,
|
|
@@ -27,7 +36,15 @@ const components = [
|
|
|
27
36
|
LeRole,
|
|
28
37
|
LeRoleUser,
|
|
29
38
|
LeSelectUser,
|
|
39
|
+
LeButtonSelectMedia,
|
|
30
40
|
LeUser,
|
|
41
|
+
// LeMedia,
|
|
42
|
+
// LeMediaUpload,
|
|
43
|
+
// LeMediaList,
|
|
44
|
+
LeButtonUpload,
|
|
45
|
+
LeImageContainer,
|
|
46
|
+
LeHelp,
|
|
47
|
+
LeHelpDetail,
|
|
31
48
|
];
|
|
32
49
|
|
|
33
50
|
const install = function (Vue) {
|
|
@@ -54,4 +71,14 @@ export default {
|
|
|
54
71
|
LeRoleUser,
|
|
55
72
|
LeSelectUser,
|
|
56
73
|
LeUser,
|
|
74
|
+
LeButtonSelectMedia,
|
|
75
|
+
|
|
76
|
+
// LeMedia,
|
|
77
|
+
// LeMediaUpload,
|
|
78
|
+
// LeMediaList,
|
|
79
|
+
LeButtonUpload,
|
|
80
|
+
LeImageContainer,
|
|
81
|
+
|
|
82
|
+
LeHelp,
|
|
83
|
+
LeHelpDetail,
|
|
57
84
|
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="le-button-select-media">
|
|
3
|
+
<le-button type="primary" id="btnSelectMedia" @click="onClick">{{
|
|
4
|
+
btnTitle
|
|
5
|
+
}}</le-button>
|
|
6
|
+
<le-dialog-container
|
|
7
|
+
:title="title"
|
|
8
|
+
:showDialog="showDialog"
|
|
9
|
+
:showFooter="showFooter"
|
|
10
|
+
:width="width"
|
|
11
|
+
:showCloseBtnTop="showCloseBtnTop"
|
|
12
|
+
@close="closeDialog"
|
|
13
|
+
>
|
|
14
|
+
<le-media-list
|
|
15
|
+
:multiple="multiple"
|
|
16
|
+
:systemMaterialListApi="systemMaterialListApi"
|
|
17
|
+
ref="selectMedias"
|
|
18
|
+
v-if="showDialog"
|
|
19
|
+
@selectContent="selectContent"
|
|
20
|
+
></le-media-list>
|
|
21
|
+
</le-dialog-container>
|
|
22
|
+
</div>
|
|
23
|
+
</template>
|
|
24
|
+
<script>
|
|
25
|
+
import { systemMaterialList } from "@/api/media";
|
|
26
|
+
export default {
|
|
27
|
+
name: "le-button-select-media",
|
|
28
|
+
props: {
|
|
29
|
+
btnTitle: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: "选择素材",
|
|
32
|
+
},
|
|
33
|
+
width: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: "70%",
|
|
36
|
+
},
|
|
37
|
+
title: {
|
|
38
|
+
type: String,
|
|
39
|
+
default: "选择素材",
|
|
40
|
+
},
|
|
41
|
+
param: {
|
|
42
|
+
type: [Object, String, Number],
|
|
43
|
+
default: () => {},
|
|
44
|
+
},
|
|
45
|
+
multiple: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: true,
|
|
48
|
+
},
|
|
49
|
+
showFooter: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: false,
|
|
52
|
+
},
|
|
53
|
+
showCloseBtnTop: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: true,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
data() {
|
|
59
|
+
return {
|
|
60
|
+
showDialog: false,
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
methods: {
|
|
64
|
+
systemMaterialListApi(params) {
|
|
65
|
+
return systemMaterialList(params);
|
|
66
|
+
},
|
|
67
|
+
onClick() {
|
|
68
|
+
this.showDialog = true;
|
|
69
|
+
},
|
|
70
|
+
closeDialog() {
|
|
71
|
+
this.showDialog = false;
|
|
72
|
+
},
|
|
73
|
+
selectContent(value) {
|
|
74
|
+
this.$emit("selectContent", value, this.param);
|
|
75
|
+
if (!this.multiple) {
|
|
76
|
+
this.closeDialog();
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
</script>
|
|
82
|
+
<style lang="scss" scoped>
|
|
83
|
+
.le-button-select-media {
|
|
84
|
+
margin-left: 8px;
|
|
85
|
+
margin-right: 8px;
|
|
86
|
+
}
|
|
87
|
+
</style>
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<le-button type="primary" id="btnUpload" @click="onClick">{{
|
|
4
|
+
title
|
|
5
|
+
}}</le-button>
|
|
6
|
+
<le-dialog-container
|
|
7
|
+
:title="title"
|
|
8
|
+
:showDialog="showDialog"
|
|
9
|
+
:width="width"
|
|
10
|
+
:showCloseBtnTop="showCloseBtnTop"
|
|
11
|
+
@close="closeDialog"
|
|
12
|
+
>
|
|
13
|
+
<le-media-upload
|
|
14
|
+
:mediaObj="mediaObj"
|
|
15
|
+
:systemMaterialCreateApi="systemMaterialCreateApi"
|
|
16
|
+
:systemMaterialEditApi="systemMaterialEditApi"
|
|
17
|
+
:uploadFileApi="uploadFileApi"
|
|
18
|
+
v-if="showDialog"
|
|
19
|
+
@cancel="closeDialog"
|
|
20
|
+
@callMdiaUrl="callMdiaUrl"
|
|
21
|
+
></le-media-upload>
|
|
22
|
+
</le-dialog-container>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
<script>
|
|
26
|
+
import { uploadFile } from "@/api/upload";
|
|
27
|
+
import { systemMaterialCreate, systemMaterialEdit } from "@/api/media";
|
|
28
|
+
export default {
|
|
29
|
+
name: "le-button-upload",
|
|
30
|
+
props: {
|
|
31
|
+
width: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: "60%",
|
|
34
|
+
},
|
|
35
|
+
title: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: "上传素材",
|
|
38
|
+
},
|
|
39
|
+
showCloseBtnTop: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: true,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
data() {
|
|
45
|
+
return {
|
|
46
|
+
showDialog: false,
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
uploadFileApi(param) {
|
|
51
|
+
return uploadFile(param);
|
|
52
|
+
},
|
|
53
|
+
systemMaterialCreateApi(param) {
|
|
54
|
+
return systemMaterialCreate(param);
|
|
55
|
+
},
|
|
56
|
+
systemMaterialEditApi() {
|
|
57
|
+
return systemMaterialEdit(param);
|
|
58
|
+
},
|
|
59
|
+
onClick() {
|
|
60
|
+
this.showDialog = true;
|
|
61
|
+
},
|
|
62
|
+
closeDialog() {
|
|
63
|
+
this.showDialog = false;
|
|
64
|
+
},
|
|
65
|
+
callMdiaUrl(param) {
|
|
66
|
+
this.$emit("callMdiaUrl", param);
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
</script>
|
package/le-help/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import LeHelp from "./src/main.vue";
|
|
2
|
+
import LeHelpDetail from "./src/detail.vue";
|
|
3
|
+
|
|
4
|
+
LeHelp.install = function (Vue) {
|
|
5
|
+
Vue.component(LeHelp.name, LeHelp);
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
LeHelpDetail.install = function (Vue) {
|
|
9
|
+
Vue.component(LeHelpDetail.name, LeHelpDetail);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { LeHelp, LeHelpDetail };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="le-help">
|
|
3
|
+
<div class="title">{{ title }}</div>
|
|
4
|
+
<div class="comment" v-html="comment"></div>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: "le-help-detail",
|
|
10
|
+
props: {
|
|
11
|
+
title: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "",
|
|
14
|
+
},
|
|
15
|
+
comment: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
methods: {},
|
|
21
|
+
};
|
|
22
|
+
</script>
|
|
23
|
+
<style lang="scss" scoped>
|
|
24
|
+
.le-help {
|
|
25
|
+
display: flex;
|
|
26
|
+
display: -webkit-flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
|
|
29
|
+
.title {
|
|
30
|
+
text-align: center;
|
|
31
|
+
font-weight: bold;
|
|
32
|
+
font-size: 26px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.comment {
|
|
36
|
+
max-height: 650px;
|
|
37
|
+
overflow-y: auto;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
</style>
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="le-depart-container">
|
|
3
|
+
<el-form :inline="true">
|
|
4
|
+
<el-form-item>
|
|
5
|
+
<el-button type="primary" @click="addHelp()">新建</el-button>
|
|
6
|
+
</el-form-item>
|
|
7
|
+
</el-form>
|
|
8
|
+
<el-table :data="tableData" border row-key="id" stripe style="width: 100%">
|
|
9
|
+
<el-table-column prop="type" label="类型" align="center">
|
|
10
|
+
</el-table-column>
|
|
11
|
+
<el-table-column prop="title" label="标题" align="center">
|
|
12
|
+
</el-table-column>
|
|
13
|
+
<el-table-column fixed="right" label="操作" align="center" width="180">
|
|
14
|
+
<template slot-scope="scope">
|
|
15
|
+
<le-button @click="edit(scope.row)">编辑</le-button>
|
|
16
|
+
<le-button-msg @click="del(scope.row.id)">删除</le-button-msg>
|
|
17
|
+
</template>
|
|
18
|
+
</el-table-column>
|
|
19
|
+
</el-table>
|
|
20
|
+
<le-dialog-container
|
|
21
|
+
title="新建/编辑帮助文档"
|
|
22
|
+
:showDialog="showDialog"
|
|
23
|
+
:showFooter="true"
|
|
24
|
+
@close="handleClose"
|
|
25
|
+
@saveData="savedepart"
|
|
26
|
+
>
|
|
27
|
+
<el-form
|
|
28
|
+
:model="ruleForm"
|
|
29
|
+
:rules="rules"
|
|
30
|
+
ref="ruleForm"
|
|
31
|
+
label-width="140px"
|
|
32
|
+
v-if="showDialog"
|
|
33
|
+
>
|
|
34
|
+
<el-form-item label="类型" prop="type">
|
|
35
|
+
<el-input v-model="ruleForm.type"></el-input>
|
|
36
|
+
</el-form-item>
|
|
37
|
+
<el-form-item label="标题" prop="title">
|
|
38
|
+
<el-input v-model="ruleForm.title"></el-input>
|
|
39
|
+
</el-form-item>
|
|
40
|
+
<el-form-item label="内容" prop="comment">
|
|
41
|
+
<le-editor v-model="ruleForm.comment"></le-editor>
|
|
42
|
+
</el-form-item>
|
|
43
|
+
</el-form>
|
|
44
|
+
</le-dialog-container>
|
|
45
|
+
</div>
|
|
46
|
+
</template>
|
|
47
|
+
<script>
|
|
48
|
+
import { list, edit, del } from "@/api/SystemHelp";
|
|
49
|
+
import { LeEditor } from "leisure-editor";
|
|
50
|
+
import leButton from "../../le-button/index";
|
|
51
|
+
import LeButtonMsg from "../../le-button-msg/index";
|
|
52
|
+
export default {
|
|
53
|
+
name: "le-help",
|
|
54
|
+
components: {
|
|
55
|
+
LeEditor,
|
|
56
|
+
leButton,
|
|
57
|
+
LeButtonMsg,
|
|
58
|
+
},
|
|
59
|
+
data() {
|
|
60
|
+
return {
|
|
61
|
+
tableData: [],
|
|
62
|
+
ruleForm: {
|
|
63
|
+
id: "",
|
|
64
|
+
type: "",
|
|
65
|
+
title: "",
|
|
66
|
+
comment: "",
|
|
67
|
+
},
|
|
68
|
+
rules: {
|
|
69
|
+
type: [
|
|
70
|
+
{ required: true, message: "请输入类型", trigger: "blur" },
|
|
71
|
+
{ max: 6, message: "长度在 1 到 6个字符", trigger: "blur" },
|
|
72
|
+
],
|
|
73
|
+
title: [
|
|
74
|
+
{ required: true, message: "请输入标题", trigger: "blur" },
|
|
75
|
+
{ max: 20, message: "长度在 1 到 20个字符", trigger: "blur" },
|
|
76
|
+
],
|
|
77
|
+
comment: [{ required: true, message: "请输入类型", trigger: "blur" }],
|
|
78
|
+
},
|
|
79
|
+
showDialog: false,
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
computed: {},
|
|
83
|
+
mounted() {
|
|
84
|
+
this.getList();
|
|
85
|
+
},
|
|
86
|
+
methods: {
|
|
87
|
+
addHelp() {
|
|
88
|
+
this.showDialog = true;
|
|
89
|
+
},
|
|
90
|
+
edit(row) {
|
|
91
|
+
this.ruleForm = JSON.parse(JSON.stringify(row));
|
|
92
|
+
this.showDialog = true;
|
|
93
|
+
},
|
|
94
|
+
savedepart() {
|
|
95
|
+
let params = JSON.parse(JSON.stringify(this.ruleForm));
|
|
96
|
+
this.$refs["ruleForm"].validate((valid) => {
|
|
97
|
+
if (valid) {
|
|
98
|
+
edit(params).then(() => {
|
|
99
|
+
this.$message.success("提交成功~");
|
|
100
|
+
this.getList();
|
|
101
|
+
this.handleClose();
|
|
102
|
+
});
|
|
103
|
+
} else {
|
|
104
|
+
console.log("error submit!!");
|
|
105
|
+
return false;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
},
|
|
109
|
+
handleClose() {
|
|
110
|
+
this.showDialog = false;
|
|
111
|
+
this.initForm();
|
|
112
|
+
},
|
|
113
|
+
getList() {
|
|
114
|
+
list().then((res) => {
|
|
115
|
+
this.tableData = res.data.data || [];
|
|
116
|
+
});
|
|
117
|
+
},
|
|
118
|
+
del(id) {
|
|
119
|
+
del({
|
|
120
|
+
id: id,
|
|
121
|
+
}).then((response) => {
|
|
122
|
+
this.getList();
|
|
123
|
+
this.$message.success("删除成功");
|
|
124
|
+
});
|
|
125
|
+
},
|
|
126
|
+
initForm() {
|
|
127
|
+
this.ruleForm.id = "";
|
|
128
|
+
this.ruleForm.type = "";
|
|
129
|
+
this.ruleForm.title = "";
|
|
130
|
+
this.ruleForm.comment = "";
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
};
|
|
134
|
+
</script>
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="le-image-container">
|
|
3
|
+
<div
|
|
4
|
+
class="list"
|
|
5
|
+
@mouseover="mouseOverImg"
|
|
6
|
+
@mouseleave="mouseLeaveImg"
|
|
7
|
+
v-for="(item, index) in imageList"
|
|
8
|
+
:key="index"
|
|
9
|
+
>
|
|
10
|
+
<le-image :src="item" class="img">
|
|
11
|
+
<div slot="placeholder" class="image-slot">
|
|
12
|
+
加载中<span class="dot">...</span>
|
|
13
|
+
</div>
|
|
14
|
+
</le-image>
|
|
15
|
+
<span
|
|
16
|
+
class="delete"
|
|
17
|
+
@click="delImgList(item)"
|
|
18
|
+
:id="index"
|
|
19
|
+
:style="imgDeleCss"
|
|
20
|
+
>
|
|
21
|
+
<i class="el-icon-delete"></i>
|
|
22
|
+
</span>
|
|
23
|
+
</div>
|
|
24
|
+
<div style="display: flex">
|
|
25
|
+
<div class="img">
|
|
26
|
+
<le-button-upload
|
|
27
|
+
title="上传素材"
|
|
28
|
+
@callMdiaUrl="selectContent"
|
|
29
|
+
></le-button-upload>
|
|
30
|
+
<le-button-select-media
|
|
31
|
+
title="选择素材"
|
|
32
|
+
:multiple="false"
|
|
33
|
+
@selectContent="selectContent"
|
|
34
|
+
></le-button-select-media>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</template>
|
|
39
|
+
<script>
|
|
40
|
+
export default {
|
|
41
|
+
name: "le-image-container",
|
|
42
|
+
props: {
|
|
43
|
+
images: {
|
|
44
|
+
type: Array,
|
|
45
|
+
default: () => [],
|
|
46
|
+
},
|
|
47
|
+
limit: {
|
|
48
|
+
type: Number,
|
|
49
|
+
default: 99999,
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
data() {
|
|
53
|
+
return {
|
|
54
|
+
imgDeleCss: "display:none",
|
|
55
|
+
imageList: [],
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
watch: {
|
|
59
|
+
images: {
|
|
60
|
+
handler(val) {
|
|
61
|
+
this.imageList = val;
|
|
62
|
+
},
|
|
63
|
+
immediate: true,
|
|
64
|
+
deep: true,
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
mounted() {},
|
|
68
|
+
methods: {
|
|
69
|
+
mouseOverImg() {
|
|
70
|
+
this.imgDeleCss = "display:block;cursor:pointer";
|
|
71
|
+
},
|
|
72
|
+
mouseLeaveImg() {
|
|
73
|
+
this.imgDeleCss = "display:none";
|
|
74
|
+
},
|
|
75
|
+
delImgList(item) {
|
|
76
|
+
let lenp = this.imageList.indexOf(item);
|
|
77
|
+
this.imageList.splice(lenp, 1);
|
|
78
|
+
this.$emit("getImages", this.imageList);
|
|
79
|
+
},
|
|
80
|
+
selectContent(val) {
|
|
81
|
+
let images = this.imageList;
|
|
82
|
+
let num = images && images.length > 0 ? images.length : 0;
|
|
83
|
+
if (num < this.limit) {
|
|
84
|
+
if (!Array.isArray(val)) {
|
|
85
|
+
if (!val) return;
|
|
86
|
+
this.imageList.push(val);
|
|
87
|
+
this.$emit("getImages", this.imageList);
|
|
88
|
+
} else {
|
|
89
|
+
this.imageList.push(...val);
|
|
90
|
+
this.$emit("getImages", this.imageList);
|
|
91
|
+
}
|
|
92
|
+
} else {
|
|
93
|
+
this.$message.warning(`图片数量最多${this.limit}张!`);
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
</script>
|
|
99
|
+
<style lang="scss" scoped>
|
|
100
|
+
.le-image-container {
|
|
101
|
+
display: flex;
|
|
102
|
+
display: -webkit-flex;
|
|
103
|
+
flex-wrap: wrap;
|
|
104
|
+
.list {
|
|
105
|
+
position: relative;
|
|
106
|
+
width: 100px;
|
|
107
|
+
height: 100px;
|
|
108
|
+
left: 0;
|
|
109
|
+
top: 0;
|
|
110
|
+
cursor: default;
|
|
111
|
+
text-align: center;
|
|
112
|
+
color: #fff;
|
|
113
|
+
opacity: 100;
|
|
114
|
+
font-size: 20px;
|
|
115
|
+
/* background-color: rgba(0, 0, 0, 0.5); */
|
|
116
|
+
/* transition: opacity 0.3s; */
|
|
117
|
+
display: inline;
|
|
118
|
+
|
|
119
|
+
.img {
|
|
120
|
+
width: 100px;
|
|
121
|
+
height: 100px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.delete {
|
|
125
|
+
position: absolute;
|
|
126
|
+
right: 0px;
|
|
127
|
+
bottom: 0;
|
|
128
|
+
font-size: 20px;
|
|
129
|
+
color: #fff;
|
|
130
|
+
display: block;
|
|
131
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
132
|
+
transition: opacity 0.3s;
|
|
133
|
+
width: 100%;
|
|
134
|
+
height: 100%;
|
|
135
|
+
text-align: center;
|
|
136
|
+
padding-top: 30%;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
.img {
|
|
140
|
+
background-color: #fbfdff;
|
|
141
|
+
border: 1px dashed #c0ccda;
|
|
142
|
+
border-radius: 6px;
|
|
143
|
+
width: 100px;
|
|
144
|
+
height: 100px;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
font-size: 16px;
|
|
147
|
+
color: #8c939d;
|
|
148
|
+
display: flex;
|
|
149
|
+
display: -webkit-flex;
|
|
150
|
+
flex-direction: column;
|
|
151
|
+
justify-content: center;
|
|
152
|
+
align-items: center;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
</style>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "leisure-common",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.87",
|
|
4
4
|
"description": "leisure-common是京心数据在leisure-core基础上开发的一套后台管理系统基于故事的电商行业组件库,封装了大量实用的UI控件模板,方便开发者快速搭建前端应用",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "北方乐逍遥(zcx7878)",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"leisure-core": "^0.6.
|
|
16
|
+
"leisure-core": "^0.6.87"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {}
|
|
19
19
|
}
|