Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 51d07246
authored
Mar 08, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
营销素材逻辑添加
1 parent
27353af4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
357 additions
and
21 deletions
src/api/modules/material.js
src/views/material/addMaterial.vue
src/views/material/components/addMaterialGroupDia.vue
src/views/material/components/functionIntroduc.vue
src/views/material/components/materialGroup.vue
src/views/material/components/textBox.vue
src/views/material/index.vue
src/api/modules/material.js
View file @
51d0724
import
{
http
}
from
'@/main'
import
{
http
}
from
'@/main'
const
defaultPath
=
'scrm.api.coupon.'
\ No newline at end of file
\ No newline at end of file
const
defaultPath
=
'marketing.api.material.'
//获取素材组列表
const
getMaterialList
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
group.list`
return
http
({
url
:
'http://192.168.1.78:8065/rop-scrm-marketing/router'
,
method
:
'post'
,
data
:
params
,
sign
:
true
})
}
//删除素材组列表
const
deleteMaterialList
=
params
=>
{
params
.
method
=
`
${
defaultPath
}
group.delete`
return
http
({
url
:
'http://192.168.1.78:8065/rop-scrm-marketing/router'
,
method
:
'post'
,
data
:
params
,
sign
:
true
,
returnAll
:
true
})
}
export
default
{
getMaterialList
,
deleteMaterialList
}
\ No newline at end of file
\ No newline at end of file
src/views/material/addMaterial.vue
View file @
51d0724
...
@@ -21,9 +21,8 @@
...
@@ -21,9 +21,8 @@
</el-radio-group>
</el-radio-group>
<!-- 选择PDF -->
<!-- 选择PDF -->
<div
v-show=
"materialAddForm.materialType == 1"
>
<div
v-show=
"materialAddForm.materialType == 1"
>
<el-upload
action=
"https://jsonplaceholder.typicode.com/posts/"
accept=
".pdf"
show-file-list
:on-remove=
"handleRemove"
:on-success=
"handleSuccess"
:on-error=
"handleError"
:limit=
"1"
:on-exceed=
"handleExceed"
:file-list=
"fileList"
>
<el-upload
:action=
"uploadPdfAction"
accept=
".pdf"
show-file-list
:on-remove=
"handleRemove"
:on-success=
"handleSuccess"
:on-error=
"handleError"
:limit=
"1"
:on-exceed=
"handleExceed"
:file-list=
"fileList"
>
<el-button
type=
"info"
icon=
"el-icon-plus"
:size=
"size"
>
上传PDF文件
</el-button>
<el-button
icon=
"el-icon-plus"
:size=
"size"
>
选择文件
</el-button>
<span>
支持10M以内的文件
</span>
</el-upload>
</el-upload>
</div>
</div>
<!-- 选择自定义链接 -->
<!-- 选择自定义链接 -->
...
@@ -36,8 +35,9 @@
...
@@ -36,8 +35,9 @@
</div>
</div>
<!-- 选择图文 -->
<!-- 选择图文 -->
<div
v-show=
"materialAddForm.materialType == 3"
>
<div
v-show=
"materialAddForm.materialType == 3"
>
<textBox></textBox>
<textBox
@
change=
"writeChange"
></textBox>
</div>
</div>
<div
class=
"space"
></div>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"track"
>
<div
class=
"track"
>
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
选择标签
选择标签
</el-button>
</el-button>
</div>
</div>
<div
class=
"space"
></div>
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"share"
>
<div
class=
"share"
>
...
@@ -91,7 +92,17 @@
...
@@ -91,7 +92,17 @@
<el-input
type=
"textarea"
v-model=
"materialAddForm.desc"
:size=
"size"
maxlength=
"30"
show-word-limit
placeholder=
"请输入自定义描述"
></el-input>
<el-input
type=
"textarea"
v-model=
"materialAddForm.desc"
:size=
"size"
maxlength=
"30"
show-word-limit
placeholder=
"请输入自定义描述"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"封面:"
>
<el-form-item
label=
"封面:"
>
<el-upload
class=
"avatar-uploader"
accept=
".jpg, .jpeg, png"
action=
"https://jsonplaceholder.typicode.com/posts/"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
<div
class=
"img_div"
>
<div
class=
"putImg"
>
<!--
<img
:src=
"urlSrc"
@
click=
"deleteImg"
class=
"imgCSS"
/>
-->
<div
class=
"mask"
>
<h3>
<i
class=
"el-icon-setting"
></i>
<i
class=
"el-icon-delete"
></i>
</h3>
</div>
</div>
<el-upload
class=
"avatar-uploader"
accept=
".jpg, .jpeg, png"
:action=
"uploadImgAction"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"imageUrl"
:src=
"materialAddForm.imageUrl"
class=
"avatar"
/>
<img
v-if=
"imageUrl"
:src=
"materialAddForm.imageUrl"
class=
"avatar"
/>
<div
v-else
class=
"avatar-uploader-desc"
>
<div
v-else
class=
"avatar-uploader-desc"
>
<i
class=
"el-icon-plus avatar-uploader-desc-icon"
></i>
<i
class=
"el-icon-plus avatar-uploader-desc-icon"
></i>
...
@@ -99,6 +110,8 @@
...
@@ -99,6 +110,8 @@
</div>
</div>
</el-upload>
</el-upload>
<span>
查看效果>
</span>
<span>
查看效果>
</span>
</div>
<!--
<div
class=
"space"
></div>
-->
</el-form-item>
</el-form-item>
</div>
</div>
</div>
</div>
...
@@ -140,6 +153,9 @@ export default {
...
@@ -140,6 +153,9 @@ export default {
1
:
'创建营销素材'
,
1
:
'创建营销素材'
,
2
:
'编辑营销素材'
2
:
'编辑营销素材'
},
},
urlSrc
:
''
,
uploadPdfAction
:
''
,
uploadImgAction
:
''
,
materialAddForm
:
{
materialAddForm
:
{
selectMaterialGroup
:
''
,
selectMaterialGroup
:
''
,
materialName
:
''
,
materialName
:
''
,
...
@@ -156,6 +172,8 @@ export default {
...
@@ -156,6 +172,8 @@ export default {
link
:
''
link
:
''
},
},
fileList
:
[],
fileList
:
[],
// 富文本框内容
editInfo
:
''
,
// 分享设置显示
// 分享设置显示
descVisible
:
false
,
descVisible
:
false
,
businessTypes
:
[
'整车/新车'
,
'保养'
,
'维修'
,
'车险'
,
'二手车'
,
'改装'
,
'汽车金融'
,
'零配件/精品'
,
'通用(节假日等关怀素材)'
],
businessTypes
:
[
'整车/新车'
,
'保养'
,
'维修'
,
'车险'
,
'二手车'
,
'改装'
,
'汽车金融'
,
'零配件/精品'
,
'通用(节假日等关怀素材)'
],
...
@@ -179,6 +197,8 @@ export default {
...
@@ -179,6 +197,8 @@ export default {
mounted
()
{
mounted
()
{
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
// this.routeInfo.addOrEdit != 1 ? this.getInfo() : ''
// this.routeInfo.addOrEdit != 1 ? this.getInfo() : ''
},
},
methods
:
{
methods
:
{
...
@@ -215,6 +235,11 @@ export default {
...
@@ -215,6 +235,11 @@ export default {
// 分享设置展示
// 分享设置展示
shareContainerShow
()
{
shareContainerShow
()
{
this
.
descVisible
=
!
this
.
descVisible
this
.
descVisible
=
!
this
.
descVisible
},
// 获取富文本框内容
writeChange
(
val
)
{
// console.log(val, '--content--');
this
.
editInfo
=
val
}
}
}
}
}
}
...
@@ -246,6 +271,9 @@ export default {
...
@@ -246,6 +271,9 @@ export default {
}
}
}
}
}
}
.space
{
margin-bottom
:
32px
;
}
.track
{
.track
{
&-tips
{
&-tips
{
...
@@ -320,7 +348,47 @@ export default {
...
@@ -320,7 +348,47 @@ export default {
z-index
:
999
;
z-index
:
999
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
}
}
.img_div
{
float
:
left
!important
;
&>:nth-child(-n+2)
{
margin-right
:
8px
;
}
}
.putImg
{
width
:
104px
;
height
:
104px
;
border-radius
:
10px
;
display
:
inline-block
;
position
:
relative
;
.imgCSS
{
height
:
100%
;
width
:
100%
;
border-radius
:
10px
;
display
:
inline-block
;
cursor
:
pointer
;
}
.mask
{
position
:
absolute
;
background
:
rgba
(
101
,
101
,
101
,
0.6
);
color
:
#ffffff
;
opacity
:
0
;
top
:
0
;
right
:
0
;
width
:
100%
;
height
:
100%
;
border-radius
:
10px
;
h3
{
text-align
:
center
;
margin-top
:
30%
;
i
{
padding-left
:
10px
;
}
}
}
}
.putImg
:hover
.mask
{
opacity
:
1
;
}
.avatar-uploader
,
.avatar-uploader
,
.el-upload
{
.el-upload
{
border
:
1px
dashed
#d9d9d9
;
border
:
1px
dashed
#d9d9d9
;
...
@@ -329,6 +397,7 @@ export default {
...
@@ -329,6 +397,7 @@ export default {
border-radius
:
6px
;
border-radius
:
6px
;
cursor
:
pointer
;
cursor
:
pointer
;
position
:
relative
;
position
:
relative
;
display
:
inline-block
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.avatar-uploader
,
.avatar-uploader
,
...
@@ -356,4 +425,7 @@ export default {
...
@@ -356,4 +425,7 @@ export default {
height
:
178px
;
height
:
178px
;
display
:
block
;
display
:
block
;
}
}
.share-desc
{
padding-bottom
:
30px
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/material/components/addMaterialGroupDia.vue
View file @
51d0724
<
template
>
<
template
>
<div>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogVisible"
width=
"
30%
"
:before-close=
"!dialogVisible"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"dialogVisible"
width=
"
720px
"
:before-close=
"!dialogVisible"
>
<el-form
ref=
"materialGroupAddForm"
:model=
"materialGroupAddForm"
label-width=
"1
2
0px"
:rules=
"materialGroupAddRules"
>
<el-form
ref=
"materialGroupAddForm"
:model=
"materialGroupAddForm"
label-width=
"1
1
0px"
:rules=
"materialGroupAddRules"
>
<el-form-item
label=
"分组名称:"
prop=
"groupName"
>
<el-form-item
label=
"分组名称:"
prop=
"groupName"
>
<el-input
v-model=
"materialGroupAddForm.groupName"
maxlength=
"8"
show-word-limit
></el-input>
<el-input
v-model=
"materialGroupAddForm.groupName"
maxlength=
"8"
show-word-limit
:size=
"size"
placeholder=
"客户跟进"
style=
"width:567px"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"业务类型:"
prop=
"businessType"
>
<el-form-item
label=
"业务类型:"
prop=
"businessType"
>
<el-checkbox-group
v-model=
"materialGroupAddForm.businessType"
@
change=
"handleCheckChange"
>
<el-checkbox-group
v-model=
"materialGroupAddForm.businessType"
@
change=
"handleCheckChange"
>
<el-checkbox
v-for=
"value in businessTypes"
:key=
"value"
:label=
"value"
>
{{
value
}}
</el-checkbox>
<el-checkbox
v-for=
"value in businessTypes"
:key=
"value"
:label=
"value"
>
{{
value
}}
</el-checkbox>
</el-checkbox-group>
</el-checkbox-group>
</el-form-item>
</el-form-item>
<span
class=
"tips"
>
添加业务类型,该素材组里面的所有素材均会添加此业务类型
</span>
</el-form>
</el-form>
<span>
添加业务类型,该素材组里面的所有素材均会添加此业务类型
</span>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确定
创建
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -23,9 +23,10 @@
...
@@ -23,9 +23,10 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'addMaterialGroupDia'
,
name
:
'addMaterialGroupDia'
,
props
:
{
eventBus
:
Object
},
data
()
{
data
()
{
return
{
return
{
title
:
'
新增
素材组'
,
title
:
'
创建
素材组'
,
dialogVisible
:
false
,
dialogVisible
:
false
,
materialGroupAddForm
:
{
materialGroupAddForm
:
{
groupName
:
''
,
groupName
:
''
,
...
@@ -53,9 +54,10 @@ export default {
...
@@ -53,9 +54,10 @@ export default {
},
},
// 创建
// 创建
submitForm
()
{
submitForm
()
{
console
.
log
(
this
.
materialGroupAddForm
);
this
.
$refs
.
materialGroupAddForm
.
validate
((
valid
)
=>
{
this
.
$refs
.
materialGroupAddForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$emit
(
'addMaterialGroup'
,
this
.
materialGroupAddForm
)
this
.
eventBus
.
$emit
(
'addMaterialGroup'
,
this
.
materialGroupAddForm
)
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
}
else
{
}
else
{
alert
(
'请输入分组名称'
)
alert
(
'请输入分组名称'
)
...
@@ -72,5 +74,22 @@ export default {
...
@@ -72,5 +74,22 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
scope
>
.el-checkbox-group
{
width
:
567px
;
box-sizing
:
border-box
;
background
:
#F5F5F5
;
padding
:
16px
0
0
16px
;
.el-checkbox
{
width
:
140px
;
margin
:
0
;
padding
:
0
;
}
}
.tips
{
font-size
:
12px
;
color
:
#666666
;
display
:
block
;
margin
:
-10px
0
0
110px
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/material/components/functionIntroduc.vue
0 → 100644
View file @
51d0724
<
template
>
<div
class=
"introduct"
>
<el-dialog
title=
"功能介绍"
:visible
.
sync=
"introductionDialog"
width=
"1080px"
:before-close=
"handleClose"
>
<p>
营销素材——将业务资料、经典案例、活动等以链接、PDF形式上传在营销素材库中,企业成员可在企业微信聊天侧边栏或者嘀加企微管家工作台中,一键发给客户,支持雷达追踪,并将客户的阅读等关键行为记录到客户动态中,并给客户打上指定标签。
</p>
<h3>
我的优势
</h3>
<p
class=
"list"
>
1、门店可以为不同的业务部门提供不同的营销素材,规范营销内容;
</p>
<p
class=
"list"
>
2、员工能便捷的在企业微信聊天侧边栏及嘀加企微管家工作台上直接使用营销素材,避免自己设计素材的烦恼;
</p>
<p
class=
"list"
>
3、捕获客户对素材的交互行为并主动通知员工,获取客户的兴趣点,为业务转化提供参考依据。
</p>
<div
class=
"img_div"
></div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handleClose"
>
关闭
</el-button>
</span>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
name
:
'functionIntroduc'
,
props
:
{
introductionDialog
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
return
{
dialogVisible
:
this
.
introductionDialog
}
},
methods
:
{
handleClose
()
{
this
.
$emit
(
'closeIntroductDia'
,
this
.
dialogVisible
);
}
}
}
</
script
>
<
style
>
.img_div
{
height
:
334px
;
background
:
#f5f5f5
;
margin
:
0
20px
;
}
p
{
margin
:
0
0
20px
32px
;
}
h3
{
font-size
:
17px
;
margin
:
0
0
16px
32px
;
}
.list
{
margin
:
0
0
20px
32px
;
}
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/material/components/materialGroup.vue
0 → 100644
View file @
51d0724
<
template
>
<div
class=
"material-group"
>
<div
class=
"all-group"
>
<div>
全部素材组 (
{{
groupCounter
.
length
}}
)
</div>
<div>
<el-button
class=
"add_btn"
icon=
"el-icon-plus"
:size=
"size"
@
click=
"handleAddGroup(1)"
>
新建
</el-button>
</div>
</div>
<ul>
<li
v-if=
"groupCounter.length == 0"
>
<span>
新车素材组(默认)
</span>
<el-popover
placement=
"right"
width=
"20"
trigger=
"click"
>
<div>
<ul>
<li
@
click=
"handleStick"
>
置顶
</li>
<li
@
click=
"handleAddGroup(2)"
>
修改
</li>
</ul>
</div>
<i
slot=
"reference"
class=
"el-icon-more"
></i>
</el-popover>
</li>
<li
v-for=
"(item, index) in groupCounter"
:key=
"index"
>
{{
item
.
materialGroupName
}}
<el-popover
placement=
"right"
trigger=
"click"
>
<div>
<ul>
<li
@
click=
"handleStick"
>
置顶
</li>
<li
@
click=
"handleAddGroup(2)"
>
修改
</li>
<li
@
click=
"handleDeleteGroup(item.id)"
>
删除
</li>
</ul>
</div>
<i
slot=
"reference"
class=
"el-icon-more"
></i>
</el-popover>
</li>
</ul>
</div>
</
template
>
<
script
>
export
default
{
name
:
'materialGroup'
,
props
:
{
eventBus
:
Object
},
data
()
{
return
{
// 素材组数量
groupCounter
:
[],
materialGroup
:
{
id
:
""
,
materialGroupName
:
""
,
orderValue
:
""
,
isDefault
:
""
}
}
},
mounted
()
{
this
.
eventBus
.
$on
(
'addMaterialGroup'
,
data
=>
{
// console.log(data);
this
.
groupCounter
.
push
(
data
)
})
this
.
getMaterialList
()
},
methods
:
{
getParams
()
{
var
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
materialGroup
))
return
params
},
// 获取全部素材组
getMaterialList
()
{
var
params
=
this
.
getParams
()
this
.
$apis
.
material
.
getMaterialList
(
params
).
then
(
res
=>
{
console
.
log
(
res
);
this
.
groupCounter
=
res
})
},
// 打开1-新增, 2-编辑 素材组弹框
handleAddGroup
(
addOrEdit
,
value
)
{
console
.
log
(
addOrEdit
,
value
)
this
.
$emit
(
'openAddDialog'
,
addOrEdit
,
value
)
},
// 素材组置顶
handleStick
()
{},
// 素材组删除
handleDeleteGroup
(
rowId
)
{
console
.
log
(
rowId
)
this
.
secondConfirm
(
'提示'
,
'删除素材组,该素材组下的所有素材均会被删除,请谨慎操作'
,
'material'
,
'deleteMaterialList'
,
{
id
:
rowId
})
},
// 二次确认
secondConfirm
(
title
,
txt
,
apiModule
,
apiName
,
apiParams
,
fn
)
{
this
.
$confirm
(
txt
,
title
,
{
confirmButtonText
:
'是'
,
cancelButtonText
:
'否'
,
type
:
'warning'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
this
.
$apis
[
apiModule
][
apiName
](
apiParams
).
then
(
res
=>
{
this
.
$message
({
message
:
res
.
code
==
'0'
?
'操作成功'
:
'操作失败'
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
if
(
res
.
code
==
'0'
)
{
fn
&&
fn
()
this
.
getMaterialList
()
}
})
}
}
})
},
}
}
</
script
>
<
style
lang=
"scss"
>
.el-popover
{
min-width
:
80px
;
&:hover
{
cursor
:
pointer
}
}
.material-group
{
.all-group
{
font-size
:
16px
;
font-weight
:
600
;
padding
:
24px
16px
0
16px
;
display
:
flex
;
justify-content
:
space-between
;
.el-button
{
margin-top
:
-13px
;
}
}
ul
{
li
{
text-align
:
left
;
padding
:
18px
16px
16px
18px
;
i
{
font-size
:
16px
;
padding-top
:
6px
;
position
:
absolute
;
right
:
16px
;
transform
:
rotate
(
90deg
);
}
}
}
}
ul
{
padding
:
0
;
text-align
:
center
;
margin-block-start
:
0
;
margin-block-end
:
0
;
li
{
list-style
:
none
;
padding
:
5px
;
position
:
relative
;
&:hover
{
color
:
#5850FF
;
}
}
}
.add_btn
{
color
:
#5850FF
;
}
</
style
>
src/views/material/components/textBox.vue
View file @
51d0724
...
@@ -20,16 +20,19 @@ export default {
...
@@ -20,16 +20,19 @@ export default {
methods
:
{
methods
:
{
getEdit
()
{
getEdit
()
{
var
editor
=
new
E
(
'#div-demo'
)
var
editor
=
new
E
(
'#div-demo'
)
editor
.
config
.
uploadImgShowBase64
=
true
editor
.
config
.
uploadImgShowBase64
=
true
editor
.
config
.
showMenuTooltips
=
true
editor
.
config
.
showMenuTooltips
=
true
editor
.
config
.
menuTooltipPosition
=
'down'
editor
.
config
.
menuTooltipPosition
=
'down'
editor
.
config
.
height
=
400
editor
.
config
.
height
=
400
editor
.
config
.
width
=
500
editor
.
config
.
uploadVideoServer
=
'/api/upload-video'
editor
.
config
.
uploadVideoServer
=
'/api/upload-video'
editor
.
config
.
excludeMenus
=
[
editor
.
config
.
excludeMenus
=
[
'code'
]
'code'
editor
.
config
.
onchange
=
(
html
)
=>
{
]
// console.log(html);
this
.
content
=
html
// 绑定当前逐渐地值
this
.
$emit
(
'change'
,
this
.
content
)
// 将内容同步到父组件中
}
editor
.
config
.
onchangeTimeout
=
5000
;
editor
.
create
()
editor
.
create
()
}
}
}
}
...
@@ -38,7 +41,7 @@ export default {
...
@@ -38,7 +41,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
#div-demo
{
#div-demo
{
margin
-top
:
40px
;
margin
:
16px
300px
0
0
;
}
}
.el-form
.editor
{
.el-form
.editor
{
margin-top
:
20px
;
margin-top
:
20px
;
...
...
src/views/material/index.vue
View file @
51d0724
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment