Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
6fc8d04c
Commit
6fc8d04c
authored
Sep 18, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关键词回复
parent
01c6f046
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
133 additions
and
65 deletions
+133
-65
autoReply.vue
src/components/weChat/autoReply.vue
+6
-3
autoReplyDialog.vue
src/components/weChat/autoReplyDialog.vue
+127
-62
No files found.
src/components/weChat/autoReply.vue
View file @
6fc8d04c
...
...
@@ -13,9 +13,9 @@
<el-form
label-position=
"top"
class=
"demo-table-expand"
>
<el-form-item
label=
"回复内容"
>
<div
v-for=
"(item, index) in JSON.parse(props.row.desc)"
>
<span>
内容
:
{{
item
.
content
}}
</span>
<span
v-if=
"item.
teacher_id"
>
老师ID:
{{
item
.
teacher_id
}}
</span>
<span
v-if=
"item.
start_at"
>
开课时间:
{{
item
.
start_at
}}
</span>
<span
v-if=
"item.content && item.type==='text'"
>
回复
{{
index
+
1
}}
:
{{
item
.
content
}}
</span>
<span
v-if=
"item.
content && item.type==='image'"
>
回复
{{
index
+
1
}}
:
<img
class=
"img"
:src=
"item.content"
/>
</span>
<span
v-if=
"item.
variable"
>
回复
{{
index
+
1
}}
:老师二维码
</span>
</div>
</el-form-item>
</el-form>
...
...
@@ -126,4 +126,7 @@
.add-btn {
margin: 10px 0;
}
.img {
width: 10%;
}
</
style
>
src/components/weChat/autoReplyDialog.vue
View file @
6fc8d04c
This diff is collapsed.
Click to expand it.
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