Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
alpha
sun
Commits
334aa545
Commit
334aa545
authored
Dec 04, 2018
by
Davve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户ID生成规则
parent
5d148272
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
index.html
vu/dist/index.html
+2
-2
chunk-0b3f.b2e92b78.css
vu/dist/static/css/chunk-0b3f.b2e92b78.css
+2
-2
app.2e1a84c9.js
vu/dist/static/js/app.2e1a84c9.js
+0
-0
chunk-0b3f.02e1f94b.js
vu/dist/static/js/chunk-0b3f.02e1f94b.js
+2
-0
chunk-34c8.c040f043.js
vu/dist/static/js/chunk-34c8.c040f043.js
+0
-2
No files found.
vu/dist/index.html
View file @
334aa545
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge,chrome=1"
><meta
name=
renderer
content=
webkit
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
><title>
更美社区后台
</title><link
rel=
"shortcut icon"
href=
/favicon.ico
><link
href=
/static/css/chunk-elementUI.e8091cad.css
rel=
stylesheet
><link
href=
/static/css/chunk-libs.825f9043.css
rel=
stylesheet
><link
href=
/static/css/app.1aeb4577.css
rel=
stylesheet
></head><body><script
src=
/static/tinymce4.7.5/tinymce.min.js
></script><script
src=
/static/jquery.min.js
></script><script
src=
/static/webuploader.min.js
></script><div
id=
app
></div><script>
!
function
(
e
){
function
n
(
n
){
for
(
var
u
,
t
,
h
=
n
[
0
],
o
=
n
[
1
],
f
=
n
[
2
],
d
=
0
,
b
=
[];
d
<
h
.
length
;
d
++
)
t
=
h
[
d
],
a
[
t
]
&&
b
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
u
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
u
)
&&
(
e
[
u
]
=
o
[
u
]);
for
(
k
&&
k
(
n
);
b
.
length
;)
b
.
shift
()();
return
r
.
push
.
apply
(
r
,
f
||
[]),
c
()}
function
c
(){
for
(
var
e
,
n
=
0
;
n
<
r
.
length
;
n
++
){
for
(
var
c
=
r
[
n
],
u
=!
0
,
t
=
1
;
t
<
c
.
length
;
t
++
){
var
o
=
c
[
t
];
0
!==
a
[
o
]
&&
(
u
=!
1
)}
u
&&
(
r
.
splice
(
n
--
,
1
),
e
=
h
(
h
.
s
=
c
[
0
]))}
return
e
}
var
u
=
{},
t
=
{
runtime
:
0
},
a
=
{
runtime
:
0
},
r
=
[];
function
h
(
n
){
if
(
u
[
n
])
return
u
[
n
].
exports
;
var
c
=
u
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
c
.
exports
,
c
,
c
.
exports
,
h
),
c
.
l
=!
0
,
c
.
exports
}
h
.
e
=
function
(
e
){
var
n
=
[];
t
[
e
]?
n
.
push
(
t
[
e
]):
0
!==
t
[
e
]
&&
{
"chunk-0e3a"
:
1
,
"chunk-281b"
:
1
,
"chunk-758a"
:
1
,
"chunk-9068"
:
1
,
"chunk-commons"
:
1
,
"chunk-0380"
:
1
,
"chunk-1353"
:
1
,
"chunk-15d5"
:
1
,
"chunk-17d8"
:
1
,
"chunk-2105"
:
1
,
"chunk-28ba"
:
1
,
"chunk-34c8"
:
1
,
"chunk-36ce"
:
1
,
"chunk-36cf"
:
1
,
"chunk-3ae1"
:
1
,
"chunk-5644"
:
1
,
"chunk-5bad"
:
1
,
"chunk-d09f"
:
1
,
"chunk-61b5"
:
1
,
"chunk-6cfb"
:
1
,
"chunk-6d04"
:
1
,
"chunk-7a06"
:
1
,
"chunk-7d67"
:
1
,
"chunk-8cb9"
:
1
,
"chunk-def3"
:
1
,
"chunk-ea8a"
:
1
,
"chunk-f569"
:
1
}[
e
]
&&
n
.
push
(
t
[
e
]
=
new
Promise
(
function
(
n
,
c
){
for
(
var
u
=
"static/css/"
+
({
"chunk-commons"
:
"chunk-commons"
}[
e
]
||
e
)
+
"."
+
{
"7zzA"
:
"31d6cfe0"
,
JEtC
:
"31d6cfe0"
,
"chunk-0e3a"
:
"78e2ee88"
,
"chunk-281b"
:
"97e274dd"
,
"chunk-758a"
:
"25d50cad"
,
"chunk-9068"
:
"090bb9b2"
,
"chunk-commons"
:
"b37c0ee3"
,
"chunk-0380"
:
"4ecf6cac"
,
"chunk-1353"
:
"4ecf6cac"
,
"chunk-15d5"
:
"a45497e3"
,
"chunk-17d8"
:
"31c57371"
,
"chunk-2105"
:
"a4c58fb2"
,
"00Qp"
:
"31d6cfe0"
,
x10K
:
"31d6cfe0"
,
"chunk-28ba"
:
"a6ffd0c5"
,
"chunk-34c8"
:
"ebf7060f"
,
Q2Zf
:
"31d6cfe0"
,
ZMmy
:
"31d6cfe0"
,
"chunk-36ce"
:
"0d4fa558"
,
"chunk-36cf"
:
"0d4fa558"
,
"chunk-3ae1"
:
"e3d5c3b3"
,
"chunk-5644"
:
"577318ac"
,
"chunk-5bad"
:
"a0156cba"
,
"chunk-d09f"
:
"7d650ad0"
,
SoCV
:
"31d6cfe0"
,
VwWe
:
"31d6cfe0"
,
"chunk-61b5"
:
"5e1a7c0b"
,
"chunk-6cfb"
:
"57a4e1ad"
,
"chunk-6d04"
:
"57a4e1ad"
,
"chunk-7a06"
:
"e2babeb5"
,
"chunk-7d67"
:
"bd52b51f"
,
"chunk-8cb9"
:
"5e1a7c0b"
,
"chunk-def3"
:
"98327ea9"
,
"chunk-ea8a"
:
"577318ac"
,
"chunk-f569"
:
"8b1b5557"
}[
e
]
+
".css"
,
t
=
h
.
p
+
u
,
a
=
document
.
getElementsByTagName
(
"link"
),
r
=
0
;
r
<
a
.
length
;
r
++
){
var
o
=
(
d
=
a
[
r
]).
getAttribute
(
"data-href"
)
||
d
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
d
.
rel
&&
(
o
===
u
||
o
===
t
))
return
n
()}
var
f
=
document
.
getElementsByTagName
(
"style"
);
for
(
r
=
0
;
r
<
f
.
length
;
r
++
){
var
d
;
if
((
o
=
(
d
=
f
[
r
]).
getAttribute
(
"data-href"
))
===
u
||
o
===
t
)
return
n
()}
var
k
=
document
.
createElement
(
"link"
);
k
.
rel
=
"stylesheet"
,
k
.
type
=
"text/css"
,
k
.
onload
=
n
,
k
.
onerror
=
function
(
n
){
var
u
=
n
&&
n
.
target
&&
n
.
target
.
src
||
t
,
a
=
new
Error
(
"Loading CSS chunk "
+
e
+
" failed.
\n
("
+
u
+
")"
);
a
.
request
=
u
,
c
(
a
)},
k
.
href
=
t
,
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
k
)}).
then
(
function
(){
t
[
e
]
=
0
}));
var
c
=
a
[
e
];
if
(
0
!==
c
)
if
(
c
)
n
.
push
(
c
[
2
]);
else
{
var
u
=
new
Promise
(
function
(
n
,
u
){
c
=
a
[
e
]
=
[
n
,
u
]});
n
.
push
(
c
[
2
]
=
u
);
var
r
,
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
f
=
document
.
createElement
(
"script"
);
f
.
charset
=
"utf-8"
,
f
.
timeout
=
120
,
h
.
nc
&&
f
.
setAttribute
(
"nonce"
,
h
.
nc
),
f
.
src
=
function
(
e
){
return
h
.
p
+
"static/js/"
+
({
"chunk-commons"
:
"chunk-commons"
}[
e
]
||
e
)
+
"."
+
{
"7zzA"
:
"acd9b7e4"
,
JEtC
:
"d582661d"
,
"chunk-0e3a"
:
"bd6d1921"
,
"chunk-281b"
:
"e5319145"
,
"chunk-758a"
:
"18314bc4"
,
"chunk-9068"
:
"0685fa2f"
,
"chunk-commons"
:
"deee42be"
,
"chunk-0380"
:
"e2b11f54"
,
"chunk-1353"
:
"820a9a2e"
,
"chunk-15d5"
:
"aec6447b"
,
"chunk-17d8"
:
"c9b29b08"
,
"chunk-2105"
:
"8d325384"
,
"00Qp"
:
"805ee71d"
,
x10K
:
"cf7e5bba"
,
"chunk-28ba"
:
"54dbf286"
,
"chunk-34c8"
:
"c040f043"
,
Q2Zf
:
"159a6cad"
,
ZMmy
:
"fbf2ec27"
,
"chunk-36ce"
:
"1e5edf1b"
,
"chunk-36cf"
:
"922bdf70"
,
"chunk-3ae1"
:
"4aa60cd4"
,
"chunk-5644"
:
"619f6b92"
,
"chunk-5bad"
:
"0654c4ed"
,
"chunk-d09f"
:
"ac7e1c80"
,
SoCV
:
"49bd7f8a"
,
VwWe
:
"37520311"
,
"chunk-61b5"
:
"f3ddb36e"
,
"chunk-6cfb"
:
"340484e1"
,
"chunk-6d04"
:
"f9a31cb6"
,
"chunk-7a06"
:
"b19e39b4"
,
"chunk-7d67"
:
"b158f441"
,
"chunk-8cb9"
:
"5585b2a0"
,
"chunk-def3"
:
"ab578324"
,
"chunk-ea8a"
:
"68d34902"
,
"chunk-f569"
:
"b71a1ba4"
}[
e
]
+
".js"
}(
e
),
r
=
function
(
n
){
f
.
onerror
=
f
.
onload
=
null
,
clearTimeout
(
d
);
var
c
=
a
[
e
];
if
(
0
!==
c
){
if
(
c
){
var
u
=
n
&&
(
"load"
===
n
.
type
?
"missing"
:
n
.
type
),
t
=
n
&&
n
.
target
&&
n
.
target
.
src
,
r
=
new
Error
(
"Loading chunk "
+
e
+
" failed.
\n
("
+
u
+
": "
+
t
+
")"
);
r
.
type
=
u
,
r
.
request
=
t
,
c
[
1
](
r
)}
a
[
e
]
=
void
0
}};
var
d
=
setTimeout
(
function
(){
r
({
type
:
"timeout"
,
target
:
f
})},
12
e4
);
f
.
onerror
=
f
.
onload
=
r
,
o
.
appendChild
(
f
)}
return
Promise
.
all
(
n
)},
h
.
m
=
e
,
h
.
c
=
u
,
h
.
d
=
function
(
e
,
n
,
c
){
h
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
enumerable
:
!
0
,
get
:
c
})},
h
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
h
.
t
=
function
(
e
,
n
){
if
(
1
&
n
&&
(
e
=
h
(
e
)),
8
&
n
)
return
e
;
if
(
4
&
n
&&
"object"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
c
=
Object
.
create
(
null
);
if
(
h
.
r
(
c
),
Object
.
defineProperty
(
c
,
"default"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
n
&&
"string"
!=
typeof
e
)
for
(
var
u
in
e
)
h
.
d
(
c
,
u
,
function
(
n
){
return
e
[
n
]}.
bind
(
null
,
u
));
return
c
},
h
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
h
.
d
(
n
,
"a"
,
n
),
n
},
h
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
h
.
p
=
"/"
,
h
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
o
=
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[],
f
=
o
.
push
.
bind
(
o
);
o
.
push
=
n
,
o
=
o
.
slice
();
for
(
var
d
=
0
;
d
<
o
.
length
;
d
++
)
n
(
o
[
d
]);
var
k
=
f
;
c
()}([]);
</script><script
src=
/static/js/chunk-elementUI.9e82bb46.js
></script><script
src=
/static/js/chunk-libs.726e3331.js
></script><script
src=
/static/js/app.0a5c0371.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge,chrome=1"
><meta
name=
renderer
content=
webkit
><meta
name=
viewport
content=
"width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"
><title>
更美社区后台
</title><link
rel=
"shortcut icon"
href=
/favicon.ico
><link
href=
/static/css/chunk-elementUI.e8091cad.css
rel=
stylesheet
><link
href=
/static/css/chunk-libs.825f9043.css
rel=
stylesheet
><link
href=
/static/css/app.1aeb4577.css
rel=
stylesheet
></head><body><script
src=
/static/tinymce4.7.5/tinymce.min.js
></script><script
src=
/static/jquery.min.js
></script><script
src=
/static/webuploader.min.js
></script><div
id=
app
></div><script>
!
function
(
e
){
function
n
(
n
){
for
(
var
u
,
t
,
h
=
n
[
0
],
o
=
n
[
1
],
f
=
n
[
2
],
d
=
0
,
b
=
[];
d
<
h
.
length
;
d
++
)
t
=
h
[
d
],
a
[
t
]
&&
b
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
u
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
u
)
&&
(
e
[
u
]
=
o
[
u
]);
for
(
k
&&
k
(
n
);
b
.
length
;)
b
.
shift
()();
return
r
.
push
.
apply
(
r
,
f
||
[]),
c
()}
function
c
(){
for
(
var
e
,
n
=
0
;
n
<
r
.
length
;
n
++
){
for
(
var
c
=
r
[
n
],
u
=!
0
,
t
=
1
;
t
<
c
.
length
;
t
++
){
var
o
=
c
[
t
];
0
!==
a
[
o
]
&&
(
u
=!
1
)}
u
&&
(
r
.
splice
(
n
--
,
1
),
e
=
h
(
h
.
s
=
c
[
0
]))}
return
e
}
var
u
=
{},
t
=
{
runtime
:
0
},
a
=
{
runtime
:
0
},
r
=
[];
function
h
(
n
){
if
(
u
[
n
])
return
u
[
n
].
exports
;
var
c
=
u
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
c
.
exports
,
c
,
c
.
exports
,
h
),
c
.
l
=!
0
,
c
.
exports
}
h
.
e
=
function
(
e
){
var
n
=
[];
t
[
e
]?
n
.
push
(
t
[
e
]):
0
!==
t
[
e
]
&&
{
"chunk-0e3a"
:
1
,
"chunk-281b"
:
1
,
"chunk-758a"
:
1
,
"chunk-9068"
:
1
,
"chunk-commons"
:
1
,
"chunk-0380"
:
1
,
"chunk-0b3f"
:
1
,
"chunk-1353"
:
1
,
"chunk-15d5"
:
1
,
"chunk-17d8"
:
1
,
"chunk-2105"
:
1
,
"chunk-28ba"
:
1
,
"chunk-36ce"
:
1
,
"chunk-36cf"
:
1
,
"chunk-3ae1"
:
1
,
"chunk-5644"
:
1
,
"chunk-5bad"
:
1
,
"chunk-d09f"
:
1
,
"chunk-61b5"
:
1
,
"chunk-6cfb"
:
1
,
"chunk-6d04"
:
1
,
"chunk-7a06"
:
1
,
"chunk-7d67"
:
1
,
"chunk-8cb9"
:
1
,
"chunk-def3"
:
1
,
"chunk-ea8a"
:
1
,
"chunk-f569"
:
1
}[
e
]
&&
n
.
push
(
t
[
e
]
=
new
Promise
(
function
(
n
,
c
){
for
(
var
u
=
"static/css/"
+
({
"chunk-commons"
:
"chunk-commons"
}[
e
]
||
e
)
+
"."
+
{
"7zzA"
:
"31d6cfe0"
,
JEtC
:
"31d6cfe0"
,
"chunk-0e3a"
:
"78e2ee88"
,
"chunk-281b"
:
"97e274dd"
,
"chunk-758a"
:
"25d50cad"
,
"chunk-9068"
:
"090bb9b2"
,
"chunk-commons"
:
"b37c0ee3"
,
"chunk-0380"
:
"4ecf6cac"
,
"chunk-0b3f"
:
"b2e92b78"
,
Q2Zf
:
"31d6cfe0"
,
ZMmy
:
"31d6cfe0"
,
"chunk-1353"
:
"4ecf6cac"
,
"chunk-15d5"
:
"a45497e3"
,
"chunk-17d8"
:
"31c57371"
,
"chunk-2105"
:
"a4c58fb2"
,
"00Qp"
:
"31d6cfe0"
,
x10K
:
"31d6cfe0"
,
"chunk-28ba"
:
"a6ffd0c5"
,
"chunk-36ce"
:
"0d4fa558"
,
"chunk-36cf"
:
"0d4fa558"
,
"chunk-3ae1"
:
"e3d5c3b3"
,
"chunk-5644"
:
"577318ac"
,
"chunk-5bad"
:
"a0156cba"
,
"chunk-d09f"
:
"7d650ad0"
,
SoCV
:
"31d6cfe0"
,
VwWe
:
"31d6cfe0"
,
"chunk-61b5"
:
"5e1a7c0b"
,
"chunk-6cfb"
:
"57a4e1ad"
,
"chunk-6d04"
:
"57a4e1ad"
,
"chunk-7a06"
:
"e2babeb5"
,
"chunk-7d67"
:
"bd52b51f"
,
"chunk-8cb9"
:
"5e1a7c0b"
,
"chunk-def3"
:
"98327ea9"
,
"chunk-ea8a"
:
"577318ac"
,
"chunk-f569"
:
"8b1b5557"
}[
e
]
+
".css"
,
t
=
h
.
p
+
u
,
a
=
document
.
getElementsByTagName
(
"link"
),
r
=
0
;
r
<
a
.
length
;
r
++
){
var
o
=
(
d
=
a
[
r
]).
getAttribute
(
"data-href"
)
||
d
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
d
.
rel
&&
(
o
===
u
||
o
===
t
))
return
n
()}
var
f
=
document
.
getElementsByTagName
(
"style"
);
for
(
r
=
0
;
r
<
f
.
length
;
r
++
){
var
d
;
if
((
o
=
(
d
=
f
[
r
]).
getAttribute
(
"data-href"
))
===
u
||
o
===
t
)
return
n
()}
var
k
=
document
.
createElement
(
"link"
);
k
.
rel
=
"stylesheet"
,
k
.
type
=
"text/css"
,
k
.
onload
=
n
,
k
.
onerror
=
function
(
n
){
var
u
=
n
&&
n
.
target
&&
n
.
target
.
src
||
t
,
a
=
new
Error
(
"Loading CSS chunk "
+
e
+
" failed.
\n
("
+
u
+
")"
);
a
.
request
=
u
,
c
(
a
)},
k
.
href
=
t
,
document
.
getElementsByTagName
(
"head"
)[
0
].
appendChild
(
k
)}).
then
(
function
(){
t
[
e
]
=
0
}));
var
c
=
a
[
e
];
if
(
0
!==
c
)
if
(
c
)
n
.
push
(
c
[
2
]);
else
{
var
u
=
new
Promise
(
function
(
n
,
u
){
c
=
a
[
e
]
=
[
n
,
u
]});
n
.
push
(
c
[
2
]
=
u
);
var
r
,
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
f
=
document
.
createElement
(
"script"
);
f
.
charset
=
"utf-8"
,
f
.
timeout
=
120
,
h
.
nc
&&
f
.
setAttribute
(
"nonce"
,
h
.
nc
),
f
.
src
=
function
(
e
){
return
h
.
p
+
"static/js/"
+
({
"chunk-commons"
:
"chunk-commons"
}[
e
]
||
e
)
+
"."
+
{
"7zzA"
:
"acd9b7e4"
,
JEtC
:
"d582661d"
,
"chunk-0e3a"
:
"bd6d1921"
,
"chunk-281b"
:
"e5319145"
,
"chunk-758a"
:
"18314bc4"
,
"chunk-9068"
:
"0685fa2f"
,
"chunk-commons"
:
"deee42be"
,
"chunk-0380"
:
"e2b11f54"
,
"chunk-0b3f"
:
"02e1f94b"
,
Q2Zf
:
"159a6cad"
,
ZMmy
:
"fbf2ec27"
,
"chunk-1353"
:
"820a9a2e"
,
"chunk-15d5"
:
"aec6447b"
,
"chunk-17d8"
:
"c9b29b08"
,
"chunk-2105"
:
"8d325384"
,
"00Qp"
:
"805ee71d"
,
x10K
:
"cf7e5bba"
,
"chunk-28ba"
:
"54dbf286"
,
"chunk-36ce"
:
"1e5edf1b"
,
"chunk-36cf"
:
"922bdf70"
,
"chunk-3ae1"
:
"4aa60cd4"
,
"chunk-5644"
:
"619f6b92"
,
"chunk-5bad"
:
"0654c4ed"
,
"chunk-d09f"
:
"ac7e1c80"
,
SoCV
:
"49bd7f8a"
,
VwWe
:
"37520311"
,
"chunk-61b5"
:
"f3ddb36e"
,
"chunk-6cfb"
:
"340484e1"
,
"chunk-6d04"
:
"f9a31cb6"
,
"chunk-7a06"
:
"b19e39b4"
,
"chunk-7d67"
:
"b158f441"
,
"chunk-8cb9"
:
"5585b2a0"
,
"chunk-def3"
:
"ab578324"
,
"chunk-ea8a"
:
"68d34902"
,
"chunk-f569"
:
"b71a1ba4"
}[
e
]
+
".js"
}(
e
),
r
=
function
(
n
){
f
.
onerror
=
f
.
onload
=
null
,
clearTimeout
(
d
);
var
c
=
a
[
e
];
if
(
0
!==
c
){
if
(
c
){
var
u
=
n
&&
(
"load"
===
n
.
type
?
"missing"
:
n
.
type
),
t
=
n
&&
n
.
target
&&
n
.
target
.
src
,
r
=
new
Error
(
"Loading chunk "
+
e
+
" failed.
\n
("
+
u
+
": "
+
t
+
")"
);
r
.
type
=
u
,
r
.
request
=
t
,
c
[
1
](
r
)}
a
[
e
]
=
void
0
}};
var
d
=
setTimeout
(
function
(){
r
({
type
:
"timeout"
,
target
:
f
})},
12
e4
);
f
.
onerror
=
f
.
onload
=
r
,
o
.
appendChild
(
f
)}
return
Promise
.
all
(
n
)},
h
.
m
=
e
,
h
.
c
=
u
,
h
.
d
=
function
(
e
,
n
,
c
){
h
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
enumerable
:
!
0
,
get
:
c
})},
h
.
r
=
function
(
e
){
"undefined"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
h
.
t
=
function
(
e
,
n
){
if
(
1
&
n
&&
(
e
=
h
(
e
)),
8
&
n
)
return
e
;
if
(
4
&
n
&&
"object"
==
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
c
=
Object
.
create
(
null
);
if
(
h
.
r
(
c
),
Object
.
defineProperty
(
c
,
"default"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
n
&&
"string"
!=
typeof
e
)
for
(
var
u
in
e
)
h
.
d
(
c
,
u
,
function
(
n
){
return
e
[
n
]}.
bind
(
null
,
u
));
return
c
},
h
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
h
.
d
(
n
,
"a"
,
n
),
n
},
h
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
h
.
p
=
"/"
,
h
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
o
=
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[],
f
=
o
.
push
.
bind
(
o
);
o
.
push
=
n
,
o
=
o
.
slice
();
for
(
var
d
=
0
;
d
<
o
.
length
;
d
++
)
n
(
o
[
d
]);
var
k
=
f
;
c
()}([]);
</script><script
src=
/static/js/chunk-elementUI.9e82bb46.js
></script><script
src=
/static/js/chunk-libs.726e3331.js
></script><script
src=
/static/js/app.2e1a84c9.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
vu/dist/static/css/chunk-
34c8.ebf7060f
.css
→
vu/dist/static/css/chunk-
0b3f.b2e92b78
.css
View file @
334aa545
.waves-ripple
{
position
:
absolute
;
border-radius
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.15
);
background-clip
:
padding-box
;
pointer-events
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
);
opacity
:
1
}
.waves-ripple.z-active
{
opacity
:
0
;
-webkit-transform
:
scale
(
2
);
transform
:
scale
(
2
);
-webkit-transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
,
-webkit-transform
.6s
ease-out
}
.createPost-container
[
data-v-2efe718f
]
{
position
:
relative
}
.createPost-container
.createPost-main-container
[
data-v-2efe718f
]
{
padding
:
40px
45px
20px
50px
}
.createPost-container
.createPost-main-container
.postInfo-container
[
data-v-2efe718f
]
{
position
:
relative
;
margin-bottom
:
10px
}
.createPost-container
.createPost-main-container
.postInfo-container
[
data-v-2efe718f
]
:after
{
content
:
""
;
display
:
table
;
clear
:
both
}
.createPost-container
.createPost-main-container
.postInfo-container
.postInfo-container-item
[
data-v-2efe718f
]
{
float
:
left
}
.createPost-container
.createPost-main-container
.editor-container
[
data-v-2efe718f
]
{
min-height
:
500px
;
margin
:
0
0
30px
}
.createPost-container
.createPost-main-container
.editor-container
.editor-upload-btn-container
[
data-v-2efe718f
]
{
text-align
:
right
;
margin-right
:
10px
}
.createPost-container
.createPost-main-container
.editor-container
.editor-upload-btn-container
.editor-upload-btn
[
data-v-2efe718f
]
{
display
:
inline-block
}
.createPost-container
.word-counter
[
data-v-2efe718f
]
{
width
:
40px
;
position
:
absolute
;
right
:
-10px
;
top
:
0
}
.edit-input
[
data-v-2efe718f
]
{
padding-right
:
100px
}
.cancel-btn
[
data-v-2efe718f
]
{
position
:
absolute
;
right
:
15px
;
top
:
10px
}
.waves-ripple
{
position
:
absolute
;
border-radius
:
100%
;
background-color
:
rgba
(
0
,
0
,
0
,
.15
);
background-clip
:
padding-box
;
pointer-events
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
-webkit-transform
:
scale
(
0
);
transform
:
scale
(
0
);
opacity
:
1
}
.waves-ripple.z-active
{
opacity
:
0
;
-webkit-transform
:
scale
(
2
);
transform
:
scale
(
2
);
-webkit-transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
-webkit-transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
;
transition
:
opacity
1.2s
ease-out
,
transform
.6s
ease-out
,
-webkit-transform
.6s
ease-out
}
.createPost-container
[
data-v-c6265c80
]
{
position
:
relative
}
.createPost-container
.createPost-main-container
[
data-v-c6265c80
]
{
padding
:
40px
45px
20px
50px
}
.createPost-container
.createPost-main-container
.postInfo-container
[
data-v-c6265c80
]
{
position
:
relative
;
margin-bottom
:
10px
}
.createPost-container
.createPost-main-container
.postInfo-container
[
data-v-c6265c80
]
:after
{
content
:
""
;
display
:
table
;
clear
:
both
}
.createPost-container
.createPost-main-container
.postInfo-container
.postInfo-container-item
[
data-v-c6265c80
]
{
float
:
left
}
.createPost-container
.createPost-main-container
.editor-container
[
data-v-c6265c80
]
{
min-height
:
500px
;
margin
:
0
0
30px
}
.createPost-container
.createPost-main-container
.editor-container
.editor-upload-btn-container
[
data-v-c6265c80
]
{
text-align
:
right
;
margin-right
:
10px
}
.createPost-container
.createPost-main-container
.editor-container
.editor-upload-btn-container
.editor-upload-btn
[
data-v-c6265c80
]
{
display
:
inline-block
}
.createPost-container
.word-counter
[
data-v-c6265c80
]
{
width
:
40px
;
position
:
absolute
;
right
:
-10px
;
top
:
0
}
.edit-input
[
data-v-c6265c80
]
{
padding-right
:
100px
}
.cancel-btn
[
data-v-c6265c80
]
{
position
:
absolute
;
right
:
15px
;
top
:
10px
}
\ No newline at end of file
\ No newline at end of file
vu/dist/static/js/app.
0a5c0371
.js
→
vu/dist/static/js/app.
2e1a84c9
.js
View file @
334aa545
This source diff could not be displayed because it is too large. You can
view the blob
instead.
vu/dist/static/js/chunk-0b3f.02e1f94b.js
0 → 100644
View file @
334aa545
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
"chunk-0b3f"
],{
ESsw
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
d
(
e
,
"h"
,
function
(){
return
n
}),
i
.
d
(
e
,
"c"
,
function
(){
return
o
}),
i
.
d
(
e
,
"b"
,
function
(){
return
s
}),
i
.
d
(
e
,
"j"
,
function
(){
return
r
}),
i
.
d
(
e
,
"k"
,
function
(){
return
l
}),
i
.
d
(
e
,
"i"
,
function
(){
return
c
}),
i
.
d
(
e
,
"a"
,
function
(){
return
p
}),
i
.
d
(
e
,
"e"
,
function
(){
return
u
}),
i
.
d
(
e
,
"d"
,
function
(){
return
d
}),
i
.
d
(
e
,
"f"
,
function
(){
return
m
}),
i
.
d
(
e
,
"g"
,
function
(){
return
f
});
var
a
=
i
(
"t3Un"
);
function
n
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/list"
,
method
:
"get"
,
params
:
t
})}
function
o
(
t
){
return
console
.
log
(
t
),
Object
(
a
.
a
)({
url
:
"/api/pick/list/update"
,
method
:
"post"
,
data
:
t
})}
function
s
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/create"
,
method
:
"post"
,
data
:
t
})}
function
r
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/detail"
,
method
:
"get"
,
params
:{
id
:
t
}})}
function
l
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/topic/list"
,
method
:
"get"
,
params
:
t
})}
function
c
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/celebrity/list"
,
method
:
"get"
,
params
:
t
})}
function
p
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/add_fake_pick_nums"
,
method
:
"post"
,
data
:
t
})}
function
u
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/topic"
,
method
:
"post"
,
data
:
t
})}
function
d
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/celebrity"
,
method
:
"post"
,
data
:
t
})}
function
m
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/del_celebrity"
,
method
:
"post"
,
data
:
t
})}
function
f
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/del_topic"
,
method
:
"post"
,
data
:
t
})}},
Jw3s
:
function
(
t
,
e
,
i
){},
O5k9
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"Jw3s"
);
i
.
n
(
a
).
a
},
Y5bG
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
d
(
e
,
"a"
,
function
(){
return
n
}),
Math
.
easeInOutQuad
=
function
(
t
,
e
,
i
,
a
){
return
(
t
/=
a
/
2
)
<
1
?
i
/
2
*
t
*
t
+
e
:
-
i
/
2
*
(
--
t
*
(
t
-
2
)
-
1
)
+
e
};
var
a
=
window
.
requestAnimationFrame
||
window
.
webkitRequestAnimationFrame
||
window
.
mozRequestAnimationFrame
||
function
(
t
){
window
.
setTimeout
(
t
,
1
e3
/
60
)};
function
n
(
t
,
e
,
i
){
var
n
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
parentNode
.
scrollTop
||
document
.
body
.
scrollTop
,
o
=
t
-
n
,
s
=
0
;
e
=
void
0
===
e
?
500
:
e
;
!
function
t
(){
s
+=
20
,
function
(
t
){
document
.
documentElement
.
scrollTop
=
t
,
document
.
body
.
parentNode
.
scrollTop
=
t
,
document
.
body
.
scrollTop
=
t
}(
Math
.
easeInOutQuad
(
s
,
n
,
o
,
e
)),
s
<
e
?
a
(
t
):
i
&&
"function"
==
typeof
i
&&
i
()}()}},
ZySA
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"P2sY"
),
n
=
i
.
n
(
a
),
o
=
(
i
(
"jUE0"
),{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(
i
){
var
a
=
n
()({},
e
.
value
),
o
=
n
()({
ele
:
t
,
type
:
"hit"
,
color
:
"rgba(0, 0, 0, 0.15)"
},
a
),
s
=
o
.
ele
;
if
(
s
){
s
.
style
.
position
=
"relative"
,
s
.
style
.
overflow
=
"hidden"
;
var
r
=
s
.
getBoundingClientRect
(),
l
=
s
.
querySelector
(
".waves-ripple"
);
switch
(
l
?
l
.
className
=
"waves-ripple"
:((
l
=
document
.
createElement
(
"span"
)).
className
=
"waves-ripple"
,
l
.
style
.
height
=
l
.
style
.
width
=
Math
.
max
(
r
.
width
,
r
.
height
)
+
"px"
,
s
.
appendChild
(
l
)),
o
.
type
){
case
"center"
:
l
.
style
.
top
=
r
.
height
/
2
-
l
.
offsetHeight
/
2
+
"px"
,
l
.
style
.
left
=
r
.
width
/
2
-
l
.
offsetWidth
/
2
+
"px"
;
break
;
default
:
l
.
style
.
top
=
(
i
.
pageY
-
r
.
top
-
l
.
offsetHeight
/
2
-
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
"px"
,
l
.
style
.
left
=
(
i
.
pageX
-
r
.
left
-
l
.
offsetWidth
/
2
-
document
.
documentElement
.
scrollLeft
||
document
.
body
.
scrollLeft
)
+
"px"
}
return
l
.
style
.
backgroundColor
=
o
.
color
,
l
.
className
=
"waves-ripple z-active"
,
!
1
}},
!
1
)}}),
s
=
function
(
t
){
t
.
directive
(
"waves"
,
o
)};
window
.
Vue
&&
(
window
.
waves
=
o
,
Vue
.
use
(
s
)),
o
.
install
=
s
;
e
.
a
=
o
},
"gDS+"
:
function
(
t
,
e
,
i
){
t
.
exports
=
{
default
:
i
(
"oh+g"
),
__esModule
:
!
0
}},
gg54
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
d
(
e
,
"g"
,
function
(){
return
n
}),
i
.
d
(
e
,
"c"
,
function
(){
return
o
}),
i
.
d
(
e
,
"e"
,
function
(){
return
s
}),
i
.
d
(
e
,
"d"
,
function
(){
return
r
}),
i
.
d
(
e
,
"b"
,
function
(){
return
l
}),
i
.
d
(
e
,
"a"
,
function
(){
return
c
}),
i
.
d
(
e
,
"f"
,
function
(){
return
p
});
var
a
=
i
(
"t3Un"
);
function
n
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/user"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
o
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/group"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
s
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/tag"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
r
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/celebrity"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
l
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/city"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
c
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/celebrity"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
p
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/topic"
,
method
:
"get"
,
params
:{
name
:
t
}})}},
jUE0
:
function
(
t
,
e
,
i
){},
"oh+g"
:
function
(
t
,
e
,
i
){
var
a
=
i
(
"WEpk"
),
n
=
a
.
JSON
||
(
a
.
JSON
=
{
stringify
:
JSON
.
stringify
});
t
.
exports
=
function
(
t
){
return
n
.
stringify
.
apply
(
n
,
arguments
)}},
tThj
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"m1cH"
),
n
=
i
.
n
(
a
),
o
=
i
(
"gDS+"
),
s
=
i
.
n
(
o
),
r
=
i
(
"P2sY"
),
l
=
i
.
n
(
r
),
c
=
i
(
"Grqa"
),
p
=
i
(
"uARZ"
),
u
=
i
(
"Mz3J"
),
d
=
i
(
"ZySA"
),
m
=
i
(
"ESsw"
),
f
=
i
(
"gg54"
),
_
=
(
i
(
"7Qib"
),{
status
:
"draft"
,
name
:
""
,
desc
:
""
,
gender
:
""
,
city
:[],
pick_group
:[],
pick_type
:
""
,
position
:
""
,
is_online
:
1
}),
h
=
{
name
:
"PickDetail"
,
components
:{
MDinput
:
c
.
a
,
Sticky
:
p
.
a
,
Pagination
:
u
.
a
},
directives
:{
waves
:
d
.
a
},
props
:{
isEdit
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
var
t
=
this
,
e
=
function
(
e
,
i
,
a
){
""
===
i
?(
t
.
$message
({
message
:
e
.
field
+
"为必传项"
,
type
:
"error"
}),
a
(
new
Error
(
e
.
field
+
"为必传项"
))):
a
()};
return
{
postForm
:
l
()({},
_
),
loading
:
!
1
,
city
:[],
pick_group
:[],
pick_type_origin
:
""
,
celebrity_id
:
""
,
topic_id
:
""
,
del_list
:[],
regionListOptions
:[],
groupListOptions
:[],
celebrityListOptions
:[],
topicListOptions
:[],
GenderTypeOptions
:[{
key
:
2
,
display_name
:
"全部"
},{
key
:
0
,
display_name
:
"男"
},{
key
:
1
,
display_name
:
"女"
}],
PickTypeOptions
:[{
key
:
1
,
display_name
:
"明星打榜"
},{
key
:
0
,
display_name
:
"PICK帖子"
}],
rules
:{
name
:[{
validator
:
e
,
trigger
:
"blur"
}],
desc
:[{
validator
:
e
,
trigger
:
"blur"
}],
gender
:[{
validator
:
e
,
trigger
:
"blur"
}],
city
:[{
validator
:
e
,
trigger
:
"blur"
}],
pick_type
:[{
validator
:
e
,
trigger
:
"blur"
}]},
tempRoute
:{},
listQuery
:{
id
:
""
,
pick_type
:
""
,
page
:
1
,
limit
:
10
,
filter
:{}},
list
:
null
,
total
:
0
,
listLoading
:
!
0
,
origin_len
:
0
,
topic_ids
:[],
celebrity_ids
:[],
new_ids
:[],
del_ids
:[]}},
computed
:{
contentShortLength
:
function
(){
return
this
.
postForm
.
desc
.
length
},
data
:
function
(){
var
t
=
this
;
return
this
.
list
.
filter
(
function
(
e
){
for
(
var
i
=!
1
,
a
=
0
;
a
<
t
.
del_list
.
length
;
a
++
)
if
(
e
.
topic_id
==
t
.
del_list
[
a
].
topic_id
){
i
=!
0
;
break
}
if
(
!
i
)
return
e
})}},
created
:
function
(){
if
(
this
.
isEdit
){
var
t
=
this
.
$route
.
params
&&
this
.
$route
.
params
.
id
;
this
.
fetchData
(
t
),
this
.
getList
()}
else
this
.
postForm
=
l
()({},
_
);
this
.
tempRoute
=
l
()({},
this
.
$route
)},
methods
:{
fetchData
:
function
(
t
){
var
e
=
this
;
Object
(
m
.
j
)(
t
).
then
(
function
(
t
){
for
(
var
i
=
t
.
data
.
data
.
data
,
a
=
0
;
a
<
i
.
pick_group
.
length
;
a
++
)
e
.
pick_group
.
push
(
i
.
pick_group
[
a
].
id
+
":"
+
i
.
pick_group
[
a
].
name
);
for
(
var
n
=
0
;
n
<
i
.
region
.
length
;
n
++
)
e
.
city
.
push
(
i
.
region
[
n
].
id
+
":"
+
i
.
region
[
n
].
name
);
e
.
postForm
=
i
,
e
.
listQuery
.
pick_type
=
i
.
pick_type_origin
}).
catch
(
function
(
t
){
console
.
log
(
t
)})},
submitForm
:
function
(){
var
t
=
this
;
this
.
$refs
.
postForm
.
validate
(
function
(
e
){
return
e
?(
t
.
loading
=!
0
,
0
==
t
.
city
.
length
?(
t
.
$message
.
error
(
"城市必填"
),
t
.
loading
=!
1
,
!
1
):(
t
.
postForm
.
city
=
s
()(
t
.
city
),
t
.
postForm
.
pick_group
=
s
()(
t
.
pick_group
),
Object
(
m
.
b
)(
t
.
postForm
).
then
(
function
(
e
){
t
.
$notify
({
title
:
"成功"
,
message
:
e
.
data
.
data
.
message
,
type
:
"success"
,
duration
:
2
e3
}),
setTimeout
(
function
(){
t
.
$router
.
push
(
"/pick/list"
)},
1
e3
)}).
catch
(
function
(
e
){
t
.
$notify
({
title
:
"失败"
,
message
:
"操作失败"
,
type
:
"danger"
,
duration
:
2
e3
})}),
t
.
postForm
.
status
=
"published"
,
void
(
t
.
loading
=!
1
))):(
console
.
log
(
"error submit!!"
),
!
1
)})},
getRemoteCityList
:
function
(
t
){
var
e
=
this
;
Object
(
f
.
b
)(
t
).
then
(
function
(
t
){
t
.
data
.
data
.
data
&&
(
e
.
regionListOptions
=
t
.
data
.
data
.
data
)})},
getRemoteGroupList
:
function
(
t
){
var
e
=
this
;
Object
(
f
.
c
)(
t
).
then
(
function
(
t
){
t
.
data
.
data
.
data
&&
(
e
.
groupListOptions
=
t
.
data
.
data
.
data
)})},
getRemoteTopicList
:
function
(
t
){
var
e
=
this
;
Object
(
f
.
f
)(
t
).
then
(
function
(
t
){
t
.
data
.
data
.
data
&&
(
e
.
topicListOptions
=
t
.
data
.
data
.
data
)})},
getRemoteCelebrityList
:
function
(
t
){
var
e
=
this
;
Object
(
f
.
a
)(
t
).
then
(
function
(
t
){
t
.
data
.
data
.
data
&&
(
e
.
celebrityListOptions
=
t
.
data
.
data
.
data
)})},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
getList
:
function
(){
var
t
=
this
;
this
.
listLoading
=!
0
,
this
.
listQuery
.
id
=
this
.
$route
.
params
&&
this
.
$route
.
params
.
id
,
"1"
===
this
.
$route
.
query
.
pick_type
?
Object
(
m
.
i
)(
this
.
listQuery
).
then
(
function
(
e
){
var
i
=
e
.
data
.
data
.
data
;
t
.
list
=
i
.
map
(
function
(
e
){
return
t
.
$set
(
e
,
"edit"
,
!
1
),
e
.
original_fake_pick_nums
=
e
.
fake_pick_nums
,
e
}),
t
.
total
=
e
.
data
.
data
.
total
,
t
.
origin_len
=
e
.
data
.
data
.
total
,
t
.
listLoading
=!
1
}):
Object
(
m
.
k
)(
this
.
listQuery
).
then
(
function
(
e
){
var
i
=
e
.
data
.
data
.
data
;
t
.
list
=
i
.
map
(
function
(
e
){
return
t
.
$set
(
e
,
"edit"
,
!
1
),
e
.
original_fake_pick_nums
=
e
.
fake_pick_nums
,
e
}),
t
.
total
=
e
.
data
.
data
.
total
,
t
.
origin_len
=
e
.
data
.
data
.
total
,
t
.
listLoading
=!
1
})},
cancelEdit
:
function
(
t
){
t
.
fake_pick_nums
=
t
.
original_fake_pick_nums
,
t
.
edit
=!
1
,
this
.
$message
({
message
:
"取消成功"
,
type
:
"warning"
})},
confirmEdit
:
function
(
t
){
t
.
edit
=!
1
,
t
.
original_fake_pick_nums
=
t
.
fake_pick_nums
,
this
.
$message
({
message
:
"添加成功"
,
type
:
"success"
}),
Object
(
m
.
a
)(
t
).
then
(
function
(
t
){}).
catch
(
function
(
t
){})},
append
:
function
(){
var
t
=
this
;
if
(
0
==
this
.
postForm
.
pick_type_origin
){
if
(
""
==
this
.
topic_id
)
return
this
.
$message
.
error
(
"请输入搜索内容~~"
),
this
.
topic_id
=
""
,
!
1
;
var
e
=
{
topic_id
:
this
.
topic_id
,
pick_id
:
this
.
postForm
.
id
};
Object
(
m
.
e
)(
e
).
then
(
function
(
e
){
t
.
$message
.
success
(
e
.
data
.
data
.
message
)}),
this
.
topic_id
=
""
,
setTimeout
(
function
(){
t
.
$router
.
go
(
0
)},
1300
)}
else
if
(
1
==
this
.
postForm
.
pick_type_origin
){
if
(
""
==
this
.
celebrity_id
)
return
this
.
$message
.
error
(
"请输入搜索内容~~"
),
this
.
celebrity_id
=
""
,
!
1
;
var
i
=
{
celebrity_id
:
this
.
celebrity_id
,
pick_id
:
this
.
postForm
.
id
};
Object
(
m
.
d
)(
i
).
then
(
function
(
e
){
t
.
$message
.
success
(
e
.
data
.
data
.
message
)}),
this
.
celebrity_id
=
""
,
setTimeout
(
function
(){
t
.
$router
.
go
(
0
)},
1300
)}},
del
:
function
(){
var
t
,
e
=
this
;
this
.
total
=
this
.
origin_len
-
this
.
del_list
.
length
;
var
i
=
[];
if
((
t
=
this
.
del_list
).
push
.
apply
(
t
,
n
()(
this
.
multipleSelection
)),
0
==
this
.
postForm
.
pick_type_origin
){
for
(
var
a
=
0
;
a
<
this
.
multipleSelection
.
length
;
a
++
)
i
.
push
(
this
.
multipleSelection
[
a
].
topic_id
);
var
o
=
{
del_ids
:
s
()(
i
),
pick_id
:
this
.
postForm
.
id
};
Object
(
m
.
g
)(
o
).
then
(
function
(
t
){
e
.
$message
.
success
(
"操作成功"
),
setTimeout
(
function
(){
e
.
$router
.
go
(
0
)},
1300
)})}
else
{
for
(
var
r
=
0
;
r
<
this
.
multipleSelection
.
length
;
r
++
)
i
.
push
(
this
.
multipleSelection
[
r
].
celebrity_id
);
var
l
=
{
del_ids
:
s
()(
i
),
pick_id
:
this
.
postForm
.
id
};
Object
(
m
.
f
)(
l
).
then
(
function
(
t
){
e
.
$message
.
success
(
"操作成功"
),
setTimeout
(
function
(){
e
.
$router
.
go
(
0
)},
1300
)})}}}},
g
=
(
i
(
"O5k9"
),
i
(
"KHd+"
)),
y
=
Object
(
g
.
a
)(
h
,
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"createPost-container"
},[
i
(
"el-form"
,{
ref
:
"postForm"
,
staticClass
:
"form-container"
,
attrs
:{
model
:
t
.
postForm
,
rules
:
t
.
rules
}},[
i
(
"sticky"
,{
attrs
:{
"class-name"
:
"sub-navbar"
}},[
i
(
"el-button"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
"margin-left"
:
"10px"
},
attrs
:{
type
:
"success"
},
on
:{
click
:
t
.
submitForm
}},[
t
.
_v
(
"保存
\n
"
)])],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"createPost-main-container"
},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-card"
,{
staticClass
:
"box-card"
},[
i
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
i
(
"span"
,[
t
.
_v
(
"pick相关"
)])]),
t
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
24
}},[
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
prop
:
"name"
}},[
i
(
"MDinput"
,{
attrs
:{
maxlength
:
100
,
name
:
"name"
,
required
:
""
},
model
:{
value
:
t
.
postForm
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"name"
,
e
)},
expression
:
"postForm.name"
}},[
t
.
_v
(
"
\n
pick名称
\n
"
)])],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"postInfo-container"
},[
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
staticClass
:
"postInfo-container-item"
,
attrs
:{
"label-width"
:
"45px"
,
label
:
"性别:"
,
prop
:
"gender"
}},[
i
(
"el-select"
,{
staticClass
:
"postInfo-container-item"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"性别:"
,
clearable
:
""
},
model
:{
value
:
t
.
postForm
.
gender
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"gender"
,
e
)},
expression
:
"postForm.gender"
}},
t
.
_l
(
t
.
GenderTypeOptions
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
key
,
attrs
:{
label
:
t
.
display_name
,
value
:
t
.
key
}})}))],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
staticClass
:
"postInfo-container-item"
,
attrs
:{
"label-width"
:
"60px"
,
label
:
"属性:"
,
prop
:
"pick_type"
}},[
t
.
isEdit
?
i
(
"el-select"
,{
staticClass
:
"postInfo-container-item"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"属性:"
,
clearable
:
""
,
disabled
:
""
},
model
:{
value
:
t
.
postForm
.
pick_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"pick_type"
,
e
)},
expression
:
"postForm.pick_type"
}},
t
.
_l
(
t
.
PickTypeOptions
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
key
,
attrs
:{
label
:
t
.
display_name
,
value
:
t
.
key
}})})):
i
(
"el-select"
,{
staticClass
:
"postInfo-container-item"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"属性:"
,
clearable
:
""
},
model
:{
value
:
t
.
postForm
.
pick_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"pick_type"
,
e
)},
expression
:
"postForm.pick_type"
}},
t
.
_l
(
t
.
PickTypeOptions
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
key
,
attrs
:{
label
:
t
.
display_name
,
value
:
t
.
key
}})}))],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"45px"
,
label
:
"位置:"
,
prop
:
"position"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
rows
:
1
,
type
:
"number"
,
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
postForm
.
position
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"position"
,
e
)},
expression
:
"postForm.position"
}})],
1
)],
1
)],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
24
}},[
i
(
"div"
,{
staticClass
:
"postInfo-container"
},[
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
isEdit
?
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"45px"
,
label
:
"pickid:"
,
prop
:
"id"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
rows
:
1
,
type
:
"number"
,
disabled
:
""
},
model
:{
value
:
t
.
postForm
.
id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"id"
,
e
)},
expression
:
"postForm.id"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
isEdit
?
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"75px"
,
label
:
"pick用户:"
,
prop
:
"user_nums"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
rows
:
1
,
type
:
"number"
,
disabled
:
""
},
model
:{
value
:
t
.
postForm
.
user_nums
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"user_nums"
,
e
)},
expression
:
"postForm.user_nums"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
isEdit
?
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"85px"
,
label
:
"创建时间:"
,
prop
:
"create_time"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
staticStyle
:{
width
:
"170px"
},
attrs
:{
rows
:
1
,
type
:
"text"
,
disabled
:
""
},
model
:{
value
:
t
.
postForm
.
create_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"create_time"
,
e
)},
expression
:
"postForm.create_time"
}})],
1
):
t
.
_e
()],
1
)],
1
)],
1
)])],
1
),
t
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,{
staticClass
:
"postInfo-container-item"
,
attrs
:{
"label-width"
:
"45px"
,
label
:
"城市:"
,
prop
:
"city"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
"remote-method"
:
t
.
getRemoteCityList
,
filterable
:
""
,
remote
:
""
,
multiple
:
""
,
"value-key"
:
"id"
,
placeholder
:
"搜索地区"
},
model
:{
value
:
t
.
city
,
callback
:
function
(
e
){
t
.
city
=
e
},
expression
:
"city"
}},
t
.
_l
(
t
.
regionListOptions
,
function
(
t
,
e
){
return
i
(
"el-option"
,{
key
:
t
+
e
,
attrs
:{
label
:
t
,
value
:
t
}})}))],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,{
staticClass
:
"postInfo-container-item"
,
attrs
:{
"label-width"
:
"45px"
,
label
:
"小组:"
,
prop
:
"pick_group"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
"remote-method"
:
t
.
getRemoteGroupList
,
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
"reserve-keyword"
:
""
,
clearable
:
""
,
placeholder
:
"搜索小组"
,
loading
:
t
.
loading
,
"value-key"
:
"id"
},
model
:{
value
:
t
.
pick_group
,
callback
:
function
(
e
){
t
.
pick_group
=
e
},
expression
:
"pick_group"
}},
t
.
_l
(
t
.
groupListOptions
,
function
(
t
,
e
){
return
i
(
"el-option"
,{
key
:
t
+
e
,
attrs
:{
label
:
t
,
value
:
t
}})}))],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"45px"
,
label
:
"简介:"
,
prop
:
"desc"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
attrs
:{
rows
:
1
,
type
:
"textarea"
,
autosize
:
""
,
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
postForm
.
desc
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"desc"
,
e
)},
expression
:
"postForm.desc"
}}),
t
.
_v
(
" "
),
i
(
"span"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
contentShortLength
,
expression
:
"contentShortLength"
}],
staticClass
:
"word-counter"
},[
t
.
_v
(
t
.
_s
(
t
.
contentShortLength
)
+
"字"
)])],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"75px"
,
label
:
"是否在线:"
}},[
i
(
"el-radio-group"
,{
model
:{
value
:
t
.
postForm
.
is_online
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"is_online"
,
e
)},
expression
:
"postForm.is_online"
}},[
i
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
t
.
_v
(
"是"
)]),
t
.
_v
(
" "
),
i
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
t
.
_v
(
"否"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
1
==
this
.
postForm
.
pick_type_origin
&&
this
.
isEdit
?
i
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"50px"
},
attrs
:{
gutter
:
20
}},[
i
(
"el-card"
,{
staticClass
:
"box-card"
},[
i
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
i
(
"span"
,[
t
.
_v
(
"pick明星相关"
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
"margin-bottom"
:
"50px"
}},[
i
(
"div"
,{
staticClass
:
"filter-container"
}),
t
.
_v
(
" "
),
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
data
,
border
:
""
,
fit
:
""
,
"highlight-current-row"
:
""
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"明星ID"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"router-link"
,{
staticClass
:
"link-type"
,
attrs
:{
to
:
"/star/edit/"
+
e
.
row
.
celebrity_id
}},[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
celebrity_id
))])])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"明星名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
celebrity_name
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"pick值"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
pick_nums
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"100"
,
label
:
"添加pick值"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
edit
?[
i
(
"el-input"
,{
staticClass
:
"edit-input"
,
attrs
:{
type
:
"number"
,
size
:
"small"
},
model
:{
value
:
e
.
row
.
fake_pick_nums
,
callback
:
function
(
i
){
t
.
$set
(
e
.
row
,
"fake_pick_nums"
,
i
)},
expression
:
"scope.row.fake_pick_nums"
}}),
t
.
_v
(
" "
),
i
(
"el-button"
,{
staticClass
:
"cancel-btn"
,
attrs
:{
size
:
"small"
,
icon
:
"el-icon-refresh"
,
type
:
"warning"
},
on
:{
click
:
function
(
i
){
t
.
cancelEdit
(
e
.
row
)}}},[
t
.
_v
(
"取消
\n
"
)])]:
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
fake_pick_nums
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"操作"
,
width
:
"120"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
edit
?
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
size
:
"small"
,
icon
:
"el-icon-circle-check-outline"
},
on
:{
click
:
function
(
i
){
t
.
confirmEdit
(
e
.
row
)}}},[
t
.
_v
(
"确认
\n
"
)]):
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"small"
,
icon
:
"el-icon-edit"
},
on
:{
click
:
function
(
t
){
e
.
row
.
edit
=!
e
.
row
.
edit
}}},[
t
.
_v
(
"添加
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"pagination"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
total
>
0
,
expression
:
"total>0"
}],
staticStyle
:{
"margin-left"
:
"150px"
},
attrs
:{
total
:
t
.
total
,
page
:
t
.
listQuery
.
page
,
limit
:
t
.
listQuery
.
limit
},
on
:{
"update:page"
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"page"
,
e
)},
"update:limit"
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"limit"
,
e
)},
pagination
:
t
.
getList
}})],
1
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
0
==
this
.
postForm
.
pick_type_origin
&&
this
.
isEdit
?
i
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"50px"
},
attrs
:{
gutter
:
20
}},[
i
(
"el-card"
,{
staticClass
:
"box-card"
},[
i
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
i
(
"span"
,[
t
.
_v
(
"pick帖子相关"
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
"margin-bottom"
:
"50px"
}},[
i
(
"div"
,{
staticClass
:
"filter-container"
}),
t
.
_v
(
" "
),
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
data
,
border
:
""
,
fit
:
""
,
"highlight-current-row"
:
""
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"帖子ID"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"router-link"
,{
staticClass
:
"link-type"
,
attrs
:{
to
:
"/topic/edit/"
+
e
.
row
.
topic_id
}},[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
topic_id
))])])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"帖子名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
topic_name
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"pick值"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
pick_nums
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"100"
,
label
:
"添加pick值"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
edit
?[
i
(
"el-input"
,{
staticClass
:
"edit-input"
,
attrs
:{
type
:
"number"
,
size
:
"small"
},
model
:{
value
:
e
.
row
.
fake_pick_nums
,
callback
:
function
(
i
){
t
.
$set
(
e
.
row
,
"fake_pick_nums"
,
i
)},
expression
:
"scope.row.fake_pick_nums"
}}),
t
.
_v
(
" "
),
i
(
"el-button"
,{
staticClass
:
"cancel-btn"
,
attrs
:{
size
:
"small"
,
icon
:
"el-icon-refresh"
,
type
:
"warning"
},
on
:{
click
:
function
(
i
){
t
.
cancelEdit
(
e
.
row
)}}},[
t
.
_v
(
"取消
\n
"
)])]:
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
fake_pick_nums
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"操作"
,
width
:
"120"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
edit
?
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
size
:
"small"
,
icon
:
"el-icon-circle-check-outline"
},
on
:{
click
:
function
(
i
){
t
.
confirmEdit
(
e
.
row
)}}},[
t
.
_v
(
"确认
\n
"
)]):
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"small"
,
icon
:
"el-icon-edit"
},
on
:{
click
:
function
(
t
){
e
.
row
.
edit
=!
e
.
row
.
edit
}}},[
t
.
_v
(
"添加
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"pagination"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
total
>
0
,
expression
:
"total>0"
}],
staticStyle
:{
"margin-left"
:
"150px"
},
attrs
:{
total
:
t
.
total
,
page
:
t
.
listQuery
.
page
,
limit
:
t
.
listQuery
.
limit
},
on
:{
"update:page"
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"page"
,
e
)},
"update:limit"
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"limit"
,
e
)},
pagination
:
t
.
getList
}})],
1
)])],
1
):
t
.
_e
()],
1
)],
1
)],
1
)},[],
!
1
,
null
,
"c6265c80"
,
null
);
y
.
options
.
__file
=
"PickDetail.vue"
;
e
.
a
=
y
.
exports
}}]);
\ No newline at end of file
vu/dist/static/js/chunk-34c8.c040f043.js
deleted
100644 → 0
View file @
5d148272
(
window
.
webpackJsonp
=
window
.
webpackJsonp
||
[]).
push
([[
"chunk-34c8"
],{
"8YGp"
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"NvvU"
);
i
.
n
(
a
).
a
},
ESsw
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
d
(
e
,
"h"
,
function
(){
return
n
}),
i
.
d
(
e
,
"c"
,
function
(){
return
o
}),
i
.
d
(
e
,
"b"
,
function
(){
return
s
}),
i
.
d
(
e
,
"j"
,
function
(){
return
r
}),
i
.
d
(
e
,
"k"
,
function
(){
return
l
}),
i
.
d
(
e
,
"i"
,
function
(){
return
c
}),
i
.
d
(
e
,
"a"
,
function
(){
return
p
}),
i
.
d
(
e
,
"e"
,
function
(){
return
u
}),
i
.
d
(
e
,
"d"
,
function
(){
return
d
}),
i
.
d
(
e
,
"f"
,
function
(){
return
m
}),
i
.
d
(
e
,
"g"
,
function
(){
return
f
});
var
a
=
i
(
"t3Un"
);
function
n
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/list"
,
method
:
"get"
,
params
:
t
})}
function
o
(
t
){
return
console
.
log
(
t
),
Object
(
a
.
a
)({
url
:
"/api/pick/list/update"
,
method
:
"post"
,
data
:
t
})}
function
s
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/create"
,
method
:
"post"
,
data
:
t
})}
function
r
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/detail"
,
method
:
"get"
,
params
:{
id
:
t
}})}
function
l
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/topic/list"
,
method
:
"get"
,
params
:
t
})}
function
c
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/celebrity/list"
,
method
:
"get"
,
params
:
t
})}
function
p
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/add_fake_pick_nums"
,
method
:
"post"
,
data
:
t
})}
function
u
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/topic"
,
method
:
"post"
,
data
:
t
})}
function
d
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/celebrity"
,
method
:
"post"
,
data
:
t
})}
function
m
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/del_celebrity"
,
method
:
"post"
,
data
:
t
})}
function
f
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/pick/del_topic"
,
method
:
"post"
,
data
:
t
})}},
NvvU
:
function
(
t
,
e
,
i
){},
Y5bG
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
d
(
e
,
"a"
,
function
(){
return
n
}),
Math
.
easeInOutQuad
=
function
(
t
,
e
,
i
,
a
){
return
(
t
/=
a
/
2
)
<
1
?
i
/
2
*
t
*
t
+
e
:
-
i
/
2
*
(
--
t
*
(
t
-
2
)
-
1
)
+
e
};
var
a
=
window
.
requestAnimationFrame
||
window
.
webkitRequestAnimationFrame
||
window
.
mozRequestAnimationFrame
||
function
(
t
){
window
.
setTimeout
(
t
,
1
e3
/
60
)};
function
n
(
t
,
e
,
i
){
var
n
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
parentNode
.
scrollTop
||
document
.
body
.
scrollTop
,
o
=
t
-
n
,
s
=
0
;
e
=
void
0
===
e
?
500
:
e
;
!
function
t
(){
s
+=
20
,
function
(
t
){
document
.
documentElement
.
scrollTop
=
t
,
document
.
body
.
parentNode
.
scrollTop
=
t
,
document
.
body
.
scrollTop
=
t
}(
Math
.
easeInOutQuad
(
s
,
n
,
o
,
e
)),
s
<
e
?
a
(
t
):
i
&&
"function"
==
typeof
i
&&
i
()}()}},
ZySA
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"P2sY"
),
n
=
i
.
n
(
a
),
o
=
(
i
(
"jUE0"
),{
bind
:
function
(
t
,
e
){
t
.
addEventListener
(
"click"
,
function
(
i
){
var
a
=
n
()({},
e
.
value
),
o
=
n
()({
ele
:
t
,
type
:
"hit"
,
color
:
"rgba(0, 0, 0, 0.15)"
},
a
),
s
=
o
.
ele
;
if
(
s
){
s
.
style
.
position
=
"relative"
,
s
.
style
.
overflow
=
"hidden"
;
var
r
=
s
.
getBoundingClientRect
(),
l
=
s
.
querySelector
(
".waves-ripple"
);
switch
(
l
?
l
.
className
=
"waves-ripple"
:((
l
=
document
.
createElement
(
"span"
)).
className
=
"waves-ripple"
,
l
.
style
.
height
=
l
.
style
.
width
=
Math
.
max
(
r
.
width
,
r
.
height
)
+
"px"
,
s
.
appendChild
(
l
)),
o
.
type
){
case
"center"
:
l
.
style
.
top
=
r
.
height
/
2
-
l
.
offsetHeight
/
2
+
"px"
,
l
.
style
.
left
=
r
.
width
/
2
-
l
.
offsetWidth
/
2
+
"px"
;
break
;
default
:
l
.
style
.
top
=
(
i
.
pageY
-
r
.
top
-
l
.
offsetHeight
/
2
-
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
)
+
"px"
,
l
.
style
.
left
=
(
i
.
pageX
-
r
.
left
-
l
.
offsetWidth
/
2
-
document
.
documentElement
.
scrollLeft
||
document
.
body
.
scrollLeft
)
+
"px"
}
return
l
.
style
.
backgroundColor
=
o
.
color
,
l
.
className
=
"waves-ripple z-active"
,
!
1
}},
!
1
)}}),
s
=
function
(
t
){
t
.
directive
(
"waves"
,
o
)};
window
.
Vue
&&
(
window
.
waves
=
o
,
Vue
.
use
(
s
)),
o
.
install
=
s
;
e
.
a
=
o
},
"gDS+"
:
function
(
t
,
e
,
i
){
t
.
exports
=
{
default
:
i
(
"oh+g"
),
__esModule
:
!
0
}},
gg54
:
function
(
t
,
e
,
i
){
"use strict"
;
i
.
d
(
e
,
"g"
,
function
(){
return
n
}),
i
.
d
(
e
,
"c"
,
function
(){
return
o
}),
i
.
d
(
e
,
"e"
,
function
(){
return
s
}),
i
.
d
(
e
,
"d"
,
function
(){
return
r
}),
i
.
d
(
e
,
"b"
,
function
(){
return
l
}),
i
.
d
(
e
,
"a"
,
function
(){
return
c
}),
i
.
d
(
e
,
"f"
,
function
(){
return
p
});
var
a
=
i
(
"t3Un"
);
function
n
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/user"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
o
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/group"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
s
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/tag"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
r
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/celebrity"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
l
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/city"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
c
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/celebrity"
,
method
:
"get"
,
params
:{
name
:
t
}})}
function
p
(
t
){
return
Object
(
a
.
a
)({
url
:
"/api/search/topic"
,
method
:
"get"
,
params
:{
name
:
t
}})}},
jUE0
:
function
(
t
,
e
,
i
){},
"oh+g"
:
function
(
t
,
e
,
i
){
var
a
=
i
(
"WEpk"
),
n
=
a
.
JSON
||
(
a
.
JSON
=
{
stringify
:
JSON
.
stringify
});
t
.
exports
=
function
(
t
){
return
n
.
stringify
.
apply
(
n
,
arguments
)}},
tThj
:
function
(
t
,
e
,
i
){
"use strict"
;
var
a
=
i
(
"m1cH"
),
n
=
i
.
n
(
a
),
o
=
i
(
"gDS+"
),
s
=
i
.
n
(
o
),
r
=
i
(
"P2sY"
),
l
=
i
.
n
(
r
),
c
=
i
(
"Grqa"
),
p
=
i
(
"uARZ"
),
u
=
i
(
"Mz3J"
),
d
=
i
(
"ZySA"
),
m
=
i
(
"ESsw"
),
f
=
i
(
"gg54"
),
_
=
(
i
(
"7Qib"
),{
status
:
"draft"
,
name
:
""
,
desc
:
""
,
gender
:
""
,
city
:[],
pick_group
:[],
pick_type
:
""
,
position
:
""
,
is_online
:
1
}),
h
=
{
name
:
"PickDetail"
,
components
:{
MDinput
:
c
.
a
,
Sticky
:
p
.
a
,
Pagination
:
u
.
a
},
directives
:{
waves
:
d
.
a
},
props
:{
isEdit
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
var
t
=
this
,
e
=
function
(
e
,
i
,
a
){
""
===
i
?(
t
.
$message
({
message
:
e
.
field
+
"为必传项"
,
type
:
"error"
}),
a
(
new
Error
(
e
.
field
+
"为必传项"
))):
a
()};
return
{
postForm
:
l
()({},
_
),
loading
:
!
1
,
city
:[],
pick_group
:[],
pick_type_origin
:
""
,
celebrity_id
:
""
,
topic_id
:
""
,
del_list
:[],
regionListOptions
:[],
groupListOptions
:[],
celebrityListOptions
:[],
topicListOptions
:[],
GenderTypeOptions
:[{
key
:
2
,
display_name
:
"全部"
},{
key
:
0
,
display_name
:
"男"
},{
key
:
1
,
display_name
:
"女"
}],
PickTypeOptions
:[{
key
:
1
,
display_name
:
"明星打榜"
},{
key
:
0
,
display_name
:
"PICK帖子"
}],
rules
:{
name
:[{
validator
:
e
,
trigger
:
"blur"
}],
desc
:[{
validator
:
e
,
trigger
:
"blur"
}],
gender
:[{
validator
:
e
,
trigger
:
"blur"
}],
city
:[{
validator
:
e
,
trigger
:
"blur"
}],
pick_type
:[{
validator
:
e
,
trigger
:
"blur"
}]},
tempRoute
:{},
listQuery
:{
id
:
""
,
pick_type
:
""
,
page
:
1
,
limit
:
10
,
filter
:{}},
list
:
null
,
total
:
0
,
listLoading
:
!
0
,
origin_len
:
0
,
topic_ids
:[],
celebrity_ids
:[],
new_ids
:[],
del_ids
:[]}},
computed
:{
contentShortLength
:
function
(){
return
this
.
postForm
.
desc
.
length
},
data
:
function
(){
var
t
=
this
;
return
this
.
list
.
filter
(
function
(
e
){
for
(
var
i
=!
1
,
a
=
0
;
a
<
t
.
del_list
.
length
;
a
++
)
if
(
e
.
topic_id
==
t
.
del_list
[
a
].
topic_id
){
i
=!
0
;
break
}
if
(
!
i
)
return
e
})}},
created
:
function
(){
if
(
this
.
isEdit
){
var
t
=
this
.
$route
.
params
&&
this
.
$route
.
params
.
id
;
this
.
fetchData
(
t
),
this
.
getList
()}
else
this
.
postForm
=
l
()({},
_
);
this
.
tempRoute
=
l
()({},
this
.
$route
)},
methods
:{
fetchData
:
function
(
t
){
var
e
=
this
;
Object
(
m
.
j
)(
t
).
then
(
function
(
t
){
for
(
var
i
=
t
.
data
.
data
.
data
,
a
=
0
;
a
<
i
.
pick_group
.
length
;
a
++
)
e
.
pick_group
.
push
(
i
.
pick_group
[
a
].
id
+
":"
+
i
.
pick_group
[
a
].
name
);
for
(
var
n
=
0
;
n
<
i
.
region
.
length
;
n
++
)
e
.
city
.
push
(
i
.
region
[
n
].
id
+
":"
+
i
.
region
[
n
].
name
);
e
.
postForm
=
i
,
e
.
listQuery
.
pick_type
=
i
.
pick_type_origin
}).
catch
(
function
(
t
){
console
.
log
(
t
)})},
submitForm
:
function
(){
var
t
=
this
;
this
.
$refs
.
postForm
.
validate
(
function
(
e
){
return
e
?(
t
.
loading
=!
0
,
0
==
t
.
city
.
length
?(
t
.
$message
.
error
(
"城市必填"
),
t
.
loading
=!
1
,
!
1
):(
t
.
postForm
.
city
=
s
()(
t
.
city
),
t
.
postForm
.
pick_group
=
s
()(
t
.
pick_group
),
Object
(
m
.
b
)(
t
.
postForm
).
then
(
function
(
e
){
t
.
$notify
({
title
:
"成功"
,
message
:
e
.
data
.
data
.
message
,
type
:
"success"
,
duration
:
2
e3
}),
setTimeout
(
function
(){
t
.
$router
.
push
(
"/pick/list"
)},
1
e3
)}).
catch
(
function
(
e
){
t
.
$notify
({
title
:
"失败"
,
message
:
"操作失败"
,
type
:
"danger"
,
duration
:
2
e3
})}),
t
.
postForm
.
status
=
"published"
,
void
(
t
.
loading
=!
1
))):(
console
.
log
(
"error submit!!"
),
!
1
)})},
getRemoteCityList
:
function
(
t
){
var
e
=
this
;
Object
(
f
.
b
)(
t
).
then
(
function
(
t
){
t
.
data
.
data
.
data
&&
(
e
.
regionListOptions
=
t
.
data
.
data
.
data
)})},
getRemoteGroupList
:
function
(
t
){
var
e
=
this
;
Object
(
f
.
c
)(
t
).
then
(
function
(
t
){
t
.
data
.
data
.
data
&&
(
e
.
groupListOptions
=
t
.
data
.
data
.
data
)})},
getRemoteTopicList
:
function
(
t
){
var
e
=
this
;
Object
(
f
.
f
)(
t
).
then
(
function
(
t
){
t
.
data
.
data
.
data
&&
(
e
.
topicListOptions
=
t
.
data
.
data
.
data
)})},
getRemoteCelebrityList
:
function
(
t
){
var
e
=
this
;
Object
(
f
.
a
)(
t
).
then
(
function
(
t
){
t
.
data
.
data
.
data
&&
(
e
.
celebrityListOptions
=
t
.
data
.
data
.
data
)})},
handleSelectionChange
:
function
(
t
){
this
.
multipleSelection
=
t
},
getList
:
function
(){
var
t
=
this
;
this
.
listLoading
=!
0
,
this
.
listQuery
.
id
=
this
.
$route
.
params
&&
this
.
$route
.
params
.
id
,
"1"
===
this
.
$route
.
query
.
pick_type
?
Object
(
m
.
i
)(
this
.
listQuery
).
then
(
function
(
e
){
var
i
=
e
.
data
.
data
.
data
;
t
.
list
=
i
.
map
(
function
(
e
){
return
t
.
$set
(
e
,
"edit"
,
!
1
),
e
.
original_fake_pick_nums
=
e
.
fake_pick_nums
,
e
}),
t
.
total
=
e
.
data
.
data
.
total
,
t
.
origin_len
=
e
.
data
.
data
.
total
,
t
.
listLoading
=!
1
}):
Object
(
m
.
k
)(
this
.
listQuery
).
then
(
function
(
e
){
var
i
=
e
.
data
.
data
.
data
;
t
.
list
=
i
.
map
(
function
(
e
){
return
t
.
$set
(
e
,
"edit"
,
!
1
),
e
.
original_fake_pick_nums
=
e
.
fake_pick_nums
,
e
}),
t
.
total
=
e
.
data
.
data
.
total
,
t
.
origin_len
=
e
.
data
.
data
.
total
,
t
.
listLoading
=!
1
})},
cancelEdit
:
function
(
t
){
t
.
fake_pick_nums
=
t
.
original_fake_pick_nums
,
t
.
edit
=!
1
,
this
.
$message
({
message
:
"取消成功"
,
type
:
"warning"
})},
confirmEdit
:
function
(
t
){
t
.
edit
=!
1
,
t
.
original_fake_pick_nums
=
t
.
fake_pick_nums
,
this
.
$message
({
message
:
"添加成功"
,
type
:
"success"
}),
Object
(
m
.
a
)(
t
).
then
(
function
(
t
){}).
catch
(
function
(
t
){})},
append
:
function
(){
var
t
=
this
;
if
(
0
==
this
.
postForm
.
pick_type_origin
){
if
(
""
==
this
.
topic_id
)
return
this
.
$message
.
error
(
"请输入搜索内容~~"
),
this
.
topic_id
=
""
,
!
1
;
var
e
=
{
topic_id
:
this
.
topic_id
,
pick_id
:
this
.
postForm
.
id
};
Object
(
m
.
e
)(
e
).
then
(
function
(
e
){
t
.
$message
.
success
(
e
.
data
.
data
.
message
)}),
this
.
topic_id
=
""
,
setTimeout
(
function
(){
t
.
$router
.
go
(
0
)},
1300
)}
else
if
(
1
==
this
.
postForm
.
pick_type_origin
){
if
(
""
==
this
.
celebrity_id
)
return
this
.
$message
.
error
(
"请输入搜索内容~~"
),
this
.
celebrity_id
=
""
,
!
1
;
var
i
=
{
celebrity_id
:
this
.
celebrity_id
,
pick_id
:
this
.
postForm
.
id
};
Object
(
m
.
d
)(
i
).
then
(
function
(
e
){
t
.
$message
.
success
(
e
.
data
.
data
.
message
)}),
this
.
celebrity_id
=
""
,
setTimeout
(
function
(){
t
.
$router
.
go
(
0
)},
1300
)}},
del
:
function
(){
var
t
,
e
=
this
;
this
.
total
=
this
.
origin_len
-
this
.
del_list
.
length
;
var
i
=
[];
if
((
t
=
this
.
del_list
).
push
.
apply
(
t
,
n
()(
this
.
multipleSelection
)),
0
==
this
.
postForm
.
pick_type_origin
){
for
(
var
a
=
0
;
a
<
this
.
multipleSelection
.
length
;
a
++
)
i
.
push
(
this
.
multipleSelection
[
a
].
topic_id
);
var
o
=
{
del_ids
:
s
()(
i
),
pick_id
:
this
.
postForm
.
id
};
Object
(
m
.
g
)(
o
).
then
(
function
(
t
){
e
.
$message
.
success
(
"操作成功"
),
setTimeout
(
function
(){
e
.
$router
.
go
(
0
)},
1300
)})}
else
{
for
(
var
r
=
0
;
r
<
this
.
multipleSelection
.
length
;
r
++
)
i
.
push
(
this
.
multipleSelection
[
r
].
celebrity_id
);
var
l
=
{
del_ids
:
s
()(
i
),
pick_id
:
this
.
postForm
.
id
};
Object
(
m
.
f
)(
l
).
then
(
function
(
t
){
e
.
$message
.
success
(
"操作成功"
),
setTimeout
(
function
(){
e
.
$router
.
go
(
0
)},
1300
)})}}}},
g
=
(
i
(
"8YGp"
),
i
(
"KHd+"
)),
y
=
Object
(
g
.
a
)(
h
,
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"createPost-container"
},[
i
(
"el-form"
,{
ref
:
"postForm"
,
staticClass
:
"form-container"
,
attrs
:{
model
:
t
.
postForm
,
rules
:
t
.
rules
}},[
i
(
"sticky"
,{
attrs
:{
"class-name"
:
"sub-navbar"
}},[
i
(
"el-button"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
t
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
"margin-left"
:
"10px"
},
attrs
:{
type
:
"success"
},
on
:{
click
:
t
.
submitForm
}},[
t
.
_v
(
"保存
\n
"
)])],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"createPost-main-container"
},[
i
(
"el-row"
,{
attrs
:{
gutter
:
20
}},[
i
(
"el-card"
,{
staticClass
:
"box-card"
},[
i
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
i
(
"span"
,[
t
.
_v
(
"pick相关"
)])]),
t
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
24
}},[
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
prop
:
"name"
}},[
i
(
"MDinput"
,{
attrs
:{
maxlength
:
100
,
name
:
"name"
,
required
:
""
},
model
:{
value
:
t
.
postForm
.
name
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"name"
,
e
)},
expression
:
"postForm.name"
}},[
t
.
_v
(
"
\n
pick名称
\n
"
)])],
1
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"postInfo-container"
},[
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
staticClass
:
"postInfo-container-item"
,
attrs
:{
"label-width"
:
"45px"
,
label
:
"性别:"
,
prop
:
"gender"
}},[
i
(
"el-select"
,{
staticClass
:
"postInfo-container-item"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"性别:"
,
clearable
:
""
},
model
:{
value
:
t
.
postForm
.
gender
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"gender"
,
e
)},
expression
:
"postForm.gender"
}},
t
.
_l
(
t
.
GenderTypeOptions
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
key
,
attrs
:{
label
:
t
.
display_name
,
value
:
t
.
key
}})}))],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
staticClass
:
"postInfo-container-item"
,
attrs
:{
"label-width"
:
"60px"
,
label
:
"属性:"
,
prop
:
"pick_type"
}},[
t
.
isEdit
?
i
(
"el-select"
,{
staticClass
:
"postInfo-container-item"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"属性:"
,
clearable
:
""
,
disabled
:
""
},
model
:{
value
:
t
.
postForm
.
pick_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"pick_type"
,
e
)},
expression
:
"postForm.pick_type"
}},
t
.
_l
(
t
.
PickTypeOptions
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
key
,
attrs
:{
label
:
t
.
display_name
,
value
:
t
.
key
}})})):
i
(
"el-select"
,{
staticClass
:
"postInfo-container-item"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
placeholder
:
"属性:"
,
clearable
:
""
},
model
:{
value
:
t
.
postForm
.
pick_type
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"pick_type"
,
e
)},
expression
:
"postForm.pick_type"
}},
t
.
_l
(
t
.
PickTypeOptions
,
function
(
t
){
return
i
(
"el-option"
,{
key
:
t
.
key
,
attrs
:{
label
:
t
.
display_name
,
value
:
t
.
key
}})}))],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"45px"
,
label
:
"位置:"
,
prop
:
"position"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
rows
:
1
,
type
:
"number"
,
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
postForm
.
position
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"position"
,
e
)},
expression
:
"postForm.position"
}})],
1
)],
1
)],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
24
}},[
i
(
"div"
,{
staticClass
:
"postInfo-container"
},[
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
isEdit
?
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"45px"
,
label
:
"pickid:"
,
prop
:
"id"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
rows
:
1
,
type
:
"number"
,
disabled
:
""
},
model
:{
value
:
t
.
postForm
.
id
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"id"
,
e
)},
expression
:
"postForm.id"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
isEdit
?
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"75px"
,
label
:
"pick用户:"
,
prop
:
"user_nums"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
staticStyle
:{
width
:
"120px"
},
attrs
:{
rows
:
1
,
type
:
"number"
,
disabled
:
""
},
model
:{
value
:
t
.
postForm
.
user_nums
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"user_nums"
,
e
)},
expression
:
"postForm.user_nums"
}})],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
8
}},[
t
.
isEdit
?
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"85px"
,
label
:
"创建时间:"
,
prop
:
"create_time"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
staticStyle
:{
width
:
"170px"
},
attrs
:{
rows
:
1
,
type
:
"text"
,
disabled
:
""
},
model
:{
value
:
t
.
postForm
.
create_time
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"create_time"
,
e
)},
expression
:
"postForm.create_time"
}})],
1
):
t
.
_e
()],
1
)],
1
)],
1
)])],
1
),
t
.
_v
(
" "
),
i
(
"el-row"
,[
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,{
staticClass
:
"postInfo-container-item"
,
attrs
:{
"label-width"
:
"45px"
,
label
:
"城市:"
,
prop
:
"city"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
"remote-method"
:
t
.
getRemoteCityList
,
filterable
:
""
,
remote
:
""
,
multiple
:
""
,
"value-key"
:
"id"
,
placeholder
:
"搜索地区"
},
model
:{
value
:
t
.
city
,
callback
:
function
(
e
){
t
.
city
=
e
},
expression
:
"city"
}},
t
.
_l
(
t
.
regionListOptions
,
function
(
t
,
e
){
return
i
(
"el-option"
,{
key
:
t
+
e
,
attrs
:{
label
:
t
,
value
:
t
}})}))],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-col"
,{
attrs
:{
span
:
12
}},[
i
(
"el-form-item"
,{
staticClass
:
"postInfo-container-item"
,
attrs
:{
"label-width"
:
"45px"
,
label
:
"小组:"
,
prop
:
"pick_group"
}},[
i
(
"el-select"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
"remote-method"
:
t
.
getRemoteGroupList
,
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
"reserve-keyword"
:
""
,
clearable
:
""
,
placeholder
:
"搜索小组"
,
loading
:
t
.
loading
,
"value-key"
:
"id"
},
model
:{
value
:
t
.
pick_group
,
callback
:
function
(
e
){
t
.
pick_group
=
e
},
expression
:
"pick_group"
}},
t
.
_l
(
t
.
groupListOptions
,
function
(
t
,
e
){
return
i
(
"el-option"
,{
key
:
t
+
e
,
attrs
:{
label
:
t
,
value
:
t
}})}))],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"45px"
,
label
:
"简介:"
,
prop
:
"desc"
}},[
i
(
"el-input"
,{
staticClass
:
"article-textarea"
,
attrs
:{
rows
:
1
,
type
:
"textarea"
,
autosize
:
""
,
placeholder
:
"请输入内容"
},
model
:{
value
:
t
.
postForm
.
desc
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"desc"
,
e
)},
expression
:
"postForm.desc"
}}),
t
.
_v
(
" "
),
i
(
"span"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
contentShortLength
,
expression
:
"contentShortLength"
}],
staticClass
:
"word-counter"
},[
t
.
_v
(
t
.
_s
(
t
.
contentShortLength
)
+
"字"
)])],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
staticStyle
:{
"margin-bottom"
:
"40px"
},
attrs
:{
"label-width"
:
"45px"
,
label
:
"是否在线:"
}},[
i
(
"el-radio-group"
,{
model
:{
value
:
t
.
postForm
.
is_online
,
callback
:
function
(
e
){
t
.
$set
(
t
.
postForm
,
"is_online"
,
e
)},
expression
:
"postForm.is_online"
}},[
i
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
t
.
_v
(
"是"
)]),
t
.
_v
(
" "
),
i
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
t
.
_v
(
"否"
)])],
1
)],
1
)],
1
)],
1
),
t
.
_v
(
" "
),
1
==
this
.
postForm
.
pick_type_origin
&&
this
.
isEdit
?
i
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"50px"
},
attrs
:{
gutter
:
20
}},[
i
(
"el-card"
,{
staticClass
:
"box-card"
},[
i
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
i
(
"span"
,[
t
.
_v
(
"pick明星相关"
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
"margin-bottom"
:
"50px"
}},[
i
(
"div"
,{
staticClass
:
"filter-container"
},[
i
(
"el-button"
,{
directives
:[{
name
:
"waves"
,
rawName
:
"v-waves"
}],
staticClass
:
"filter-item"
,
attrs
:{
type
:
"primary"
,
icon
:
"el-icon-delete"
},
on
:{
click
:
t
.
del
}},[
t
.
_v
(
"移除
\n
"
)])],
1
),
t
.
_v
(
" "
),
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
data
,
border
:
""
,
fit
:
""
,
"highlight-current-row"
:
""
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"明星ID"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"router-link"
,{
staticClass
:
"link-type"
,
attrs
:{
to
:
"/star/edit/"
+
e
.
row
.
celebrity_id
}},[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
celebrity_id
))])])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"明星名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
celebrity_name
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"pick值"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
pick_nums
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"100"
,
label
:
"添加pick值"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
edit
?[
i
(
"el-input"
,{
staticClass
:
"edit-input"
,
attrs
:{
type
:
"number"
,
size
:
"small"
},
model
:{
value
:
e
.
row
.
fake_pick_nums
,
callback
:
function
(
i
){
t
.
$set
(
e
.
row
,
"fake_pick_nums"
,
i
)},
expression
:
"scope.row.fake_pick_nums"
}}),
t
.
_v
(
" "
),
i
(
"el-button"
,{
staticClass
:
"cancel-btn"
,
attrs
:{
size
:
"small"
,
icon
:
"el-icon-refresh"
,
type
:
"warning"
},
on
:{
click
:
function
(
i
){
t
.
cancelEdit
(
e
.
row
)}}},[
t
.
_v
(
"取消
\n
"
)])]:
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
fake_pick_nums
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"操作"
,
width
:
"120"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
edit
?
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
size
:
"small"
,
icon
:
"el-icon-circle-check-outline"
},
on
:{
click
:
function
(
i
){
t
.
confirmEdit
(
e
.
row
)}}},[
t
.
_v
(
"确认
\n
"
)]):
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"small"
,
icon
:
"el-icon-edit"
},
on
:{
click
:
function
(
t
){
e
.
row
.
edit
=!
e
.
row
.
edit
}}},[
t
.
_v
(
"添加
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"pagination"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
total
>
0
,
expression
:
"total>0"
}],
staticStyle
:{
"margin-left"
:
"150px"
},
attrs
:{
total
:
t
.
total
,
page
:
t
.
listQuery
.
page
,
limit
:
t
.
listQuery
.
limit
},
on
:{
"update:page"
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"page"
,
e
)},
"update:limit"
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"limit"
,
e
)},
pagination
:
t
.
getList
}})],
1
)])],
1
):
t
.
_e
(),
t
.
_v
(
" "
),
0
==
this
.
postForm
.
pick_type_origin
&&
this
.
isEdit
?
i
(
"el-row"
,{
staticStyle
:{
"margin-top"
:
"50px"
},
attrs
:{
gutter
:
20
}},[
i
(
"el-card"
,{
staticClass
:
"box-card"
},[
i
(
"div"
,{
staticClass
:
"clearfix"
,
attrs
:{
slot
:
"header"
},
slot
:
"header"
},[
i
(
"span"
,[
t
.
_v
(
"pick帖子相关"
)])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticStyle
:{
"margin-bottom"
:
"50px"
}},[
i
(
"div"
,{
staticClass
:
"filter-container"
},[
i
(
"el-button"
,{
directives
:[{
name
:
"waves"
,
rawName
:
"v-waves"
}],
staticClass
:
"filter-item"
,
attrs
:{
type
:
"primary"
,
icon
:
"el-icon-delete"
},
on
:{
click
:
t
.
del
}},[
t
.
_v
(
"移除
\n
"
)])],
1
),
t
.
_v
(
" "
),
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
data
,
border
:
""
,
fit
:
""
,
"highlight-current-row"
:
""
},
on
:{
"selection-change"
:
t
.
handleSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
align
:
"center"
}}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"帖子ID"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"router-link"
,{
staticClass
:
"link-type"
,
attrs
:{
to
:
"/topic/edit/"
+
e
.
row
.
topic_id
}},[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
topic_id
))])])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"帖子名称"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
topic_name
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"pick值"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
pick_nums
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
"min-width"
:
"100"
,
label
:
"添加pick值"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
edit
?[
i
(
"el-input"
,{
staticClass
:
"edit-input"
,
attrs
:{
type
:
"number"
,
size
:
"small"
},
model
:{
value
:
e
.
row
.
fake_pick_nums
,
callback
:
function
(
i
){
t
.
$set
(
e
.
row
,
"fake_pick_nums"
,
i
)},
expression
:
"scope.row.fake_pick_nums"
}}),
t
.
_v
(
" "
),
i
(
"el-button"
,{
staticClass
:
"cancel-btn"
,
attrs
:{
size
:
"small"
,
icon
:
"el-icon-refresh"
,
type
:
"warning"
},
on
:{
click
:
function
(
i
){
t
.
cancelEdit
(
e
.
row
)}}},[
t
.
_v
(
"取消
\n
"
)])]:
i
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
row
.
fake_pick_nums
))])]}}])}),
t
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
align
:
"center"
,
label
:
"操作"
,
width
:
"120"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
e
.
row
.
edit
?
i
(
"el-button"
,{
attrs
:{
type
:
"success"
,
size
:
"small"
,
icon
:
"el-icon-circle-check-outline"
},
on
:{
click
:
function
(
i
){
t
.
confirmEdit
(
e
.
row
)}}},[
t
.
_v
(
"确认
\n
"
)]):
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
size
:
"small"
,
icon
:
"el-icon-edit"
},
on
:{
click
:
function
(
t
){
e
.
row
.
edit
=!
e
.
row
.
edit
}}},[
t
.
_v
(
"添加
\n
"
)])]}}])})],
1
),
t
.
_v
(
" "
),
i
(
"pagination"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
total
>
0
,
expression
:
"total>0"
}],
staticStyle
:{
"margin-left"
:
"150px"
},
attrs
:{
total
:
t
.
total
,
page
:
t
.
listQuery
.
page
,
limit
:
t
.
listQuery
.
limit
},
on
:{
"update:page"
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"page"
,
e
)},
"update:limit"
:
function
(
e
){
t
.
$set
(
t
.
listQuery
,
"limit"
,
e
)},
pagination
:
t
.
getList
}})],
1
)])],
1
):
t
.
_e
()],
1
)],
1
)],
1
)},[],
!
1
,
null
,
"2efe718f"
,
null
);
y
.
options
.
__file
=
"PickDetail.vue"
;
e
.
a
=
y
.
exports
}}]);
\ No newline at end of file
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