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 cee43ac5
authored
Jul 08, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改类型
1 parent
0c837071
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/material/index.vue
src/views/material/index.vue
View file @
cee43ac
...
@@ -84,7 +84,9 @@
...
@@ -84,7 +84,9 @@
<div
slot=
"materialType"
slot-scope=
"scope"
>
<div
slot=
"materialType"
slot-scope=
"scope"
>
<span
v-if=
"scope.scope.materialType == 1"
>
pdf文件
</span>
<span
v-if=
"scope.scope.materialType == 1"
>
pdf文件
</span>
<span
v-if=
"scope.scope.materialType == 2"
>
自定义链接
</span>
<span
v-if=
"scope.scope.materialType == 2"
>
自定义链接
</span>
<span
v-if=
"scope.scope.materialType == 3"
>
图文
</span>
<span
v-if=
"scope.scope.urlType == 'video'"
>
视频
</span>
<span
v-if=
"scope.scope.urlType == 'img'"
>
图文
</span>
<span
v-if=
"!scope.scope.urlType && scope.scope.materialType == 3"
>
纯文字
</span>
</div>
</div>
<span
slot=
"auth-button"
slot-scope=
"scope"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
...
@@ -524,8 +526,6 @@ export default {
...
@@ -524,8 +526,6 @@ export default {
item
.
materialContentRpcResponse
.
materialUrl
=
imgSrc
[
1
]
item
.
materialContentRpcResponse
.
materialUrl
=
imgSrc
[
1
]
item
.
urlType
=
'img'
item
.
urlType
=
'img'
item
.
imgCount
=
imgHtml
.
length
item
.
imgCount
=
imgHtml
.
length
}
else
{
item
.
materialContentRpcResponse
.
materialUrl
=
''
}
}
if
(
videoHtml
)
{
if
(
videoHtml
)
{
let
videoSrc
=
videoHtml
[
0
].
match
(
'<video[^<>]*? src="([^<>]*?)"'
)
let
videoSrc
=
videoHtml
[
0
].
match
(
'<video[^<>]*? src="([^<>]*?)"'
)
...
...
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