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
e754a0bf
Commit
e754a0bf
authored
Dec 10, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公众号页面样式优化
parent
1e863357
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
801 additions
and
650 deletions
+801
-650
index.vue
src/components/groupSend/index.vue
+782
-630
focusReplyDialog.vue
src/components/qrcode/focusReplyDialog.vue
+1
-1
admin.vue
src/components/system/admin.vue
+0
-2
autoReply.vue
src/components/weChat/autoReply.vue
+3
-3
autoReplyDialog.vue
src/components/weChat/autoReplyDialog.vue
+12
-11
focusReplyDialog.vue
src/components/weChat/focusReplyDialog.vue
+1
-1
index.vue
src/components/weChat/index.vue
+2
-2
No files found.
src/components/groupSend/index.vue
View file @
e754a0bf
This diff is collapsed.
Click to expand it.
src/components/qrcode/focusReplyDialog.vue
View file @
e754a0bf
...
...
@@ -239,7 +239,7 @@
placement=
"bottom-end"
width=
"400"
:offset=
"10"
trigger=
"
manual
"
trigger=
"
hover
"
v-model=
"showEmotion"
>
<div>
<emotion
@
emotion=
"handleEmotion"
:height=
"200"
></emotion>
...
...
src/components/system/admin.vue
View file @
e754a0bf
...
...
@@ -293,8 +293,6 @@
return
item
.
role_name
==
"管理员"
})
break
;
default
:
break
;
}
}
this
.
adminList
=
res
.
list
;
...
...
src/components/weChat/autoReply.vue
View file @
e754a0bf
...
...
@@ -16,7 +16,7 @@
<template
slot-scope=
"props"
>
<el-form
label-position=
"top"
class=
"demo-table-expand"
>
<el-form-item
label=
"回复内容"
>
<div
v-for=
"(item, index) in
JSON.parse(props.row.desc)
"
>
<div
v-for=
"(item, index) in
props.row.desc
"
>
回复
{{
index
+
1
}}
(
{{
item
.
type
|
type
}}
):
<span
v-if=
"item.content && item.type==='text'"
>
<span
v-html=
"item.content.replace(/\/[\u4E00-\u9FA5]
{1,3}/gi, emotion)">
</span>
...
...
@@ -87,7 +87,7 @@
<el-table-column
label=
"回复内容"
>
<
template
slot-scope=
"scope"
>
{{
JSON
.
parse
(
scope
.
row
.
desc
)
.
length
}}
条回复
{{
scope
.
row
.
desc
.
length
}}
条回复
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -152,7 +152,7 @@
}
else
if
(
value
===
'news-item'
)
{
return
'图文链接'
}
else
{
return
val
return
val
ue
}
}
},
...
...
src/components/weChat/autoReplyDialog.vue
View file @
e754a0bf
...
...
@@ -5,7 +5,7 @@
center
append-to-body
:visible
.
sync=
"show"
width=
"
800px
"
>
width=
"
50%
"
>
<div
v-loading=
"loading"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
>
<el-row>
...
...
@@ -23,7 +23,7 @@
<div
v-for=
"(item, index) in JSON.parse(form.desc)"
class=
"msg-item"
>
<span
class=
"msg-text"
v-if=
"item.type==='text'"
>
{{
item
.
content
}}
</span>
<img
v-else-if=
"item.type==='image' && item.content"
:src=
"item.content"
/>
<span
v-else-if=
"item.type==='image' && item.variable"
class=
"msg-text"
>
我的老师二维码
</span>
<span
v-else-if=
"item.type==='image' && item.variable"
class=
"msg-text"
>
我的老师二维码
</span>
<a
v-else-if=
"item.type==='video'"
:href=
"item.content.down_url"
target=
"_blank"
>
{{
item
.
content
.
title
}}
</a>
<div
v-else-if=
"item.type==='news' && item.content && item.content.news_item"
class=
"news-media"
style=
"display: inline-block"
>
<el-card
:body-style=
"
{ padding: '0px' }">
...
...
@@ -76,7 +76,7 @@
<i
class=
"el-icon-delete"
@
click=
"onDelText(item, index)"
></i>
</div>
</
template
>
<div
class=
"msg_sender_wrp"
>
<div
class=
"msg_sender_wrp"
style=
"width:100%;"
>
<div>
<i
class=
"el-icon-circle-plus-outline"
@
click=
"onAddContent"
></i>
</div>
...
...
@@ -106,7 +106,7 @@
placeholder="请输入内容"
v-model="content">
</el-input>
<div
style=
"float:
right
"
>
<div
style=
"float:
left;
"
>
<el-popover
placement=
"bottom-end"
width=
"400"
...
...
@@ -114,14 +114,14 @@
trigger=
"hover"
v-model=
"showEmotion"
>
<div>
<emotion
@
emotion=
"handleEmotion"
:height=
"200"
></emotion>
<emotion
@
emotion=
"handleEmotion"
:height=
"200"
></emotion>
</div>
<el-button
@
click=
"showEmotion = !showEmotion"
slot=
"reference"
type=
"text"
>
<span
class=
"icon_emotion emotion_switch"
></span>
<span
class=
"icon_emotion emotion_switch"
></span>
</el-button>
</el-popover>
<el-button
v-if=
"form.key !== 'mini_keywords_reply'"
@
click=
"addTeacherName"
type=
"warning"
plain
>
添加老师名字
</el-button>
<el-button
v-if=
"form.key !== 'mini_keywords_reply'"
@
click=
"addTeacherAlias"
type=
"success"
plain
>
添加老师别名
</el-button>
<el-button
v-if=
"form.key !== 'mini_keywords_reply'"
@
click=
"addTeacherName"
type=
"warning"
plain
style=
"margin-top: 10px;"
>
添加老师名字
</el-button>
<el-button
v-if=
"form.key !== 'mini_keywords_reply'"
@
click=
"addTeacherAlias"
type=
"success"
plain
style=
"margin-top: 10px;"
>
添加老师别名
</el-button>
</div>
</
template
>
<
template
v-if=
"type==='image'"
>
...
...
@@ -345,7 +345,7 @@
</
template
>
<div
class=
"tool_bar"
>
<el-button
@
click=
"close"
>
取 消
</el-button>
<el-button
class=
"weui-desktop-btn weui-desktop-btn_primary"
@
click=
"confirm"
>
确定
</el-button>
<el-button
class=
"weui-desktop-btn weui-desktop-btn_primary
el-button--primary
"
@
click=
"confirm"
>
确定
</el-button>
</div>
</div>
</div>
...
...
@@ -874,9 +874,10 @@
display: inline-block;
}
.msg-item {
margin-bottom: 10px;
margin: 30px 0;
width: 600px;
img {
width:
2
0%;
width:
3
0%;
}
}
.msg-text {
...
...
src/components/weChat/focusReplyDialog.vue
View file @
e754a0bf
...
...
@@ -228,7 +228,7 @@
placement=
"bottom-end"
width=
"400"
:offset=
"10"
trigger=
"
manual
"
trigger=
"
hover
"
v-model=
"showEmotion"
>
<div>
<emotion
@
emotion=
"handleEmotion"
:height=
"200"
></emotion>
...
...
src/components/weChat/index.vue
View file @
e754a0bf
...
...
@@ -3324,10 +3324,10 @@
float
:
right
;
}
.title
{
font-size
:
16px
;
/* font-size: 16px; */
font-weight
:
400
;
display
:
block
;
line-height
:
1.2
;
/* line-height: 1.2; */
color
:
#353535
;
}
.digest
{
...
...
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