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
8785da84
Commit
8785da84
authored
Dec 18, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 微信图文升级
parent
34d2cefa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
10 deletions
+21
-10
index.vue
src/components/libs/imgTextTemp/index.vue
+21
-10
No files found.
src/components/libs/imgTextTemp/index.vue
View file @
8785da84
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
图文消息(共
{{
total
}}
条)
图文消息(共
{{
total
}}
条)
<el-input
v-model=
"listParams.searchName"
clearable
class=
"w200 ml10"
placeholder=
"请输入标题/作者"
@
change=
"loadImgTextList"
><i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i></el-input>
<el-input
v-model=
"listParams.searchName"
clearable
class=
"w200 ml10"
placeholder=
"请输入标题/作者"
@
change=
"loadImgTextList"
><i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i></el-input>
<el-checkbox
class=
"vertical-middle ml0"
v-if=
"$store.state.marketing.isShowSelf && showSelf"
v-model=
"listParams.showSelfFlag"
:true-label=
"1"
:false-label=
"0"
label=
"仅看本人"
border
@
change=
"loadImgTextList"
/>
<el-checkbox
class=
"vertical-middle ml0"
v-if=
"$store.state.marketing.isShowSelf && showSelf"
v-model=
"listParams.showSelfFlag"
:true-label=
"1"
:false-label=
"0"
label=
"仅看本人"
border
@
change=
"loadImgTextList"
/>
<el-checkbox
class=
"vertical-middle ml0"
v-model=
"listParams.wxscType"
:true-label=
"3"
:false-label=
"
1
"
label=
"仅看历史图文"
border
@
change=
"loadImgTextList"
/>
<el-checkbox
class=
"vertical-middle ml0"
v-model=
"listParams.wxscType"
:true-label=
"3"
:false-label=
"
4
"
label=
"仅看历史图文"
border
@
change=
"loadImgTextList"
/>
</div>
</div>
<div>
<div>
<el-button
type=
"primary"
@
click=
"add"
>
新建图文
</el-button>
<el-button
type=
"primary"
@
click=
"add"
>
新建图文
</el-button>
...
@@ -19,15 +19,16 @@
...
@@ -19,15 +19,16 @@
<div
class=
"label-hidden"
><el-radio
:label=
"scope.row"
></el-radio></div>
<div
class=
"label-hidden"
><el-radio
:label=
"scope.row"
></el-radio></div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"图
片
"
align=
"left"
>
<el-table-column
label=
"图
文信息
"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<
div
class=
"media-info"
slot-scope=
"scope"
>
<img
width=
"100"
height=
"100"
:src=
"scope.row.itemList.length ? scope.row.itemList[0].qcloudImageUrl || '' : ''"
alt=
""
/>
<img
width=
"100"
height=
"100"
:src=
"scope.row.itemList.length ? scope.row.itemList[0].qcloudImageUrl || '' : ''"
alt=
""
/>
</
template
>
<div
class=
"media-title"
>
</el-table-column>
<p>
<el-table-column
label=
"图文标题"
align=
"left"
>
标题:
<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>
<
template
slot-scope=
"scope"
>
</p>
<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>
<p>
图文m_id:{{ scope.row.draftMediaId }}
</p>
</
template
>
</div>
</div>
</el-table-column>
</el-table-column>
<el-table-column
label=
"作者"
prop=
"authorName"
align=
"left"
>
<el-table-column
label=
"作者"
prop=
"authorName"
align=
"left"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -110,7 +111,7 @@ export default {
...
@@ -110,7 +111,7 @@ export default {
pageSize
:
20
,
pageSize
:
20
,
searchName
:
''
,
searchName
:
''
,
showSelfFlag
:
this
.
showSelfFlag
||
''
,
showSelfFlag
:
this
.
showSelfFlag
||
''
,
wxscType
:
''
wxscType
:
4
},
},
total
:
0
,
total
:
0
,
loading
:
false
,
loading
:
false
,
...
@@ -207,6 +208,16 @@ export default {
...
@@ -207,6 +208,16 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.media-info
{
display
:
flex
;
align-items
:
center
;
.media-title
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-around
;
padding-left
:
15px
;
}
}
.dm-imgtext_head
{
.dm-imgtext_head
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
...
...
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