Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
740e305c
Commit
740e305c
authored
Dec 20, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 图文升级
parent
31cac892
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
index.vue
src/components/libs/imgTextTemp/index.vue
+2
-0
lib-teletext.vue
src/views/ecm/marketing-event/components/lib-teletext.vue
+23
-4
No files found.
src/components/libs/imgTextTemp/index.vue
View file @
740e305c
...
...
@@ -119,6 +119,7 @@ export default {
type
:
Boolean
,
default
:
false
},
// 是否是发布列表调用
isPublish
:
{
type
:
Boolean
,
default
:
false
...
...
@@ -206,6 +207,7 @@ export default {
let
params
=
{
...
this
.
listParams
};
if
(
this
.
isGroupSend
)
{
params
.
isGroupSend
=
1
;
params
.
wxscType
=
2
;
}
if
(
this
.
isPublish
)
{
params
.
wxscType
=
5
;
...
...
src/views/ecm/marketing-event/components/lib-teletext.vue
View file @
740e305c
...
...
@@ -17,13 +17,23 @@
</
template
>
</el-table-column>
<el-table-column
label=
"图片"
align=
"left"
width=
"120px"
class-name=
"table-img"
>
<
template
slot-scope=
"scope"
>
<
div
slot-scope=
"scope"
>
<img
width=
"100"
height=
"50"
class=
"border-radius__default"
:src=
"scope.row.itemList.length ? scope.row.itemList[0].qcloudImageUrl || '' : ''"
alt=
""
/>
</
template
>
</
div
>
</el-table-column>
<el-table-column
label=
"图文标题"
align=
"left"
min-width=
"100px"
>
<
template
slot-scope=
"scope"
>
<a
class=
"blue"
:href=
"scope.row.itemList.length ? scope.row.itemList[0].mediaUrl || '' : ''"
target=
"_blank"
>
{{
scope
.
row
.
itemList
.
length
?
scope
.
row
.
itemList
[
0
].
titleName
||
''
:
''
}}
</a>
<span>
标题:
</span><a
class=
"blue"
:href=
"scope.row.itemList.length ? scope.row.itemList[0].mediaUrl || '' : ''"
target=
"_blank"
>
{{
scope
.
row
.
itemList
.
length
?
scope
.
row
.
itemList
[
0
].
titleName
||
''
:
''
}}
</a>
<div>
<span>
图文m_id:
</span>
<el-tooltip
v-if=
"scope.row.draftMediaId"
placement=
"top"
:content=
"scope.row.draftMediaId"
>
<span
class=
"media-id"
>
{{
scope
.
row
.
draftMediaId
}}
</span>
</el-tooltip>
<span
v-else
>
--
</span>
</div>
<!--
<el-tooltip
v-if=
"scope.row.articleId"
placement=
"top"
:content=
"scope.row.articleId"
>
<span
class=
"media-id"
>
{{
scope
.
row
.
articleId
}}
</span>
</el-tooltip>
-->
</
template
>
</el-table-column>
<el-table-column
label=
"作者"
prop=
"updateTimeStr"
align=
"left"
width=
"120px"
>
...
...
@@ -73,7 +83,8 @@ export default {
listParams
:
{
currentPage
:
1
,
pageSize
:
20
,
searchName
:
''
searchName
:
''
,
wxscType
:
2
},
total
:
0
,
loading
:
false
,
...
...
@@ -147,4 +158,12 @@ export default {
.dm-imgtext-list
{
width
:
100%
;
}
.media-id
{
display
:
inline-block
;
vertical-align
:
top
;
max-width
:
190px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment