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
36a4336d
Commit
36a4336d
authored
Nov 09, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build test
parent
70aeaaa9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
index.html
dev/index.html
+1
-1
21.309dd44283d8ee6cd222.js
dev/static/js/21.309dd44283d8ee6cd222.js
+1
-0
manifest.f85d3e0ee184e875e2f8.js
dev/static/js/manifest.f85d3e0ee184e875e2f8.js
+1
-0
index.vue
src/components/groupSend/index.vue
+2
-1
No files found.
dev/index.html
View file @
36a4336d
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.810fed2a7b556d12a24f62f90d505607.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
bd3a122ff74a54d92d10
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.06a2975fa866e2142778.js
></script><script
type=
text/javascript
src=
/static/js/app.fd6bfb179cac3740056d.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><meta
name=
referrer
content=
never
><link
rel=
stylesheet
href=
https://at.alicdn.com/t/font_746649_7dsnjecwkpg.css
><title>
唱唱启蒙-后台
</title><link
href=
/static/css/app.810fed2a7b556d12a24f62f90d505607.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
type=
text/javascript
src=
/static/js/manifest.
f85d3e0ee184e875e2f8
.js
></script><script
type=
text/javascript
src=
/static/js/vendor.06a2975fa866e2142778.js
></script><script
type=
text/javascript
src=
/static/js/app.fd6bfb179cac3740056d.js
></script></body><script>
let
el
=
document
.
getElementsByTagName
(
"script"
);
el
.
onerror
=
function
(
a
,
b
,
c
){
el
.
onerror
=
function
(
a
,
b
,
c
){
console
.
log
(
'error:'
,
a
,
b
,
c
);
console
.
log
(
'error:'
,
a
,
b
,
c
);
};
};
...
...
dev/static/js/21.309dd44283d8ee6cd222.js
0 → 100644
View file @
36a4336d
webpackJsonp
([
21
],{
"0B04"
:
function
(
e
,
t
,
n
){
var
i
=
n
(
"Zkp1"
);
"string"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
n
(
"rjj0"
)(
"a4557dec"
,
i
,
!
1
,{})},
DeFF
:
function
(
e
,
t
,
n
){
var
i
=
n
(
"EA/M"
);
"string"
==
typeof
i
&&
(
i
=
[[
e
.
i
,
i
,
""
]]),
i
.
locals
&&
(
e
.
exports
=
i
.
locals
);
n
(
"rjj0"
)(
"24c16c68"
,
i
,
!
1
,{})},
"EA/M"
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.index[data-v-690a96ec] {
\n
padding: 20px 0;
\n
}
\n
.top[data-v-690a96ec] {
\n
margin-bottom: 30px;
\n
margin-left: 20px;
\n
}
\n
.title[data-v-690a96ec] {
\n
font-size: 16px;
\n
font-weight: 400;
\n
display: block;
\n
line-height: 1.2;
\n
color: #353535;
\n
}
\n
.inner-edit_area[data-v-690a96ec] {
\n
width: 96%;
\n
margin: 0 auto;
\n
}
\n
.upload-video[data-v-690a96ec] {
\n
width: 50%;
\n
margin-left:2%;
\n
}
\n
.b-title[data-v-690a96ec] {
\n
padding: 20px;
\n
color: #666;
\n
}
\n
.emotion_switch[data-v-690a96ec] {
\n
float: left;
\n
height: 28px;
\n
line-height: 999em;
\n
overflow: hidden;
\n
background: transparent url(https://res.wx.qq.com/mpres/en_US/htmledition/pages/modules/reply/images/icon_emotion_switch.png) no-repeat 0 0;
\n
width: 20px;
\n
height: 20px;
\n
vertical-align: middle;
\n
display: inline-block;
\n
}
\n
.img[data-v-690a96ec] {
\n
position: relative;
\n
width: 25%;
\n
img {
\n
width: 100%;
\n
}
\n
.el-icon-delete {
\n
position: absolute;
\n
top: 50%;
\n
left: 50%;
\n
display: none;
\n
}
\n
}
\n
.img:hover img[data-v-690a96ec]{
\n
opacity: 0.3;
\n
}
\n
.img:hover .el-icon-delete[data-v-690a96ec]{
\n
display: block;
\n
}
\n
.tool_bar[data-v-690a96ec] {
\n
float: right;
\n
margin-top: 20px;
\n
}
\n
.choose_item[data-v-690a96ec] {
\n
margin-bottom: 25px;
\n
color: rgb(136, 136, 136);
\n
height: 80px;
\n
line-height: 80px;
\n
width: 45%;
\n
border: 1px dashed;
\n
text-align: center;
\n
}
\n
.display-b[data-v-690a96ec] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row nowrap;
\n
flex-flow: row nowrap;
\n
-webkit-box-pack: justify;
\n
-ms-flex-pack: justify;
\n
justify-content: space-between;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
.my-teacher[data-v-690a96ec] {
\n
width: 25%;
\n
height: 80px;
\n
background-color: #eee;
\n
line-height: 80px;
\n
text-align: center;
\n
margin-bottom: 10px;
\n
}
\n
.news-media[data-v-690a96ec] {
\n
padding: 10px;
\n
width: 25%;
\n
}
\n
.news-media img[data-v-690a96ec]{
\n
width: 100%;
\n
}
\n
.s-news img[data-v-690a96ec] {
\n
width: 50px;
\n
float: right;
\n
}
\n
.title[data-v-690a96ec] {
\n
font-size: 16px;
\n
font-weight: 400;
\n
display: block;
\n
line-height: 1.2;
\n
color: #353535;
\n
}
\n
.digest[data-v-690a96ec] {
\n
padding-top: 12px;
\n
color: #9A9A9A;
\n
font-size: 14px;
\n
}
\n
.single-cover[data-v-690a96ec] {
\n
/*padding: 20px 15px 15px;*/
\n
}
\n
.muti-cover[data-v-690a96ec] {
\n
position: relative;
\n
padding: 20px 15px 0 15px;
\n
}
\n
.bottom-title[data-v-690a96ec] {
\n
color: #FFFFFF;
\n
background-color: rgba(0, 0, 0, 0.55);
\n
position: absolute;
\n
left: 15px;
\n
right: 15px;
\n
bottom: 0;
\n
padding: 8px 12px;
\n
}
\n
.next-cover[data-v-690a96ec] {
\n
padding: 12px 15px;
\n
position: relative;
\n
}
\n
.next-img[data-v-690a96ec] {
\n
float: right;
\n
margin-left: 12px;
\n
width: 60px !important;
\n
height: 60px !important;
\n
}
\n
.next-title[data-v-690a96ec] {
\n
overflow: hidden;
\n
font-weight: 400;
\n
word-wrap: break-word;
\n
-webkit-hyphens: auto;
\n
-ms-hyphens: auto;
\n
hyphens: auto;
\n
color: #353535;
\n
}
\n
.single-cover:hover .preview[data-v-690a96ec],.bottomCover:hover .preview[data-v-690a96ec]{
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: center;
\n
-ms-flex-pack: center;
\n
justify-content: center;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
color: #fff;
\n
}
\n
.preview[data-v-690a96ec] {
\n
display: none;
\n
position: absolute;
\n
top: 0;
\n
left: 0;
\n
width: 100%;
\n
height: 100%;
\n
background-color: rgba(0,0,0,0.5);
\n
text-decoration: none;
\n
}
\n
.f-bt[data-v-690a96ec] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
position: relative;
\n
-webkit-box-pack: justify;
\n
-ms-flex-pack: justify;
\n
justify-content: space-between;
\n
-webkit-box-align: start;
\n
-ms-flex-align: start;
\n
align-items: flex-start;
\n
}
\n
.ellip[data-v-690a96ec] {
\n
overflow: hidden;
\n
text-overflow: ellipsis;
\n
white-space: nowrap;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"/Users/wang/Documents/changchang/projects/admin/src/components/groupSend/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,gBAAgB;CACjB;AACD;EACE,oBAAoB;EACpB,kBAAkB;CACnB;AACD;EACE,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,iBAAiB;EACjB,eAAe;CAChB;AACD;EACE,WAAW;EACX,eAAe;CAChB;AACD;EACE,WAAW;EACX,eAAe;CAChB;AACD;EACE,cAAc;EACd,YAAY;CACb;AACD;EACE,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,iBAAiB;EACjB,4IAA4I;EAC5I,YAAY;EACZ,aAAa;EACb,uBAAuB;EACvB,sBAAsB;CACvB;AACD;EACE,mBAAmB;EACnB,WAAW;AACb;EACE,YAAY;CACb;AACD;EACE,mBAAmB;EACnB,SAAS;EACT,UAAU;EACV,cAAc;CACf;CACA;AACD;EACE,aAAa;CACd;AACD;EACE,eAAe;CAChB;AACD;EACE,aAAa;EACb,iBAAiB;CAClB;AACD;EACE,oBAAoB;EACpB,0BAA0B;EAC1B,aAAa;EACb,kBAAkB;EAClB,WAAW;EACX,mBAAmB;EACnB,mBAAmB;CACpB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,+BAA+B;EAC/B,8BAA8B;MAC1B,0BAA0B;UACtB,sBAAsB;EAC9B,0BAA0B;MACtB,uBAAuB;UACnB,+BAA+B;EACvC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;CAC7B;AACD;EACE,WAAW;EACX,aAAa;EACb,uBAAuB;EACvB,kBAAkB;EAClB,mBAAmB;EACnB,oBAAoB;CACrB;AACD;EACE,cAAc;EACd,WAAW;CACZ;AACD;EACE,YAAY;CACb;AACD;EACE,YAAY;EACZ,aAAa;CACd;AACD;EACE,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,iBAAiB;EACjB,eAAe;CAChB;AACD;EACE,kBAAkB;EAClB,eAAe;EACf,gBAAgB;CACjB;AACD;EACE,4BAA4B;CAC7B;AACD;EACE,mBAAmB;EACnB,0BAA0B;CAC3B;AACD;EACE,eAAe;EACf,sCAAsC;EACtC,mBAAmB;EACnB,WAAW;EACX,YAAY;EACZ,UAAU;EACV,kBAAkB;CACnB;AACD;EACE,mBAAmB;EACnB,mBAAmB;CACpB;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,uBAAuB;EACvB,wBAAwB;CACzB;AACD;EACE,iBAAiB;EACjB,iBAAiB;EACjB,sBAAsB;EACtB,sBAAsB;EACtB,kBAAkB;EAClB,cAAc;EACd,eAAe;CAChB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,yBAAyB;MACrB,sBAAsB;UAClB,wBAAwB;EAChC,0BAA0B;MACtB,uBAAuB;UACnB,oBAAoB;EAC5B,YAAY;CACb;AACD;EACE,cAAc;EACd,mBAAmB;EACnB,OAAO;EACP,QAAQ;EACR,YAAY;EACZ,aAAa;EACb,kCAAkC;EAClC,sBAAsB;CACvB;AACD;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,mBAAmB;EACnB,0BAA0B;MACtB,uBAAuB;UACnB,+BAA+B;EACvC,yBAAyB;MACrB,sBAAsB;UAClB,wBAAwB;CACjC;AACD;EACE,iBAAiB;EACjB,wBAAwB;EACxB,oBAAoB;CACrB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.index[data-v-690a96ec] {
\n
padding: 20px 0;
\n
}
\n
.top[data-v-690a96ec] {
\n
margin-bottom: 30px;
\n
margin-left: 20px;
\n
}
\n
.title[data-v-690a96ec] {
\n
font-size: 16px;
\n
font-weight: 400;
\n
display: block;
\n
line-height: 1.2;
\n
color: #353535;
\n
}
\n
.inner-edit_area[data-v-690a96ec] {
\n
width: 96%;
\n
margin: 0 auto;
\n
}
\n
.upload-video[data-v-690a96ec] {
\n
width: 50%;
\n
margin-left:2%;
\n
}
\n
.b-title[data-v-690a96ec] {
\n
padding: 20px;
\n
color: #666;
\n
}
\n
.emotion_switch[data-v-690a96ec] {
\n
float: left;
\n
height: 28px;
\n
line-height: 999em;
\n
overflow: hidden;
\n
background: transparent url(https://res.wx.qq.com/mpres/en_US/htmledition/pages/modules/reply/images/icon_emotion_switch.png) no-repeat 0 0;
\n
width: 20px;
\n
height: 20px;
\n
vertical-align: middle;
\n
display: inline-block;
\n
}
\n
.img[data-v-690a96ec] {
\n
position: relative;
\n
width: 25%;
\n
img {
\n
width: 100%;
\n
}
\n
.el-icon-delete {
\n
position: absolute;
\n
top: 50%;
\n
left: 50%;
\n
display: none;
\n
}
\n
}
\n
.img:hover img[data-v-690a96ec]{
\n
opacity: 0.3;
\n
}
\n
.img:hover .el-icon-delete[data-v-690a96ec]{
\n
display: block;
\n
}
\n
.tool_bar[data-v-690a96ec] {
\n
float: right;
\n
margin-top: 20px;
\n
}
\n
.choose_item[data-v-690a96ec] {
\n
margin-bottom: 25px;
\n
color: rgb(136, 136, 136);
\n
height: 80px;
\n
line-height: 80px;
\n
width: 45%;
\n
border: 1px dashed;
\n
text-align: center;
\n
}
\n
.display-b[data-v-690a96ec] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-orient: horizontal;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: row nowrap;
\n
flex-flow: row nowrap;
\n
-webkit-box-pack: justify;
\n
-ms-flex-pack: justify;
\n
justify-content: space-between;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
}
\n
.my-teacher[data-v-690a96ec] {
\n
width: 25%;
\n
height: 80px;
\n
background-color: #eee;
\n
line-height: 80px;
\n
text-align: center;
\n
margin-bottom: 10px;
\n
}
\n
.news-media[data-v-690a96ec] {
\n
padding: 10px;
\n
width: 25%;
\n
}
\n
.news-media img[data-v-690a96ec]{
\n
width: 100%;
\n
}
\n
.s-news img[data-v-690a96ec] {
\n
width: 50px;
\n
float: right;
\n
}
\n
.title[data-v-690a96ec] {
\n
font-size: 16px;
\n
font-weight: 400;
\n
display: block;
\n
line-height: 1.2;
\n
color: #353535;
\n
}
\n
.digest[data-v-690a96ec] {
\n
padding-top: 12px;
\n
color: #9A9A9A;
\n
font-size: 14px;
\n
}
\n
.single-cover[data-v-690a96ec] {
\n
/*padding: 20px 15px 15px;*/
\n
}
\n
.muti-cover[data-v-690a96ec] {
\n
position: relative;
\n
padding: 20px 15px 0 15px;
\n
}
\n
.bottom-title[data-v-690a96ec] {
\n
color: #FFFFFF;
\n
background-color: rgba(0, 0, 0, 0.55);
\n
position: absolute;
\n
left: 15px;
\n
right: 15px;
\n
bottom: 0;
\n
padding: 8px 12px;
\n
}
\n
.next-cover[data-v-690a96ec] {
\n
padding: 12px 15px;
\n
position: relative;
\n
}
\n
.next-img[data-v-690a96ec] {
\n
float: right;
\n
margin-left: 12px;
\n
width: 60px !important;
\n
height: 60px !important;
\n
}
\n
.next-title[data-v-690a96ec] {
\n
overflow: hidden;
\n
font-weight: 400;
\n
word-wrap: break-word;
\n
-webkit-hyphens: auto;
\n
-ms-hyphens: auto;
\n
hyphens: auto;
\n
color: #353535;
\n
}
\n
.single-cover:hover .preview[data-v-690a96ec],.bottomCover:hover .preview[data-v-690a96ec]{
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-pack: center;
\n
-ms-flex-pack: center;
\n
justify-content: center;
\n
-webkit-box-align: center;
\n
-ms-flex-align: center;
\n
align-items: center;
\n
color: #fff;
\n
}
\n
.preview[data-v-690a96ec] {
\n
display: none;
\n
position: absolute;
\n
top: 0;
\n
left: 0;
\n
width: 100%;
\n
height: 100%;
\n
background-color: rgba(0,0,0,0.5);
\n
text-decoration: none;
\n
}
\n
.f-bt[data-v-690a96ec] {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
position: relative;
\n
-webkit-box-pack: justify;
\n
-ms-flex-pack: justify;
\n
justify-content: space-between;
\n
-webkit-box-align: start;
\n
-ms-flex-align: start;
\n
align-items: flex-start;
\n
}
\n
.ellip[data-v-690a96ec] {
\n
overflow: hidden;
\n
text-overflow: ellipsis;
\n
white-space: nowrap;
\n
}
\n
"
],
sourceRoot
:
""
}])},
Zkp1
:
function
(
e
,
t
,
n
){(
e
.
exports
=
n
(
"FZ+f"
)(
!
0
)).
push
([
e
.
i
,
"
\n
.el-radio-group {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-orient: vertical;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: column;
\n
flex-flow: column;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: start;
\n
-ms-flex-align: start;
\n
align-items: flex-start;
\n
}
\n
.el-radio+.el-radio {
\n
margin-left: 0;
\n
}
\n
.el-radio {
\n
margin-bottom: 6px;
\n
}
\n
"
,
""
,{
version
:
3
,
sources
:[
"/Users/wang/Documents/changchang/projects/admin/src/components/groupSend/index.vue"
],
names
:[],
mappings
:
";AACA;EACE,qBAAqB;EACrB,qBAAqB;EACrB,cAAc;EACd,6BAA6B;EAC7B,8BAA8B;MAC1B,sBAAsB;UAClB,kBAAkB;EAC1B,wBAAwB;MACpB,qBAAqB;UACjB,4BAA4B;EACpC,yBAAyB;MACrB,sBAAsB;UAClB,wBAAwB;CACjC;AACD;GACG,eAAe;CACjB;AACD;EACE,mBAAmB;CACpB"
,
file
:
"index.vue"
,
sourcesContent
:[
"
\n
.el-radio-group {
\n
display: -webkit-box;
\n
display: -ms-flexbox;
\n
display: flex;
\n
-webkit-box-orient: vertical;
\n
-webkit-box-direction: normal;
\n
-ms-flex-flow: column;
\n
flex-flow: column;
\n
-webkit-box-pack: start;
\n
-ms-flex-pack: start;
\n
justify-content: flex-start;
\n
-webkit-box-align: start;
\n
-ms-flex-align: start;
\n
align-items: flex-start;
\n
}
\n
.el-radio+.el-radio {
\n
margin-left: 0;
\n
}
\n
.el-radio {
\n
margin-bottom: 6px;
\n
}
\n
"
],
sourceRoot
:
""
}])},
oerw
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
n
(
"CCn6"
),
a
=
n
(
"kmJW"
),
s
=
n
(
"C+jy"
),
o
=
n
(
"sf/l"
);
function
l
(
e
,
t
,
n
){
return
t
in
e
?
Object
.
defineProperty
(
e
,
t
,{
value
:
n
,
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
}):
e
[
t
]
=
n
,
e
}
var
r
=
{
name
:
"index"
,
components
:{
page
:
a
.
a
,
page2
:
a
.
a
,
emotion
:
s
.
a
},
data
:
function
(){
var
e
;
return
l
(
e
=
{
nowPage
:
1
,
total
:
0
,
limit
:
10
,
mediaPage
:{
nowPage
:
1
,
total
:
0
,
limit
:
10
},
show
:
!
1
,
loading
:
!
1
,
activeName
:
"text"
,
list
:[],
content
:
""
,
uploadShow
:
!
0
,
imageList
:[],
fileList
:[],
imageContent
:
""
,
videoContent
:
""
,
searchFrom
:{
type
:
1
,
is_test
:
!
1
},
tableData
:[],
fileUid
:
null
,
userDialog
:{
total
:
0
,
limit
:
10
,
nowPage
:
1
,
show
:
!
1
},
userList
:[],
searchUserFrom
:{},
multipleSelection
:[],
showEmotion
:
!
1
,
showMedia
:
!
1
,
mediaList
:[]},
"imageContent"
,
null
),
l
(
e
,
"videoContent"
,
null
),
l
(
e
,
"newsContent"
,
null
),
e
},
filters
:{
typeFilter
:
function
(
e
){
if
(
e
)
return
"text"
===
e
?
"文本"
:
"image"
===
e
?
"图片"
:
"video"
===
e
?
"视频"
:
"news"
===
e
?
"图文"
:
void
0
}},
methods
:{
handleClick
:
function
(
e
){
this
.
activeName
=
e
.
name
},
handleRemove
:
function
(){
this
.
uploadShow
=!
0
,
this
.
imageList
=
[],
this
.
imageContent
=
""
},
handleRemoveVideo
:
function
(){
this
.
videoContent
=
""
,
this
.
fileList
=
[]},
beforeAvatarUpload
:
function
(){
this
.
uploadShow
=!
1
},
handleAvatarSuccess
:
function
(
e
){
this
.
imageList
=
[{
name
:
e
.
data
.
url
,
url
:
"http://cdn.singsingenglish.com/"
+
e
.
data
.
url
}]},
uploadFile
:
function
(
e
){
var
t
=
this
;
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
Object
(
i
.
_63
)({
file
:
e
.
file
,
type
:
"wechat"
}).
then
(
function
(
e
){
t
.
imageContent
=
{
content
:
e
.
media_id
,
url
:
e
.
url
},
t
.
imageList
=
[{
name
:
e
.
media_id
,
url
:
e
.
url
}],
t
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
})}).
catch
(
function
(){
t
.
$message
({
type
:
"error"
,
message
:
"上传失败!"
})})},
uploadVideo
:
function
(
e
){
var
t
=
this
;
Object
(
i
.
_63
)({
file
:
e
.
file
,
type
:
"wechat"
}).
then
(
function
(
n
){
t
.
uploadVideoFile
(
e
,
n
)}).
catch
(
function
(){
t
.
$message
({
type
:
"error"
,
message
:
"上传失败!"
})})},
uploadVideoFile
:
function
(
e
,
t
){
var
n
=
this
;
this
.
fileUid
=
e
.
file
.
uid
,
this
.
loading
=!
0
,
this
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"new"
,
id
:
e
.
file
.
uid
}),
Object
(
i
.
_63
)({
file
:
e
.
file
,
type
:
"local"
}).
then
(
function
(
i
){
n
.
videoContent
=
{
content
:
t
.
media_id
,
url
:
"http://cdn.singsingenglish.com/"
+
i
.
url
},
n
.
fileList
=
[{
name
:
i
.
name
,
url
:
"http://cdn.singsingenglish.com/"
+
i
.
url
}],
n
.
loading
=!
1
,
n
.
$message
({
type
:
"success"
,
message
:
"上传成功!"
}),
n
.
$store
.
dispatch
(
"setProgress"
,{
type
:
"delete"
,
id
:
e
.
file
.
uid
}),
n
.
fileUid
=
null
}).
catch
(
function
(){
n
.
loading
=!
1
,
n
.
$message
({
type
:
"error"
,
message
:
"上传失败!"
})})},
send
:
function
(){
var
e
=
this
,
t
=
{};
if
(
t
.
type
=
this
.
searchFrom
.
type
,
1
===
this
.
searchFrom
.
type
){
if
(
!
(
this
.
searchFrom
.
time
&&
this
.
searchFrom
.
time
.
length
>
0
))
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请选择时间!"
});
t
.
start_at
=
o
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
0
],
"yyyy-MM-dd hh:mm:ss"
),
t
.
end_at
=
o
.
a
.
dateFmt
(
this
.
searchFrom
.
time
[
1
],
"yyyy-MM-dd hh:mm:ss"
)}
if
(
this
.
searchFrom
.
user_ids
){
t
.
user_ids
=
this
.
searchFrom
.
user_ids
;
var
n
=
{};
if
(
n
.
type
=
this
.
activeName
,
"text"
===
this
.
activeName
){
if
(
!
this
.
content
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请输入文本!"
});
n
.
content
=
this
.
content
}
else
if
(
"image"
===
this
.
activeName
){
if
(
!
this
.
imageContent
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请上传图片!"
});
n
.
content
=
this
.
imageContent
.
content
,
n
.
url
=
this
.
imageContent
.
url
}
else
if
(
"video"
===
this
.
activeName
){
if
(
!
this
.
videoContent
)
return
void
this
.
$message
({
type
:
"error"
,
message
:
"请上传视频!"
});
n
.
content
=
this
.
videoContent
.
content
,
n
.
url
=
this
.
videoContent
.
url
}
else
"news"
===
this
.
activeName
&&
(
this
.
newsContent
&&
this
.
newsContent
.
media_id
?
n
.
content
=
this
.
newsContent
.
media_id
:
this
.
$message
({
type
:
"error"
,
message
:
"请选择图文!"
}));
t
.
content
=
JSON
.
stringify
(
n
),
t
.
is_test
=
this
.
searchFrom
.
is_test
?
2
:
1
,
console
.
log
(
"json"
,
t
),
Object
(
i
.
_54
)(
t
).
then
(
function
(
t
){
e
.
$message
({
message
:
t
,
type
:
"success"
}),
e
.
show
=!
1
,
e
.
clearData
(),
e
.
getMsgList
()})}
else
this
.
$message
({
type
:
"error"
,
message
:
"请加入内部人员!"
})},
clearData
:
function
(){
this
.
content
=
""
,
this
.
videoContent
=
null
,
this
.
imageContent
=
null
,
this
.
newsContent
=
null
,
this
.
activeName
,
this
.
searchFrom
=
{},
this
.
fileList
=
[],
this
.
imageList
=
[]},
getMsgList
:
function
(){
var
e
=
this
,
t
=
{
limit
:
this
.
limit
,
page
:
this
.
nowPage
};
Object
(
i
.
_25
)(
t
).
then
(
function
(
t
){
e
.
tableData
=
t
.
list
,
e
.
total
=
t
.
total
})},
onMediaPageChange
:
function
(
e
){
this
.
mediaPage
.
nowPage
=
e
,
this
.
getMediaList
()},
onMediaSizeChange
:
function
(){
this
.
mediaPage
.
nowPage
=
1
,
this
.
mediaPage
.
limit
=
val
,
this
.
getMediaList
()},
onPageChange
:
function
(
e
){
this
.
nowPage
=
e
,
this
.
getMsgList
()},
onSizeChange
:
function
(
e
){
this
.
nowPage
=
1
,
this
.
limit
=
e
,
this
.
getMsgList
()},
getMsgResult
:
function
(
e
){
var
t
=
this
;
if
(
e
){
var
n
=
{
only_text
:
1
,
send_id
:
e
};
Object
(
i
.
_25
)(
n
).
then
(
function
(
e
){
t
.
$message
({
message
:
e
,
type
:
"success"
}),
t
.
getMsgList
()})}},
getUser
:
function
(){
var
e
=
this
,
t
=
{
page
:
this
.
userDialog
.
nowPage
,
limit
:
this
.
userDialog
.
limit
};
this
.
searchUserFrom
.
userId
&&
(
t
.
user_id
=
this
.
searchUserFrom
.
userId
),
this
.
searchUserFrom
.
nickName
&&
(
t
.
nickname
=
this
.
searchUserFrom
.
nickName
),
this
.
searchUserFrom
.
mobile
&&
(
t
.
mobile
=
this
.
searchUserFrom
.
mobile
),
Object
(
i
.
_41
)(
t
).
then
(
function
(
t
){
e
.
userList
=
t
.
list
,
e
.
userDialog
.
total
=
t
.
total
})},
onUserPageChange
:
function
(
e
){
this
.
userDialog
.
nowPage
=
e
,
this
.
getUser
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
onSelectUser
:
function
(){
this
.
userDialog
.
show
=!
0
,
this
.
searchFrom
.
user_ids
?
this
.
multipleSelection
=
this
.
searchFrom
.
user_ids
.
split
(
","
):
this
.
multipleSelection
=
[],
this
.
getUser
()},
onConfirm
:
function
(){
var
e
=
this
.
multipleSelection
;
if
(
0
===
e
.
length
)
this
.
$message
({
type
:
"error"
,
message
:
"请选择用户!"
});
else
{
var
t
=
[];
e
.
forEach
(
function
(
e
){
t
.
push
(
e
.
user_id
)});
var
n
=
t
;
this
.
searchFrom
.
user_ids
&&
(
n
=
t
.
concat
(
this
.
stringToInt
(
this
.
searchFrom
.
user_ids
.
split
(
","
))));
var
i
=
this
.
dedupe
(
n
);
this
.
searchFrom
.
user_ids
=
i
.
join
(
","
),
this
.
userDialog
.
show
=!
1
}},
dedupe
:
function
(
e
){
return
Array
.
from
(
new
Set
(
e
))},
stringToInt
:
function
(
e
){
var
t
=
e
||
[];
return
t
=
t
.
map
(
function
(
e
){
return
parseInt
(
e
,
10
)})},
emotion
:
function
(
e
){
var
t
=
e
.
replace
(
/
\/
/gi
,
""
);
return
'<img src="https://res.wx.qq.com/mpres/htmledition/images/icon/emotion/'
+
[
"微笑"
,
"撇嘴"
,
"色"
,
"发呆"
,
"得意"
,
"流泪"
,
"害羞"
,
"闭嘴"
,
"睡"
,
"大哭"
,
"尴尬"
,
"发怒"
,
"调皮"
,
"呲牙"
,
"惊讶"
,
"难过"
,
"酷"
,
"冷汗"
,
"抓狂"
,
"吐"
,
"偷笑"
,
"可爱"
,
"白眼"
,
"傲慢"
,
"饥饿"
,
"困"
,
"惊恐"
,
"流汗"
,
"憨笑"
,
"大兵"
,
"奋斗"
,
"咒骂"
,
"疑问"
,
"嘘"
,
"晕"
,
"折磨"
,
"衰"
,
"骷髅"
,
"敲打"
,
"再见"
,
"擦汗"
,
"抠鼻"
,
"鼓掌"
,
"糗大了"
,
"坏笑"
,
"左哼哼"
,
"右哼哼"
,
"哈欠"
,
"鄙视"
,
"委屈"
,
"快哭了"
,
"阴险"
,
"亲亲"
,
"吓"
,
"可怜"
,
"菜刀"
,
"西瓜"
,
"啤酒"
,
"篮球"
,
"乒乓"
,
"咖啡"
,
"饭"
,
"猪头"
,
"玫瑰"
,
"凋谢"
,
"示爱"
,
"爱心"
,
"心碎"
,
"蛋糕"
,
"闪电"
,
"炸弹"
,
"刀"
,
"足球"
,
"瓢虫"
,
"便便"
,
"月亮"
,
"太阳"
,
"礼物"
,
"拥抱"
,
"强"
,
"弱"
,
"握手"
,
"胜利"
,
"抱拳"
,
"勾引"
,
"拳头"
,
"差劲"
,
"爱你"
,
"NO"
,
"OK"
,
"爱情"
,
"飞吻"
,
"跳跳"
,
"发抖"
,
"怄火"
,
"转圈"
,
"磕头"
,
"回头"
,
"跳绳"
,
"挥手"
,
"激动"
,
"街舞"
,
"献吻"
,
"左太极"
,
"右太极"
].
indexOf
(
t
)
+
'.gif" align="middle">'
},
handleEmotion
:
function
(
e
){
this
.
content
+=
e
},
onChooseMedia
:
function
(
e
){
"image"
===
this
.
type
?
this
.
imageContent
=
e
:
"video"
===
this
.
type
?
this
.
videoContent
=
e
:
"news"
===
this
.
type
&&
(
this
.
newsContent
=
e
),
this
.
showMedia
=!
1
},
getMediaList
:
function
(){
var
e
=
this
,
t
=
this
.
activeName
,
n
=
{
type
:
t
,
page
:
this
.
mediaPage
.
nowPage
,
limit
:
this
.
mediaPage
.
limit
};
this
.
loading
=!
0
,
this
.
showMedia
=!
0
,
Object
(
i
.
_23
)(
n
).
then
(
function
(
n
){
e
.
loading
=!
1
,
e
.
type
=
t
,
e
.
mediaList
=
n
.
item
,
e
.
mediaPage
.
total
=
n
.
total_count
,
0
===
e
.
total
&&
e
.
$message
({
showClose
:
!
0
,
message
:
"暂无数据"
})}).
catch
(
function
(){
e
.
loading
=!
1
})}},
mounted
:
function
(){
this
.
getMsgList
()},
computed
:{
progress
:
function
(){
var
e
=
this
;
return
this
.
$store
.
state
.
progressList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
fileUid
}).
num
<
100
?
this
.
$store
.
state
.
progressList
.
find
(
function
(
t
){
return
t
.
id
===
e
.
fileUid
}).
num
:
100
}}},
c
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"index"
},[
n
(
"div"
,{
staticClass
:
"b-title"
},[
e
.
_v
(
"群发列表 "
),
n
(
"el-button"
,{
staticStyle
:{
float
:
"right"
,
"margin-bottom"
:
"10px"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
show
=!
0
}}},[
e
.
_v
(
"新建群发消息"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
n
(
"el-table-column"
,{
attrs
:{
type
:
"expand"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-table"
,{
attrs
:{
border
:
!
1
,
data
:[
JSON
.
parse
(
t
.
row
.
content
)]}},[
n
(
"el-table-column"
,{
attrs
:{
label
:
"类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
e
.
_f
(
"typeFilter"
)(
t
.
row
.
type
))
+
"
\n
"
)]}}])}),
e
.
_v
(
" "
),
"text"
!==
JSON
.
parse
(
t
.
row
.
content
).
type
?
n
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"media_id"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\n
"
+
e
.
_s
(
t
.
row
.
content
)
+
"
\n
"
)]}}])}):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"url"
,
label
:
"内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"text"
===
t
.
row
.
type
?
n
(
"div"
,[
n
(
"span"
,{
domProps
:{
innerHTML
:
e
.
_s
(
t
.
row
.
content
.
replace
(
/
\/[\u
4E00-
\u
9FA5
]{1,3}
/gi
,
e
.
emotion
))}})]):
"image"
===
t
.
row
.
type
?
n
(
"div"
,[
n
(
"img"
,{
staticStyle
:{
width
:
"80px"
},
attrs
:{
src
:
t
.
row
.
url
}})]):
"video"
===
t
.
row
.
type
?
n
(
"div"
,[
n
(
"a"
,{
attrs
:{
href
:
t
.
row
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"点击查看视频"
)])]):
e
.
_e
()]}}])})],
1
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"send_id"
,
label
:
"消息ID"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"send_num"
,
label
:
"预计发送"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"arrive_num"
,
label
:
"已发送"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"failed_num"
,
label
:
"发送失败"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"start_at"
,
label
:
"开始时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"end_at"
,
label
:
"截止时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"created_at"
,
label
:
"发送时间"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
"min-width"
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"el-button"
,{
attrs
:{
type
:
"text"
,
plain
:
""
,
size
:
"mini"
},
on
:{
click
:
function
(
n
){
e
.
getMsgResult
(
t
.
row
.
send_id
)}}},[
e
.
_v
(
"
\n
查询及时结果
\n
"
)])]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
limit
},
on
:{
pageChange
:
e
.
onPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
title
:
"新建群发消息"
,
visible
:
e
.
show
},
on
:{
"update:visible"
:
function
(
t
){
e
.
show
=
t
}}},[
n
(
"el-form"
,{
ref
:
"searchFrom"
,
attrs
:{
model
:
e
.
searchFrom
,
"label-width"
:
"150px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"是否发送筛选用户"
}},[
n
(
"el-switch"
,{
attrs
:{
"active-color"
:
"#13ce66"
,
"inactive-color"
:
"#ff4949"
},
model
:{
value
:
e
.
searchFrom
.
is_test
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"is_test"
,
t
)},
expression
:
"searchFrom.is_test"
}})],
1
),
e
.
_v
(
" "
),
1
===
e
.
searchFrom
.
type
?
n
(
"el-form-item"
,{
attrs
:{
label
:
"时间"
}},[
n
(
"el-date-picker"
,{
attrs
:{
type
:
"datetimerange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
e
.
searchFrom
.
time
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"time"
,
t
)},
expression
:
"searchFrom.time"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"类型"
}},[
n
(
"el-radio-group"
,{
model
:{
value
:
e
.
searchFrom
.
type
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"type"
,
t
)},
expression
:
"searchFrom.type"
}},[
n
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"48时内关注但未购课用户"
)]),
e
.
_v
(
" "
),
n
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"有体验课但没有正式课用户"
)]),
e
.
_v
(
" "
),
n
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"未购正课用户"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-row"
,[
n
(
"el-col"
,{
attrs
:{
span
:
16
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"用户ID"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
searchFrom
.
user_ids
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchFrom
,
"user_ids"
,
t
)},
expression
:
"searchFrom.user_ids"
}})],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onSelectUser
}},[
e
.
_v
(
"选择用户"
)])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-tabs"
,{
attrs
:{
type
:
"card"
},
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
n
(
"el-tab-pane"
,{
attrs
:{
label
:
"文本"
,
name
:
"text"
}},[
n
(
"div"
,{
staticClass
:
"inner-edit_area"
},[
n
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
autosize
:{
minRows
:
4
,
maxRows
:
8
},
placeholder
:
"请输入内容"
},
model
:{
value
:
e
.
content
,
callback
:
function
(
t
){
e
.
content
=
t
},
expression
:
"content"
}})],
1
),
e
.
_v
(
" "
),
n
(
"div"
,{
staticStyle
:{
float
:
"right"
}},[
n
(
"el-popover"
,{
attrs
:{
placement
:
"bottom-end"
,
width
:
"400"
,
offset
:
10
,
trigger
:
"manual"
},
model
:{
value
:
e
.
showEmotion
,
callback
:
function
(
t
){
e
.
showEmotion
=
t
},
expression
:
"showEmotion"
}},[
n
(
"div"
,[
n
(
"emotion"
,{
attrs
:{
height
:
200
},
on
:{
emotion
:
e
.
handleEmotion
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
showEmotion
=!
e
.
showEmotion
}},
slot
:
"reference"
},[
n
(
"span"
,{
staticClass
:
"icon_emotion emotion_switch"
})])],
1
)],
1
)]),
e
.
_v
(
" "
),
n
(
"el-tab-pane"
,{
attrs
:{
label
:
"图片"
,
name
:
"image"
}},[
n
(
"div"
,{
staticClass
:
"inner-edit_area"
},[
n
(
"el-upload"
,{
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
e
.
uploadFile
,
"before-upload"
:
e
.
beforeAvatarUpload
,
"list-type"
:
"picture-card"
,
"file-list"
:
e
.
imageList
,
"on-success"
:
e
.
handleAvatarSuccess
,
"on-remove"
:
e
.
handleRemove
,
limit
:
1
}},[
n
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
1
)]),
e
.
_v
(
" "
),
n
(
"el-tab-pane"
,{
attrs
:{
label
:
"视频"
,
name
:
"video"
}},[
n
(
"el-upload"
,{
staticClass
:
"upload-video"
,
attrs
:{
action
:
"/api/public/upload/zone"
,
"http-request"
:
e
.
uploadVideo
,
"file-list"
:
e
.
fileList
,
"on-remove"
:
e
.
handleRemoveVideo
,
limit
:
1
}},[
n
(
"el-button"
,{
attrs
:{
size
:
"small"
,
type
:
"primary"
,
disabled
:
e
.
fileUid
&&
e
.
progress
<
99
}},[
e
.
_v
(
"点击上传"
)]),
e
.
_v
(
" "
),
n
(
"div"
,{
staticStyle
:{
width
:
"300px"
}},[
e
.
fileUid
?
n
(
"el-progress"
,{
attrs
:{
percentage
:
e
.
progress
}}):
e
.
_e
()],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-tab-pane"
,{
attrs
:{
label
:
"图文"
,
name
:
"news"
}},[
e
.
newsContent
&&
e
.
newsContent
.
content
&&
e
.
newsContent
.
content
.
news_item
?
n
(
"div"
,[
n
(
"div"
,{
staticClass
:
"news-media"
,
staticStyle
:{
display
:
"inline-block"
}},[
n
(
"el-card"
,{
attrs
:{
"body-style"
:{
padding
:
"0px"
}}},
e
.
_l
(
e
.
newsContent
.
content
.
news_item
,
function
(
t
,
i
){
return
n
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
1
===
e
.
newsContent
.
content
.
news_item
.
length
?
n
(
"div"
,{
staticClass
:
"single-cover"
},[
n
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
n
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
t
.
thumb_url
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"digest"
},[
e
.
_v
(
e
.
_s
(
t
.
digest
))]),
e
.
_v
(
" "
),
n
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
t
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
newsContent
.
content
.
news_item
.
length
>
1
?
n
(
"div"
,{
staticClass
:
"clear-both bottomCover"
,
staticStyle
:{
position
:
"relative"
}},[
0
===
i
?
n
(
"div"
,{
staticClass
:
"muti-cover"
},[
n
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
t
.
thumb_url
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"bottom-title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))])]):
n
(
"div"
,{
staticClass
:
"next-cover clear-both"
},[
n
(
"span"
,{
staticClass
:
"next-title"
},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
n
(
"img"
,{
staticClass
:
"next-img"
,
attrs
:{
src
:
t
.
thumb_url
}})]),
e
.
_v
(
" "
),
n
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
t
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
_e
()])}))],
1
),
e
.
_v
(
" "
),
n
(
"i"
,{
staticClass
:
"el-icon-delete"
,
staticStyle
:{
display
:
"inline-block"
},
on
:{
click
:
function
(
t
){
e
.
newsContent
=
""
}}})]):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"display-b"
},[
n
(
"div"
,{
staticClass
:
"choose_item"
,
staticStyle
:{
color
:
"#888"
},
on
:{
click
:
function
(
t
){
e
.
getMediaList
()}}},[
e
.
_v
(
"+从素材库中选择"
)])]),
e
.
_v
(
" "
),
e
.
showMedia
&&
e
.
mediaList
.
length
>
0
?
n
(
"div"
,[
n
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
mediaList
},
on
:{
"row-click"
:
e
.
onChooseMedia
}},[
n
(
"el-table-column"
,{
attrs
:{
prop
:
"media_id"
,
label
:
"mediaId"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
label
:
"URL"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
content
&&
t
.
row
.
content
.
news_item
?
n
(
"div"
,{
staticClass
:
"news-media"
,
staticStyle
:{
display
:
"inline-block"
,
width
:
"200px"
}},
e
.
_l
(
t
.
row
.
content
.
news_item
,
function
(
i
,
a
){
return
n
(
"div"
,{
staticStyle
:{
position
:
"relative"
}},[
1
===
t
.
row
.
content
.
news_item
.
length
?
n
(
"div"
,{
staticClass
:
"single-cover"
},[
n
(
"div"
,{
staticClass
:
"title"
},[
e
.
_v
(
e
.
_s
(
i
.
title
))]),
e
.
_v
(
" "
),
n
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
i
.
thumb_url
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"digest"
},[
e
.
_v
(
e
.
_s
(
i
.
digest
))]),
e
.
_v
(
" "
),
n
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
i
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
预览文章
\n
"
)])]):
t
.
row
.
content
.
news_item
.
length
>
1
?
n
(
"div"
,{
staticClass
:
"clear-both bottomCover"
,
staticStyle
:{
position
:
"relative"
}},[
0
===
a
?
n
(
"div"
,{
staticClass
:
"muti-cover"
},[
n
(
"img"
,{
staticStyle
:{
width
:
"100%"
,
"margin-top"
:
"20px"
},
attrs
:{
src
:
i
.
thumb_url
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"bottom-title"
},[
e
.
_v
(
e
.
_s
(
i
.
title
))])]):
n
(
"div"
,{
staticClass
:
"next-cover clear-both"
},[
n
(
"span"
,{
staticClass
:
"next-title"
},[
e
.
_v
(
e
.
_s
(
i
.
title
))]),
e
.
_v
(
" "
),
n
(
"img"
,{
staticClass
:
"next-img"
,
attrs
:{
src
:
i
.
thumb_url
}})]),
e
.
_v
(
" "
),
n
(
"a"
,{
staticClass
:
"preview"
,
attrs
:{
href
:
i
.
url
,
target
:
"_blank"
}},[
e
.
_v
(
"
\n
预览文章
\n
"
)])]):
e
.
_e
()])})):
e
.
_e
()]}}])})],
1
),
e
.
_v
(
" "
),
n
(
"page2"
,{
attrs
:{
total
:
e
.
total
,
limit
:
e
.
mediaPage
.
limit
},
on
:{
pageChange
:
e
.
onMediaPageChange
,
sizeChange
:
e
.
onMediaSizeChange
},
model
:{
value
:
e
.
mediaPage
.
nowPage
,
callback
:
function
(
t
){
e
.
$set
(
e
.
mediaPage
,
"nowPage"
,
t
)},
expression
:
"mediaPage.nowPage"
}})],
1
):
e
.
_e
()])],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
send
()}}},[
e
.
_v
(
"确 定"
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
userDialog
.
show
,
"append-to-body"
:
""
},
on
:{
"update:visible"
:
function
(
t
){
e
.
$set
(
e
.
userDialog
,
"show"
,
t
)}}},[
n
(
"el-form"
,{
attrs
:{
"label-width"
:
"90px"
}},[
n
(
"el-row"
,[
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"ID"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
userId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"userId"
,
t
)},
expression
:
"searchUserFrom.userId"
}})],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"昵称"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
nickName
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"nickName"
,
t
)},
expression
:
"searchUserFrom.nickName"
}})],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-col"
,{
attrs
:{
span
:
8
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"电话"
}},[
n
(
"el-input"
,{
model
:{
value
:
e
.
searchUserFrom
.
mobile
,
callback
:
function
(
t
){
e
.
$set
(
e
.
searchUserFrom
,
"mobile"
,
t
)},
expression
:
"searchUserFrom.mobile"
}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-row"
,[
n
(
"el-col"
,{
attrs
:{
span
:
8
,
offset
:
16
}},[
n
(
"el-form-item"
,[
n
(
"el-button"
,{
staticStyle
:{
float
:
"right"
},
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
getUser
}},[
e
.
_v
(
"搜索"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
n
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
userList
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
n
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
className
:
"f-c"
,
label
:
"用户"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
n
(
"img"
,{
staticStyle
:{
"margin-right"
:
"5px"
,
width
:
"50px"
,
height
:
"50px"
,
"border-radius"
:
"50px"
},
attrs
:{
src
:
t
.
row
.
avatar
}}),
e
.
_v
(
e
.
_s
(
t
.
row
.
nickname
)
+
"(ID:"
+
e
.
_s
(
t
.
row
.
user_id
)
+
")
\n
"
)]}}])}),
e
.
_v
(
" "
),
n
(
"el-table-column"
,{
attrs
:{
prop
:
"mobile"
,
label
:
"手机号"
}})],
1
),
e
.
_v
(
" "
),
n
(
"page"
,{
attrs
:{
total
:
e
.
userDialog
.
total
,
limit
:
e
.
userDialog
.
limit
},
on
:{
pageChange
:
e
.
onUserPageChange
,
sizeChange
:
e
.
onSizeChange
}}),
e
.
_v
(
" "
),
n
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
userDialog
.
show
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
onConfirm
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)],
1
)};
c
.
_withStripped
=!
0
;
var
d
=
{
render
:
c
,
staticRenderFns
:[]},
A
=
d
;
var
m
=!
1
;
var
p
=
n
(
"VU/8"
)(
r
,
A
,
!
1
,
function
(
e
){
m
||
(
n
(
"DeFF"
),
n
(
"0B04"
))},
"data-v-690a96ec"
,
null
);
p
.
options
.
__file
=
"src/components/groupSend/index.vue"
;
t
.
default
=
p
.
exports
}});
\ No newline at end of file
dev/static/js/manifest.f85d3e0ee184e875e2f8.js
0 → 100644
View file @
36a4336d
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
f
,
t
){
for
(
var
o
,
d
,
b
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
d
=
a
[
i
],
n
[
d
]
&&
u
.
push
(
n
[
d
][
0
]),
n
[
d
]
=
0
;
for
(
o
in
f
)
Object
.
prototype
.
hasOwnProperty
.
call
(
f
,
o
)
&&
(
e
[
o
]
=
f
[
o
]);
for
(
c
&&
c
(
a
,
f
,
t
);
u
.
length
;)
u
.
shift
()();
if
(
t
)
for
(
i
=
0
;
i
<
t
.
length
;
i
++
)
b
=
r
(
r
.
s
=
t
[
i
]);
return
b
};
var
a
=
{},
n
=
{
41
:
0
};
function
r
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
n
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
n
.
exports
,
n
,
n
.
exports
,
r
),
n
.
l
=!
0
,
n
.
exports
}
r
.
e
=
function
(
e
){
var
c
=
n
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
r
){
c
=
n
[
e
]
=
[
a
,
r
]});
c
[
2
]
=
a
;
var
f
=
document
.
getElementsByTagName
(
"head"
)[
0
],
t
=
document
.
createElement
(
"script"
);
t
.
type
=
"text/javascript"
,
t
.
charset
=
"utf-8"
,
t
.
async
=!
0
,
t
.
timeout
=
12
e4
,
r
.
nc
&&
t
.
setAttribute
(
"nonce"
,
r
.
nc
),
t
.
src
=
r
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"c46bf98263c5c51682ba"
,
1
:
"a228c3925e5ca522f781"
,
2
:
"821ac7fa749185490d81"
,
3
:
"a68206a6f5fa6ab245a4"
,
4
:
"391ed5a1331378dc646e"
,
5
:
"106286f6f4c25ef272c2"
,
6
:
"8adc3e40c2a315929462"
,
7
:
"6c6d7037ae21d92c9d54"
,
8
:
"6adac84d44e5fce5927f"
,
9
:
"12c248005309eb7c3418"
,
10
:
"040c1444e3d6b1b025ae"
,
11
:
"1cdeadecd190975ee865"
,
12
:
"3984e1062e4e732ff959"
,
13
:
"ac6f4e9517e86c72d6d4"
,
14
:
"0005715d0bfe6be6d24a"
,
15
:
"c9b44d261b54893a9336"
,
16
:
"dc03d7ee99e29caaeec3"
,
17
:
"15667ec72c59f158d7e1"
,
18
:
"f8145ae6bed3f7001b31"
,
19
:
"dea71c85cfc1c95257c6"
,
20
:
"a13f20b14c85ffbc71dd"
,
21
:
"309dd44283d8ee6cd222"
,
22
:
"f8c34596d62020f68152"
,
23
:
"9ebfb2097c8f5794549e"
,
24
:
"b9b2c23a60d4e1543577"
,
25
:
"62a49fbe09beae51255d"
,
26
:
"fae363c3a4250c7478d9"
,
27
:
"05caac05437b07e1c48f"
,
28
:
"950c8d340e179f50412e"
,
29
:
"370532a9a99ad2c01de9"
,
30
:
"9b551cfd0e73a6bb947a"
,
31
:
"185c03a3a1fcc6baa14c"
,
32
:
"14eb4e316fe2ee5b71c7"
,
33
:
"95c4809690129a8cf568"
,
34
:
"bd0a2910f2721bfd2d00"
,
35
:
"1109042601af58991512"
,
36
:
"93ce9fa9136391a8f86f"
,
37
:
"006fe52bbf9f10620088"
,
38
:
"9c24948b216892f69ec7"
}[
e
]
+
".js"
;
var
o
=
setTimeout
(
d
,
12
e4
);
function
d
(){
t
.
onerror
=
t
.
onload
=
null
,
clearTimeout
(
o
);
var
c
=
n
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
n
[
e
]
=
void
0
)}
return
t
.
onerror
=
t
.
onload
=
d
,
f
.
appendChild
(
t
),
a
},
r
.
m
=
e
,
r
.
c
=
a
,
r
.
d
=
function
(
e
,
c
,
a
){
r
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
r
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
c
,
"a"
,
c
),
c
},
r
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
r
.
p
=
"/"
,
r
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/groupSend/index.vue
View file @
36a4336d
...
@@ -381,6 +381,7 @@
...
@@ -381,6 +381,7 @@
if
(
val
===
'text'
)
return
'文本'
;
if
(
val
===
'text'
)
return
'文本'
;
if
(
val
===
'image'
)
return
'图片'
;
if
(
val
===
'image'
)
return
'图片'
;
if
(
val
===
'video'
)
return
'视频'
;
if
(
val
===
'video'
)
return
'视频'
;
if
(
val
===
'news'
)
return
'图文'
;
}
}
},
},
methods
:
{
methods
:
{
...
@@ -529,7 +530,7 @@
...
@@ -529,7 +530,7 @@
}
}
}
else
if
(
this
.
activeName
===
'news'
){
}
else
if
(
this
.
activeName
===
'news'
){
if
(
this
.
newsContent
&&
this
.
newsContent
.
media_id
)
{
if
(
this
.
newsContent
&&
this
.
newsContent
.
media_id
)
{
_content
.
media_id
=
this
.
newsContent
.
media_id
_content
.
content
=
this
.
newsContent
.
media_id
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
...
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