Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 24e77ee8
authored
Jun 19, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
color: #fff color: var(--font-white, #fff)
1 parent
e00e3d89
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
835 additions
and
853 deletions
vue3-lw-pc/src/components/ChatContent.vue
vue3-lw-pc/src/components/ContentCenter/AddMaterial.vue
vue3-lw-pc/src/components/ContentCenter/PreviewInPhone.vue
vue3-lw-pc/src/components/Upload.vue
vue3-lw-pc/src/layout/components/Sidebar/index.vue
vue3-lw-pc/src/layout/components/TagsView/index.vue
vue3-lw-pc/src/layout/components/TopBar/Logo.vue
vue3-lw-pc/src/layout/components/TopBar/TopMenu.vue
vue3-lw-pc/src/layout/components/TopBar/index.vue
vue3-lw-pc/src/layout/visitor.vue
vue3-lw-pc/src/styles/element-ui.scss
vue3-lw-pc/src/styles/index.scss
vue3-lw-pc/src/views/application/shortLinkPopularize/components/IdentityAttachment.vue
vue3-lw-pc/src/views/contentCenter/basicMaterial/applet.vue
vue3-lw-pc/src/views/contentCenter/basicMaterial/detail.vue
vue3-lw-pc/src/views/contentCenter/basicMaterial/image.vue
vue3-lw-pc/src/views/contentCenter/basicMaterial/imageText.vue
vue3-lw-pc/src/views/contentCenter/components/PosterAdd.vue
vue3-lw-pc/src/views/contentCenter/corporateScripts/Material.vue
vue3-lw-pc/src/views/contentCenter/corporateScripts/Statistics.vue
vue3-lw-pc/src/views/contentCenter/corporateScripts/index.vue
vue3-lw-pc/src/views/contentCenter/serviceScripts/Material.vue
vue3-lw-pc/src/views/contentCenter/serviceScripts/Statistics.vue
vue3-lw-pc/src/views/contentCenter/serviceScripts/index.vue
vue3-lw-pc/src/views/contentCenter/templateGroup/index.vue
vue3-lw-pc/src/views/contentCenter/templateSop/index.vue
vue3-lw-pc/src/views/contentCenter/trackMaterial/article.vue
vue3-lw-pc/src/views/contentCenter/trackMaterial/detail.vue
vue3-lw-pc/src/views/contentCenter/trackMaterial/file.vue
vue3-lw-pc/src/views/contentCenter/trackMaterial/poster.vue
vue3-lw-pc/src/views/contentCenter/trackMaterial/video.vue
vue3-lw-pc/src/views/conversation/content/component/chatList.vue
vue3-lw-pc/src/views/conversation/quality/component/chatList.vue
vue3-lw-pc/src/views/customerManage/customer/infoTab.vue
vue3-lw-pc/src/views/drainageCode/components/IdentityAttachment.vue
vue3-lw-pc/src/views/drainageCode/highSeas/index.vue
vue3-lw-pc/src/views/drainageCode/highSeas/statistics.vue
vue3-lw-pc/src/views/drainageCode/pullNews/cardTable.vue
vue3-lw-pc/src/views/drainageCode/pullNews/liveCodeInfo.vue
vue3-lw-pc/src/views/drainageCode/pullNews/pullNews.vue
vue3-lw-pc/src/views/drainageCode/smartForms/build/DraggableItem.vue
vue3-lw-pc/src/views/drainageCode/smartForms/build/RightPanel.vue
vue3-lw-pc/src/views/drainageCode/smartForms/build/formsDetail.vue
vue3-lw-pc/src/views/drainageCode/smartForms/build/index.vue
vue3-lw-pc/src/views/error/401.vue
vue3-lw-pc/src/views/error/404.vue
vue3-lw-pc/src/views/redPacketTool/enterprisePacket.vue
vue3-lw-pc/src/components/ChatContent.vue
View file @
24e77ee
...
@@ -189,7 +189,7 @@ export default {
...
@@ -189,7 +189,7 @@ export default {
}
}
.message-right
{
.message-right
{
@extend
.mes;
@extend
.mes;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
margin-right
:
10px
;
margin-right
:
10px
;
background-color
:
var
(
--color
);
background-color
:
var
(
--color
);
border-top-right-radius
:
0
;
border-top-right-radius
:
0
;
...
...
vue3-lw-pc/src/components/ContentCenter/AddMaterial.vue
View file @
24e77ee
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-button
type=
"primary"
@
click=
"welcomVisible = true"
>
从模板库中选择
</el-button>
<el-button
type=
"primary"
@
click=
"welcomVisible = true"
>
从模板库中选择
</el-button>
</div>
</div>
<div
class=
"g-card"
>
<div
class=
"g-card"
>
<div
class=
"g-card-title"
v-if=
"iswelcom || moduleType === 4"
style=
"margin-bottom: 20px
;
"
>
<div
class=
"g-card-title"
v-if=
"iswelcom || moduleType === 4"
style=
"margin-bottom: 20px"
>
{{
titleOne
}}
{{
titleOne
}}
<el-popover
trigger=
"hover"
content=
"最多发送1条文字信息"
placement=
"top-start"
>
<el-popover
trigger=
"hover"
content=
"最多发送1条文字信息"
placement=
"top-start"
>
<template
#
reference
>
<template
#
reference
>
...
@@ -20,8 +20,7 @@
...
@@ -20,8 +20,7 @@
<el-cascader
<el-cascader
v-model=
"talkForm.categoryId"
v-model=
"talkForm.categoryId"
:options=
"treeData[0].children"
:options=
"treeData[0].children"
:props=
"groupProps"
:props=
"groupProps"
></el-cascader>
></el-cascader>
</el-form-item>
</el-form-item>
<el-form-item
label=
"话术标题"
prop=
"talkTitle"
v-if=
"moduleType !== 3 && moduleType !== 4"
>
<el-form-item
label=
"话术标题"
prop=
"talkTitle"
v-if=
"moduleType !== 3 && moduleType !== 4"
>
<el-input
v-model=
"talkForm.talkTitle"
placeholder=
"请输入标题"
maxlength=
"30"
show-word-limit
></el-input>
<el-input
v-model=
"talkForm.talkTitle"
placeholder=
"请输入标题"
maxlength=
"30"
show-word-limit
></el-input>
...
@@ -38,10 +37,9 @@
...
@@ -38,10 +37,9 @@
<el-form-item
<el-form-item
:label=
"lableOne"
:label=
"lableOne"
required
required
style=
"margin-right: 200px !important
;
"
style=
"margin-right: 200px !important"
:error=
"templateInfo"
:error=
"templateInfo"
v-if=
"[3, 4].includes(moduleType)"
v-if=
"[3, 4].includes(moduleType)"
>
>
<TextareaExtend
<TextareaExtend
v-model=
"talkForm.templateInfo"
v-model=
"talkForm.templateInfo"
:toolbar=
"['emoji', (iswelcom || [1, 4].includes(otherType)) && 'insertCustomerNickName']"
:toolbar=
"['emoji', (iswelcom || [1, 4].includes(otherType)) && 'insertCustomerNickName']"
...
@@ -51,8 +49,7 @@
...
@@ -51,8 +49,7 @@
:autosize=
"{ minRows: 5, maxRows: 20 }"
:autosize=
"{ minRows: 5, maxRows: 20 }"
clearable
clearable
:autofocus=
"true"
:autofocus=
"true"
@
input=
"changeInfo"
@
input=
"changeInfo"
/>
/>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
...
@@ -66,18 +63,16 @@
...
@@ -66,18 +63,16 @@
</el-popover>
</el-popover>
</div>
</div>
<div>
<div>
<div
style=
"text-align: left
;
"
class=
"mt20 flex"
>
<div
style=
"text-align: left"
class=
"mt20 flex"
>
<el-popover
<el-popover
trigger=
"hover"
trigger=
"hover"
:content=
"'最多添加' + maxlength + '个' + fontType + ',如需修改请删除已有' + fontType + '后重新尝试'"
:content=
"'最多添加' + maxlength + '个' + fontType + ',如需修改请删除已有' + fontType + '后重新尝试'"
placement=
"top-start"
placement=
"top-start"
:disabled=
"talkList.length < maxlength"
:disabled=
"talkList.length < maxlength"
>
>
<
template
#
reference
>
<
template
#
reference
>
<el-dropdown
<el-dropdown
@
command=
"moveGroup"
@
command=
"moveGroup"
:disabled=
"talkList.length > maxlength || talkList.length === maxlength"
:disabled=
"talkList.length > maxlength || talkList.length === maxlength"
>
>
<el-button
type=
"primary"
>
+
{{
'新建'
+
fontType
}}
</el-button>
<el-button
type=
"primary"
>
+
{{
'新建'
+
fontType
}}
</el-button>
<template
#
dropdown
>
<template
#
dropdown
>
<el-dropdown-menu
trigger=
"click"
>
<el-dropdown-menu
trigger=
"click"
>
...
@@ -114,14 +109,12 @@
...
@@ -114,14 +109,12 @@
trigger=
"hover"
trigger=
"hover"
:content=
"'最多添加' + maxlength + '个' + fontType + ',如需修改请删除已有' + fontType + '后重新尝试'"
:content=
"'最多添加' + maxlength + '个' + fontType + ',如需修改请删除已有' + fontType + '后重新尝试'"
placement=
"top-start"
placement=
"top-start"
:disabled=
"talkList.length < maxlength"
:disabled=
"talkList.length < maxlength"
>
>
<
template
#
reference
>
<
template
#
reference
>
<div
class=
"ml20"
>
<div
class=
"ml20"
>
<el-button
<el-button
@
click=
"choseCenter"
@
click=
"choseCenter"
:disabled=
"talkList.length > maxlength || talkList.length === maxlength"
:disabled=
"talkList.length > maxlength || talkList.length === maxlength"
>
>
从素材中心选择
从素材中心选择
</el-button>
</el-button>
</div>
</div>
...
@@ -130,23 +123,21 @@
...
@@ -130,23 +123,21 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"g-card"
style=
"margin-top: 10px
;
"
v-if=
"talkList.length"
>
<div
class=
"g-card"
style=
"margin-top: 10px"
v-if=
"talkList.length"
>
<DragTable
<DragTable
:tableData2=
"talkList"
:tableData2=
"talkList"
@
setData=
"setData"
@
setData=
"setData"
@
getEdit=
"getEdit"
@
getEdit=
"getEdit"
:dargAble=
"[2].includes(moduleType)"
:dargAble=
"[2].includes(moduleType)"
/>
/>
</div>
</div>
<div
<div
class=
"g-card mt20 g-pad20"
class=
"g-card mt20 g-pad20"
style=
"text-align: left
;
"
style=
"text-align: left"
v-if=
"
v-if=
"
(talkList.length && moduleType === 2) ||
(talkList.length && moduleType === 2) ||
(otherType !== 3 && moduleType !== 2) ||
(otherType !== 3 && moduleType !== 2) ||
(otherType === 3 && moduleType !== 2)
(otherType === 3 && moduleType !== 2)
"
"
>
>
<!-- 话术中心,有列表才显示 -->
<!-- 话术中心,有列表才显示 -->
<
template
v-if=
"talkList.length && moduleType === 2"
>
<
template
v-if=
"talkList.length && moduleType === 2"
>
<el-button
@
click=
"getCancel"
>
取消
</el-button>
<el-button
@
click=
"getCancel"
>
取消
</el-button>
...
@@ -163,7 +154,7 @@
...
@@ -163,7 +154,7 @@
</
template
>
</
template
>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
class=
"g-card"
style=
"margin-top: 0; padding: 20px
;
"
v-if=
"showPhone"
>
<el-col
:span=
"8"
class=
"g-card"
style=
"margin-top: 0; padding: 20px"
v-if=
"showPhone"
>
<PreviewInPhone
:list=
"talkList"
:templateInfo=
"talkForm.templateInfo"
:liveUrl=
"liveUrl"
/>
<PreviewInPhone
:list=
"talkList"
:templateInfo=
"talkForm.templateInfo"
:liveUrl=
"liveUrl"
/>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -176,8 +167,7 @@
...
@@ -176,8 +167,7 @@
@
dialogClose=
"dialogClose"
@
dialogClose=
"dialogClose"
:materialTalkList=
"talkList"
:materialTalkList=
"talkList"
:moduleType=
"moduleType"
:moduleType=
"moduleType"
:maxlength=
"maxlength"
:maxlength=
"maxlength"
/>
/>
<!-- 模板库 -->
<!-- 模板库 -->
<el-dialog
<el-dialog
:title=
"otherType === 2 ? '选择群发模板' : '选择欢迎语模板'"
:title=
"otherType === 2 ? '选择群发模板' : '选择欢迎语模板'"
...
@@ -185,8 +175,7 @@
...
@@ -185,8 +175,7 @@
width=
"60%"
width=
"60%"
append-to-body
append-to-body
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
v-if=
"welcomVisible"
v-if=
"welcomVisible"
>
>
<TemplateLibrary
@
changeObj=
"changeObj"
:isGroup=
"otherType === 2"
/>
<TemplateLibrary
@
changeObj=
"changeObj"
:isGroup=
"otherType === 2"
/>
<
template
#
footer
>
<
template
#
footer
>
<div
class=
"dialog-footer"
>
<div
class=
"dialog-footer"
>
...
@@ -204,658 +193,656 @@
...
@@ -204,658 +193,656 @@
:tplType=
"tplType"
:tplType=
"tplType"
:moduleType=
"moduleType"
:moduleType=
"moduleType"
:maxlength=
"maxlength"
:maxlength=
"maxlength"
:noApplets=
"otherType === 3"
:noApplets=
"otherType === 3"
/>
/>
<SelectUser
<SelectUser
:defaultValues=
"selectedUserList"
:defaultValues=
"selectedUserList"
v-model:visible=
"dialogVisibleSelectUser"
v-model:visible=
"dialogVisibleSelectUser"
title=
"选择使用员工"
title=
"选择使用员工"
@
success=
"selectedUser"
@
success=
"selectedUser"
></SelectUser>
></SelectUser>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
PreviewInPhone
from
'@/components/ContentCenter/PreviewInPhone'
import
PreviewInPhone
from
'@/components/ContentCenter/PreviewInPhone'
import
{
getTree
}
from
'@/api/material'
import
{
getTree
}
from
'@/api/material'
import
{
lexicalAdd
,
lexicalDetail
}
from
'@/api/contentCenter/scriptCenter'
import
{
lexicalAdd
,
lexicalDetail
}
from
'@/api/contentCenter/scriptCenter'
import
{
templateAdd
,
templateDetail
}
from
'@/api/contentCenter/modleCenter'
import
{
templateAdd
,
templateDetail
}
from
'@/api/contentCenter/modleCenter'
import
DragTable
from
'@/components/DragTable'
import
DragTable
from
'@/components/DragTable'
import
MaterialCenter
from
'@/components/ContentCenter/MaterialCenter'
import
MaterialCenter
from
'@/components/ContentCenter/MaterialCenter'
import
{
string
}
from
'clipboard'
import
{
string
}
from
'clipboard'
import
{
getPosterInfo
}
from
'@/api/material/poster'
import
{
getPosterInfo
}
from
'@/api/material/poster'
import
{
getDetail
}
from
'@/api/material/index'
import
{
getDetail
}
from
'@/api/material/index'
import
TemplateLibrary
from
'@/components/ContentCenter/TemplateLibrary'
import
TemplateLibrary
from
'@/components/ContentCenter/TemplateLibrary'
import
MessageContentForm
from
'@/components/MessageContentForm'
import
MessageContentForm
from
'@/components/MessageContentForm'
export
default
{
export
default
{
name
:
'add-material'
,
name
:
'add-material'
,
components
:
{
components
:
{
PreviewInPhone
,
PreviewInPhone
,
DragTable
,
DragTable
,
MaterialCenter
,
MaterialCenter
,
getPosterInfo
,
getPosterInfo
,
TemplateLibrary
,
TemplateLibrary
,
MessageContentForm
MessageContentForm
,
},
},
data
()
{
data
()
{
return
{
return
{
titleOne
:
'欢迎语'
,
titleOne
:
'欢迎语'
,
lableOne
:
'欢迎语'
,
lableOne
:
'欢迎语'
,
titleTwo
:
'欢迎语附件'
,
titleTwo
:
'欢迎语附件'
,
templateInfo
:
''
,
templateInfo
:
''
,
userInfo
:
''
,
userInfo
:
''
,
editMaterialForm
:
{},
editMaterialForm
:
{},
choseDialog
:
false
,
choseDialog
:
false
,
ids
:
[],
ids
:
[],
// materialIds: [], //素材id
// materialIds: [], //素材id
// 分组props
// 分组props
groupProps
:
{
groupProps
:
{
expandTrigger
:
'hover'
,
expandTrigger
:
'hover'
,
checkStrictly
:
true
,
checkStrictly
:
true
,
children
:
'children'
,
children
:
'children'
,
label
:
'name'
,
label
:
'name'
,
value
:
'id'
,
value
:
'id'
,
emitPath
:
false
emitPath
:
false
,
},
},
mobForm
:
{
mobForm
:
{
welcomeMsg
:
''
,
welcomeMsg
:
''
,
materialMsgList
:
[],
materialMsgList
:
[],
userIds
:
''
,
userIds
:
''
,
userNames
:
''
userNames
:
''
,
},
},
form
:
{
form
:
{
weMaterialImgAoList
:
[]
weMaterialImgAoList
:
[],
},
},
talkForm
:
{},
// 话术表单
talkForm
:
{},
// 话术表单
treeData
:
[{}],
// 树
treeData
:
[{}],
// 树
talkRules
:
Object
.
freeze
({
talkRules
:
Object
.
freeze
({
categoryId
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'change'
}],
categoryId
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'change'
}],
talkTitle
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}]
talkTitle
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
}),
}),
type
:
undefined
,
type
:
undefined
,
dialogVisible
:
false
,
// 新建素材表格对话框显隐
dialogVisible
:
false
,
// 新建素材表格对话框显隐
talkLoading
:
false
,
talkLoading
:
false
,
talkList
:
[],
talkList
:
[],
users
:
[],
users
:
[],
selectedUserList
:
[],
selectedUserList
:
[],
dialogVisibleSelectUser
:
false
,
dialogVisibleSelectUser
:
false
,
isedit
:
false
,
// 是否为图片编辑
isedit
:
false
,
// 是否为图片编辑
welcomVisible
:
false
,
welcomVisible
:
false
,
fontType
:
''
,
fontType
:
''
,
maxlength
:
9
,
maxlength
:
9
,
libraryLoading
:
false
libraryLoading
:
false
,
}
}
},
},
props
:
{
props
:
{
baseData
:
{
baseData
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{
default
:
()
=>
{
return
{
return
{
templateInfo
:
''
,
templateInfo
:
''
,
attachments
:
[]
attachments
:
[],
}
}
}
},
},
// 查询会话详情的id
talkId
:
{
type
:
string
,
default
:
null
},
// 查询模板中心详情的id
modelId
:
{
type
:
string
,
default
:
null
},
// 话术类形 0企业话术1客服话术
talkType
:
{
type
:
string
,
default
:
null
},
// 1欢迎语 2群发 3sop
templateType
:
{
type
:
Number
,
default
:
undefined
},
// 1:活码欢迎语;2:员工欢迎语;3:入群欢迎语
tplType
:
{
type
:
String
,
default
:
null
},
// 模块类型 1:素材;2:话术;3:模板;4:其他模块
moduleType
:
{
type
:
Number
,
default
:
1
},
// 是否为欢迎语模板
iswelcom
:
{
type
:
Boolean
,
default
:
false
},
// 是否显示模板库
showModle
:
{
type
:
Boolean
,
default
:
false
},
// 1.员工活码;2:企微营销;3:企业动态;4:门店活码
otherType
:
{
type
:
Number
,
default
:
null
},
// 是否显示手机
showPhone
:
{
type
:
Boolean
,
default
:
true
},
// 直播链接
liveUrl
:
{
type
:
String
,
default
:
null
},
// 是否显示提交取消按钮
showFooter
:
{
type
:
Boolean
,
default
:
true
}
},
},
watch
:
{
// 查询会话详情的id
baseData
(
val
)
{
talkId
:
{
if
(
val
.
templateInfo
)
{
type
:
string
,
this
.
form
.
templateInfo
=
val
.
templateInfo
default
:
null
,
this
.
form
.
attachments
=
val
.
attachments
},
// this.$forceUpdate()
// 查询模板中心详情的id
}
modelId
:
{
},
type
:
string
,
talkId
:
{
default
:
null
,
handler
(
val
)
{
},
if
(
val
)
{
// 话术类形 0企业话术1客服话术
this
.
getDeatil
(
val
)
talkType
:
{
}
type
:
string
,
},
default
:
null
,
immediate
:
true
},
},
// 1欢迎语 2群发 3sop
modelId
:
{
templateType
:
{
handler
(
val
)
{
type
:
Number
,
if
(
val
)
{
default
:
undefined
,
this
.
getTelDeatil
(
val
)
},
}
// 1:活码欢迎语;2:员工欢迎语;3:入群欢迎语
},
tplType
:
{
immediate
:
true
type
:
String
,
default
:
null
,
},
// 模块类型 1:素材;2:话术;3:模板;4:其他模块
moduleType
:
{
type
:
Number
,
default
:
1
,
},
// 是否为欢迎语模板
iswelcom
:
{
type
:
Boolean
,
default
:
false
,
},
// 是否显示模板库
showModle
:
{
type
:
Boolean
,
default
:
false
,
},
// 1.员工活码;2:企微营销;3:企业动态;4:门店活码
otherType
:
{
type
:
Number
,
default
:
null
,
},
// 是否显示手机
showPhone
:
{
type
:
Boolean
,
default
:
true
,
},
// 直播链接
liveUrl
:
{
type
:
String
,
default
:
null
,
},
// 是否显示提交取消按钮
showFooter
:
{
type
:
Boolean
,
default
:
true
,
},
},
watch
:
{
baseData
(
val
)
{
if
(
val
.
templateInfo
)
{
this
.
form
.
templateInfo
=
val
.
templateInfo
this
.
form
.
attachments
=
val
.
attachments
// this.$forceUpdate()
}
}
},
},
methods
:
{
talkId
:
{
changeInfo
(
val
)
{
handler
(
val
)
{
this
.
$emit
(
'changeInfo'
,
val
)
if
(
val
)
{
},
this
.
getDeatil
(
val
)
dialogClose
(
val
,
list
)
{
this
.
dialogVisible
=
val
if
(
list
)
{
this
.
talkList
=
[...
list
]
this
.
$emit
(
'phoneData'
,
this
.
talkList
)
}
},
filPicType
(
file
)
{
let
filecontent
=
JSON
.
parse
(
JSON
.
stringify
(
file
))
filecontent
=
filecontent
.
split
(
'.'
)
let
type
=
filecontent
[
filecontent
.
length
-
1
]
if
(
type
===
'pdf'
)
{
return
window
.
lwConfig
.
DEFAULT_H5_PDF
}
else
if
([
'doc'
,
'docx'
].
includes
(
type
))
{
return
window
.
lwConfig
.
DEFAULT_H5_WORDE
}
else
if
([
'ppt'
,
'pptx'
,
'pps'
,
'pptsx'
].
includes
(
type
))
{
return
window
.
lwConfig
.
DEFAULT_H5_PPT
}
else
{
return
''
}
},
dealType
()
{
if
(
this
.
moduleType
===
4
)
{
switch
(
this
.
otherType
)
{
case
1
:
case
4
:
this
.
titleOne
=
'欢迎语'
this
.
lableOne
=
'欢迎语'
this
.
titleTwo
=
'欢迎语附件'
break
case
2
:
this
.
titleOne
=
'群发内容'
this
.
lableOne
=
'内容'
this
.
titleTwo
=
'群发附件'
break
case
3
:
this
.
titleOne
=
'动态内容'
this
.
lableOne
=
'动态文本'
break
}
}
else
if
(
this
.
iswelcom
)
{
this
.
titleOne
=
'欢迎语'
this
.
lableOne
=
'欢迎语'
this
.
titleTwo
=
'欢迎语附件'
}
else
if
(
this
.
templateType
===
2
)
{
this
.
lableOne
=
'群发内容'
this
.
titleTwo
=
'群发附件'
}
else
if
(
this
.
templateType
===
3
)
{
this
.
lableOne
=
' SOP内容'
this
.
titleTwo
=
'群发附件'
}
else
{
this
.
titleOne
=
'欢迎语'
this
.
lableOne
=
'消息内容'
this
.
titleTwo
=
'话术素材'
}
},
// 模板库点击确定
selectModle
()
{
this
.
libraryLoading
=
true
if
(
this
.
selectObj
)
{
this
.
talkForm
=
this
.
selectObj
this
.
welcomVisible
=
false
this
.
talkList
=
this
.
selectObj
.
weMaterialList
}
else
{
this
.
$message
.
error
(
'请选择群发模板'
)
}
this
.
libraryLoading
=
false
},
changeObj
(
id
)
{
if
(
id
)
{
templateDetail
(
id
).
then
((
res
)
=>
{
this
.
selectObj
=
res
.
data
})
}
},
setUserData
()
{
this
.
selectedUserList
=
[]
let
arr
=
[]
if
(
this
.
talkForm
.
userIds
)
{
arr
=
this
.
talkForm
.
userIds
.
split
(
','
).
map
((
dd
,
index
)
=>
{
return
{
userId
:
dd
,
name
:
this
.
talkForm
.
userNames
.
split
(
','
)[
index
]
}
})
}
}
this
.
users
=
arr
},
},
onSelectUser
()
{
immediate
:
true
,
this
.
selectedUserList
=
[]
},
let
arr
=
[]
modelId
:
{
if
(
this
.
talkForm
.
userIds
)
{
handler
(
val
)
{
arr
=
this
.
talkForm
.
userIds
.
split
(
','
).
map
((
dd
,
index
)
=>
{
if
(
val
)
{
return
{
this
.
getTelDeatil
(
val
)
userId
:
dd
,
name
:
this
.
talkForm
.
userNames
.
split
(
','
)[
index
]
}
})
}
}
this
.
selectedUserList
=
arr
this
.
dialogVisibleSelectUser
=
true
},
selectedUser
(
users
)
{
let
ids
=
[]
let
names
=
[]
const
selectedUserList
=
users
.
map
((
d
)
=>
{
ids
.
push
(
d
.
userId
)
names
.
push
(
d
.
name
)
return
{
userId
:
d
.
userId
,
name
:
d
.
name
}
})
this
.
users
=
selectedUserList
this
.
talkForm
.
userIds
=
ids
.
join
(
','
)
this
.
talkForm
.
userNames
=
names
.
join
(
','
)
},
// 获取详情
getDeatil
(
id
)
{
lexicalDetail
(
id
)
.
then
((
res
)
=>
{
this
.
talkForm
=
res
.
data
this
.
talkList
=
res
.
data
.
weMaterialList
})
.
catch
(()
=>
{})
},
// 获取模板中心详情
getTelDeatil
(
id
)
{
templateDetail
(
id
)
.
then
((
res
)
=>
{
this
.
talkForm
=
res
.
data
this
.
talkList
=
res
.
data
.
weMaterialList
this
.
setUserData
()
})
.
catch
(()
=>
{})
},
getEdit
(
val
)
{
this
.
type
=
val
.
mediaType
this
.
editMaterialForm
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
},
},
setData
(
val
)
{
immediate
:
true
,
this
.
talkList
=
val
},
this
.
$emit
(
'phoneData'
,
this
.
talkList
)
},
},
methods
:
{
getItemArry
(
val
)
{
changeInfo
(
val
)
{
this
.
talkList
=
this
.
talkList
.
concat
(
val
)
this
.
$emit
(
'changeInfo'
,
val
)
// 当手机为非内嵌时
},
dialogClose
(
val
,
list
)
{
this
.
dialogVisible
=
val
if
(
list
)
{
this
.
talkList
=
[...
list
]
this
.
$emit
(
'phoneData'
,
this
.
talkList
)
this
.
$emit
(
'phoneData'
,
this
.
talkList
)
},
}
centerSubmit
()
{},
},
selectCenter
()
{},
filPicType
(
file
)
{
choseCenter
()
{
let
filecontent
=
JSON
.
parse
(
JSON
.
stringify
(
file
))
this
.
choseDialog
=
true
filecontent
=
filecontent
.
split
(
'.'
)
},
let
type
=
filecontent
[
filecontent
.
length
-
1
]
getIds
(
value
)
{
if
(
type
===
'pdf'
)
{
this
.
ids
=
value
return
window
.
lwConfig
.
DEFAULT_H5_PDF
},
}
else
if
([
'doc'
,
'docx'
].
includes
(
type
))
{
moveGroup
(
type
)
{
return
window
.
lwConfig
.
DEFAULT_H5_WORDE
this
.
type
=
''
}
else
if
([
'ppt'
,
'pptx'
,
'pps'
,
'pptsx'
].
includes
(
type
))
{
this
.
type
=
type
return
window
.
lwConfig
.
DEFAULT_H5_PPT
if
(
this
.
otherType
===
3
&&
type
==
'2'
)
{
}
else
{
this
.
choseDialog
=
true
return
''
}
else
{
}
this
.
dialogVisible
=
true
},
}
dealType
()
{
},
if
(
this
.
moduleType
===
4
)
{
// 获取类目树
switch
(
this
.
otherType
)
{
getTree
()
{
case
1
:
var
mediaType
=
null
case
4
:
if
(
this
.
talkType
==
0
)
{
this
.
titleOne
=
'欢迎语'
mediaType
=
13
this
.
lableOne
=
'欢迎语'
}
else
if
(
this
.
talkType
==
1
)
{
this
.
titleTwo
=
'欢迎语附件'
mediaType
=
14
break
}
case
2
:
if
(
this
.
templateType
==
2
)
{
this
.
titleOne
=
'群发内容'
mediaType
=
17
this
.
lableOne
=
'内容'
}
else
if
(
this
.
templateType
==
3
)
{
this
.
titleTwo
=
'群发附件'
mediaType
=
16
break
}
case
3
:
getTree
(
mediaType
).
then
(({
data
})
=>
{
this
.
titleOne
=
'动态内容'
this
.
treeData
=
[
this
.
lableOne
=
'动态文本'
{
break
id
:
''
,
name
:
'全部'
,
parentId
:
'0'
,
hasParent
:
false
,
hasChildren
:
true
,
children
:
data
||
[]
}
]
})
},
// 新建话术
tackSubmit
()
{
this
.
talkLoading
=
true
if
([
3
,
4
].
includes
(
this
.
moduleType
)
&&
!
this
.
talkForm
.
templateInfo
)
{
this
.
templateInfo
=
'请输入'
+
this
.
lableOne
this
.
talkLoading
=
false
return
}
else
{
this
.
templateInfo
=
''
}
if
(
!
this
.
talkForm
.
userIds
&&
this
.
tplType
==
2
)
{
this
.
userInfo
=
'请选择员工'
this
.
talkLoading
=
false
return
}
else
{
this
.
userInfo
=
''
}
if
(
this
.
talkType
===
'0'
)
{
this
.
talkForm
.
talkType
=
0
}
else
if
(
this
.
talkType
===
'1'
)
{
this
.
talkForm
.
talkType
=
1
}
if
(
!
this
.
templateType
)
{
this
.
talkForm
.
talkMaterialList
=
[]
// console.log(this.talkList)
this
.
talkList
.
forEach
((
item
,
index
)
=>
{
this
.
talkForm
.
talkMaterialList
.
push
({
materialId
:
item
.
id
,
sort
:
index
})
})
}
}
this
.
$refs
[
'talkform'
].
validate
((
valid
)
=>
{
}
else
if
(
this
.
iswelcom
)
{
if
(
valid
)
{
this
.
titleOne
=
'欢迎语'
let
talkForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
talkForm
))
this
.
lableOne
=
'欢迎语'
// 如果是关联模块
this
.
titleTwo
=
'欢迎语附件'
if
(
this
.
moduleType
===
4
)
{
}
else
if
(
this
.
templateType
===
2
)
{
this
.
talkLoading
=
true
this
.
lableOne
=
'群发内容'
talkForm
.
attachments
=
[]
this
.
titleTwo
=
'群发附件'
if
(
this
.
talkList
.
length
!==
0
)
{
}
else
if
(
this
.
templateType
===
3
)
{
this
.
dealOtherModleType
(
talkForm
)
this
.
lableOne
=
' SOP内容'
}
this
.
titleTwo
=
'群发附件'
this
.
$emit
(
'submit'
,
talkForm
)
}
else
{
// this.$refs['talkForm'].resetFields()
this
.
titleOne
=
'欢迎语'
// this.talkForm = {}
this
.
lableOne
=
'消息内容'
setTimeout
(()
=>
{
this
.
titleTwo
=
'话术素材'
this
.
talkLoading
=
false
}
},
5000
)
},
}
else
{
// 模板库点击确定
talkForm
.
attachmentList
=
[]
selectModle
()
{
talkForm
.
weTlpMaterialList
=
[]
this
.
libraryLoading
=
true
this
.
talkId
?
(
talkForm
.
talkId
=
this
.
talkId
)
:
''
if
(
this
.
selectObj
)
{
this
.
modelId
?
(
talkForm
.
modelId
=
this
.
modelId
)
:
''
this
.
talkForm
=
this
.
selectObj
if
(
this
.
templateType
)
{
this
.
welcomVisible
=
false
// 如果是模板中心
this
.
talkList
=
this
.
selectObj
.
weMaterialList
this
.
talkForm
.
weTlpMaterialList
=
[]
}
else
{
this
.
dealTemplateType
(
talkForm
)
this
.
$message
.
error
(
'请选择群发模板'
)
}
}
;(
this
.
templateType
?
templateAdd
:
lexicalAdd
)(
talkForm
)
this
.
libraryLoading
=
false
.
then
(()
=>
{
},
this
.
msgSuccess
(
'操作成功'
)
changeObj
(
id
)
{
// this.getList()
if
(
id
)
{
this
.
$router
.
push
(
'list'
)
templateDetail
(
id
).
then
((
res
)
=>
{
this
.
$refs
[
'talkForm'
].
resetFields
()
this
.
selectObj
=
res
.
data
this
.
talkForm
=
{}
this
.
talkLoading
=
false
})
.
catch
(()
=>
{
this
.
talkLoading
=
false
})
}
}
else
{
this
.
talkLoading
=
false
}
})
})
},
}
dealOtherModleType
(
talkForm
)
{
},
this
.
talkList
.
forEach
((
item
)
=>
{
setUserData
()
{
let
attachments
=
{}
this
.
selectedUserList
=
[]
attachments
.
title
=
item
.
materialName
let
arr
=
[]
attachments
.
realType
=
+
item
.
mediaType
if
(
this
.
talkForm
.
userIds
)
{
attachments
.
materialId
=
item
.
id
//素材
arr
=
this
.
talkForm
.
userIds
.
split
(
','
).
map
((
dd
,
index
)
=>
{
switch
(
item
.
mediaType
)
{
return
{
case
'0'
:
userId
:
dd
,
// 图片
name
:
this
.
talkForm
.
userNames
.
split
(
','
)[
index
],
attachments
.
picUrl
=
item
.
materialUrl
attachments
.
msgType
=
'image'
break
case
'2'
:
// 视频
attachments
.
picUrl
=
item
.
coverUrl
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
description
=
item
.
digest
attachments
.
msgType
=
'video'
break
case
'3'
:
// 文件
attachments
.
picUrl
=
this
.
filPicType
(
item
.
materialUrl
)
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
description
=
item
.
digest
attachments
.
msgType
=
'file'
break
case
'4'
:
// 文本
attachments
.
content
=
item
.
content
attachments
.
msgType
=
'text'
break
case
'5'
:
// 海报
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
msgType
=
'posters'
break
case
'9'
:
// 图文
attachments
.
content
=
item
.
content
attachments
.
picUrl
=
item
.
coverUrl
attachments
.
linkUrl
=
item
.
materialUrl
attachments
.
msgType
=
'link'
if
(
this
.
otherType
===
3
)
{
attachments
.
materialName
=
item
.
materialName
}
break
case
'11'
:
// 小程序
attachments
.
picUrl
=
item
.
coverUrl
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
appId
=
item
.
digest
attachments
.
msgType
=
'miniprogram'
break
case
'12'
:
// 文章
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
description
=
item
.
digest
attachments
.
content
=
item
.
content
attachments
.
picUrl
=
item
.
coverUrl
attachments
.
msgType
=
'news'
break
}
}
talkForm
.
attachments
.
push
(
attachments
)
})
})
},
}
dealTemplateType
(
talkForm
)
{
this
.
users
=
arr
this
.
talkList
.
forEach
((
item
)
=>
{
},
let
attachmentFrom
=
{}
onSelectUser
()
{
attachmentFrom
.
msgType
=
item
.
mediaType
this
.
selectedUserList
=
[]
attachmentFrom
.
mediaId
=
item
.
id
let
arr
=
[]
if
(
item
.
mediaType
!=
'0'
)
{
if
(
this
.
talkForm
.
userIds
)
{
attachmentFrom
.
title
=
item
.
materialName
arr
=
this
.
talkForm
.
userIds
.
split
(
','
).
map
((
dd
,
index
)
=>
{
}
return
{
switch
(
item
.
mediaType
)
{
userId
:
dd
,
case
'0'
:
name
:
this
.
talkForm
.
userNames
.
split
(
','
)[
index
],
case
'5'
:
// 图片
attachmentFrom
.
picUrl
=
item
.
materialUrl
break
case
'2'
:
// 视频
attachmentFrom
.
picUrl
=
item
.
coverUrl
attachmentFrom
.
fileUrl
=
item
.
materialUrl
attachmentFrom
.
description
=
item
.
digest
break
case
'3'
:
// 文件
attachmentFrom
.
fileUrl
=
item
.
materialUrl
attachmentFrom
.
description
=
item
.
digest
break
case
'4'
:
// 文本
attachmentFrom
.
content
=
item
.
content
break
case
'4'
:
// 海报
break
case
'9'
:
// 图文
attachmentFrom
.
content
=
item
.
content
attachmentFrom
.
picUrl
=
item
.
coverUrl
attachmentFrom
.
linkUrl
=
item
.
materialUrl
break
case
'11'
:
// 小程序
attachmentFrom
.
picUrl
=
item
.
coverUrl
attachmentFrom
.
fileUrl
=
item
.
materialUrl
attachmentFrom
.
appId
=
item
.
digest
break
case
'12'
:
// 文章
attachmentFrom
.
fileUrl
=
item
.
materialUrl
attachmentFrom
.
description
=
item
.
digest
attachmentFrom
.
content
=
item
.
content
attachmentFrom
.
picUrl
=
item
.
coverUrl
break
}
}
talkForm
.
attachmentList
.
push
(
attachmentFrom
)
talkForm
.
weTlpMaterialList
.
push
({
materialId
:
item
.
id
})
})
})
talkForm
.
templateType
=
this
.
templateType
talkForm
.
tplType
=
this
.
tplType
},
getCancel
()
{
this
.
$router
.
back
()
},
goBack
()
{
let
talkForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
talkForm
))
talkForm
.
attachments
=
[]
if
(
this
.
talkList
.
length
!==
0
)
{
this
.
dealOtherModleType
(
talkForm
)
}
this
.
$emit
(
'update'
,
talkForm
)
}
}
this
.
selectedUserList
=
arr
this
.
dialogVisibleSelectUser
=
true
},
selectedUser
(
users
)
{
let
ids
=
[]
let
names
=
[]
const
selectedUserList
=
users
.
map
((
d
)
=>
{
ids
.
push
(
d
.
userId
)
names
.
push
(
d
.
name
)
return
{
userId
:
d
.
userId
,
name
:
d
.
name
,
}
})
this
.
users
=
selectedUserList
this
.
talkForm
.
userIds
=
ids
.
join
(
','
)
this
.
talkForm
.
userNames
=
names
.
join
(
','
)
},
// 获取详情
getDeatil
(
id
)
{
lexicalDetail
(
id
)
.
then
((
res
)
=>
{
this
.
talkForm
=
res
.
data
this
.
talkList
=
res
.
data
.
weMaterialList
})
.
catch
(()
=>
{})
},
// 获取模板中心详情
getTelDeatil
(
id
)
{
templateDetail
(
id
)
.
then
((
res
)
=>
{
this
.
talkForm
=
res
.
data
this
.
talkList
=
res
.
data
.
weMaterialList
this
.
setUserData
()
})
.
catch
(()
=>
{})
},
getEdit
(
val
)
{
this
.
type
=
val
.
mediaType
this
.
editMaterialForm
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
},
setData
(
val
)
{
this
.
talkList
=
val
this
.
$emit
(
'phoneData'
,
this
.
talkList
)
},
getItemArry
(
val
)
{
this
.
talkList
=
this
.
talkList
.
concat
(
val
)
// 当手机为非内嵌时
this
.
$emit
(
'phoneData'
,
this
.
talkList
)
},
centerSubmit
()
{},
selectCenter
()
{},
choseCenter
()
{
this
.
choseDialog
=
true
},
},
mounted
()
{
getIds
(
value
)
{
if
(
this
.
$route
.
query
.
categoryId
)
{
this
.
ids
=
value
let
form
=
{
categoryId
:
this
.
$route
.
query
.
categoryId
}
},
this
.
talkForm
=
{
...
form
}
moveGroup
(
type
)
{
this
.
type
=
''
this
.
type
=
type
if
(
this
.
otherType
===
3
&&
type
==
'2'
)
{
this
.
choseDialog
=
true
}
else
{
this
.
dialogVisible
=
true
}
}
if
(
this
.
templateType
!=
1
&&
this
.
moduleType
!=
4
)
{
},
this
.
getTree
()
// 获取类目树
getTree
()
{
var
mediaType
=
null
if
(
this
.
talkType
==
0
)
{
mediaType
=
13
}
else
if
(
this
.
talkType
==
1
)
{
mediaType
=
14
}
}
if
(
this
.
baseData
.
templateInfo
)
{
if
(
this
.
templateType
==
2
)
{
// this.form.templateInfo = this.baseData.templateInfo
mediaType
=
17
this
.
talkForm
=
this
.
baseData
}
else
if
(
this
.
templateType
==
3
)
{
this
.
talkList
=
this
.
baseData
.
attachments
mediaType
=
16
}
}
this
.
dealType
()
getTree
(
mediaType
).
then
(({
data
})
=>
{
if
(
this
.
otherType
===
3
||
this
.
tplType
==
3
)
{
this
.
treeData
=
[
this
.
maxlength
=
1
{
id
:
''
,
name
:
'全部'
,
parentId
:
'0'
,
hasParent
:
false
,
hasChildren
:
true
,
children
:
data
||
[],
},
]
})
},
// 新建话术
tackSubmit
()
{
this
.
talkLoading
=
true
if
([
3
,
4
].
includes
(
this
.
moduleType
)
&&
!
this
.
talkForm
.
templateInfo
)
{
this
.
templateInfo
=
'请输入'
+
this
.
lableOne
this
.
talkLoading
=
false
return
}
else
{
}
else
{
this
.
maxlength
=
9
this
.
templateInfo
=
''
}
}
if
([
3
,
4
].
includes
(
this
.
moduleType
))
{
if
(
!
this
.
talkForm
.
userIds
&&
this
.
tplType
==
2
)
{
this
.
fontType
=
'附件'
this
.
userInfo
=
'请选择员工'
this
.
talkLoading
=
false
return
}
else
{
}
else
{
this
.
fontType
=
'素材
'
this
.
userInfo
=
'
'
}
}
if
(
this
.
$route
.
query
.
posterId
)
{
if
(
this
.
talkType
===
'0'
)
{
getDetail
(
this
.
$route
.
query
.
posterId
).
then
((
res
)
=>
{
this
.
talkForm
.
talkType
=
0
if
(
res
.
code
==
200
)
{
}
else
if
(
this
.
talkType
===
'1'
)
{
this
.
talkList
.
push
(
res
.
data
)
this
.
talkForm
.
talkType
=
1
}
}
if
(
!
this
.
templateType
)
{
this
.
talkForm
.
talkMaterialList
=
[]
// console.log(this.talkList)
this
.
talkList
.
forEach
((
item
,
index
)
=>
{
this
.
talkForm
.
talkMaterialList
.
push
({
materialId
:
item
.
id
,
sort
:
index
})
})
})
}
}
this
.
$refs
[
'talkform'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
let
talkForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
talkForm
))
// 如果是关联模块
if
(
this
.
moduleType
===
4
)
{
this
.
talkLoading
=
true
talkForm
.
attachments
=
[]
if
(
this
.
talkList
.
length
!==
0
)
{
this
.
dealOtherModleType
(
talkForm
)
}
this
.
$emit
(
'submit'
,
talkForm
)
// this.$refs['talkForm'].resetFields()
// this.talkForm = {}
setTimeout
(()
=>
{
this
.
talkLoading
=
false
},
5000
)
}
else
{
talkForm
.
attachmentList
=
[]
talkForm
.
weTlpMaterialList
=
[]
this
.
talkId
?
(
talkForm
.
talkId
=
this
.
talkId
)
:
''
this
.
modelId
?
(
talkForm
.
modelId
=
this
.
modelId
)
:
''
if
(
this
.
templateType
)
{
// 如果是模板中心
this
.
talkForm
.
weTlpMaterialList
=
[]
this
.
dealTemplateType
(
talkForm
)
}
;(
this
.
templateType
?
templateAdd
:
lexicalAdd
)(
talkForm
)
.
then
(()
=>
{
this
.
msgSuccess
(
'操作成功'
)
// this.getList()
this
.
$router
.
push
(
'list'
)
this
.
$refs
[
'talkForm'
].
resetFields
()
this
.
talkForm
=
{}
this
.
talkLoading
=
false
})
.
catch
(()
=>
{
this
.
talkLoading
=
false
})
}
}
else
{
this
.
talkLoading
=
false
}
})
},
dealOtherModleType
(
talkForm
)
{
this
.
talkList
.
forEach
((
item
)
=>
{
let
attachments
=
{}
attachments
.
title
=
item
.
materialName
attachments
.
realType
=
+
item
.
mediaType
attachments
.
materialId
=
item
.
id
//素材
switch
(
item
.
mediaType
)
{
case
'0'
:
// 图片
attachments
.
picUrl
=
item
.
materialUrl
attachments
.
msgType
=
'image'
break
case
'2'
:
// 视频
attachments
.
picUrl
=
item
.
coverUrl
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
description
=
item
.
digest
attachments
.
msgType
=
'video'
break
case
'3'
:
// 文件
attachments
.
picUrl
=
this
.
filPicType
(
item
.
materialUrl
)
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
description
=
item
.
digest
attachments
.
msgType
=
'file'
break
case
'4'
:
// 文本
attachments
.
content
=
item
.
content
attachments
.
msgType
=
'text'
break
case
'5'
:
// 海报
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
msgType
=
'posters'
break
case
'9'
:
// 图文
attachments
.
content
=
item
.
content
attachments
.
picUrl
=
item
.
coverUrl
attachments
.
linkUrl
=
item
.
materialUrl
attachments
.
msgType
=
'link'
if
(
this
.
otherType
===
3
)
{
attachments
.
materialName
=
item
.
materialName
}
break
case
'11'
:
// 小程序
attachments
.
picUrl
=
item
.
coverUrl
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
appId
=
item
.
digest
attachments
.
msgType
=
'miniprogram'
break
case
'12'
:
// 文章
attachments
.
fileUrl
=
item
.
materialUrl
attachments
.
description
=
item
.
digest
attachments
.
content
=
item
.
content
attachments
.
picUrl
=
item
.
coverUrl
attachments
.
msgType
=
'news'
break
}
talkForm
.
attachments
.
push
(
attachments
)
})
},
dealTemplateType
(
talkForm
)
{
this
.
talkList
.
forEach
((
item
)
=>
{
let
attachmentFrom
=
{}
attachmentFrom
.
msgType
=
item
.
mediaType
attachmentFrom
.
mediaId
=
item
.
id
if
(
item
.
mediaType
!=
'0'
)
{
attachmentFrom
.
title
=
item
.
materialName
}
switch
(
item
.
mediaType
)
{
case
'0'
:
case
'5'
:
// 图片
attachmentFrom
.
picUrl
=
item
.
materialUrl
break
case
'2'
:
// 视频
attachmentFrom
.
picUrl
=
item
.
coverUrl
attachmentFrom
.
fileUrl
=
item
.
materialUrl
attachmentFrom
.
description
=
item
.
digest
break
case
'3'
:
// 文件
attachmentFrom
.
fileUrl
=
item
.
materialUrl
attachmentFrom
.
description
=
item
.
digest
break
case
'4'
:
// 文本
attachmentFrom
.
content
=
item
.
content
break
case
'4'
:
// 海报
break
case
'9'
:
// 图文
attachmentFrom
.
content
=
item
.
content
attachmentFrom
.
picUrl
=
item
.
coverUrl
attachmentFrom
.
linkUrl
=
item
.
materialUrl
break
case
'11'
:
// 小程序
attachmentFrom
.
picUrl
=
item
.
coverUrl
attachmentFrom
.
fileUrl
=
item
.
materialUrl
attachmentFrom
.
appId
=
item
.
digest
break
case
'12'
:
// 文章
attachmentFrom
.
fileUrl
=
item
.
materialUrl
attachmentFrom
.
description
=
item
.
digest
attachmentFrom
.
content
=
item
.
content
attachmentFrom
.
picUrl
=
item
.
coverUrl
break
}
talkForm
.
attachmentList
.
push
(
attachmentFrom
)
talkForm
.
weTlpMaterialList
.
push
({
materialId
:
item
.
id
})
})
talkForm
.
templateType
=
this
.
templateType
talkForm
.
tplType
=
this
.
tplType
},
getCancel
()
{
this
.
$router
.
back
()
},
goBack
()
{
let
talkForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
talkForm
))
talkForm
.
attachments
=
[]
if
(
this
.
talkList
.
length
!==
0
)
{
this
.
dealOtherModleType
(
talkForm
)
}
this
.
$emit
(
'update'
,
talkForm
)
},
},
mounted
()
{
if
(
this
.
$route
.
query
.
categoryId
)
{
let
form
=
{
categoryId
:
this
.
$route
.
query
.
categoryId
}
this
.
talkForm
=
{
...
form
}
}
}
}
if
(
this
.
templateType
!=
1
&&
this
.
moduleType
!=
4
)
{
this
.
getTree
()
}
if
(
this
.
baseData
.
templateInfo
)
{
// this.form.templateInfo = this.baseData.templateInfo
this
.
talkForm
=
this
.
baseData
this
.
talkList
=
this
.
baseData
.
attachments
}
this
.
dealType
()
if
(
this
.
otherType
===
3
||
this
.
tplType
==
3
)
{
this
.
maxlength
=
1
}
else
{
this
.
maxlength
=
9
}
if
([
3
,
4
].
includes
(
this
.
moduleType
))
{
this
.
fontType
=
'附件'
}
else
{
this
.
fontType
=
'素材'
}
if
(
this
.
$route
.
query
.
posterId
)
{
getDetail
(
this
.
$route
.
query
.
posterId
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
talkList
.
push
(
res
.
data
)
}
})
}
},
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
.ql-editor
{
::v-deep
.ql-editor
{
min-height
:
200px
;
min-height
:
200px
;
.ql-container
{
.ql-container
{
.ql-snow
{
.ql-snow
{
.ql-tooltip
{
.ql-tooltip
{
left
:
0px
!important
;
left
:
0px
!important
;
}
}
}
}
}
}
}
::v-deep
.el-button.is-disabled
{
}
color
:
#fff
;
::v-deep
.el-button.is-disabled
{
background-color
:
#cccccc
;
color
:
var
(
--font-white
,
#fff
);
border-color
:
#cccccc
;
background-color
:
#cccccc
;
}
border-color
:
#cccccc
;
::v-deep
.el-dropdown
[
disabled
]
{
}
color
:
#fff
;
::v-deep
.el-dropdown
[
disabled
]
{
background-color
:
#cccccc
;
color
:
var
(
--font-white
,
#fff
);
border-color
:
#cccccc
;
background-color
:
#cccccc
;
}
border-color
:
#cccccc
;
.footer
{
}
display
:
flex
;
.footer
{
justify-content
:
space-between
;
display
:
flex
;
}
justify-content
:
space-between
;
.footerColor
{
}
font-weight
:
500
;
.footerColor
{
font-size
:
18px
;
font-weight
:
500
;
color
:
var
(
--color
);
font-size
:
18px
;
margin
:
0
4px
;
color
:
var
(
--color
);
}
margin
:
0
4px
;
.radius
{
}
border-radius
:
4px
;
.radius
{
}
border-radius
:
4px
;
.boxClass
{
}
padding
:
0
var
(
--card-margin
)
0
0
;
.boxClass
{
}
padding
:
0
var
(
--card-margin
)
0
0
;
}
</
style
>
</
style
>
vue3-lw-pc/src/components/ContentCenter/PreviewInPhone.vue
View file @
24e77ee
...
@@ -242,7 +242,7 @@ export default {
...
@@ -242,7 +242,7 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
.red-text
{
.red-text
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
margin-left
:
56px
;
margin-left
:
56px
;
width
:
98px
;
width
:
98px
;
white-space
:
nowrap
;
//
强制一行
white-space
:
nowrap
;
//
强制一行
...
...
vue3-lw-pc/src/components/Upload.vue
View file @
24e77ee
...
@@ -716,7 +716,7 @@ export default {
...
@@ -716,7 +716,7 @@ export default {
width
:
300px
;
width
:
300px
;
height
:
150px
;
height
:
150px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
background-color
:
#000
;
background-color
:
#000
;
position
:
relative
;
position
:
relative
;
padding
:
0
;
padding
:
0
;
...
@@ -750,7 +750,7 @@ export default {
...
@@ -750,7 +750,7 @@ export default {
top
:
0
;
top
:
0
;
cursor
:
pointer
;
cursor
:
pointer
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
transition
:
opacity
0.3s
;
transition
:
opacity
0.3s
;
...
...
vue3-lw-pc/src/layout/components/Sidebar/index.vue
View file @
24e77ee
...
@@ -187,7 +187,7 @@ export default {
...
@@ -187,7 +187,7 @@ export default {
background
:
linear-gradient
(
to
right
,
var
(
--color
)
0%
,
var
(
--color-sub
)
100%
);
background
:
linear-gradient
(
to
right
,
var
(
--color
)
0%
,
var
(
--color-sub
)
100%
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0.2
);
box-shadow
:
0px
13px
16px
0px
rgba
(
7
,
168
,
85
,
0.2
);
border-radius
:
8px
;
border-radius
:
8px
;
color
:
#fff
!important
;
color
:
var
(
--font-white
,
#fff
)
!important
;
z-index
:
1
;
z-index
:
1
;
}
}
...
@@ -251,7 +251,7 @@ export default {
...
@@ -251,7 +251,7 @@ export default {
}
}
.card
{
.card
{
//
color
:
#fff
;
//
color
:
var
(
--font-white
,
#fff
)
;
//
padding
:
20px
;
//
padding
:
20px
;
//
background
:
linear-gradient
(
315deg
,
#07c160
0%
,
#90de45
100%
);
//
background
:
linear-gradient
(
315deg
,
#07c160
0%
,
#90de45
100%
);
//
box-shadow
:
0px
15px
20px
0px
rgba
(
64
,
64
,
64
,
0.12
);
//
box-shadow
:
0px
15px
20px
0px
rgba
(
64
,
64
,
64
,
0.12
);
...
...
vue3-lw-pc/src/layout/components/TagsView/index.vue
View file @
24e77ee
...
@@ -236,7 +236,7 @@ export default {
...
@@ -236,7 +236,7 @@ export default {
}
}
&
.active
{
&
.active
{
background-color
:
#42b983
;
background-color
:
#42b983
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
border-color
:
#42b983
;
border-color
:
#42b983
;
&::before
{
&::before
{
content
:
''
;
content
:
''
;
...
@@ -294,7 +294,7 @@ export default {
...
@@ -294,7 +294,7 @@ export default {
}
}
&
:hover
{
&
:hover
{
background-color
:
#b4bccc
;
background-color
:
#b4bccc
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
}
}
...
...
vue3-lw-pc/src/layout/components/TopBar/Logo.vue
View file @
24e77ee
...
@@ -56,7 +56,7 @@ export default {
...
@@ -56,7 +56,7 @@ export default {
&
.sidebar-title
{
&
.sidebar-title
{
display
:
inline-block
;
display
:
inline-block
;
margin
:
0
;
margin
:
0
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
font-weight
:
600
;
font-weight
:
600
;
line-height
:
50px
;
line-height
:
50px
;
font-size
:
14px
;
font-size
:
14px
;
...
...
vue3-lw-pc/src/layout/components/TopBar/TopMenu.vue
View file @
24e77ee
...
@@ -153,7 +153,7 @@ export default {
...
@@ -153,7 +153,7 @@ export default {
opacity
:
1
;
opacity
:
1
;
}
}
background-color
:
initial
;
background-color
:
initial
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
}
}
...
@@ -161,7 +161,7 @@ export default {
...
@@ -161,7 +161,7 @@ export default {
&
>
.el-menu-item.is-active
,
&
>
.el-menu-item.is-active
,
&
>
.el-submenu.is-active
.el-submenu__title
{
&
>
.el-submenu.is-active
.el-submenu__title
{
@extend
.g-bg-lg;
@extend
.g-bg-lg;
color
:
#fff
!important
;
color
:
var
(
--font-white
,
#fff
)
!important
;
border
:
0
;
border
:
0
;
}
}
...
...
vue3-lw-pc/src/layout/components/TopBar/index.vue
View file @
24e77ee
...
@@ -316,12 +316,12 @@ export default {
...
@@ -316,12 +316,12 @@ export default {
//
background
:
#fff
;
//
background
:
#fff
;
//
color
:
var
(
--color
);
//
color
:
var
(
--color
);
.contact-us-icon
{
.contact-us-icon
{
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
//
color
:
inherit
;
//
color
:
inherit
;
font-size
:
30px
;
font-size
:
30px
;
}
}
//
&
:hover
{
//
&
:hover
{
//
color
:
#fff
;
//
color
:
var
(
--font-white
,
#fff
)
;
//
background
:
linear-gradient
(
225deg
,
var
(
--color-sub
)
0%
,
var
(
--color
)
100%
);
//
background
:
linear-gradient
(
225deg
,
var
(
--color-sub
)
0%
,
var
(
--color
)
100%
);
//
transition
:
all
0.3s
;
//
transition
:
all
0.3s
;
//
}
//
}
...
...
vue3-lw-pc/src/layout/visitor.vue
View file @
24e77ee
...
@@ -91,7 +91,7 @@ export default {
...
@@ -91,7 +91,7 @@ export default {
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
text-align
:
center
;
text-align
:
center
;
//
color
:
#fff
;
//
color
:
var
(
--font-white
,
#fff
)
;
font-family
:
Arial
;
font-family
:
Arial
;
font-size
:
12px
;
font-size
:
12px
;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
...
...
vue3-lw-pc/src/styles/element-ui.scss
View file @
24e77ee
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
}
}
// .el-message-box__btns {
// .el-message-box__btns {
// .el-button--default.el-button--primary {
// .el-button--default.el-button--primary {
// color:
#fff
;
// color:
var(--font-white, #fff)
;
// }
// }
// }
// }
.el-button
{
.el-button
{
...
@@ -59,18 +59,18 @@
...
@@ -59,18 +59,18 @@
.el-button--cyan
:active
{
.el-button--cyan
:active
{
background
:
#20b2aa
;
background
:
#20b2aa
;
border-color
:
#20b2aa
;
border-color
:
#20b2aa
;
color
:
#ffffff
;
color
:
var
(
--
font-white
,
#fff
)
;
}
}
.el-button--cyan
:focus
,
.el-button--cyan
:focus
,
.el-button--cyan
:hover
{
.el-button--cyan
:hover
{
background
:
#48d1cc
;
background
:
#48d1cc
;
border-color
:
#48d1cc
;
border-color
:
#48d1cc
;
color
:
#ffffff
;
color
:
var
(
--
font-white
,
#fff
)
;
}
}
.el-button--cyan
{
.el-button--cyan
{
background-color
:
#20b2aa
;
background-color
:
#20b2aa
;
border-color
:
#20b2aa
;
border-color
:
#20b2aa
;
color
:
#ffffff
;
color
:
var
(
--
font-white
,
#fff
)
;
}
}
// .el-input.el-input--small {
// .el-input.el-input--small {
...
@@ -496,7 +496,7 @@
...
@@ -496,7 +496,7 @@
color
:
#86909c
;
// 标题颜色
color
:
#86909c
;
// 标题颜色
}
}
.el-step__head.is-process
{
.el-step__head.is-process
{
color
:
#fff
;
// 数字颜色
color
:
var
(
--
font-white
,
#fff
)
;
// 数字颜色
.el-step__icon.is-text
{
.el-step__icon.is-text
{
background
:
var
(
--
color
);
background
:
var
(
--
color
);
}
}
...
...
vue3-lw-pc/src/styles/index.scss
View file @
24e77ee
...
@@ -84,7 +84,7 @@ div:focus {
...
@@ -84,7 +84,7 @@ div:focus {
/* 拖拽列样式 */
/* 拖拽列样式 */
.sortable-ghost
{
.sortable-ghost
{
opacity
:
0
.8
;
opacity
:
0
.8
;
color
:
#fff
!
important
;
color
:
var
(
--
font-white
,
#fff
)
!
important
;
background
:
#42b983
!
important
;
background
:
#42b983
!
important
;
}
}
...
@@ -203,7 +203,7 @@ div:focus {
...
@@ -203,7 +203,7 @@ div:focus {
&
card-blue-wrap
{
&
card-blue-wrap
{
display
:
flex
;
display
:
flex
;
.card-blue
{
.card-blue
{
color
:
#fff
;
color
:
var
(
--
font-white
,
#fff
)
;
width
:
200px
;
width
:
200px
;
height
:
90px
;
height
:
90px
;
background
:
linear-gradient
(
90deg
,
#3c89f0
0%
,
#1364f4
100%
);
background
:
linear-gradient
(
90deg
,
#3c89f0
0%
,
#1364f4
100%
);
...
...
vue3-lw-pc/src/views/application/shortLinkPopularize/components/IdentityAttachment.vue
View file @
24e77ee
...
@@ -806,12 +806,12 @@ export default {
...
@@ -806,12 +806,12 @@ export default {
}
}
}
}
::v-deep
.el-button.is-disabled
{
::v-deep
.el-button.is-disabled
{
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
background-color
:
#cccccc
;
background-color
:
#cccccc
;
border-color
:
#cccccc
;
border-color
:
#cccccc
;
}
}
::v-deep
.el-dropdown
[
disabled
]
{
::v-deep
.el-dropdown
[
disabled
]
{
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
background-color
:
#cccccc
;
background-color
:
#cccccc
;
border-color
:
#cccccc
;
border-color
:
#cccccc
;
}
}
...
...
vue3-lw-pc/src/views/contentCenter/basicMaterial/applet.vue
View file @
24e77ee
...
@@ -96,7 +96,7 @@ export default {
...
@@ -96,7 +96,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/basicMaterial/detail.vue
View file @
24e77ee
...
@@ -530,7 +530,7 @@ export default {
...
@@ -530,7 +530,7 @@ export default {
.group
{
.group
{
font-size
:
12px
;
font-size
:
12px
;
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
display
:
block
;
display
:
block
;
padding
:
0
5px
;
padding
:
0
5px
;
height
:
24px
;
height
:
24px
;
...
...
vue3-lw-pc/src/views/contentCenter/basicMaterial/image.vue
View file @
24e77ee
...
@@ -111,7 +111,7 @@ export default {
...
@@ -111,7 +111,7 @@ export default {
justify-content
:
space-between
;
justify-content
:
space-between
;
.icon-action
{
.icon-action
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
}
}
...
@@ -172,7 +172,7 @@ export default {
...
@@ -172,7 +172,7 @@ export default {
//
left
:
0
;
//
left
:
0
;
//
top
:
0
;
//
top
:
0
;
//
text-align
:
center
;
//
text-align
:
center
;
//
color
:
#fff
;
//
color
:
var
(
--font-white
,
#fff
)
;
//
opacity
:
0
;
//
opacity
:
0
;
//
font-size
:
20px
;
//
font-size
:
20px
;
//
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
//
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/basicMaterial/imageText.vue
View file @
24e77ee
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/components/PosterAdd.vue
View file @
24e77ee
...
@@ -1011,7 +1011,7 @@ export default {
...
@@ -1011,7 +1011,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
z-index
:
9
;
z-index
:
9
;
font-size
:
24px
;
font-size
:
24px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
display
:
none
;
display
:
none
;
background
:
#0279de
;
background
:
#0279de
;
width
:
24px
;
width
:
24px
;
...
...
vue3-lw-pc/src/views/contentCenter/corporateScripts/Material.vue
View file @
24e77ee
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
.group
{
.group
{
font-size
:
12px
;
font-size
:
12px
;
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
display
:
block
;
display
:
block
;
padding
:
0
5px
;
padding
:
0
5px
;
height
:
24px
;
height
:
24px
;
...
...
vue3-lw-pc/src/views/contentCenter/corporateScripts/Statistics.vue
View file @
24e77ee
...
@@ -191,7 +191,7 @@ export default {
...
@@ -191,7 +191,7 @@ export default {
.group
{
.group
{
font-size
:
12px
;
font-size
:
12px
;
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
display
:
block
;
display
:
block
;
padding
:
0
5px
;
padding
:
0
5px
;
height
:
24px
;
height
:
24px
;
...
...
vue3-lw-pc/src/views/contentCenter/corporateScripts/index.vue
View file @
24e77ee
...
@@ -160,7 +160,7 @@ export default {
...
@@ -160,7 +160,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/serviceScripts/Material.vue
View file @
24e77ee
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
.group
{
.group
{
font-size
:
12px
;
font-size
:
12px
;
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
display
:
block
;
display
:
block
;
padding
:
0
5px
;
padding
:
0
5px
;
height
:
24px
;
height
:
24px
;
...
...
vue3-lw-pc/src/views/contentCenter/serviceScripts/Statistics.vue
View file @
24e77ee
...
@@ -189,7 +189,7 @@ export default {
...
@@ -189,7 +189,7 @@ export default {
.group
{
.group
{
font-size
:
12px
;
font-size
:
12px
;
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
display
:
block
;
display
:
block
;
padding
:
0
5px
;
padding
:
0
5px
;
height
:
24px
;
height
:
24px
;
...
...
vue3-lw-pc/src/views/contentCenter/serviceScripts/index.vue
View file @
24e77ee
...
@@ -160,7 +160,7 @@ export default {
...
@@ -160,7 +160,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/templateGroup/index.vue
View file @
24e77ee
...
@@ -99,7 +99,7 @@ export default {
...
@@ -99,7 +99,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/templateSop/index.vue
View file @
24e77ee
...
@@ -94,7 +94,7 @@ export default {
...
@@ -94,7 +94,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/trackMaterial/article.vue
View file @
24e77ee
...
@@ -117,7 +117,7 @@ export default {
...
@@ -117,7 +117,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/trackMaterial/detail.vue
View file @
24e77ee
...
@@ -617,7 +617,7 @@ export default {
...
@@ -617,7 +617,7 @@ export default {
.group
{
.group
{
font-size
:
12px
;
font-size
:
12px
;
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
display
:
block
;
display
:
block
;
padding
:
0
5px
;
padding
:
0
5px
;
height
:
24px
;
height
:
24px
;
...
...
vue3-lw-pc/src/views/contentCenter/trackMaterial/file.vue
View file @
24e77ee
...
@@ -150,7 +150,7 @@ export default {
...
@@ -150,7 +150,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/contentCenter/trackMaterial/poster.vue
View file @
24e77ee
<
script
>
<
script
>
import
MaPage
from
'@/views/contentCenter/components/MaPage'
import
MaPage
from
'@/views/contentCenter/components/MaPage'
import
PicTitContent
from
'@/views/contentCenter/components/PicTitContent'
import
PicTitContent
from
'@/views/contentCenter/components/PicTitContent'
import
{
tsThisType
}
from
'@babel/types'
import
{
tsThisType
}
from
'@babel/types'
export
default
{
export
default
{
name
:
'MImageText'
,
name
:
'MImageText'
,
components
:
{
MaPage
,
PicTitContent
},
components
:
{
MaPage
,
PicTitContent
},
data
()
{
data
()
{
return
{
return
{
srcList
:
[],
srcList
:
[],
ids
:
[],
// 选中数组
ids
:
[],
// 选中数组
dialogVisible
:
false
,
dialogVisible
:
false
,
currentType
:
0
,
currentType
:
0
,
poster
:
''
poster
:
''
,
}
}
},
watch
:
{},
created
()
{},
methods
:
{
listChange
(
data
)
{
this
.
srcList
=
data
.
map
((
item
)
=>
item
.
materialUrl
)
},
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
id
)
},
gotoSend
(
data
)
{
console
.
log
(
data
)
this
.
dialogVisible
=
true
this
.
poster
=
data
},
setTypeFn
(
type
)
{
this
.
currentType
=
type
},
},
watch
:
{},
gotoRoute
()
{
created
()
{},
if
(
this
.
currentType
==
0
)
{
methods
:
{
this
.
$router
.
push
({
listChange
(
data
)
{
path
:
'/customerMaintain/groupMessage/record/add'
,
this
.
srcList
=
data
.
map
((
item
)
=>
item
.
materialUrl
)
query
:
{
},
posterId
:
this
.
poster
.
id
,
// 多选框选中数据
chatType
:
1
,
handleSelectionChange
(
selection
)
{
},
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
id
)
})
},
}
else
if
(
this
.
currentType
==
1
)
{
gotoSend
(
data
)
{
this
.
$router
.
push
({
console
.
log
(
data
)
path
:
'/customerMaintain/groupMessage/record/add'
,
this
.
dialogVisible
=
true
query
:
{
this
.
poster
=
data
posterId
:
this
.
poster
.
id
,
},
chatType
:
2
,
setTypeFn
(
type
)
{
},
this
.
currentType
=
type
})
},
}
else
if
(
this
.
currentType
==
2
)
{
gotoRoute
()
{
this
.
$router
.
push
({
if
(
this
.
currentType
==
0
)
{
path
:
'/customerMaintain/friendCircle/publish'
,
this
.
$router
.
push
({
query
:
{
path
:
'/customerMaintain/groupMessage/record/add'
,
posterId
:
this
.
poster
.
id
,
query
:
{
},
posterId
:
this
.
poster
.
id
,
})
chatType
:
1
}
else
{
}
this
.
$router
.
push
({
})
path
:
'/enterpriseManage/internalCollaborate/appManage'
,
}
else
if
(
this
.
currentType
==
1
)
{
query
:
{
this
.
$router
.
push
({
posterId
:
this
.
poster
.
materialUrl
,
path
:
'/customerMaintain/groupMessage/record/add'
,
},
query
:
{
})
posterId
:
this
.
poster
.
id
,
chatType
:
2
}
})
}
else
if
(
this
.
currentType
==
2
)
{
this
.
$router
.
push
({
path
:
'/customerMaintain/friendCircle/publish'
,
query
:
{
posterId
:
this
.
poster
.
id
}
})
}
else
{
this
.
$router
.
push
({
path
:
'/enterpriseManage/internalCollaborate/appManage'
,
query
:
{
posterId
:
this
.
poster
.
materialUrl
}
})
}
}
}
}
},
}
},
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -223,80 +223,80 @@
...
@@ -223,80 +223,80 @@
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.unit
{
.unit
{
margin
:
0
auto
;
margin
:
0
auto
;
display
:
flex
;
flex-wrap
:
wrap
;
width
:
580px
;
justify-content
:
space-between
;
.unit-item
{
width
:
280px
;
height
:
80px
;
border-width
:
1px
;
border-style
:
solid
;
border-color
:
rgba
(
242
,
242
,
242
,
1
);
border-radius
:
5px
;
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
padding
:
17px
;
width
:
580px
;
margin-bottom
:
20px
;
justify-content
:
space-between
;
cursor
:
pointer
;
.unit-item
{
.icon-style
{
width
:
280px
;
margin-right
:
10px
;
height
:
80px
;
margin-top
:
7px
;
border-width
:
1px
;
font-size
:
22px
;
border-style
:
solid
;
width
:
24px
;
border-color
:
rgba
(
242
,
242
,
242
,
1
);
//
height
:
20px
;
border-radius
:
5px
;
}
display
:
flex
;
.item-title
{
padding
:
17px
;
margin-top
:
4px
;
margin-bottom
:
20px
;
font-size
:
16px
;
cursor
:
pointer
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
.icon-style
{
font-weight
:
400
;
margin-right
:
10px
;
color
:
#1d2129
;
margin-top
:
7px
;
font-size
:
22px
;
width
:
24px
;
//
height
:
20px
;
}
.item-title
{
margin-top
:
4px
;
font-size
:
16px
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
color
:
#1d2129
;
}
.item-text
{
margin-top
:
6px
;
font-size
:
12px
;
color
:
#aaaaaa
;
line-height
:
24px
;
}
&
:hover
{
border
:
1px
solid
rgba
(
7
,
193
,
96
,
1
);
background-color
:
rgba
(
7
,
193
,
96
,
0.09019607843137255
);
}
}
}
.active_item
{
.item-text
{
margin-top
:
6px
;
font-size
:
12px
;
color
:
#aaaaaa
;
line-height
:
24px
;
}
&
:hover
{
border
:
1px
solid
rgba
(
7
,
193
,
96
,
1
);
border
:
1px
solid
rgba
(
7
,
193
,
96
,
1
);
background-color
:
rgba
(
7
,
193
,
96
,
0.09019607843137255
);
background-color
:
rgba
(
7
,
193
,
96
,
0.09019607843137255
);
}
}
}
}
.img-wrap
{
.active_item
{
position
:
relative
;
border
:
1px
solid
rgba
(
7
,
193
,
96
,
1
);
height
:
0
;
background-color
:
rgba
(
7
,
193
,
96
,
0.09019607843137255
);
padding
:
70%
0
0
0
;
border-bottom
:
1px
solid
#e6ebf5
;
&:hover
.actions
{
opacity
:
1
;
}
}
}
.actions
{
}
position
:
absolute
;
.img-wrap
{
width
:
100%
;
position
:
relative
;
height
:
50px
;
height
:
0
;
left
:
0
;
padding
:
70%
0
0
0
;
top
:
0
;
border-bottom
:
1px
solid
#e6ebf5
;
text-align
:
center
;
&:hover
.actions
{
color
:
#fff
;
opacity
:
1
;
opacity
:
0
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
transition
:
opacity
0.3s
;
.el-icon-EditPen
{
margin-right
:
20px
;
}
}
}
.el-image
{
}
width
:
80px
;
.actions
{
height
:
80px
;
position
:
absolute
;
width
:
100%
;
height
:
50px
;
left
:
0
;
top
:
0
;
text-align
:
center
;
color
:
var
(
--font-white
,
#fff
);
opacity
:
0
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
transition
:
opacity
0.3s
;
.el-icon-EditPen
{
margin-right
:
20px
;
}
}
}
.el-image
{
width
:
80px
;
height
:
80px
;
}
</
style
>
</
style
>
vue3-lw-pc/src/views/contentCenter/trackMaterial/video.vue
View file @
24e77ee
...
@@ -138,7 +138,7 @@ export default {
...
@@ -138,7 +138,7 @@ export default {
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
text-align
:
center
;
text-align
:
center
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
20px
;
font-size
:
20px
;
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
background-color
:
rgba
(
0
,
0
,
0
,
0.5
);
...
...
vue3-lw-pc/src/views/conversation/content/component/chatList.vue
View file @
24e77ee
...
@@ -89,7 +89,7 @@ export default {
...
@@ -89,7 +89,7 @@ export default {
text-align
:
center
;
text-align
:
center
;
line-height
:
50px
;
line-height
:
50px
;
font-size
:
20px
;
font-size
:
20px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
cursor
:
pointer
;
cursor
:
pointer
;
font-size
:
43px
;
font-size
:
43px
;
}
}
...
...
vue3-lw-pc/src/views/conversation/quality/component/chatList.vue
View file @
24e77ee
...
@@ -100,7 +100,7 @@ export default {
...
@@ -100,7 +100,7 @@ export default {
text-align
:
center
;
text-align
:
center
;
line-height
:
50px
;
line-height
:
50px
;
font-size
:
20px
;
font-size
:
20px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
cursor
:
pointer
;
cursor
:
pointer
;
font-size
:
43px
;
font-size
:
43px
;
}
}
...
...
vue3-lw-pc/src/views/customerManage/customer/infoTab.vue
View file @
24e77ee
...
@@ -453,7 +453,7 @@ export default {
...
@@ -453,7 +453,7 @@ export default {
line-height
:
24px
;
line-height
:
24px
;
padding
:
0
5px
;
padding
:
0
5px
;
margin-right
:
10px
;
margin-right
:
10px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
border-radius
:
var
(
--border-radius-small
);
border-radius
:
var
(
--border-radius-small
);
}
}
.el-card
{
.el-card
{
...
@@ -476,7 +476,7 @@ export default {
...
@@ -476,7 +476,7 @@ export default {
}
}
&
.active
{
&
.active
{
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
}
}
...
...
vue3-lw-pc/src/views/drainageCode/components/IdentityAttachment.vue
View file @
24e77ee
...
@@ -836,12 +836,12 @@ export default {
...
@@ -836,12 +836,12 @@ export default {
}
}
}
}
::v-deep
.el-button.is-disabled
{
::v-deep
.el-button.is-disabled
{
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
background-color
:
#cccccc
;
background-color
:
#cccccc
;
border-color
:
#cccccc
;
border-color
:
#cccccc
;
}
}
::v-deep
.el-dropdown
[
disabled
]
{
::v-deep
.el-dropdown
[
disabled
]
{
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
background-color
:
#cccccc
;
background-color
:
#cccccc
;
border-color
:
#cccccc
;
border-color
:
#cccccc
;
}
}
...
...
vue3-lw-pc/src/views/drainageCode/highSeas/index.vue
View file @
24e77ee
...
@@ -500,14 +500,14 @@ export default {
...
@@ -500,14 +500,14 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#ffffff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
.value
{
.value
{
margin-top
:
5px
;
margin-top
:
5px
;
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#ffffff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
...
...
vue3-lw-pc/src/views/drainageCode/highSeas/statistics.vue
View file @
24e77ee
...
@@ -189,7 +189,7 @@ export default {
...
@@ -189,7 +189,7 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#ffffff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
.value
{
.value
{
...
@@ -197,7 +197,7 @@ export default {
...
@@ -197,7 +197,7 @@ export default {
font-size
:
18px
;
font-size
:
18px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#ffffff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
</
style
>
</
style
>
vue3-lw-pc/src/views/drainageCode/pullNews/cardTable.vue
View file @
24e77ee
...
@@ -270,7 +270,7 @@ export default {
...
@@ -270,7 +270,7 @@ export default {
width
:
175px
;
width
:
175px
;
height
:
75px
;
height
:
75px
;
padding
:
20px
10px
0
54px
;
padding
:
20px
10px
0
54px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
line-height
:
1.15
;
line-height
:
1.15
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
500
;
font-weight
:
500
;
...
...
vue3-lw-pc/src/views/drainageCode/pullNews/liveCodeInfo.vue
View file @
24e77ee
...
@@ -395,7 +395,7 @@ export default {
...
@@ -395,7 +395,7 @@ export default {
width
:
175px
;
width
:
175px
;
height
:
75px
;
height
:
75px
;
padding
:
20px
10px
0
54px
;
padding
:
20px
10px
0
54px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
line-height
:
1.15
;
line-height
:
1.15
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
500
;
font-weight
:
500
;
...
...
vue3-lw-pc/src/views/drainageCode/pullNews/pullNews.vue
View file @
24e77ee
...
@@ -445,7 +445,7 @@ export default {
...
@@ -445,7 +445,7 @@ export default {
width
:
175px
;
width
:
175px
;
height
:
75px
;
height
:
75px
;
padding
:
20px
10px
0
54px
;
padding
:
20px
10px
0
54px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
line-height
:
1.15
;
line-height
:
1.15
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
500
;
font-weight
:
500
;
...
...
vue3-lw-pc/src/views/drainageCode/smartForms/build/DraggableItem.vue
View file @
24e77ee
...
@@ -231,7 +231,7 @@ $selectedColor: #f6f7ff;
...
@@ -231,7 +231,7 @@ $selectedColor: #f6f7ff;
background
:
#fff
;
background
:
#fff
;
&:hover
{
&:hover
{
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
&
>
.drawing-item-delete
{
&
>
.drawing-item-delete
{
...
@@ -241,7 +241,7 @@ $selectedColor: #f6f7ff;
...
@@ -241,7 +241,7 @@ $selectedColor: #f6f7ff;
background
:
#fff
;
background
:
#fff
;
&:hover
{
&:hover
{
background
:
#f56c6c
;
background
:
#f56c6c
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
}
}
...
...
vue3-lw-pc/src/views/drainageCode/smartForms/build/RightPanel.vue
View file @
24e77ee
...
@@ -950,7 +950,7 @@ export default {
...
@@ -950,7 +950,7 @@ export default {
border-radius
:
0
0
6px
0
;
border-radius
:
0
0
6px
0
;
text-align
:
center
;
text-align
:
center
;
line-height
:
26px
;
line-height
:
26px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
font-size
:
18px
;
font-size
:
18px
;
}
}
.node-label
{
.node-label
{
...
...
vue3-lw-pc/src/views/drainageCode/smartForms/build/formsDetail.vue
View file @
24e77ee
...
@@ -936,7 +936,7 @@ export default {
...
@@ -936,7 +936,7 @@ export default {
background-color
:
var
(
--color
);
background-color
:
var
(
--color
);
text-align
:
center
;
text-align
:
center
;
padding
:
13px
30px
;
padding
:
13px
30px
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
::v-deep
.form3
.el-scrollbar__wrap
{
::v-deep
.form3
.el-scrollbar__wrap
{
...
...
vue3-lw-pc/src/views/drainageCode/smartForms/build/index.vue
View file @
24e77ee
...
@@ -578,7 +578,7 @@ export default {
...
@@ -578,7 +578,7 @@ export default {
.el-tabs__item.is-active
{
.el-tabs__item.is-active
{
background
:
#1e1e1e
;
background
:
#1e1e1e
;
border-bottom-color
:
#1e1e1e
!important
;
border-bottom-color
:
#1e1e1e
!important
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
.el-icon-EditPen
{
.el-icon-EditPen
{
color
:
#f1fa8c
;
color
:
#f1fa8c
;
...
@@ -626,7 +626,7 @@ export default {
...
@@ -626,7 +626,7 @@ export default {
line-height
:
16px
;
line-height
:
16px
;
background
:
rgba
(
0
,
0
,
0
,
0.2
);
background
:
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
50%
;
border-radius
:
50%
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
text-align
:
center
;
text-align
:
center
;
z-index
:
1
;
z-index
:
1
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -937,7 +937,7 @@ $selectedColor: #f6f7ff;
...
@@ -937,7 +937,7 @@ $selectedColor: #f6f7ff;
background
:
#fff
;
background
:
#fff
;
&:hover
{
&:hover
{
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
&
>
.drawing-item-delete
{
&
>
.drawing-item-delete
{
...
@@ -947,7 +947,7 @@ $selectedColor: #f6f7ff;
...
@@ -947,7 +947,7 @@ $selectedColor: #f6f7ff;
background
:
#fff
;
background
:
#fff
;
&:hover
{
&:hover
{
background
:
#f56c6c
;
background
:
#f56c6c
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
}
}
}
}
}
}
...
...
vue3-lw-pc/src/views/error/401.vue
View file @
24e77ee
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
margin
:
100px
auto
;
margin
:
100px
auto
;
.pan-back-btn
{
.pan-back-btn
{
background
:
#008489
;
background
:
#008489
;
color
:
#fff
;
color
:
var
(
--font-white
,
#fff
)
;
border
:
none
!important
;
border
:
none
!important
;
}
}
.pan-gif
{
.pan-gif
{
...
...
vue3-lw-pc/src/views/error/404.vue
View file @
24e77ee
...
@@ -2,44 +2,39 @@
...
@@ -2,44 +2,39 @@
<div
class=
"wscn-http404-container"
>
<div
class=
"wscn-http404-container"
>
<div
class=
"wscn-http404"
>
<div
class=
"wscn-http404"
>
<div
class=
"pic-404"
>
<div
class=
"pic-404"
>
<img
class=
"pic-404__parent"
src=
"@/assets/404_images/404.png"
alt=
"404"
>
<img
class=
"pic-404__parent"
src=
"@/assets/404_images/404.png"
alt=
"404"
/
>
<img
class=
"pic-404__child left"
src=
"@/assets/404_images/404_cloud.png"
alt=
"404"
>
<img
class=
"pic-404__child left"
src=
"@/assets/404_images/404_cloud.png"
alt=
"404"
/
>
<img
class=
"pic-404__child mid"
src=
"@/assets/404_images/404_cloud.png"
alt=
"404"
>
<img
class=
"pic-404__child mid"
src=
"@/assets/404_images/404_cloud.png"
alt=
"404"
/
>
<img
class=
"pic-404__child right"
src=
"@/assets/404_images/404_cloud.png"
alt=
"404"
>
<img
class=
"pic-404__child right"
src=
"@/assets/404_images/404_cloud.png"
alt=
"404"
/
>
</div>
</div>
<div
class=
"bullshit"
>
<div
class=
"bullshit"
>
<div
class=
"bullshit__oops"
>
<div
class=
"bullshit__oops"
>
404错误!
</div>
404错误!
</div>
<div
class=
"bullshit__headline"
>
<div
class=
"bullshit__headline"
>
{{
message
}}
{{
message
}}
</div>
</div>
<div
class=
"bullshit__info"
>
<div
class=
"bullshit__info"
>
对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。
对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。
</div>
</div>
<router-link
to=
"/"
class=
"bullshit__return-home"
>
<router-link
to=
"/"
class=
"bullshit__return-home"
>
返回首页
</router-link>
返回首页
</router-link>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'Page404'
,
name
:
'Page404'
,
computed
:
{
computed
:
{
message
()
{
message
()
{
return
'找不到网页!'
return
'找不到网页!'
}
}
,
}
}
,
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.wscn-http404-container
{
.wscn-http404-container
{
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
position
:
absolute
;
position
:
absolute
;
top
:
40%
;
top
:
40%
;
left
:
50%
;
left
:
50%
;
...
@@ -208,7 +203,7 @@ export default {
...
@@ -208,7 +203,7 @@ export default {
background
:
#1482f0
;
background
:
#1482f0
;
border-radius
:
100px
;
border-radius
:
100px
;
text-align
:
center
;
text-align
:
center
;
color
:
#ffffff
;
color
:
var
(
--font-white
,
#fff
)
;
opacity
:
0
;
opacity
:
0
;
font-size
:
14px
;
font-size
:
14px
;
line-height
:
36px
;
line-height
:
36px
;
...
...
vue3-lw-pc/src/views/redPacketTool/enterprisePacket.vue
View file @
24e77ee
...
@@ -374,7 +374,7 @@ export default {
...
@@ -374,7 +374,7 @@ export default {
width
:
175
px
;
width
:
175
px
;
height
:
75
px
;
height
:
75
px
;
padding
:
20
px
10
px
0
54
px
;
padding
:
20
px
10
px
0
54
px
;
color
:
#
fff
;
color
:
var
(
--
font
-
white
,
#
fff
)
;
line
-
height
:
1.15
;
line
-
height
:
1.15
;
font
-
size
:
14
px
;
font
-
size
:
14
px
;
font
-
weight
:
500
;
font
-
weight
:
500
;
...
...
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