Commit be347bf7 authored by 许俊鹏's avatar 许俊鹏

处理冲突

parents 5c421f29 c22c91d5
...@@ -70,7 +70,7 @@ class StarListView(APIView): ...@@ -70,7 +70,7 @@ class StarListView(APIView):
else: else:
updates['is_online'] = 1 updates['is_online'] = 1
try: try:
self.rpc['mercury/face/star/batch/update'](ids=ids, updates=updates).unwrap() self.rpc['mercury/face/batch/update'](ids=ids, updates=updates).unwrap()
except Exception as e: except Exception as e:
error_logger.error(u'批量更新明星列表失败 %s', e) error_logger.error(u'批量更新明星列表失败 %s', e)
raise raise
......
...@@ -89,3 +89,15 @@ class TopicSearchView(APIView): ...@@ -89,3 +89,15 @@ class TopicSearchView(APIView):
return { return {
'data': ['{id}:{name}'.format(id=search_data['id'], name=search_data['name']) for search_data in data] 'data': ['{id}:{name}'.format(id=search_data['id'], name=search_data['name']) for search_data in data]
} }
class TagTypeSearchView(APIView):
def get(self, request):
name = request.GET.get('name')
try:
data = self.rpc['venus/sun/tag/tagtype_search'](name=name).unwrap()
except Exception as e:
raise e
return {
'data': ['{id}:{name}'.format(id=search_data['id'], name=search_data['name']) for search_data in data]
}
\ No newline at end of file
...@@ -56,16 +56,75 @@ class TagUpdateOrCreateView(APIView): ...@@ -56,16 +56,75 @@ class TagUpdateOrCreateView(APIView):
id = request.POST.get('id') id = request.POST.get('id')
down_tags = list(set(map(lambda x: x.split(":")[0], json.loads((request.POST.get('down_tags', '[]')))))) down_tags = list(set(map(lambda x: x.split(":")[0], json.loads((request.POST.get('down_tags', '[]'))))))
up_tags = list(set(map(lambda x: x.split(":")[0], json.loads((request.POST.get('up_tags', '[]')))))) up_tags = list(set(map(lambda x: x.split(":")[0], json.loads((request.POST.get('up_tags', '[]'))))))
tagtypes = list(set(map(lambda x: x.split(":")[0], json.loads((request.POST.get('tagtypes', '[]'))))))
data = { data = {
'name': request.POST.get('name'), 'name': request.POST.get('name'),
'description': request.POST.get('description'), 'description': request.POST.get('description'),
'down_tags': down_tags, 'down_tags': down_tags,
'up_tags': up_tags, 'up_tags': up_tags,
'tagtypes': tagtypes,
'icon_url': request.POST.get('icon_url', '')[:-2]
} }
try: try:
data = self.rpc['venus/sun/tag/edit'](id=id, data=data).unwrap() data = self.rpc['venus/sun/tag/edit'](id=id, data=data).unwrap()
except Exception as e: except Exception as e:
error_logger.error(u'创建/编辑标签%d信息失败%s' % (id, e)) error_logger.error(u'创建/编辑标签%d信息失败%s' % (id, e))
raise raise
return data
class TagTypeListView(APIView):
def get(self, request):
offset = int(request.GET.get('offset', 1))
limit = int(request.GET.get('limit', 10))
filter = self.handle_filter(request.GET.get('filter', ""))
try:
data = self.rpc['venus/sun/tag/tagtype/list'](offset=(offset - 1) * limit, limit=limit, filters=filter).unwrap()
except Exception as e:
error_logger.error(u'获取标签类型列表失败%s', e)
raise
return data
def post(self, request):
ids = request.POST.get('ids', '').split()
update = int(request.POST.get('update', ''))
updates = {
'is_online': bool(update)
}
try:
self.rpc['venus/sun/tag/tagtype/batch/update'](updates=updates, ids=ids).unwrap()
except Exception as e:
error_logger.error(u'批量更新标签类型列表失败%s', e)
raise
return {
"message": "更新成功"
}
class TagTypeUpdateOrCreateView(APIView):
def get(self, request):
id = request.GET.get('id')
try:
data = self.rpc['venus/sun/tag/tagtype/get'](id=id).unwrap()
except Exception as e:
error_logger.error(u'获取标签%d信息失败%s'%(id, e))
raise
if not data:
data = {}
else:
pass
return {'data': data}
def post(self, request):
id = request.POST.get('id')
data = {
'name': request.POST.get('name'),
}
try:
data = self.rpc['venus/sun/tag/tagtype/edit'](id=id, data=data).unwrap()
except Exception as e:
error_logger.error(u'创建/编辑标签类型%d信息失败%s' % (id, e))
raise
return data return data
\ No newline at end of file
...@@ -53,6 +53,7 @@ class TopicUpdateOrCreateView(APIView): ...@@ -53,6 +53,7 @@ class TopicUpdateOrCreateView(APIView):
'star_id': request.POST.get('star', '').split(':')[0], 'star_id': request.POST.get('star', '').split(':')[0],
'tag_ids': tag_ids, 'tag_ids': tag_ids,
'is_online': int(request.POST.get('is_online')), 'is_online': int(request.POST.get('is_online')),
'drop_score': int(request.POST.get('drop_score')),
} }
try: try:
self.rpc['venus/sun/topic/edit'](id=id, data=data).unwrap() self.rpc['venus/sun/topic/edit'](id=id, data=data).unwrap()
......
...@@ -88,6 +88,12 @@ urlpatterns = [ ...@@ -88,6 +88,12 @@ urlpatterns = [
url(r'^tag/create$', TagUpdateOrCreateView.as_view()), url(r'^tag/create$', TagUpdateOrCreateView.as_view()),
url(r'^tag/detail$', TagUpdateOrCreateView.as_view()), url(r'^tag/detail$', TagUpdateOrCreateView.as_view()),
# 标签类型相关
url(r'^tag/tagtype/list$', TagTypeListView.as_view()),
url(r'^tag/tagtype/list/update$', TagTypeListView.as_view()),
url(r'^tag/tagtype/create$', TagTypeUpdateOrCreateView.as_view()),
url(r'^tag/tagtype/detail$', TagTypeUpdateOrCreateView.as_view()),
url(r'^face/star/create$', FaceStarEdit.as_view()), url(r'^face/star/create$', FaceStarEdit.as_view()),
url(r'^face/star/list$', StarListView.as_view()), url(r'^face/star/list$', StarListView.as_view()),
url(r'^face/star/list/update$', StarListView.as_view()), url(r'^face/star/list/update$', StarListView.as_view()),
...@@ -101,12 +107,13 @@ urlpatterns = [ ...@@ -101,12 +107,13 @@ urlpatterns = [
search_urlpatterns = [ search_urlpatterns = [
url(r'search/group$', GroupSearchView.as_view()), url(r'search/group$', GroupSearchView.as_view()),
url(r'search/country', CountrySearchView.as_view()), url(r'search/country$', CountrySearchView.as_view()),
url(r'search/user', UserSearchView.as_view()), url(r'search/user$', UserSearchView.as_view()),
url(r'search/tag', TagSearchView.as_view()), url(r'search/tag$', TagSearchView.as_view()),
url(r'search/celebrity', CelebritySearchView.as_view()), url(r'search/celebrity$', CelebritySearchView.as_view()),
url(r'search/city', CitySearchView.as_view()), url(r'search/city$', CitySearchView.as_view()),
url(r'search/topic', TopicSearchView.as_view()), url(r'search/topic$', TopicSearchView.as_view()),
url(r'search/tagtype$', TagTypeSearchView.as_view()),
] ]
common_urlpatterns = [ common_urlpatterns = [
......
<!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.8441406c.css rel=stylesheet><link href=/static/css/chunk-libs.825f9043.css rel=stylesheet><link href=/static/css/app.be4107d6.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(c){function n(n){for(var u,t,a=n[0],f=n[1],o=n[2],d=0,b=[];d<a.length;d++)t=a[d],r[t]&&b.push(r[t][0]),r[t]=0;for(u in f)Object.prototype.hasOwnProperty.call(f,u)&&(c[u]=f[u]);for(k&&k(n);b.length;)b.shift()();return h.push.apply(h,o||[]),e()}function e(){for(var c,n=0;n<h.length;n++){for(var e=h[n],u=!0,t=1;t<e.length;t++){var f=e[t];0!==r[f]&&(u=!1)}u&&(h.splice(n--,1),c=a(a.s=e[0]))}return c}var u={},t={runtime:0},r={runtime:0},h=[];function a(n){if(u[n])return u[n].exports;var e=u[n]={i:n,l:!1,exports:{}};return c[n].call(e.exports,e,e.exports,a),e.l=!0,e.exports}a.e=function(c){var n=[];t[c]?n.push(t[c]):0!==t[c]&&{"chunk-03fd":1,"chunk-3199":1,"chunk-38af":1,"chunk-862b":1,"chunk-commons":1,"chunk-00b5":1,"chunk-0618":1,"chunk-0bf8":1,"chunk-0e44":1,"chunk-1132":1,"chunk-1ca7":1,"chunk-1cb0":1,"chunk-2fd3":1,"chunk-3246":1,"chunk-3247":1,"chunk-4130":1,"chunk-4316":1,"chunk-445b":1,"chunk-4922":1,"chunk-4e44":1,"chunk-4f34":1,"chunk-5912":1,"chunk-65da":1,"chunk-6dcd":1,"chunk-7aa7":1,"chunk-7c81":1,"chunk-7ecf":1,"chunk-8114":1,"chunk-aaa0":1,"chunk-b5f3":1,"chunk-d7b7":1,"chunk-2483":1,"chunk-ecd4":1}[c]&&n.push(t[c]=new Promise(function(n,e){for(var u="static/css/"+({"chunk-commons":"chunk-commons"}[c]||c)+"."+{"7zzA":"31d6cfe0",JEtC:"31d6cfe0","chunk-03fd":"f3566086","chunk-3199":"409c3590","chunk-38af":"e08f1bb4","chunk-862b":"d074fa07","chunk-commons":"ad83b7ef","chunk-00b5":"ec341493","chunk-0618":"4c4f48e2","chunk-0bf8":"ee8e342c","chunk-0e44":"e58bb28c","chunk-1132":"6c632f95","chunk-1ca7":"877d5d6d","chunk-1cb0":"877d5d6d","chunk-2fd3":"c1700613","chunk-3246":"da2eb445","chunk-3247":"da2eb445","chunk-4130":"5f3c71f0","chunk-4316":"3a3dbae9","chunk-445b":"c887b451","chunk-4922":"b42b6636","chunk-4e44":"a7ac17e7","chunk-4f34":"bcf59bdc","chunk-5912":"33ace087","chunk-65da":"b42b6636","chunk-6dcd":"41e195b0","chunk-7aa7":"1a4e8f8c","/P8B":"31d6cfe0",Gbeq:"31d6cfe0","chunk-7c81":"5c26487c","chunk-7ecf":"33ace087","chunk-8114":"2577ec4b","chunk-aaa0":"8dcca7c9",Q2Zf:"31d6cfe0",ZMmy:"31d6cfe0","chunk-b5f3":"4c4f48e2","chunk-d7b7":"8fb9756d","chunk-2483":"a6cdf311",SoCV:"31d6cfe0",VwWe:"31d6cfe0","chunk-ecd4":"41e195b0"}[c]+".css",t=a.p+u,r=document.getElementsByTagName("link"),h=0;h<r.length;h++){var f=(d=r[h]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===u||f===t))return n()}var o=document.getElementsByTagName("style");for(h=0;h<o.length;h++){var d;if((f=(d=o[h]).getAttribute("data-href"))===u||f===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,r=new Error("Loading CSS chunk "+c+" failed.\n("+u+")");r.request=u,e(r)},k.href=t,document.getElementsByTagName("head")[0].appendChild(k)}).then(function(){t[c]=0}));var e=r[c];if(0!==e)if(e)n.push(e[2]);else{var u=new Promise(function(n,u){e=r[c]=[n,u]});n.push(e[2]=u);var h,f=document.getElementsByTagName("head")[0],o=document.createElement("script");o.charset="utf-8",o.timeout=120,a.nc&&o.setAttribute("nonce",a.nc),o.src=function(c){return a.p+"static/js/"+({"chunk-commons":"chunk-commons"}[c]||c)+"."+{"7zzA":"acd9b7e4",JEtC:"d582661d","chunk-03fd":"a1aa291d","chunk-3199":"f6c025b8","chunk-38af":"ddc7cb92","chunk-862b":"dffd0693","chunk-commons":"234e9b3d","chunk-00b5":"35c60704","chunk-0618":"41347416","chunk-0bf8":"1244733d","chunk-0e44":"a15d8f47","chunk-1132":"44510b1b","chunk-1ca7":"de9873b5","chunk-1cb0":"f0a821f5","chunk-2fd3":"c620cc72","chunk-3246":"9383cd2e","chunk-3247":"f25295cf","chunk-4130":"4b303ed9","chunk-4316":"6a1f5157","chunk-445b":"3cab8f1d","chunk-4922":"c4f38289","chunk-4e44":"34adf6ac","chunk-4f34":"0302fc5c","chunk-5912":"fe029e09","chunk-65da":"e63c63a0","chunk-6dcd":"f7b74271","chunk-7aa7":"531b5e06","/P8B":"7f6807b2",Gbeq:"42306eb5","chunk-7c81":"1d20c935","chunk-7ecf":"04967f1d","chunk-8114":"97402658","chunk-aaa0":"655fbf02",Q2Zf:"159a6cad",ZMmy:"fbf2ec27","chunk-b5f3":"61a6bcad","chunk-d7b7":"2757dbd7","chunk-2483":"5d438025",SoCV:"49bd7f8a",VwWe:"37520311","chunk-ecd4":"2debf835"}[c]+".js"}(c),h=function(n){o.onerror=o.onload=null,clearTimeout(d);var e=r[c];if(0!==e){if(e){var u=n&&("load"===n.type?"missing":n.type),t=n&&n.target&&n.target.src,h=new Error("Loading chunk "+c+" failed.\n("+u+": "+t+")");h.type=u,h.request=t,e[1](h)}r[c]=void 0}};var d=setTimeout(function(){h({type:"timeout",target:o})},12e4);o.onerror=o.onload=h,f.appendChild(o)}return Promise.all(n)},a.m=c,a.c=u,a.d=function(c,n,e){a.o(c,n)||Object.defineProperty(c,n,{enumerable:!0,get:e})},a.r=function(c){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(c,"__esModule",{value:!0})},a.t=function(c,n){if(1&n&&(c=a(c)),8&n)return c;if(4&n&&"object"==typeof c&&c&&c.__esModule)return c;var e=Object.create(null);if(a.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:c}),2&n&&"string"!=typeof c)for(var u in c)a.d(e,u,function(n){return c[n]}.bind(null,u));return e},a.n=function(c){var n=c&&c.__esModule?function(){return c.default}:function(){return c};return a.d(n,"a",n),n},a.o=function(c,n){return Object.prototype.hasOwnProperty.call(c,n)},a.p="/",a.oe=function(c){throw console.error(c),c};var f=window.webpackJsonp=window.webpackJsonp||[],o=f.push.bind(f);f.push=n,f=f.slice();for(var d=0;d<f.length;d++)n(f[d]);var k=o;e()}([]);</script><script src=/static/js/chunk-elementUI.befe8ef9.js></script><script src=/static/js/chunk-libs.06d36ade.js></script><script src=/static/js/app.f9ae3818.js></script></body></html>
\ No newline at end of file
.wscn-http404-container[data-v-5f60752c]{-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute;top:40%;left:50%}.wscn-http404[data-v-5f60752c]{position:relative;width:1200px;padding:0 50px;overflow:hidden}.wscn-http404 .pic-404[data-v-5f60752c]{position:relative;float:left;width:600px;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-5f60752c]{width:100%}.wscn-http404 .pic-404__child[data-v-5f60752c]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-5f60752c]{width:80px;top:17px;left:220px;opacity:0;-webkit-animation-name:cloudLeft-data-v-5f60752c;animation-name:cloudLeft-data-v-5f60752c;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-5f60752c]{width:46px;top:10px;left:420px;opacity:0;-webkit-animation-name:cloudMid-data-v-5f60752c;animation-name:cloudMid-data-v-5f60752c;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1.2s;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-5f60752c]{width:62px;top:100px;left:500px;opacity:0;-webkit-animation-name:cloudRight-data-v-5f60752c;animation-name:cloudRight-data-v-5f60752c;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes cloudLeft-data-v-5f60752c{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@keyframes cloudLeft-data-v-5f60752c{0%{top:17px;left:220px;opacity:0}20%{top:33px;left:188px;opacity:1}80%{top:81px;left:92px;opacity:1}to{top:97px;left:60px;opacity:0}}@-webkit-keyframes cloudMid-data-v-5f60752c{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@keyframes cloudMid-data-v-5f60752c{0%{top:10px;left:420px;opacity:0}20%{top:40px;left:360px;opacity:1}70%{top:130px;left:180px;opacity:1}to{top:160px;left:120px;opacity:0}}@-webkit-keyframes cloudRight-data-v-5f60752c{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}@keyframes cloudRight-data-v-5f60752c{0%{top:100px;left:500px;opacity:0}20%{top:120px;left:460px;opacity:1}80%{top:180px;left:340px;opacity:1}to{top:200px;left:300px;opacity:0}}.wscn-http404 .bullshit[data-v-5f60752c]{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-5f60752c]{font-size:32px;line-height:40px;color:#1482f0;margin-bottom:20px;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-5f60752c],.wscn-http404 .bullshit__oops[data-v-5f60752c]{font-weight:700;opacity:0;-webkit-animation-name:slideUp-data-v-5f60752c;animation-name:slideUp-data-v-5f60752c;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__headline[data-v-5f60752c]{font-size:20px;line-height:24px;color:#222;margin-bottom:10px;-webkit-animation-delay:.1s;animation-delay:.1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-5f60752c]{font-size:13px;line-height:21px;color:grey;margin-bottom:30px;-webkit-animation-delay:.2s;animation-delay:.2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-5f60752c],.wscn-http404 .bullshit__return-home[data-v-5f60752c]{opacity:0;-webkit-animation-name:slideUp-data-v-5f60752c;animation-name:slideUp-data-v-5f60752c;-webkit-animation-duration:.5s;animation-duration:.5s}.wscn-http404 .bullshit__return-home[data-v-5f60752c]{display:block;float:left;width:110px;height:36px;background:#1482f0;border-radius:100px;text-align:center;color:#fff;font-size:14px;line-height:36px;cursor:pointer;-webkit-animation-delay:.3s;animation-delay:.3s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes slideUp-data-v-5f60752c{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}@keyframes slideUp-data-v-5f60752c{0%{-webkit-transform:translateY(60px);transform:translateY(60px);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}
\ No newline at end of file
.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}.edit-input[data-v-2a07d99e]{padding-right:100px}.cancel-btn[data-v-2a07d99e]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.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}.edit-input[data-v-7af7e800]{padding-right:100px}.cancel-btn[data-v-7af7e800]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.dropzone[data-v-0c499238]{border:2px solid #e5e5e5;font-family:Roboto,sans-serif;color:#777;-webkit-transition:background-color .2s linear;transition:background-color .2s linear;padding:5px}.dropzone[data-v-0c499238]:hover{background-color:#f6f6f6}i[data-v-0c499238]{color:#ccc}.dropzone .dz-image img[data-v-0c499238]{width:100%;height:100%}.dropzone input[name=file][data-v-0c499238]{display:none}.dropzone .dz-preview .dz-image[data-v-0c499238]{border-radius:0}.dropzone .dz-preview:hover .dz-image img[data-v-0c499238]{-webkit-transform:none;transform:none;-webkit-filter:none;width:100%;height:100%}.dropzone .dz-preview .dz-details[data-v-0c499238]{bottom:0;top:0;color:#fff;background-color:rgba(33,150,243,.8);-webkit-transition:opacity .2s linear;transition:opacity .2s linear;text-align:left}.dropzone .dz-preview .dz-details .dz-filename span[data-v-0c499238],.dropzone .dz-preview .dz-details .dz-size span[data-v-0c499238]{background-color:transparent}.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span[data-v-0c499238]{border:none}.dropzone .dz-preview .dz-details .dz-filename:hover span[data-v-0c499238]{background-color:transparent;border:none}.dropzone .dz-preview .dz-remove[data-v-0c499238]{position:absolute;z-index:30;color:#fff;margin-left:15px;padding:10px;top:inherit;bottom:15px;border:2px solid #fff;text-decoration:none;text-transform:uppercase;font-size:.8rem;font-weight:800;letter-spacing:1.1px;opacity:0}.dropzone .dz-preview:hover .dz-remove[data-v-0c499238]{opacity:1}.dropzone .dz-preview .dz-error-mark[data-v-0c499238],.dropzone .dz-preview .dz-success-mark[data-v-0c499238]{margin-left:-40px;margin-top:-50px}.dropzone .dz-preview .dz-error-mark i[data-v-0c499238],.dropzone .dz-preview .dz-success-mark i[data-v-0c499238]{color:#fff;font-size:5rem}.preview-wrap[data-v-44e25644]{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.4);z-index:9999;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.upload-image-wrap{display:inline-block;font-size:0;vertical-align:top;margin-top:-16px}.upload-image-wrap .upload-image-items li{display:inline-block;position:relative;width:110px;height:110px;border-radius:3px;margin-top:16px;margin-right:16px;vertical-align:top}.upload-image-wrap .upload-image-items li:hover .image-after{display:block}.upload-image-wrap .upload-image-items li .image-inner{width:100%;height:100%;background-repeat:no-repeat;background-position:50%;background-color:#f5fbff;border-radius:4px}.upload-image-wrap .upload-image-items li .image-inner:after{content:"";position:absolute;top:0;right:0;width:30px;height:30px;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzg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CNjKSIgeGxpbms6aHJlZj0iI2IiLz48ZyBmaWxsPSIjRkZGIj48cGF0aCBkPSJNMzAuODkzIDhjLTMuNDAxIDIuMTA5LTUuODcgNC43Ny02Ljk3OCA2LjEwNkwyMS4yIDExLjk1NCAyMCAxMi45MzJsNC42OTMgNC44MjdjLjgwOC0yLjA5MyAzLjM2NS02LjE4MiA2LjQ4OC05LjA4N0wzMC44OTQgOGgtLjAwMXoiLz48L2c+PC9nPjwvc3ZnPg==) 50% 50% no-repeat;border-top-right-radius:4px}.upload-image-wrap .upload-image-items li .image-after{display:none;position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.5);border-radius:4px;cursor:pointer}.upload-image-wrap .upload-image-items li .image-after:after{content:"";position:absolute;left:50%;top:50%;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%);width:18px;height:18px;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNMCAwaDE4djE4SDB6Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xIC0xKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48ZyBtYXNrPSJ1cmwoI2IpIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxIDEpIj48cGF0aCBzdHJva2U9IiNGRkYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZD0iTTYgMTFWN00xMCAxMVY3TTIuNTIxIDUuODQ2djcuMjc2YzAgMS4zMDUuOTYxIDIuMzgzIDIuMTMgMi4zODNoNi43MTNjMS4xNyAwIDIuMTMtMS4wNzggMi4xMy0yLjM4M1Y1Ljg0NiIvPjxwYXRoIGQ9Ik0zLjUxIDMuNVYyLjM3NUMzLjUxIDEuMzM5IDQuMzgyLjUgNS40NTYuNWg1LjEwM2MxLjA3NCAwIDEuOTQ1Ljg0IDEuOTQ1IDEuODc1VjMuNSIgc3Ryb2tlPSIjRkZGIi8+PHJlY3QgZmlsbD0iI0ZGRiIgeT0iMyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjEiIHJ4PSIuNSIvPjwvZz48L2c+PC9nPjwvc3ZnPg==) 50% 50% no-repeat}.upload-image-wrap .upload-image-items li .image-after:before{content:"";position:absolute;left:50%;top:50%;-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%);width:18px;height:18px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAYu0lEQVR4Xu1dB7RtVXWd0xorRuyKFTtibEGxYIuKKPaGomKwIiaooCjGWKOCyhAUFbFGjQEbKqKgYu8de0lUIhh7j3VmzGS/kQf5/591zt2n3bPWGHe8/8ddZ5e5z7y7rUKkJAKJwFYRYGKTCCQCW0cgCZJvRyKwDQSSIPl6JAJJkHwHEoFuCOQM0g23fGohCCRBFjLQ2c1uCCRBuuGWTy0EgSTIQgY6u9kNgSRIN9zyqYUgkARZyEBnN7shkATphls+tRAEkiALGejsZjcEkiDdcMunFoJAEmQhA53d7IZAEqQbbvnUQhBIglQcaElnB7ADgMsBOC+A8wD4i/LX/974/x8B/HbT57/Kv38D4D8BfJOkv08ZGYEkSIcBkHRRALsA2BHAlTZ9rgDgnB2K3NIjZ5goAL616fMVAJ8jqUp1ZDENCCRBAq+IpMsA2A3AzcrfqwYe60vlpwA+BOD95fMZkn/uq7Kll5sE2cIbIOlcAO4MYPdCCM8MU5VfAvgwgJMAvI6kZ56USggkQQqQkoyFZ4j7AbgHgO0qYTxkMZ5J3gfgnwEcR/JXQ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gcEPHjVBiZBVkUwnx8MgRYkqUIOdywJMtjwZkU1ECgkcWzlrcnhJA+oUVcSpBaKWc6gCEh6uL0jt1BpVXIkQQYd1qysJgJbIEl1ciRBao5YljU4AptIchTJR/TRgNyD9IFqljkYApJu3mcgiiTIYEOZFc0RgSTIHEct2zwYAkmQwaDOiuaIQBJkjqOWbR4MgSTIYFBnRXNEIAkyx1HLNg+GQBJkMKizojkikASZ46hlmwdDIAkyGNRZ0RwRSILMcdSyzYMhkAQZDOqsaI4IJEHmOGrZ5sEQSIIMBnVWNEcEkiBzHLVs82AIJEEGgzormiMCSZA5jlq2eTAE/hvKtxoyYwN9awAAAABJRU5ErkJggg==) no-repeat;background-size:18px}.upload-image-wrap .upload-image-items li .image-after span:first-child{position:absolute;left:50%;top:50%;-webkit-transform:translate(-80%,-50%);transform:translate(-80%,-50%);width:30px;height:30px;z-index:999}.upload-image-wrap .upload-image-items li .image-after span:last-child{position:absolute;left:50%;top:50%;-webkit-transform:translate(10%,-50%);transform:translate(10%,-50%);width:30px;height:30px;z-index:999}.upload-image-wrap .upload-image-items li[disabled]:before{position:absolute;width:100%;height:100%;content:"";top:0;left:0;right:0;bottom:0;background-color:hsla(0,0%,100%,.5);z-index:1}.upload-image-wrap .upload-icon{display:inline-block;width:110px;height:110px;position:relative;margin-top:16px}.single-upload-icon{position:absolute;top:0;left:0;bottom:0;right:0;background-repeat:no-repeat;background-position:50%;border-radius:4px;overflow:hidden}.single-upload-icon span{display:inline-block;position:absolute;left:0;bottom:0;right:0;width:100%;line-height:25px;color:#fff;font-size:14px;text-align:center;background-color:rgba(0,0,0,.4);border-radius:0 0 4px 4px}.single-upload-body{position:relative}.webuploader-container.multiple{display:inline-block;overflow:hidden;font-size:0}.webuploader-container.multiple .webuploader-pick{width:110px;height:110px;padding:0;border-radius:0;font-size:12px;border-radius:4px;background-color:#f5fbff;border:1px dashed #e5e5e5}.webuploader-container.multiple .webuploader-pick:after{content:"";position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:26px;height:26px;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNMCAwaDI2djI2SDB6Ii8+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yIC0yKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMTQuNDk3IDEzLjQyOWw2Ljk0LTYuOTRhLjc1NS43NTUgMCAxIDAtMS4wNjgtMS4wNjhsLTYuOTQgNi45NC02Ljk0LTYuOTRBLjc1NS43NTUgMCAxIDAgNS40MiA2LjQ5bDYuOTQgNi45NC02Ljk0IDYuOTRhLjc1NS43NTUgMCAxIDAgMS4wNjggMS4wNjhsNi45NC02Ljk0IDYuOTQgNi45NGEuNzU1Ljc1NSAwIDEgMCAxLjA2OC0xLjA2OGwtNi45NC02Ljk0eiIgZmlsbD0iI0E1QjFDMSIgbWFzaz0idXJsKCNiKSIgdHJhbnNmb3JtPSJyb3RhdGUoNDUgMTMuNDI5IDEzLjQyOSkiLz48L2c+PC9zdmc+) 50% 50% no-repeat}.webuploader-container.multiple .webuploader-pick-hover{border:1px dashed #5caedc}.hide .webuploader-pick{opacity:0}.hide .webuploader-pick-hover{border:none}.vc-model{display:none;position:fixed;left:0;right:0;top:0;bottom:0;z-index:10;background-color:#333;background-color:rgba(51,51,51,.7)}.vc-model.show{display:block}.vc-model .model-box{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);padding:24px 30px;background-color:#fff}.vc-model .box-title{margin-bottom:40px;font-size:20px;color:#333;text-align:center}.vc-model .box-close{position:absolute;top:24px;right:30px;font-size:22px;cursor:pointer}.vc-model .box-btn{margin-top:32px;text-align:right}.vc-model .box-btn .btn{height:38px;padding:0 21px;margin-left:16px;background:#5caedc;font-size:14px;color:#fff;cursor:pointer;border-radius:4px}.vjs-custom-skin>.video-js{width:100%;font-family:PingFang SC,Helvetica Neue,Hiragino Sans GB,Segoe UI,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",sans-serif}.video-js.vjs-no-flex .vjs-menu-button-inline,.vjs-custom-skin>.video-js .vjs-menu-button-inline.vjs-slider-active,.vjs-custom-skin>.video-js .vjs-menu-button-inline:focus,.vjs-custom-skin>.video-js .vjs-menu-button-inline:hover{width:10em}.vjs-custom-skin>.video-js .vjs-controls-disabled .vjs-big-play-button{display:none!important}.vjs-custom-skin>.video-js .vjs-control{width:3em}.vjs-custom-skin>.video-js .vjs-control.vjs-live-control{width:auto;padding-left:.5em;letter-spacing:.1em}.vjs-custom-skin>.video-js .vjs-menu-button-inline:before{width:1.5em}.vjs-menu-button-inline .vjs-menu{left:3em}.vjs-custom-skin>.video-js .vjs-load-progress div,.vjs-seeking .vjs-big-play-button,.vjs-waiting .vjs-big-play-button{display:none!important}.vjs-custom-skin>.video-js .vjs-mouse-display:after,.vjs-custom-skin>.video-js .vjs-play-progress:after{padding:0 .4em .3em}.video-js.vjs-ended .vjs-loading-spinner{display:none}.video-js.vjs-ended .vjs-big-play-button{display:block!important}.video-js.vjs-ended .vjs-big-play-button,.video-js.vjs-paused .vjs-big-play-button,.vjs-paused.vjs-has-started.vjs-custom-skin>.video-js .vjs-big-play-button{display:block}.vjs-custom-skin>.video-js .vjs-big-play-button{top:50%;left:50%;margin-left:-1.5em;margin-top:-1em;background-color:rgba(0,0,0,.45);font-size:3.5em;border-radius:50%;height:3em!important;line-height:3em!important;margin-top:-1.5em!important}.video-js:hover .vjs-big-play-button,.vjs-custom-skin>.video-js .vjs-big-play-button:active,.vjs-custom-skin>.video-js .vjs-big-play-button:focus{background-color:rgba(36,131,213,.9)}.vjs-custom-skin>.video-js .vjs-loading-spinner{border-color:rgba(36,131,213,.8)}.vjs-custom-skin>.video-js .vjs-control-bar2{background-color:#000}.vjs-custom-skin>.video-js .vjs-control-bar{color:#fff;font-size:14px}.vjs-custom-skin>.video-js .vjs-play-progress,.vjs-custom-skin>.video-js .vjs-volume-level{background-color:#2483d5}.vjs-custom-skin>.video-js .vjs-play-progress:before{top:-.3em}.vjs-custom-skin>.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.3em}.vjs-menu-button-popup.vjs-volume-menu-button-vertical .vjs-menu{left:0}.vjs-custom-skin>.video-js .vjs-menu li{padding:0;line-height:2em;font-size:1.1em;font-family:PingFang SC,Helvetica Neue,Hiragino Sans GB,Segoe UI,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",sans-serif}.vjs-custom-skin>.video-js .vjs-mouse-display:after,.vjs-custom-skin>.video-js .vjs-play-progress:after,.vjs-custom-skin>.video-js .vjs-time-tooltip{border-radius:0;font-size:1em;padding:0;width:3em;height:1.5em;line-height:1.5em;top:-3em}.vjs-custom-skin>.video-js .vjs-menu-button-popup .vjs-menu{width:5em;left:-1em}.vjs-custom-skin>.video-js .vjs-menu-button-popup.vjs-volume-menu-button-vertical .vjs-menu{left:0}.vjs-custom-skin>.video-js .vjs-control-bar .vjs-play-control{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.vjs-custom-skin>.video-js .vjs-control-bar .vjs-time-control{min-width:1em;padding:0;margin:0 .1em;text-align:center;display:block;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.vjs-custom-skin>.video-js .vjs-control-bar .vjs-playback-rate .vjs-playback-rate-value{font-size:1.2em;line-height:2.4}.vjs-custom-skin>.video-js .vjs-progress-control.vjs-control{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.vjs-custom-skin>.video-js .vjs-control-bar .vjs-volume-menu-button{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.vjs-custom-skin>.video-js .vjs-control-bar .vjs-resolution-button{-webkit-box-ordinal-group:5;-ms-flex-order:4;order:4}.vjs-custom-skin>.video-js .vjs-control-bar .vjs-resolution-button .vjs-resolution-button-label{display:block;line-height:3em}.vjs-custom-skin>.video-js .vjs-control-bar .vjs-playback-rate{-webkit-box-ordinal-group:6;-ms-flex-order:5;order:5}.vjs-custom-skin>.video-js .vjs-control-bar .vjs-fullscreen-control{-webkit-box-ordinal-group:7;-ms-flex-order:6;order:6}.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}.edit-input[data-v-e201a046]{padding-right:100px}.cancel-btn[data-v-e201a046]{position:absolute;right:15px;top:10px}.up-video .video-items[data-v-e201a046]{float:left;margin-right:16px}.up-video .video-item[data-v-e201a046]{float:left;position:relative;width:110px;height:110px;border-radius:4px;background-color:#f5fbff;cursor:pointer;overflow:hidden;vertical-align:top}.up-video .video-item[data-v-e201a046]:before{content:"";position:absolute;top:0;right:0;width:30px;height:30px;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCB4MT0iMzYuMjEzJSIgeTE9Ii0xNi42MDMlIiB4Mj0iOT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zLjM2NS02LjE4MiA2LjQ4OC05LjA4N0wzMC44OTQgOGgtLjAwMXoiLz48L2c+PC9nPjwvc3ZnPg==) 50% 50% no-repeat;border-top-right-radius:4px}.up-video .video-item[data-v-e201a046]:after{position:absolute;content:"";width:100%;height:100%;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxjaXJjbGUgaWQ9ImEiIGN4PSIxOSIgY3k9IjE5IiByPSIxOSIvPjwvZGVmcz48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjx1c2UgZmlsbC1vcGFjaXR5PSIuMTMzIiBmaWxsPSIjMDAwIiB4bGluazpocmVmPSIjYSIvPjxjaXJjbGUgc3Ryb2tlLW9wYWNpdHk9Ii42ODIiIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMTkiIGN5PSIxOSIgcj0iMTgiLz48cGF0aCBkPSJNMjYuMzAyIDIxLjUyM2wtOS4wNSA1LjIzOWEyIDIgMCAwIDEtMy4wMDItMS43M3YtMTAuNDhhMiAyIDAgMCAxIDMuMDAyLTEuNzNsOS4wNSA1LjIzOWEyIDIgMCAwIDEgMCAzLjQ2MnoiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+) 50% no-repeat;background-size:38px 38px}.up-video .video-item .close[data-v-e201a046]{display:none;position:absolute;width:30px;height:30px;top:0;right:0;border-top-right-radius:4px;cursor:pointer;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iMzciIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Im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I2MpIiB4bGluazpocmVmPSIjYiIvPjwvZz48cGF0aCBkPSJNMjkuNDk4IDcuODk2bC0uMjE3LS4yMTdhLjYxMi42MTIgMCAwIDAtLjg2NSAwbC0yLjg1NCAyLjg1NC0yLjc4NS0yLjc4NWEuNjE4LjYxOCAwIDAgMC0uODc0IDBsLS4yMTguMjE4YS42MTcuNjE3IDAgMCAwIDAgLjg3NGwyLjc4NSAyLjc4NS0yLjggMi44YS42MTIuNjEyIDAgMCAwIDAgLjg2NmwuMjE2LjIxNmMuMjQuMjQuNjI3LjI0Ljg2NiAwbDIuOC0yLjggMi45NDIgMi45NDJhLjYxOC42MTggMCAwIDAgLjg3MyAwbC4yMTktLjIxOGEuNjE4LjYxOCAwIDAgMCAwLS44NzRsLTIuOTQyLTIuOTQyIDIuODU0LTIuODU0YS42MTIuNjEyIDAgMCAwIDAtLjg2NXoiIGZpbGw9IiNGRkYiLz48L2c+PC9zdmc+) 50% no-repeat;z-index:1}.up-video .video-item video[data-v-e201a046]{display:block;width:110px;height:110px}.up-video .video-item[data-v-e201a046]:hover:before{content:"";position:absolute;top:0;right:0;width:30px;height:30px;background-image:none;border-top-right-radius:4px}.up-video .video-item:hover .close[data-v-e201a046]{display:block}.up-video form[data-v-e201a046]{position:relative;display:inline-block;width:110px;height:110px;border-radius:4px;border:1px dashed #e5e5e5;background:#f5fbff url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJNMCAwaDQ3djI4LjJIMHoiLz48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZi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SAwIDEuNDYxSDMuNDFhLjczLjczIDAgMCAxIDAtMS40NjF6Ii8+PHBhdGggZD0iTTkuMzggMS45NDV2MTAuMzc4YS43My43MyAwIDEgMS0xLjQ2MSAwVjEuOTQ1YS43My43MyAwIDEgMSAxLjQ2MSAweiIvPjwvZz48L2c+PC9zdmc+) 50% no-repeat}.up-video form .file[data-v-e201a046]{display:inline-block;width:100%;height:100%;padding:0;opacity:0;border:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.up-video form.uploading[data-v-e201a046]{background:none}.up-video:hover form[data-v-e201a046]{border:1px dashed #5caedc}.createPost-container[data-v-e201a046]{position:relative}.createPost-container .createPost-main-container[data-v-e201a046]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-e201a046]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-e201a046]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-e201a046]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-e201a046]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-e201a046]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-e201a046]{display:inline-block}.createPost-container .word-counter[data-v-e201a046]{width:40px;position:absolute;right:-10px;top:0}.real .error_icon[data-v-e201a046]{margin-top:90px}
\ No newline at end of file
.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}.edit-input[data-v-4d92cdb2]{padding-right:100px}.cancel-btn[data-v-4d92cdb2]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.dashboard-editor-container[data-v-4e4e7308]{padding:32px;background-color:#f0f2f5}.dashboard-editor-container .chart-wrapper[data-v-4e4e7308]{background:#fff;padding:16px 16px 0;margin-bottom:32px}.pan-item[data-v-4178e1ea]{width:200px;height:200px;border-radius:50%;display:inline-block;position:relative;cursor:default;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2);box-shadow:0 1px 3px rgba(0,0,0,.2)}.pan-info-roles-container[data-v-4178e1ea]{padding:20px;text-align:center}.pan-thumb[data-v-4178e1ea]{width:100%;height:100%;background-size:100%;border-radius:50%;overflow:hidden;position:absolute;-webkit-transform-origin:95% 40%;transform-origin:95% 40%;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.pan-thumb[data-v-4178e1ea]:after{content:"";width:8px;height:8px;position:absolute;border-radius:50%;top:40%;left:95%;margin:-4px 0 0 -4px;background:radial-gradient(ellipse at center,#0e0e0e 0,#7d7e7d 100%);-webkit-box-shadow:0 0 1px hsla(0,0%,100%,.9);box-shadow:0 0 1px hsla(0,0%,100%,.9)}.pan-info[data-v-4178e1ea]{position:absolute;width:inherit;height:inherit;border-radius:50%;overflow:hidden;-webkit-box-shadow:inset 0 0 0 5px rgba(0,0,0,.05);box-shadow:inset 0 0 0 5px rgba(0,0,0,.05)}.pan-info h3[data-v-4178e1ea]{color:#fff;text-transform:uppercase;position:relative;letter-spacing:2px;font-size:18px;margin:0 60px;padding:22px 0 0;height:85px;font-family:Open Sans,Arial,sans-serif;text-shadow:0 0 1px #fff,0 1px 2px rgba(0,0,0,.3)}.pan-info p[data-v-4178e1ea]{color:#fff;padding:10px 5px;font-style:italic;margin:0 30px;font-size:12px;border-top:1px solid hsla(0,0%,100%,.5)}.pan-info p a[data-v-4178e1ea]{display:block;color:#333;width:80px;height:80px;background:hsla(0,0%,100%,.3);border-radius:50%;color:#fff;font-style:normal;font-weight:700;text-transform:uppercase;font-size:9px;letter-spacing:1px;padding-top:24px;margin:7px auto 0;font-family:Open Sans,Arial,sans-serif;opacity:0;-webkit-transition:opacity .3s ease-in-out .2s,background .2s linear 0s,-webkit-transform .3s ease-in-out .2s;transition:opacity .3s ease-in-out .2s,background .2s linear 0s,-webkit-transform .3s ease-in-out .2s;transition:transform .3s ease-in-out .2s,opacity .3s ease-in-out .2s,background .2s linear 0s;transition:transform .3s ease-in-out .2s,opacity .3s ease-in-out .2s,background .2s linear 0s,-webkit-transform .3s ease-in-out .2s;-webkit-transform:translateX(60px) rotate(90deg);transform:translateX(60px) rotate(90deg)}.pan-info p a[data-v-4178e1ea]:hover{background:hsla(0,0%,100%,.5)}.pan-item:hover .pan-thumb[data-v-4178e1ea]{-webkit-transform:rotate(-110deg);transform:rotate(-110deg)}.pan-item:hover .pan-info p a[data-v-4178e1ea]{opacity:1;-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg)}.emptyGif[data-v-a99b3d02]{display:block;width:45%;margin:0 auto}.dashboard-editor-container[data-v-a99b3d02]{background-color:#e3e3e3;min-height:100vh;padding:50px 60px 0}.dashboard-editor-container .pan-info-roles[data-v-a99b3d02]{font-size:12px;font-weight:700;color:#333;display:block}.dashboard-editor-container .info-container[data-v-a99b3d02]{position:relative;margin-left:190px;height:150px;line-height:200px}.dashboard-editor-container .info-container .display_name[data-v-a99b3d02]{font-size:48px;line-height:48px;color:#212121;position:absolute;top:25px}
\ No newline at end of file
.createPost-container[data-v-56bd8930]{position:relative}.createPost-container .createPost-main-container[data-v-56bd8930]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-56bd8930]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-56bd8930]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-56bd8930]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-56bd8930]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-56bd8930]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-56bd8930]{display:inline-block}.createPost-container .word-counter[data-v-56bd8930]{width:40px;position:absolute;right:-10px;top:0}
\ No newline at end of file
.createPost-container[data-v-56bd8930]{position:relative}.createPost-container .createPost-main-container[data-v-56bd8930]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-56bd8930]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-56bd8930]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-56bd8930]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-56bd8930]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-56bd8930]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-56bd8930]{display:inline-block}.createPost-container .word-counter[data-v-56bd8930]{width:40px;position:absolute;right:-10px;top:0}
\ No newline at end of file
@supports (-webkit-mask:none) and (not (cater-color:#fff)){.login-container .el-input input{color:#fff}.login-container .el-input input:first-line{color:#eee}}.login-container .el-input{display:inline-block;height:47px;width:85%}.login-container .el-input input{background:transparent;border:0;-webkit-appearance:none;border-radius:0;padding:12px 5px 12px 15px;color:#eee;height:47px;caret-color:#fff}.login-container .el-input input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #283443 inset!important;-webkit-text-fill-color:#fff!important}.login-container .el-form-item{border:1px solid hsla(0,0%,100%,.1);background:rgba(0,0,0,.1);border-radius:5px;color:#454545}.login-container[data-v-323c0aa2]{position:fixed;height:100%;width:100%;background-color:#2d3a4b}.login-container .login-form[data-v-323c0aa2]{position:absolute;left:0;right:0;width:520px;max-width:100%;padding:35px 35px 15px;margin:120px auto}.login-container .tips[data-v-323c0aa2]{font-size:14px;color:#fff;margin-bottom:10px}.login-container .tips span[data-v-323c0aa2]:first-of-type{margin-right:16px}.login-container .svg-container[data-v-323c0aa2]{padding:6px 5px 6px 15px;color:#889aa4;vertical-align:middle;width:30px;display:inline-block}.login-container .title-container[data-v-323c0aa2]{position:relative}.login-container .title-container .title[data-v-323c0aa2]{font-size:26px;color:#eee;margin:0 auto 40px;text-align:center;font-weight:700}.login-container .title-container .set-language[data-v-323c0aa2]{color:#fff;position:absolute;top:5px;right:0}.login-container .show-pwd[data-v-323c0aa2]{position:absolute;right:10px;top:7px;font-size:16px;color:#889aa4;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.login-container .thirdparty-button[data-v-323c0aa2]{position:absolute;right:35px;bottom:28px}
\ No newline at end of file
.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}.edit-input[data-v-06da7b26]{padding-right:100px}.cancel-btn[data-v-06da7b26]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.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}.edit-input[data-v-152dff15]{padding-right:100px}.cancel-btn[data-v-152dff15]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.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}.edit-input[data-v-22ad4d5b]{padding-right:100px}.cancel-btn[data-v-22ad4d5b]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.createPost-container[data-v-ad22feb6]{position:relative}.createPost-container .createPost-main-container[data-v-ad22feb6]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-ad22feb6]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-ad22feb6]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-ad22feb6]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-ad22feb6]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-ad22feb6]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-ad22feb6]{display:inline-block}.createPost-container .word-counter[data-v-ad22feb6]{width:40px;position:absolute;right:-10px;top:0}
\ No newline at end of file
.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}.edit-input[data-v-c865e982]{padding-right:100px}.cancel-btn[data-v-c865e982]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.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}.edit-input[data-v-9b558caa]{padding-right:100px}.cancel-btn[data-v-9b558caa]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.createPost-container[data-v-ad22feb6]{position:relative}.createPost-container .createPost-main-container[data-v-ad22feb6]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-ad22feb6]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-ad22feb6]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-ad22feb6]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-ad22feb6]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-ad22feb6]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-ad22feb6]{display:inline-block}.createPost-container .word-counter[data-v-ad22feb6]{width:40px;position:absolute;right:-10px;top:0}
\ No newline at end of file
.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-9cf1b3fe]{position:relative}.createPost-container .createPost-main-container[data-v-9cf1b3fe]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-9cf1b3fe]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-9cf1b3fe]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-9cf1b3fe]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-9cf1b3fe]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-9cf1b3fe]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-9cf1b3fe]{display:inline-block}.createPost-container .word-counter[data-v-9cf1b3fe]{width:40px;position:absolute;right:-10px;top:0}.edit-select[data-v-9cf1b3fe]{padding-right:50px}.cancel-btn[data-v-9cf1b3fe]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.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}.edit-input[data-v-dd551fe6]{padding-right:100px}.cancel-btn[data-v-dd551fe6]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.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}
\ No newline at end of file
.errPage-container[data-v-24c0cb68]{width:800px;max-width:100%;margin:100px auto}.errPage-container .pan-back-btn[data-v-24c0cb68]{background:#008489;color:#fff;border:none!important}.errPage-container .pan-gif[data-v-24c0cb68]{margin:0 auto;display:block}.errPage-container .pan-img[data-v-24c0cb68]{display:block;margin:0 auto;width:100%}.errPage-container .text-jumbo[data-v-24c0cb68]{font-size:60px;font-weight:700;color:#484848}.errPage-container .list-unstyled[data-v-24c0cb68]{font-size:14px}.errPage-container .list-unstyled li[data-v-24c0cb68]{padding-bottom:5px}.errPage-container .list-unstyled a[data-v-24c0cb68]{color:#008489;text-decoration:none}.errPage-container .list-unstyled a[data-v-24c0cb68]:hover{text-decoration:underline}
\ No newline at end of file
.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-263b1825]{position:relative}.createPost-container .createPost-main-container[data-v-263b1825]{padding:40px 45px 20px 50px}.createPost-container .createPost-main-container .postInfo-container[data-v-263b1825]{position:relative;margin-bottom:10px}.createPost-container .createPost-main-container .postInfo-container[data-v-263b1825]:after{content:"";display:table;clear:both}.createPost-container .createPost-main-container .postInfo-container .postInfo-container-item[data-v-263b1825]{float:left}.createPost-container .createPost-main-container .editor-container[data-v-263b1825]{min-height:500px;margin:0 0 30px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container[data-v-263b1825]{text-align:right;margin-right:10px}.createPost-container .createPost-main-container .editor-container .editor-upload-btn-container .editor-upload-btn[data-v-263b1825]{display:inline-block}.createPost-container .word-counter[data-v-263b1825]{width:40px;position:absolute;right:-10px;top:0}.edit-input[data-v-263b1825]{padding-right:100px}.cancel-btn[data-v-263b1825]{position:absolute;right:15px;top:10px}
\ No newline at end of file
.tinymce-container[data-v-261f5e1f]{position:relative}.tinymce-container[data-v-261f5e1f] .mce-fullscreen{z-index:10000}.tinymce-textarea[data-v-261f5e1f]{visibility:hidden;z-index:-1}.editor-custom-btn-container[data-v-261f5e1f]{position:absolute;right:4px;top:4px}.fullscreen .editor-custom-btn-container[data-v-261f5e1f]{z-index:10000;position:fixed}.editor-upload-btn[data-v-261f5e1f]{display:inline-block}.material-input__component .material-input-bar[data-v-f03f6b9c]:after,.material-input__component .material-input-bar[data-v-f03f6b9c]:before{content:"";height:1px;width:0;bottom:0;position:absolute;-webkit-transition:all .2s ease;transition:all .2s ease}.material-input__component[data-v-f03f6b9c]{margin-top:36px;position:relative}.material-input__component [data-v-f03f6b9c]{-webkit-box-sizing:border-box;box-sizing:border-box}.material-input__component .iconClass .material-input__icon[data-v-f03f6b9c]{position:absolute;left:0;line-height:16px;color:#2196f3;top:12px;width:30px;height:16px;font-size:16px;font-weight:400;pointer-events:none}.material-input__component .iconClass .material-label[data-v-f03f6b9c]{left:30px}.material-input__component .iconClass .material-input[data-v-f03f6b9c]{text-indent:30px}.material-input__component .material-input[data-v-f03f6b9c]{font-size:16px;padding:12px 12px 2px 6px;display:block;width:100%;border:none;line-height:1;border-radius:0}.material-input__component .material-input[data-v-f03f6b9c]:focus{outline:none;border:none;border-bottom:1px solid transparent}.material-input__component .material-label[data-v-f03f6b9c]{font-weight:400;position:absolute;pointer-events:none;left:0;top:0;-webkit-transition:all .2s ease;transition:all .2s ease;font-size:18px}.material-input__component .material-input-bar[data-v-f03f6b9c]{position:relative;display:block;width:100%}.material-input__component .material-input-bar[data-v-f03f6b9c]:before{left:50%}.material-input__component .material-input-bar[data-v-f03f6b9c]:after{right:50%}.material-input__component.material--disabled .material-input[data-v-f03f6b9c]{border-bottom-style:dashed}.material-input__component.material--raised .material-label[data-v-f03f6b9c]{top:-28px;left:0;font-size:16px;font-weight:700}.material-input__component.material--active .material-input-bar[data-v-f03f6b9c]:after,.material-input__component.material--active .material-input-bar[data-v-f03f6b9c]:before{width:50%}.material-input__component[data-v-f03f6b9c]{background:#fff}.material-input__component .material-input[data-v-f03f6b9c]{background:none;color:#000;text-indent:0;border-bottom:1px solid #e0e0e0}.material-input__component .material-label[data-v-f03f6b9c]{color:#9e9e9e}.material-input__component .material-input-bar[data-v-f03f6b9c]:after,.material-input__component .material-input-bar[data-v-f03f6b9c]:before{background:#2196f3}.material-input__component.material--active .material-label[data-v-f03f6b9c]{color:#2196f3}.material-input__component.material--has-errors.material--active .material-label[data-v-f03f6b9c]{color:#f44336}.material-input__component.material--has-errors .material-input-bar[data-v-f03f6b9c]:after,.material-input__component.material--has-errors .material-input-bar[data-v-f03f6b9c]:before{background:transparent}.pagination-container[data-v-b7be0e7e]{background:#fff;padding:32px 16px}.pagination-container.hidden[data-v-b7be0e7e]{display:none}.upload-container[data-v-6a571450]{width:100%;position:relative}.upload-container[data-v-6a571450]:after{content:"";display:table;clear:both}.upload-container .image-uploader[data-v-6a571450]{width:35%;float:left}.upload-container .image-preview[data-v-6a571450]{width:200px;height:200px;position:relative;border:1px dashed #d9d9d9;float:left;margin-left:50px}.upload-container .image-preview .image-preview-wrapper[data-v-6a571450]{position:relative;width:100%;height:100%}.upload-container .image-preview .image-preview-wrapper img[data-v-6a571450]{width:100%;height:100%}.upload-container .image-preview .image-preview-action[data-v-6a571450]{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;color:#fff;opacity:0;font-size:20px;background-color:rgba(0,0,0,.5);-webkit-transition:opacity .3s;transition:opacity .3s;cursor:pointer;text-align:center;line-height:200px}.upload-container .image-preview .image-preview-action .el-icon-delete[data-v-6a571450]{font-size:36px}.upload-container .image-preview:hover .image-preview-action[data-v-6a571450]{opacity:1}.upload-container .image-app-preview[data-v-6a571450]{width:320px;height:180px;position:relative;border:1px dashed #d9d9d9;float:left;margin-left:50px}.upload-container .image-app-preview .app-fake-conver[data-v-6a571450]{height:44px;position:absolute;width:100%;text-align:center;line-height:64px;color:#fff}.editor-slide-upload[data-v-39480e6e]{margin-bottom:20px}.editor-slide-upload[data-v-39480e6e] .el-upload--picture-card{width:100%}
\ No newline at end of file
@-webkit-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}20%{-webkit-transform:scale(1);transform:scale(1)}}.dropzone,.dropzone *{-webkit-box-sizing:border-box;box-sizing:border-box}.dropzone{min-height:150px;border:2px solid rgba(0,0,0,.3);background:#fff;padding:20px}.dropzone.dz-clickable{cursor:pointer}.dropzone.dz-clickable *{cursor:default}.dropzone.dz-clickable .dz-message,.dropzone.dz-clickable .dz-message *{cursor:pointer}.dropzone.dz-started .dz-message{display:none}.dropzone.dz-drag-hover{border-style:solid}.dropzone.dz-drag-hover .dz-message{opacity:.5}.dropzone .dz-message{text-align:center;margin:2em 0}.dropzone .dz-preview{position:relative;display:inline-block;vertical-align:top;margin:16px;min-height:100px}.dropzone .dz-preview:hover{z-index:1000}.dropzone .dz-preview.dz-file-preview .dz-image{border-radius:20px;background:#999;background:-webkit-gradient(linear,left top,left bottom,from(#eee),to(#ddd));background:linear-gradient(180deg,#eee,#ddd)}.dropzone .dz-preview.dz-file-preview .dz-details{opacity:1}.dropzone .dz-preview.dz-image-preview{background:#fff}.dropzone .dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.dropzone .dz-preview .dz-remove{font-size:14px;text-align:center;display:block;cursor:pointer;border:none}.dropzone .dz-preview .dz-remove:hover{text-decoration:underline}.dropzone .dz-preview:hover .dz-details{opacity:1}.dropzone .dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:13px;min-width:100%;max-width:100%;padding:2em 1em;text-align:center;color:rgba(0,0,0,.9);line-height:150%}.dropzone .dz-preview .dz-details .dz-size{margin-bottom:1em;font-size:16px}.dropzone .dz-preview .dz-details .dz-filename{white-space:nowrap}.dropzone .dz-preview .dz-details .dz-filename:hover span{border:1px solid hsla(0,0%,78.4%,.8);background-color:hsla(0,0%,100%,.8)}.dropzone .dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dropzone .dz-preview .dz-details .dz-filename span,.dropzone .dz-preview .dz-details .dz-size span{background-color:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dropzone .dz-preview:hover .dz-image img{-webkit-transform:scale(1.05);transform:scale(1.05);-webkit-filter:blur(8px);filter:blur(8px)}.dropzone .dz-preview .dz-image{border-radius:20px;overflow:hidden;width:120px;height:120px;position:relative;display:block;z-index:10}.dropzone .dz-preview .dz-image img{display:block}.dropzone .dz-preview.dz-success .dz-success-mark{-webkit-animation:passing-through 3s cubic-bezier(.77,0,.175,1);animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview.dz-error .dz-error-mark{opacity:1;-webkit-animation:slide-in 3s cubic-bezier(.77,0,.175,1);animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dropzone .dz-preview .dz-error-mark,.dropzone .dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dropzone .dz-preview .dz-error-mark svg,.dropzone .dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dropzone .dz-preview.dz-processing .dz-progress{opacity:1;-webkit-transition:all .2s linear;transition:all .2s linear}.dropzone .dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;transition:opacity .4s ease-in}.dropzone .dz-preview:not(.dz-processing) .dz-progress{-webkit-animation:pulse 6s ease infinite;animation:pulse 6s ease infinite}.dropzone .dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);-webkit-transform:scale(1);border-radius:8px;overflow:hidden}.dropzone .dz-preview .dz-progress .dz-upload{background:#333;background:-webkit-gradient(linear,left top,left bottom,from(#666),to(#444));background:linear-gradient(180deg,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;transition:width .3s ease-in-out}.dropzone .dz-preview.dz-error .dz-error-message{display:block}.dropzone .dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dropzone .dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;border-radius:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:-webkit-gradient(linear,left top,left bottom,from(#be2626),to(#a92222));background:linear-gradient(180deg,#be2626,#a92222);padding:.5em 1.2em;color:#fff}.dropzone .dz-preview .dz-error-message:after{content:"";position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #be2626}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-modal-dialog,.vjs-button>.vjs-icon-placeholder:before,.vjs-modal-dialog .vjs-modal-dialog-content{position:absolute;top:0;left:0;width:100%;height:100%}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.vjs-button>.vjs-icon-placeholder:before{text-align:center}@font-face{font-family:VideoJS;src:url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABBIAAsAAAAAGoQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFZRiV3RY21hcAAAAYQAAADQAAADIjn098ZnbHlmAAACVAAACv4AABEIAwnSw2hlYWQAAA1UAAAAKwAAADYV1OgpaGhlYQAADYAAAAAbAAAAJA4DByFobXR4AAANnAAAAA8AAACE4AAAAGxvY2EAAA2sAAAARAAAAEQ9NEHGbWF4cAAADfAAAAAfAAAA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ARD5/z87IwMjAypQBAAtgwI4AHicY2BgYGAfYAwAOkQA4QAAAAAAAA4AaAB+AMwA4AECAUIBbAGYAcICGAJYArQC4AMwA7AD3gQwBJYE3AUkBWYFigYgBmYGtAbqB1gIEghYCG4IhHicY2BkYGBQZChlYGcAASYg5gJCBob/YD4DABfTAbQAeJxdkE1qg0AYhl8Tk9AIoVDaVSmzahcF87PMARLIMoFAl0ZHY1BHdBJIT9AT9AQ9RQ9Qeqy+yteNMzDzfM+88w0K4BY/cNAMB6N2bUaPPBLukybCLvleeAAPj8JD+hfhMV7hC3u4wxs7OO4NzQSZcI/8Ltwnfwi75E/hAR7wJTyk/xYeY49fYQ/PztM+jbTZ7LY6OWdBJdX/pqs6NYWa+zMxa13oKrA6Uoerqi/JwtpYxZXJ1coUVmeZUWVlTjq0/tHacjmdxuL90OR8O0UEDYMNdtiSEpz5XQGqzlm30kzUdAYFFOb8R7NOZk0q2lwAyz1i7oAr1xoXvrOgtYhZx8wY5KRV269JZ5yGpmzPTjQhvY9je6vEElPOuJP3mWKnP5M3V+YAAAB4nG2PyXLCMBBE3YCNDWEL2ffk7o8S8oCnkCVHC5C/jzBQlUP6IHVPzYyekl5y0iL5X5/ooY8BUmQYIkeBEca4wgRTzDDHAtdY4ga3uMM9HvCIJzzjBa94wzs+8ImvZNAq8TM+HqVkKxWlrQiOxjujQkNlEzyNzl6Z/cU2XF06at7U83VQyklLpEvSnuzsb+HAPnPfQVgaupa1Jlu4sPLsFblcitaz0dHU0ZF1qatjZ1+aTXYCmp6u0gSvWNPyHLtFZ+ZeXWVSaEkqs3T8S74WklbGbNNNq4LL4+CWKtZDv2cfX8l8aFbKFhEnJnJ+IULFpqwoQnNHlHaVQtPBl+ypmbSWdmyC61KS/AKZC3Y+AA==) format("woff");font-weight:400;font-style:normal}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder,.vjs-icon-play{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-big-play-button .vjs-icon-placeholder:before,.video-js .vjs-play-control .vjs-icon-placeholder:before,.vjs-icon-play:before{content:"\F101"}.vjs-icon-play-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-play-circle:before{content:"\F102"}.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder,.vjs-icon-pause{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-playing .vjs-icon-placeholder:before,.vjs-icon-pause:before{content:"\F103"}.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder,.vjs-icon-volume-mute{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-0 .vjs-icon-placeholder:before,.vjs-icon-volume-mute:before{content:"\F104"}.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder,.vjs-icon-volume-low{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-1 .vjs-icon-placeholder:before,.vjs-icon-volume-low:before{content:"\F105"}.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder,.vjs-icon-volume-mid{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control.vjs-vol-2 .vjs-icon-placeholder:before,.vjs-icon-volume-mid:before{content:"\F106"}.video-js .vjs-mute-control .vjs-icon-placeholder,.vjs-icon-volume-high{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-mute-control .vjs-icon-placeholder:before,.vjs-icon-volume-high:before{content:"\F107"}.video-js .vjs-fullscreen-control .vjs-icon-placeholder,.vjs-icon-fullscreen-enter{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-enter:before{content:"\F108"}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder,.vjs-icon-fullscreen-exit{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.vjs-fullscreen .vjs-fullscreen-control .vjs-icon-placeholder:before,.vjs-icon-fullscreen-exit:before{content:"\F109"}.vjs-icon-square{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-square:before{content:"\F10A"}.vjs-icon-spinner{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-spinner:before{content:"\F10B"}.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-subs-caps-button .vjs-icon-placeholder,.video-js .vjs-subtitles-button .vjs-icon-placeholder,.vjs-icon-subtitles{font-family:VideoJS;font-weight:400;font-style:normal}.video-js.video-js:lang(en-AU) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-GB) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-IE) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js.video-js:lang(en-NZ) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js .vjs-subtitles-button .vjs-icon-placeholder:before,.vjs-icon-subtitles:before{content:"\F10C"}.video-js .vjs-captions-button .vjs-icon-placeholder,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder,.vjs-icon-captions{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-captions-button .vjs-icon-placeholder:before,.video-js:lang(en) .vjs-subs-caps-button .vjs-icon-placeholder:before,.video-js:lang(fr-CA) .vjs-subs-caps-button .vjs-icon-placeholder:before,.vjs-icon-captions:before{content:"\F10D"}.video-js .vjs-chapters-button .vjs-icon-placeholder,.vjs-icon-chapters{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-chapters-button .vjs-icon-placeholder:before,.vjs-icon-chapters:before{content:"\F10E"}.vjs-icon-share{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-share:before{content:"\F10F"}.vjs-icon-cog{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-cog:before{content:"\F110"}.video-js .vjs-play-progress,.video-js .vjs-volume-level,.vjs-icon-circle{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-progress:before,.video-js .vjs-volume-level:before,.vjs-icon-circle:before{content:"\F111"}.vjs-icon-circle-outline{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-outline:before{content:"\F112"}.vjs-icon-circle-inner-circle{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-circle-inner-circle:before{content:"\F113"}.vjs-icon-hd{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-hd:before{content:"\F114"}.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder,.vjs-icon-cancel{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-control.vjs-close-button .vjs-icon-placeholder:before,.vjs-icon-cancel:before{content:"\F115"}.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder,.vjs-icon-replay{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-play-control.vjs-ended .vjs-icon-placeholder:before,.vjs-icon-replay:before{content:"\F116"}.vjs-icon-facebook{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-facebook:before{content:"\F117"}.vjs-icon-gplus{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-gplus:before{content:"\F118"}.vjs-icon-linkedin{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-linkedin:before{content:"\F119"}.vjs-icon-twitter{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-twitter:before{content:"\F11A"}.vjs-icon-tumblr{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-tumblr:before{content:"\F11B"}.vjs-icon-pinterest{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-pinterest:before{content:"\F11C"}.video-js .vjs-descriptions-button .vjs-icon-placeholder,.vjs-icon-audio-description{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-descriptions-button .vjs-icon-placeholder:before,.vjs-icon-audio-description:before{content:"\F11D"}.video-js .vjs-audio-button .vjs-icon-placeholder,.vjs-icon-audio{font-family:VideoJS;font-weight:400;font-style:normal}.video-js .vjs-audio-button .vjs-icon-placeholder:before,.vjs-icon-audio:before{content:"\F11E"}.vjs-icon-next-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-next-item:before{content:"\F11F"}.vjs-icon-previous-item{font-family:VideoJS;font-weight:400;font-style:normal}.vjs-icon-previous-item:before{content:"\F120"}.video-js{display:block;vertical-align:top;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;background-color:#000;position:relative;padding:0;font-size:10px;line-height:1;font-weight:400;font-style:normal;font-family:Arial,Helvetica,sans-serif;word-break:normal}.video-js:-moz-full-screen{position:absolute}.video-js:-webkit-full-screen{width:100%!important;height:100%!important}.video-js[tabindex="-1"]{outline:none}.video-js *,.video-js :after,.video-js :before{-webkit-box-sizing:inherit;box-sizing:inherit}.video-js ul{font-family:inherit;font-size:inherit;line-height:inherit;list-style-position:outside;margin:0}.video-js.vjs-4-3,.video-js.vjs-16-9,.video-js.vjs-fluid{width:100%;max-width:100%;height:0}.video-js.vjs-16-9{padding-top:56.25%}.video-js.vjs-4-3{padding-top:75%}.video-js.vjs-fill,.video-js .vjs-tech{width:100%;height:100%}.video-js .vjs-tech{position:absolute;top:0;left:0}body.vjs-full-window{padding:0;margin:0;height:100%}.vjs-full-window .video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;padding-top:0!important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-hidden{display:none!important}.vjs-disabled{opacity:.5;cursor:default}.video-js .vjs-offscreen{height:1px;left:-9999px;position:absolute;top:0;width:1px}.vjs-lock-showing{display:block!important;opacity:1;visibility:visible}.vjs-no-js{padding:20px;color:#fff;background-color:#000;font-size:18px;font-family:Arial,Helvetica,sans-serif;text-align:center;width:300px;height:150px;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#66a8cc}.video-js .vjs-big-play-button{font-size:3em;line-height:1.5em;height:1.5em;width:3em;display:block;position:absolute;top:10px;left:10px;padding:0;cursor:pointer;opacity:1;border:.06666em solid #fff;background-color:#2b333f;background-color:rgba(43,51,63,.7);border-radius:.3em;-webkit-transition:all .4s;transition:all .4s}.vjs-big-play-centered .vjs-big-play-button{top:50%;left:50%;margin-top:-.75em;margin-left:-1.5em}.video-js .vjs-big-play-button:focus,.video-js:hover .vjs-big-play-button{border-color:#fff;background-color:#73859f;background-color:rgba(115,133,159,.5);-webkit-transition:all 0s;transition:all 0s}.vjs-controls-disabled .vjs-big-play-button,.vjs-error .vjs-big-play-button,.vjs-has-started .vjs-big-play-button,.vjs-using-native-controls .vjs-big-play-button{display:none}.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause .vjs-big-play-button{display:block}.video-js button{background:none;border:none;color:inherit;display:inline-block;font-size:inherit;line-height:inherit;text-transform:none;text-decoration:none;-webkit-transition:none;transition:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.vjs-control .vjs-button{width:100%;height:100%}.video-js .vjs-control.vjs-close-button{cursor:pointer;height:3em;position:absolute;right:0;top:.5em;z-index:2}.video-js .vjs-modal-dialog{background:rgba(0,0,0,.8);background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.8)),to(hsla(0,0%,100%,0)));background:linear-gradient(180deg,rgba(0,0,0,.8),hsla(0,0%,100%,0));overflow:auto}.video-js .vjs-modal-dialog>*{-webkit-box-sizing:border-box;box-sizing:border-box}.vjs-modal-dialog .vjs-modal-dialog-content{font-size:1.2em;line-height:1.5;padding:20px 24px;z-index:1}.vjs-menu-button{cursor:pointer}.vjs-menu-button.vjs-disabled{cursor:default}.vjs-workinghover .vjs-menu-button.vjs-disabled:hover .vjs-menu{display:none}.vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;font-family:Arial,Helvetica,sans-serif;overflow:auto}.vjs-menu .vjs-menu-content>*{-webkit-box-sizing:border-box;box-sizing:border-box}.vjs-scrubbing .vjs-control.vjs-menu-button:hover .vjs-menu{display:none}.vjs-menu li{list-style:none;margin:0;padding:.2em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.vjs-menu li.vjs-menu-item:focus,.vjs-menu li.vjs-menu-item:hover{background-color:#73859f;background-color:rgba(115,133,159,.5)}.vjs-menu li.vjs-selected,.vjs-menu li.vjs-selected:focus,.vjs-menu li.vjs-selected:hover{background-color:#fff;color:#2b333f}.vjs-menu li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 .3em;font-weight:700;cursor:default}.vjs-menu-button-popup .vjs-menu{display:none;position:absolute;bottom:0;width:10em;left:-3em;height:0;margin-bottom:1.5em;border-top-color:rgba(43,51,63,.7)}.vjs-menu-button-popup .vjs-menu .vjs-menu-content{background-color:#2b333f;background-color:rgba(43,51,63,.7);position:absolute;width:100%;bottom:1.5em;max-height:15em}.vjs-menu-button-popup .vjs-menu.vjs-lock-showing,.vjs-workinghover .vjs-menu-button-popup:hover .vjs-menu{display:block}.video-js .vjs-menu-button-inline{-webkit-transition:all .4s;transition:all .4s;overflow:hidden}.video-js .vjs-menu-button-inline:before{width:2.222222222em}.video-js .vjs-menu-button-inline.vjs-slider-active,.video-js .vjs-menu-button-inline:focus,.video-js .vjs-menu-button-inline:hover,.video-js.vjs-no-flex .vjs-menu-button-inline{width:12em}.vjs-menu-button-inline .vjs-menu{opacity:0;height:100%;width:auto;position:absolute;left:4em;top:0;padding:0;margin:0;-webkit-transition:all .4s;transition:all .4s}.vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-menu-button-inline:focus .vjs-menu,.vjs-menu-button-inline:hover .vjs-menu{display:block;opacity:1}.vjs-no-flex .vjs-menu-button-inline .vjs-menu{display:block;opacity:1;position:relative;width:auto}.vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,.vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu{width:auto}.vjs-menu-button-inline .vjs-menu-content{width:auto;height:100%;margin:0;overflow:hidden}.video-js .vjs-control-bar{display:none;width:100%;position:absolute;bottom:0;left:0;right:0;height:3em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.vjs-has-started .vjs-control-bar{display:-webkit-box;display:-ms-flexbox;display:flex;visibility:visible;opacity:1;-webkit-transition:visibility .1s,opacity .1s;transition:visibility .1s,opacity .1s}.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{visibility:visible;opacity:0;-webkit-transition:visibility 1s,opacity 1s;transition:visibility 1s,opacity 1s}.vjs-controls-disabled .vjs-control-bar,.vjs-error .vjs-control-bar,.vjs-using-native-controls .vjs-control-bar{display:none!important}.vjs-audio.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible}.vjs-has-started.vjs-no-flex .vjs-control-bar{display:table}.video-js .vjs-control{position:relative;text-align:center;margin:0;padding:0;height:100%;width:4em;-webkit-box-flex:0;-ms-flex:none;flex:none}.vjs-button>.vjs-icon-placeholder:before{font-size:1.8em;line-height:1.67}.video-js .vjs-control:focus,.video-js .vjs-control:focus:before,.video-js .vjs-control:hover:before{text-shadow:0 0 1em #fff}.video-js .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-no-flex .vjs-control{display:table-cell;vertical-align:middle}.video-js .vjs-custom-control-spacer{display:none}.video-js .vjs-progress-control{cursor:pointer;-webkit-box-flex:1;-ms-flex:auto;flex:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-width:4em;-ms-touch-action:none;touch-action:none}.video-js .vjs-progress-control.disabled{cursor:default}.vjs-live .vjs-progress-control{display:none}.vjs-no-flex .vjs-progress-control{width:auto}.video-js .vjs-progress-holder{-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-transition:all .2s;transition:all .2s;height:.3em}.video-js .vjs-progress-control .vjs-progress-holder{margin:0 10px}.video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1.6666666666666667em}.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled{font-size:1em}.video-js .vjs-progress-holder .vjs-load-progress,.video-js .vjs-progress-holder .vjs-load-progress div,.video-js .vjs-progress-holder .vjs-play-progress{position:absolute;display:block;height:100%;margin:0;padding:0;width:0}.video-js .vjs-play-progress{background-color:#fff}.video-js .vjs-play-progress:before{font-size:.9em;position:absolute;right:-.5em;top:-.333333333333333em;z-index:1}.video-js .vjs-load-progress{background:rgba(115,133,159,.5)}.video-js .vjs-load-progress div{background:rgba(115,133,159,.75)}.video-js .vjs-time-tooltip{background-color:#fff;background-color:hsla(0,0%,100%,.8);border-radius:.3em;color:#000;float:right;font-family:Arial,Helvetica,sans-serif;font-size:1em;padding:6px 8px 8px;pointer-events:none;position:absolute;top:-3.4em;visibility:hidden;z-index:1}.video-js .vjs-progress-holder:focus .vjs-time-tooltip{display:none}.video-js .vjs-progress-control:hover .vjs-progress-holder:focus .vjs-time-tooltip,.video-js .vjs-progress-control:hover .vjs-time-tooltip{display:block;font-size:.6em;visibility:visible}.video-js .vjs-progress-control.disabled:hover .vjs-time-tooltip{font-size:1em}.video-js .vjs-progress-control .vjs-mouse-display{display:none;position:absolute;width:1px;height:100%;background-color:#000;z-index:1}.vjs-no-flex .vjs-progress-control .vjs-mouse-display{z-index:0}.video-js .vjs-progress-control:hover .vjs-mouse-display{display:block}.video-js.vjs-user-inactive .vjs-progress-control .vjs-mouse-display{visibility:hidden;opacity:0;-webkit-transition:visibility 1s,opacity 1s;transition:visibility 1s,opacity 1s}.video-js.vjs-user-inactive.vjs-no-flex .vjs-progress-control .vjs-mouse-display{display:none}.vjs-mouse-display .vjs-time-tooltip{color:#fff;background-color:#000;background-color:rgba(0,0,0,.8)}.video-js .vjs-slider{position:relative;cursor:pointer;padding:0;margin:0 .45em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#73859f;background-color:rgba(115,133,159,.5)}.video-js .vjs-slider.disabled{cursor:default}.video-js .vjs-slider:focus{text-shadow:0 0 1em #fff;-webkit-box-shadow:0 0 1em #fff;box-shadow:0 0 1em #fff}.video-js .vjs-mute-control{cursor:pointer;-webkit-box-flex:0;-ms-flex:none;flex:none}.video-js .vjs-volume-control{cursor:pointer;margin-right:1em;display:-webkit-box;display:-ms-flexbox;display:flex}.video-js .vjs-volume-control.vjs-volume-horizontal{width:5em}.video-js .vjs-volume-panel .vjs-volume-control{visibility:visible;opacity:0;width:1px;height:1px;margin-left:-1px}.video-js .vjs-volume-panel{-webkit-transition:width 1s;transition:width 1s}.video-js .vjs-volume-panel .vjs-mute-control:hover~.vjs-volume-control,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active,.video-js .vjs-volume-panel .vjs-volume-control:active,.video-js .vjs-volume-panel .vjs-volume-control:hover,.video-js .vjs-volume-panel:active .vjs-volume-control,.video-js .vjs-volume-panel:focus .vjs-volume-control,.video-js .vjs-volume-panel:hover .vjs-volume-control{visibility:visible;opacity:1;position:relative;-webkit-transition:visibility .1s,opacity .1s,height .1s,width .1s,left 0s,top 0s;transition:visibility .1s,opacity .1s,height .1s,width .1s,left 0s,top 0s}.video-js .vjs-volume-panel .vjs-mute-control:hover~.vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control.vjs-slider-active.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control:active.vjs-volume-horizontal,.video-js .vjs-volume-panel .vjs-volume-control:hover.vjs-volume-horizontal,.video-js .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal,.video-js .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal{width:5em;height:3em}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal:active,.video-js .vjs-volume-panel.vjs-volume-panel-horizontal:hover{width:9em;-webkit-transition:width .1s;transition:width .1s}.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-mute-toggle-only{width:4em}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{height:8em;width:3em;left:-3.5em;-webkit-transition:visibility 1s,opacity 1s,height 1s 1s,width 1s 1s,left 1s 1s,top 1s 1s;transition:visibility 1s,opacity 1s,height 1s 1s,width 1s 1s,left 1s 1s,top 1s 1s}.video-js .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{-webkit-transition:visibility 1s,opacity 1s,height 1s 1s,width 1s,left 1s 1s,top 1s 1s;transition:visibility 1s,opacity 1s,height 1s 1s,width 1s,left 1s 1s,top 1s 1s}.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-horizontal{width:5em;height:3em;visibility:visible;opacity:1;position:relative;-webkit-transition:none;transition:none}.video-js.vjs-no-flex .vjs-volume-control.vjs-volume-vertical,.video-js.vjs-no-flex .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical{position:absolute;bottom:3em;left:.5em}.video-js .vjs-volume-panel{display:-webkit-box;display:-ms-flexbox;display:flex}.video-js .vjs-volume-bar{margin:1.35em .45em}.vjs-volume-bar.vjs-slider-horizontal{width:5em;height:.3em}.vjs-volume-bar.vjs-slider-vertical{width:.3em;height:5em;margin:1.35em auto}.video-js .vjs-volume-level{position:absolute;bottom:0;left:0;background-color:#fff}.video-js .vjs-volume-level:before{position:absolute;font-size:.9em}.vjs-slider-vertical .vjs-volume-level{width:.3em}.vjs-slider-vertical .vjs-volume-level:before{top:-.5em;left:-.3em}.vjs-slider-horizontal .vjs-volume-level{height:.3em}.vjs-slider-horizontal .vjs-volume-level:before{top:-.3em;right:-.5em}.video-js .vjs-volume-panel.vjs-volume-panel-vertical{width:4em}.vjs-volume-bar.vjs-slider-vertical .vjs-volume-level{height:100%}.vjs-volume-bar.vjs-slider-horizontal .vjs-volume-level{width:100%}.video-js .vjs-volume-vertical{width:3em;height:8em;bottom:8em;background-color:#2b333f;background-color:rgba(43,51,63,.7)}.video-js .vjs-volume-horizontal .vjs-menu{left:-2em}.vjs-poster{display:inline-block;vertical-align:middle;background-repeat:no-repeat;background-position:50% 50%;background-size:contain;background-color:#000;cursor:pointer;margin:0;padding:0;position:absolute;top:0;right:0;bottom:0;left:0;height:100%}.vjs-has-started .vjs-poster{display:none}.vjs-audio.vjs-has-started .vjs-poster{display:block}.vjs-using-native-controls .vjs-poster{display:none}.video-js .vjs-live-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-flex:1;-ms-flex:auto;flex:auto;font-size:1em;line-height:3em}.vjs-no-flex .vjs-live-control{display:table-cell;width:auto;text-align:left}.video-js .vjs-time-control{-webkit-box-flex:0;-ms-flex:none;flex:none;font-size:1em;line-height:3em;min-width:2em;width:auto;padding-left:1em;padding-right:1em}.video-js .vjs-current-time,.video-js .vjs-duration,.vjs-live .vjs-time-control,.vjs-no-flex .vjs-current-time,.vjs-no-flex .vjs-duration{display:none}.vjs-time-divider{display:none;line-height:3em}.vjs-live .vjs-time-divider{display:none}.video-js .vjs-play-control .vjs-icon-placeholder{cursor:pointer;-webkit-box-flex:0;-ms-flex:none;flex:none}.vjs-text-track-display{position:absolute;bottom:3em;left:0;right:0;top:0;pointer-events:none}.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display{bottom:1em}.video-js .vjs-text-track{font-size:1.4em;text-align:center;margin-bottom:.1em}.vjs-subtitles{color:#fff}.vjs-captions{color:#fc6}.vjs-tt-cue{display:block}video::-webkit-media-text-track-display{-webkit-transform:translateY(-3em);transform:translateY(-3em)}.video-js.vjs-user-inactive.vjs-playing video::-webkit-media-text-track-display{-webkit-transform:translateY(-1.5em);transform:translateY(-1.5em)}.video-js .vjs-fullscreen-control{cursor:pointer;-webkit-box-flex:0;-ms-flex:none;flex:none}.vjs-playback-rate .vjs-playback-rate-value,.vjs-playback-rate>.vjs-menu-button{position:absolute;top:0;left:0;width:100%;height:100%}.vjs-playback-rate .vjs-playback-rate-value{pointer-events:none;font-size:1.5em;line-height:2;text-align:center}.vjs-playback-rate .vjs-menu{width:4em;left:0}.vjs-error .vjs-error-display .vjs-modal-dialog-content{font-size:1.4em;text-align:center}.vjs-error .vjs-error-display:before{color:#fff;content:"X";font-family:Arial,Helvetica,sans-serif;font-size:4em;left:0;line-height:1;margin-top:-.5em;position:absolute;text-shadow:.05em .05em .1em #000;text-align:center;top:50%;vertical-align:middle;width:100%}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;opacity:.85;text-align:left;border:6px solid rgba(43,51,63,.7);-webkit-box-sizing:border-box;box-sizing:border-box;background-clip:padding-box;width:50px;height:50px;border-radius:25px;visibility:hidden}.vjs-seeking .vjs-loading-spinner,.vjs-waiting .vjs-loading-spinner{display:block;-webkit-animation:vjs-spinner-show 0s linear .3s forwards;animation:vjs-spinner-show 0s linear .3s forwards}.vjs-loading-spinner:after,.vjs-loading-spinner:before{content:"";position:absolute;margin:-6px;-webkit-box-sizing:inherit;box-sizing:inherit;width:inherit;height:inherit;border-radius:inherit;opacity:1;border:inherit;border-color:#fff transparent transparent}.vjs-seeking .vjs-loading-spinner:after,.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:before{-webkit-animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite;animation:vjs-spinner-spin 1.1s cubic-bezier(.6,.2,0,.8) infinite,vjs-spinner-fade 1.1s linear infinite}.vjs-seeking .vjs-loading-spinner:before,.vjs-waiting .vjs-loading-spinner:before{border-top-color:#fff}.vjs-seeking .vjs-loading-spinner:after,.vjs-waiting .vjs-loading-spinner:after{border-top-color:#fff;-webkit-animation-delay:.44s;animation-delay:.44s}@keyframes vjs-spinner-show{to{visibility:visible}}@-webkit-keyframes vjs-spinner-show{to{visibility:visible}}@keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes vjs-spinner-spin{to{-webkit-transform:rotate(1turn)}}@keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}@-webkit-keyframes vjs-spinner-fade{0%{border-top-color:#73859f}20%{border-top-color:#73859f}35%{border-top-color:#fff}60%{border-top-color:#73859f}to{border-top-color:#73859f}}.vjs-chapters-button .vjs-menu ul{width:24em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-subs-caps-button+.vjs-menu .vjs-captions-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:"\F10D";font-size:1.5em;line-height:inherit}.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder{vertical-align:middle;display:inline-block;margin-bottom:-.1em}.video-js .vjs-audio-button+.vjs-menu .vjs-main-desc-menu-item .vjs-menu-item-text .vjs-icon-placeholder:before{font-family:VideoJS;content:" \F11D";font-size:1.5em;line-height:inherit}.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-custom-control-spacer{-webkit-box-flex:1;-ms-flex:auto;flex:auto;display:block}.video-js.vjs-layout-tiny:not(.vjs-fullscreen).vjs-no-flex .vjs-custom-control-spacer{width:auto}.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-audio-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-descriptions-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-small:not(.vjs-fullscreen) .vjs-volume-panel,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-audio-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-descriptions-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-progress-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-subs-caps-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-tiny:not(.vjs-fullscreen) .vjs-volume-panel,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-audio-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-captions-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-chapters-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-current-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-descriptions-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-duration,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-mute-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-playback-rate,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-remaining-time,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-subs-caps-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-subtitles-button,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-time-divider,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-control,.video-js.vjs-layout-x-small:not(.vjs-fullscreen) .vjs-volume-panel{display:none}.vjs-modal-dialog.vjs-text-track-settings{background-color:#2b333f;background-color:rgba(43,51,63,.75);color:#fff;height:70%}.vjs-text-track-settings .vjs-modal-dialog-content{display:table}.vjs-text-track-settings .vjs-track-settings-colors,.vjs-text-track-settings .vjs-track-settings-controls,.vjs-text-track-settings .vjs-track-settings-font{display:table-cell}.vjs-text-track-settings .vjs-track-settings-controls{text-align:right;vertical-align:bottom}@supports (display:grid){.vjs-text-track-settings .vjs-modal-dialog-content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto}.vjs-text-track-settings .vjs-track-settings-colors{display:block;grid-column:1;grid-row:1}.vjs-text-track-settings .vjs-track-settings-font{grid-column:2;grid-row:1}.vjs-text-track-settings .vjs-track-settings-controls{grid-column:2;grid-row:2}}.vjs-track-setting>select{margin-right:5px}.vjs-text-track-settings fieldset{margin:5px;padding:3px;border:none}.vjs-text-track-settings fieldset span{display:inline-block}.vjs-text-track-settings legend{color:#fff;margin:0 0 5px}.vjs-text-track-settings .vjs-label{position:absolute;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);display:block;margin:0 0 5px;padding:0;border:0;height:1px;width:1px;overflow:hidden}.vjs-track-settings-controls button:active,.vjs-track-settings-controls button:focus{outline-style:solid;outline-width:medium;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(88%,#fff),to(#73859f));background-image:linear-gradient(0deg,#fff 88%,#73859f)}.vjs-track-settings-controls button:hover{color:rgba(43,51,63,.75)}.vjs-track-settings-controls button{background-color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(88%,#fff),to(#73859f));background-image:linear-gradient(-180deg,#fff 88%,#73859f);color:#2b333f;cursor:pointer;border-radius:2px}.vjs-track-settings-controls .vjs-default-button{margin-right:1em}@media print{.video-js>:not(.vjs-tech):not(.vjs-poster){visibility:hidden}}.vjs-resize-manager{position:absolute;top:0;left:0;width:100%;height:100%;border:none;z-index:-1000}.js-focus-visible .video-js :focus:not(.focus-visible),.video-js :focus:not(:focus-visible){outline:none}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-00b5"],{MSNs:function(t,e,a){"use strict";a.d(e,"a",function(){return r});var o=a("t3Un");function r(){return Object(o.a)({url:"/api/get_token",method:"get"})}},Y5bG:function(t,e,a){"use strict";a.d(e,"a",function(){return r}),Math.easeInOutQuad=function(t,e,a,o){return(t/=o/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e};var o=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function r(t,e,a){var r=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,i=t-r,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,r,i,e)),s<e?o(t):a&&"function"==typeof a&&a()}()}},Yfch:function(t,e,a){"use strict"},ZySA:function(t,e,a){"use strict";var o=a("P2sY"),r=a.n(o),i=(a("jUE0"),{bind:function(t,e){t.addEventListener("click",function(a){var o=r()({},e.value),i=r()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},o),s=i.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var n=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(n.width,n.height)+"px",s.appendChild(l)),i.type){case"center":l.style.top=n.height/2-l.offsetHeight/2+"px",l.style.left=n.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(a.pageY-n.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(a.pageX-n.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=i.color,l.className="waves-ripple z-active",!1}},!1)}}),s=function(t){t.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(s)),i.install=s;e.a=i},a8py:function(t,e,a){"use strict";var o=a("xl2T");a.n(o).a},"gDS+":function(t,e,a){t.exports={default:a("oh+g"),__esModule:!0}},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return r}),a.d(e,"c",function(){return i}),a.d(e,"e",function(){return s}),a.d(e,"d",function(){return n}),a.d(e,"b",function(){return l}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return p}),a.d(e,"f",function(){return u});var o=a("t3Un");function r(t){return Object(o.a)({url:"/api/search/user",method:"get",params:{name:t}})}function i(t){return Object(o.a)({url:"/api/search/group",method:"get",params:{name:t}})}function s(t){return Object(o.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function n(t){return Object(o.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(o.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(o.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function p(t){return Object(o.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function u(t){return Object(o.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},ipnt:function(t,e,a){"use strict";var o=a("gDS+"),r=a.n(o),i=a("P2sY"),s=a.n(i),n=a("glbJ"),l=a("fL+G"),c=a("Grqa"),p=a("uARZ"),u=a("ZySA"),d=a("Mz3J"),m=(a("Yfch"),a("wk8/")),f=a("gg54"),b={status:"draft",uploadType:"",is_recommend:0,user_id:"",create_time:"",topic_nums:0,password:"",avatar:"",nick_name:"",gender:"",tags:[],is_puppet:1,city:""},g={name:"UserDetail",components:{Tinymce:n.a,MDinput:c.a,Upload:l.a,Sticky:p.a,Pagination:d.a},directives:{waves:u.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,a,o){""===a?(t.$message({message:e.field+"为必传项",type:"error"}),o(new Error(e.field+"为必传项"))):o()};return{postForm:s()({},b),loading:!1,city:"",tags:[],rules:{nick_name:[{validator:e,trigger:"blur"}],avatar:[{validator:e,trigger:"blur"}]},tempRoute:{},GenderTypeOptions:[{key:0,display_name:"男"},{key:1,display_name:"女"}],regionListOptions:[],tagListOptions:[],uploadType:99,isdisabledFn:!1}},computed:{lang:function(){return this.$store.getters.language}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t)}else this.postForm=s()({},b);this.tempRoute=s()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(m.b)(t).then(function(t){var a=t.data.data;e.postForm=t.data.data,t.data.data.city.id&&t.data.data.city.name?e.city=t.data.data.city.id+":"+t.data.data.city.name:e.city="";for(var o=0;o<a.tag_list.length;o++)e.tags.push(a.tag_list[o].id+":"+a.tag_list[o].name)}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){return e?(t.loading=!0,""===t.city?(t.$message.error("城市必填~"),t.loading=!1,!1):(console.log(t.postForm.gender),""===t.postForm.gender?(t.$message.error("性别必填~"),t.loading=!1,!1):(t.isdisabledFn=!0,t.postForm.city=t.city,t.postForm.tags=r()(t.tags),Object(m.d)(t.postForm).then(function(e){t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/user/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),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)})},getRemoteTagList:function(t){var e=this;Object(f.e)(t).then(function(t){t.data.data.data&&(e.tagListOptions=t.data.data.data)})}}},h=(a("a8py"),a("KHd+")),y=Object(h.a)(g,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar "+t.postForm.status}},[a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{"margin-left":"10px"},attrs:{type:"success",disabled:t.isdisabledFn},on:{click:t.submitForm}},[t._v("保存\n ")])],1),t._v(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",{attrs:{gutter:20}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("用户相关")])]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("div",{staticClass:"postInfo-container"},[a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"ID:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text",disabled:""},model:{value:t.postForm.user_id,callback:function(e){t.$set(t.postForm,"user_id",e)},expression:"postForm.user_id"}})],1):t._e()],1),t._v(" "),a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"注册时间:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{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),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"帖子:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text",disabled:""},model:{value:t.postForm.topic_nums,callback:function(e){t.$set(t.postForm,"topic_nums",e)},expression:"postForm.topic_nums"}})],1):t._e()],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"*用户名:",prop:"nick_name"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text"},model:{value:t.postForm.nick_name,callback:function(e){t.$set(t.postForm,"nick_name",e)},expression:"postForm.nick_name"}})],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"电话:",prop:"phone"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text"},model:{value:t.postForm.phone,callback:function(e){t.$set(t.postForm,"phone",e)},expression:"postForm.phone"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"邮箱:",prop:"email"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text"},model:{value:t.postForm.email,callback:function(e){t.$set(t.postForm,"email",e)},expression:"postForm.email"}})],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{"label-width":"75px",label:"*性别:",prop:"gender"}},[a("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"230px"},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 a("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})}))],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{"label-width":"75px",label:"*城市:"}},[a("el-select",{staticStyle:{width:"230px"},attrs:{"remote-method":t.getRemoteCityList,filterable:"",remote:"",clearable:"","value-key":"id",placeholder:"搜索城市"},model:{value:t.city,callback:function(e){t.city=e},expression:"city"}},t._l(t.regionListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{"label-width":"75px",label:"标签:"}},[a("el-select",{staticStyle:{width:"720px"},attrs:{"remote-method":t.getRemoteTagList,filterable:"",remote:"",clearable:"",multiple:"","value-key":"id",placeholder:"搜索标签"},model:{value:t.tags,callback:function(e){t.tags=e},expression:"tags"}},t._l(t.tagListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"},attrs:{"label-width":"75px",label:"马甲号:"}},[a("el-radio-group",{model:{value:t.postForm.is_puppet,callback:function(e){t.$set(t.postForm,"is_puppet",e)},expression:"postForm.is_puppet"}},[a("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),a("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"},attrs:{"label-width":"75px",label:"推荐:"}},[a("el-radio-group",{model:{value:t.postForm.is_recommend,callback:function(e){t.$set(t.postForm,"is_recommend",e)},expression:"postForm.is_recommend"}},[a("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),a("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1)],1)],1)],1)])],1),t._v(" "),a("div",{staticStyle:{"margin-bottom":"20px"}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"85px",label:"*用户头像:",prop:"avatar"}},[a("span",{model:{value:t.uploadType,callback:function(e){t.uploadType=e},expression:"uploadType"}}),t._v(" "),a("Upload",{attrs:{uploadType:t.uploadType},model:{value:t.postForm.avatar,callback:function(e){t.$set(t.postForm,"avatar",e)},expression:"postForm.avatar"}})],1)],1)],1)],1)],1)],1)],1)},[],!1,null,"6d72dcb4",null);y.options.__file="UserDetail.vue";e.a=y.exports},jUE0:function(t,e,a){},"oh+g":function(t,e,a){var o=a("WEpk"),r=o.JSON||(o.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},"wk8/":function(t,e,a){"use strict";a.d(e,"c",function(){return r}),a.d(e,"a",function(){return i}),a.d(e,"b",function(){return s}),a.d(e,"d",function(){return n});var o=a("t3Un");function r(t){return Object(o.a)({url:"/api/user/list",method:"get",params:t})}function i(t){return Object(o.a)({url:"/api/user/list/update",method:"post",data:t})}function s(t){return Object(o.a)({url:"/api/user/get",method:"get",params:{id:t}})}function n(t){return Object(o.a)({url:"/api/user/create",method:"post",data:t})}},x10K:function(t,e,a){"use strict";a.r(e);var o={name:"CreateUser",components:{UserDetail:a("ipnt").a}},r=a("KHd+"),i=Object(r.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("user-detail",{attrs:{"is-edit":!1}})},[],!1,null,null,null);i.options.__file="create.vue";e.default=i.exports},xl2T:function(t,e,a){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-03fd"],{"/eX4":function(s,t,i){"use strict";i.r(t);var n=[function(){var s=this.$createElement,t=this._self._c||s;return t("div",{staticClass:"pic-404"},[t("img",{staticClass:"pic-404__parent",attrs:{src:i("o2sD"),alt:"404"}}),this._v(" "),t("img",{staticClass:"pic-404__child left",attrs:{src:i("Jvyq"),alt:"404"}}),this._v(" "),t("img",{staticClass:"pic-404__child mid",attrs:{src:i("Jvyq"),alt:"404"}}),this._v(" "),t("img",{staticClass:"pic-404__child right",attrs:{src:i("Jvyq"),alt:"404"}})])},function(){var s=this.$createElement,t=this._self._c||s;return t("div",{staticClass:"bullshit__info"},[this._v("版权所有\n "),t("a",{staticClass:"link-type",attrs:{href:"https://wallstreetcn.com",target:"_blank"}},[this._v("华尔街见闻")])])}],r={name:"Page404",computed:{message:function(){return"网管说这个页面你不能进......"}}},l=(i("Nh2X"),i("KHd+")),e=Object(l.a)(r,function(){var s=this,t=s.$createElement,i=s._self._c||t;return i("div",{staticClass:"wscn-http404-container"},[i("div",{staticClass:"wscn-http404"},[s._m(0),s._v(" "),i("div",{staticClass:"bullshit"},[i("div",{staticClass:"bullshit__oops"},[s._v("OOPS!")]),s._v(" "),s._m(1),s._v(" "),i("div",{staticClass:"bullshit__headline"},[s._v(s._s(s.message))]),s._v(" "),i("div",{staticClass:"bullshit__info"},[s._v("请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告")]),s._v(" "),i("a",{staticClass:"bullshit__return-home",attrs:{href:""}},[s._v("返回首页")])])])])},n,!1,null,"5f60752c",null);e.options.__file="404.vue";t.default=e.exports},Jvyq:function(s,t){s.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACKCAYAAABW3IOxAAAAAXNSR0IArs4c6QAAElhJREFUeAHtnXuQHMV9x7tndvdOQkgCWZKxkITEQ5YB87AVCT9iEqgyTsXlyA42QVRcScXYzvOPkKeJLSrOy8RVxMSVBNuVqrhIxS7KJk5BKlWpQKiKX4hgwOII6CzLAk6H0Pt0e/uY6Xx+p7vT3Gl2b2e3Z2d2t7vqdzuP7l//+tvf6+75dU+PVi5kioAxZl01UDtMEG43Wu/AmOuUUYeVVqNKmVGjvX2+HAdqX6mkfqS1Pp2pwQkz1wnju+gdIACZlpTr6npU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lUEp6HkXvNZTvY4gjV0ogx6mdN6t88qRZVQ7DDxsd7mLC+R0sCpx3P06B7WvLhj3W61gbGrqpHdsVlFBfQwIdK5uNlUp4u1Lh7TiHrkqot+3olggmUzufQvr+rZ22ge5SwoYEi+Y/PmHequr1XaHSt6X9pneHBHNTO9GKy8FxSwSbtVO6zMMT6t2hCW7nC6O3stTZ+iZwbRLMTe3MVlLOfhMRLGo7ZCuOnwpuYX3gLsj2flo2K28AJSTY7NSO7AH/o6h97jgfCLRNsKj5r/FNI3My2MnHb3ah8GbI1/YLGwkIJlM7sjbr+1Fb3HG+ELBCsGiRDp0ya1QYfmT64cCoHdF7rRy3QDA3tdMKkDmJY51g0XKNHzebcXnwFIrbw6g3R+81Om5CMJna2Y18mVar3ii9u54vBFIlWLSoh0+b6+u1+u3MHNzGzMG66L3ocQzB5PuPn0dkQzb31k4UrB447hrBZrFgfOYdmqi/RwcaZ676EGRbOXtPfiMEc1M7UWDccXIEINvQ+Mn6zrHj9YfGTtTLsp3nqamAy+YR5MrkGl0Kh0ADBI4Ys/zUVPj4sdPBPQ2iuMsOAYeAQ2A+Av8Pby5Qwk3kUm8AAAAASUVORK5CYII="},Nh2X:function(s,t,i){"use strict";var n=i("nrX+");i.n(n).a},"nrX+":function(s,t,i){},o2sD:function(s,t,i){s.exports=i.p+"static/img/404.a57b6f3.png"}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0618"],{"4NrL":function(t,e,a){"use strict";a.r(e);var r={name:"EditAccount",components:{AccountDetail:a("Ytwa").a}},n=a("KHd+"),o=Object(n.a)(r,function(){var t=this.$createElement;return(this._self._c||t)("account-detail",{attrs:{"is-edit":!0}})},[],!1,null,null,null);o.options.__file="edit.vue";e.default=o.exports},VyMG:function(t,e,a){"use strict";a.d(e,"d",function(){return n}),a.d(e,"b",function(){return o}),a.d(e,"a",function(){return s}),a.d(e,"c",function(){return i}),a.d(e,"e",function(){return u});var r=a("t3Un");function n(t){return Object(r.a)({url:"/api/account/list",method:"get",params:t})}function o(t){return Object(r.a)({url:"/api/account/list/update",method:"post",data:t})}function s(t){return Object(r.a)({url:"/api/account/create",method:"post",data:t})}function i(t){return Object(r.a)({url:"/api/account/detail",method:"get",params:{id:t}})}function u(t){return Object(r.a)({url:"/api/account/reset_password",method:"post",data:t})}},WBRP:function(t,e,a){},Yfch:function(t,e,a){"use strict"},Ytwa:function(t,e,a){"use strict";var r=a("P2sY"),n=a.n(r),o=a("Grqa"),s=a("uARZ"),i=(a("Yfch"),a("VyMG")),u=a("gg54"),c={status:"draft",username:"",password:"",email:"",phone:"",nick_name:""},m={name:"GroupDetail",components:{MDinput:o.a,Sticky:s.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,a,r){""===(a=a.trim())?(t.$message({message:e.field+"为必传项",type:"error"}),r(new Error(e.field+"为必传项"))):r()};return{postForm:n()({},c),loading:!1,userListOptions:[],rules:{username:[{validator:e,trigger:"blur"}],nick_name:[{validator:e,trigger:"blur"}],email:[{validator:e,trigger:"blur"}],password:[{validator:function(e,a,r){""===(a=a.trim())?(t.$message({message:e.field+"为必传项",type:"error"}),r(new Error(e.field+"为必传项"))):a.length<6?(t.$message({message:"密码不得少于6位",type:"error"}),r(new Error("密码不得少于6位"))):r()},trigger:"blur"}],phone:[{validator:e,trigger:"blur"}]},isShow:!1}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t)}else this.postForm=n()({},c);this.tempRoute=n()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(i.c)(t).then(function(t){e.postForm=t.data.data.data,e.isShow=!0}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0,Object(i.a)(t.postForm).then(function(e){if(500==e.data.data.code)return t.$notify({title:"失败",message:e.data.data.message,type:"error",duration:2e3}),t.loading=!1,!1;t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/account/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!1})},getRemoteUserList:function(t){var e=this;Object(u.h)(t).then(function(t){t.data.items&&(e.userListOptions=t.data.items.map(function(t){return t.name}))})}}},l=(a("iCGk"),a("KHd+")),p=Object(l.a)(m,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar "+t.postForm.status}},[a("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("保存")])],1),t._v(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",[a("el-col",{attrs:{span:24}},[t.isShow?a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"username"}},[a("MDinput",{attrs:{maxlength:100,name:"username",required:"",disabled:"disabled"},model:{value:t.postForm.username,callback:function(e){t.$set(t.postForm,"username",e)},expression:"postForm.username"}},[t._v("\n 账号\n ")])],1):a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"username"}},[a("MDinput",{attrs:{maxlength:100,name:"username",required:""},model:{value:t.postForm.username,callback:function(e){t.$set(t.postForm,"username",e)},expression:"postForm.username"}},[t._v("\n 账号\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.is_show,expression:"is_show"}],staticStyle:{"margin-bottom":"40px"},attrs:{prop:"password"}},[a("MDinput",{attrs:{maxlength:100,name:"password",required:""},model:{value:t.postForm.password,callback:function(e){t.$set(t.postForm,"password",e)},expression:"postForm.password"}},[t._v("\n 密码\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"email"}},[a("MDinput",{attrs:{maxlength:100,name:"email",required:""},model:{value:t.postForm.email,callback:function(e){t.$set(t.postForm,"email",e)},expression:"postForm.email"}},[t._v("\n 邮箱\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"nick_name"}},[a("MDinput",{attrs:{maxlength:100,name:"nick_name",required:""},model:{value:t.postForm.nick_name,callback:function(e){t.$set(t.postForm,"nick_name",e)},expression:"postForm.nick_name"}},[t._v("\n 姓名\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"phone"}},[a("MDinput",{attrs:{maxlength:100,name:"phone",required:""},model:{value:t.postForm.phone,callback:function(e){t.$set(t.postForm,"phone",e)},expression:"postForm.phone"}},[t._v("\n 电话\n ")])],1)],1)],1)],1)],1)],1)},[],!1,null,"2504740e",null);p.options.__file="AccountDetail.vue";e.a=p.exports},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return n}),a.d(e,"c",function(){return o}),a.d(e,"e",function(){return s}),a.d(e,"d",function(){return i}),a.d(e,"b",function(){return u}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return m}),a.d(e,"f",function(){return l});var r=a("t3Un");function n(t){return Object(r.a)({url:"/api/search/user",method:"get",params:{name:t}})}function o(t){return Object(r.a)({url:"/api/search/group",method:"get",params:{name:t}})}function s(t){return Object(r.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function i(t){return Object(r.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function u(t){return Object(r.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(r.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function m(t){return Object(r.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function l(t){return Object(r.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},iCGk:function(t,e,a){"use strict";var r=a("WBRP");a.n(r).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0bf8"],{"6ClW":function(e,t,l){"use strict";l.r(t);var i=l("D6yg"),n=l("Mz3J"),a=l("ZySA"),s={name:"TopicList",components:{Pagination:n.a},filters:{isOnlineFilter:function(e){return{1:"success",0:"info"}[e]},genderFilter:function(e){return{"男":"success","女":"info","全部":"danger"}[e]}},directives:{waves:a.a},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:0,limit:10,filter:{value:"",key:"",is_online:"",complaints__isnull:"",user__is_puppet:"",content_level:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],ReBooleanTypeOptions:[{key:"0",display_name:"是"},{key:"1",display_name:"否"}],SearchTypeOptions:[{key:"id",display_name:"帖子ID"},{key:"content",display_name:"帖子内容"},{key:"group__name",display_name:"小组"}],ContentLevelTypeOptions:[{key:0,display_name:"未审核"},{key:1,display_name:"星级一"},{key:2,display_name:"星级二"},{key:3,display_name:"星级三"},{key:4,display_name:"星级四"},{key:5,display_name:"星级五"}]}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,this.listQuery.user_id=this.$route.query.user_id||"",this.listQuery.group_id=this.$route.query.group_id||"",Object(i.e)(this.listQuery).then(function(t){console.log(t.data.data),e.list=t.data.data.data,e.total=t.data.data.total,e.listLoading=!1})},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.listQuery.limit=e,this.getList()},handleCurrentChange:function(e){this.listQuery.page=e,this.getList()},handleOfflineOrOnline:function(e){var t=this,l=this.multipleSelection.length,n="";this.del_list=this.del_list.concat(this.multipleSelection);for(var a=0;a<l;a++)this.multipleSelection[a].is_online="offline"===e?0:1,n+=this.multipleSelection[a].id+" ";Object(i.b)({type:e,ids:n}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),t.$router.go(0)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/topic/create")}}},o=(l("srV9"),l("KHd+")),r=Object(o.a)(s,function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"app-container"},[l("div",{staticClass:"filter-container"},[l("el-input",{staticClass:"filter-item",staticStyle:{width:"160px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.listQuery.filter.value,callback:function(t){e.$set(e.listQuery.filter,"value",t)},expression:"listQuery.filter.value"}}),e._v(" "),l("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:e.listQuery.filter.key,callback:function(t){e.$set(e.listQuery.filter,"key",t)},expression:"listQuery.filter.key"}},e._l(e.SearchTypeOptions,function(e){return l("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),l("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:e.listQuery.filter.is_online,callback:function(t){e.$set(e.listQuery.filter,"is_online",t)},expression:"listQuery.filter.is_online"}},e._l(e.BooleanTypeOptions,function(e){return l("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),l("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"举报",clearable:""},model:{value:e.listQuery.filter.complaints__isnull,callback:function(t){e.$set(e.listQuery.filter,"complaints__isnull",t)},expression:"listQuery.filter.complaints__isnull"}},e._l(e.ReBooleanTypeOptions,function(e){return l("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),l("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"马甲",clearable:""},model:{value:e.listQuery.filter.is_puppet,callback:function(t){e.$set(e.listQuery.filter,"is_puppet",t)},expression:"listQuery.filter.is_puppet"}},e._l(e.BooleanTypeOptions,function(e){return l("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),l("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"帖子星级",clearable:""},model:{value:e.listQuery.filter.content_level,callback:function(t){e.$set(e.listQuery.filter,"content_level",t)},expression:"listQuery.filter.content_level"}},e._l(e.ContentLevelTypeOptions,function(e){return l("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),l("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v("搜索")]),e._v(" "),l("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v("创建")]),e._v(" "),l("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("offline")}}},[e._v("下线")]),e._v(" "),l("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("online")}}},[e._v("上线")])],1),e._v(" "),l("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[l("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"帖子ID "},scopedSlots:e._u([{key:"default",fn:function(t){return[l("router-link",{staticClass:"link-type",attrs:{to:"/topic/edit/"+t.row.id}},[l("span",[e._v(e._s(t.row.id))])])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"用户"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",[e._v(e._s(t.row.user.name))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"帖子详情"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",[e._v(e._s(t.row.content))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"最新回复"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",[e._v(e._s(t.row.newly_reply))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"小组"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",[e._v(e._s(t.row.group.name))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"更新时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",[e._v(e._s(t.row.update_time))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"举报时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",[e._v(e._s(t.row.reported_time?t.row.reported_time:"无"))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"帖子星级"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("span",[e._v(e._s(t.row.content_level))])]}}])}),e._v(" "),l("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:e._u([{key:"default",fn:function(t){return[l("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_online)}},[e._v(e._s(1===t.row.is_online?"是":"否"))])]}}])})],1),e._v(" "),l("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){e.$set(e.listQuery,"page",t)},"update:limit":function(t){e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},[],!1,null,"2a07d99e",null);r.options.__file="list.vue";t.default=r.exports},D6yg:function(e,t,l){"use strict";l.d(t,"e",function(){return n}),l.d(t,"b",function(){return a}),l.d(t,"c",function(){return s}),l.d(t,"g",function(){return o}),l.d(t,"d",function(){return r}),l.d(t,"f",function(){return c}),l.d(t,"a",function(){return u});var i=l("t3Un");function n(e){return Object(i.a)({url:"/api/topic/list",method:"get",params:e})}function a(e){return Object(i.a)({url:"/api/topic/batch_update",method:"post",data:e})}function s(e){return Object(i.a)({url:"/api/topic/reply/create",method:"post",data:e})}function o(e){return Object(i.a)({url:"/api/topic/detail",method:"get",params:{id:e}})}function r(e){return Object(i.a)({url:"/api/topic/create",method:"post",data:e})}function c(e){return Object(i.a)({url:"/api/topic/reply/list",method:"get",params:e})}function u(e){return Object(i.a)({url:"/api/topic/reply/batch_delete",method:"post",data:e})}},XA3k:function(e,t,l){},Y5bG:function(e,t,l){"use strict";l.d(t,"a",function(){return n}),Math.easeInOutQuad=function(e,t,l,i){return(e/=i/2)<1?l/2*e*e+t:-l/2*(--e*(e-2)-1)+t};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function n(e,t,l){var n=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=e-n,s=0;t=void 0===t?500:t;!function e(){s+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(s,n,a,t)),s<t?i(e):l&&"function"==typeof l&&l()}()}},ZySA:function(e,t,l){"use strict";var i=l("P2sY"),n=l.n(i),a=(l("jUE0"),{bind:function(e,t){e.addEventListener("click",function(l){var i=n()({},t.value),a=n()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var o=s.getBoundingClientRect(),r=s.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",s.appendChild(r)),a.type){case"center":r.style.top=o.height/2-r.offsetHeight/2+"px",r.style.left=o.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(l.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(l.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=a.color,r.className="waves-ripple z-active",!1}},!1)}}),s=function(e){e.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;t.a=a},jUE0:function(e,t,l){},srV9:function(e,t,l){"use strict";var i=l("XA3k");l.n(i).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0e44"],{"00Qp":function(t,e,a){"use strict";a.r(e);var o={name:"EditUser",components:{UserDetail:a("ipnt").a}},r=a("KHd+"),i=Object(r.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("user-detail",{attrs:{"is-edit":!0}})},[],!1,null,null,null);i.options.__file="edit.vue";e.default=i.exports},MSNs:function(t,e,a){"use strict";a.d(e,"a",function(){return r});var o=a("t3Un");function r(){return Object(o.a)({url:"/api/get_token",method:"get"})}},Y5bG:function(t,e,a){"use strict";a.d(e,"a",function(){return r}),Math.easeInOutQuad=function(t,e,a,o){return(t/=o/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e};var o=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function r(t,e,a){var r=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,i=t-r,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,r,i,e)),s<e?o(t):a&&"function"==typeof a&&a()}()}},Yfch:function(t,e,a){"use strict"},ZySA:function(t,e,a){"use strict";var o=a("P2sY"),r=a.n(o),i=(a("jUE0"),{bind:function(t,e){t.addEventListener("click",function(a){var o=r()({},e.value),i=r()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},o),s=i.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var n=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(n.width,n.height)+"px",s.appendChild(l)),i.type){case"center":l.style.top=n.height/2-l.offsetHeight/2+"px",l.style.left=n.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(a.pageY-n.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(a.pageX-n.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=i.color,l.className="waves-ripple z-active",!1}},!1)}}),s=function(t){t.directive("waves",i)};window.Vue&&(window.waves=i,Vue.use(s)),i.install=s;e.a=i},a8py:function(t,e,a){"use strict";var o=a("xl2T");a.n(o).a},"gDS+":function(t,e,a){t.exports={default:a("oh+g"),__esModule:!0}},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return r}),a.d(e,"c",function(){return i}),a.d(e,"e",function(){return s}),a.d(e,"d",function(){return n}),a.d(e,"b",function(){return l}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return p}),a.d(e,"f",function(){return u});var o=a("t3Un");function r(t){return Object(o.a)({url:"/api/search/user",method:"get",params:{name:t}})}function i(t){return Object(o.a)({url:"/api/search/group",method:"get",params:{name:t}})}function s(t){return Object(o.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function n(t){return Object(o.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(o.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(o.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function p(t){return Object(o.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function u(t){return Object(o.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},ipnt:function(t,e,a){"use strict";var o=a("gDS+"),r=a.n(o),i=a("P2sY"),s=a.n(i),n=a("glbJ"),l=a("fL+G"),c=a("Grqa"),p=a("uARZ"),u=a("ZySA"),d=a("Mz3J"),m=(a("Yfch"),a("wk8/")),f=a("gg54"),b={status:"draft",uploadType:"",is_recommend:0,user_id:"",create_time:"",topic_nums:0,password:"",avatar:"",nick_name:"",gender:"",tags:[],is_puppet:1,city:""},g={name:"UserDetail",components:{Tinymce:n.a,MDinput:c.a,Upload:l.a,Sticky:p.a,Pagination:d.a},directives:{waves:u.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,a,o){""===a?(t.$message({message:e.field+"为必传项",type:"error"}),o(new Error(e.field+"为必传项"))):o()};return{postForm:s()({},b),loading:!1,city:"",tags:[],rules:{nick_name:[{validator:e,trigger:"blur"}],avatar:[{validator:e,trigger:"blur"}]},tempRoute:{},GenderTypeOptions:[{key:0,display_name:"男"},{key:1,display_name:"女"}],regionListOptions:[],tagListOptions:[],uploadType:99,isdisabledFn:!1}},computed:{lang:function(){return this.$store.getters.language}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t)}else this.postForm=s()({},b);this.tempRoute=s()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(m.b)(t).then(function(t){var a=t.data.data;e.postForm=t.data.data,t.data.data.city.id&&t.data.data.city.name?e.city=t.data.data.city.id+":"+t.data.data.city.name:e.city="";for(var o=0;o<a.tag_list.length;o++)e.tags.push(a.tag_list[o].id+":"+a.tag_list[o].name)}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){return e?(t.loading=!0,""===t.city?(t.$message.error("城市必填~"),t.loading=!1,!1):(console.log(t.postForm.gender),""===t.postForm.gender?(t.$message.error("性别必填~"),t.loading=!1,!1):(t.isdisabledFn=!0,t.postForm.city=t.city,t.postForm.tags=r()(t.tags),Object(m.d)(t.postForm).then(function(e){t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/user/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),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)})},getRemoteTagList:function(t){var e=this;Object(f.e)(t).then(function(t){t.data.data.data&&(e.tagListOptions=t.data.data.data)})}}},h=(a("a8py"),a("KHd+")),y=Object(h.a)(g,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar "+t.postForm.status}},[a("el-button",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{"margin-left":"10px"},attrs:{type:"success",disabled:t.isdisabledFn},on:{click:t.submitForm}},[t._v("保存\n ")])],1),t._v(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",{attrs:{gutter:20}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("用户相关")])]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("div",{staticClass:"postInfo-container"},[a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"ID:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text",disabled:""},model:{value:t.postForm.user_id,callback:function(e){t.$set(t.postForm,"user_id",e)},expression:"postForm.user_id"}})],1):t._e()],1),t._v(" "),a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"注册时间:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{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),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"帖子:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text",disabled:""},model:{value:t.postForm.topic_nums,callback:function(e){t.$set(t.postForm,"topic_nums",e)},expression:"postForm.topic_nums"}})],1):t._e()],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"*用户名:",prop:"nick_name"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text"},model:{value:t.postForm.nick_name,callback:function(e){t.$set(t.postForm,"nick_name",e)},expression:"postForm.nick_name"}})],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"电话:",prop:"phone"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text"},model:{value:t.postForm.phone,callback:function(e){t.$set(t.postForm,"phone",e)},expression:"postForm.phone"}})],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"邮箱:",prop:"email"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text"},model:{value:t.postForm.email,callback:function(e){t.$set(t.postForm,"email",e)},expression:"postForm.email"}})],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{"label-width":"75px",label:"*性别:",prop:"gender"}},[a("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"230px"},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 a("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})}))],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{"label-width":"75px",label:"*城市:"}},[a("el-select",{staticStyle:{width:"230px"},attrs:{"remote-method":t.getRemoteCityList,filterable:"",remote:"",clearable:"","value-key":"id",placeholder:"搜索城市"},model:{value:t.city,callback:function(e){t.city=e},expression:"city"}},t._l(t.regionListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{"label-width":"75px",label:"标签:"}},[a("el-select",{staticStyle:{width:"720px"},attrs:{"remote-method":t.getRemoteTagList,filterable:"",remote:"",clearable:"",multiple:"","value-key":"id",placeholder:"搜索标签"},model:{value:t.tags,callback:function(e){t.tags=e},expression:"tags"}},t._l(t.tagListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"},attrs:{"label-width":"75px",label:"马甲号:"}},[a("el-radio-group",{model:{value:t.postForm.is_puppet,callback:function(e){t.$set(t.postForm,"is_puppet",e)},expression:"postForm.is_puppet"}},[a("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),a("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"},attrs:{"label-width":"75px",label:"推荐:"}},[a("el-radio-group",{model:{value:t.postForm.is_recommend,callback:function(e){t.$set(t.postForm,"is_recommend",e)},expression:"postForm.is_recommend"}},[a("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),a("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1)],1)],1)],1)])],1),t._v(" "),a("div",{staticStyle:{"margin-bottom":"20px"}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"85px",label:"*用户头像:",prop:"avatar"}},[a("span",{model:{value:t.uploadType,callback:function(e){t.uploadType=e},expression:"uploadType"}}),t._v(" "),a("Upload",{attrs:{uploadType:t.uploadType},model:{value:t.postForm.avatar,callback:function(e){t.$set(t.postForm,"avatar",e)},expression:"postForm.avatar"}})],1)],1)],1)],1)],1)],1)],1)},[],!1,null,"6d72dcb4",null);y.options.__file="UserDetail.vue";e.a=y.exports},jUE0:function(t,e,a){},"oh+g":function(t,e,a){var o=a("WEpk"),r=o.JSON||(o.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},"wk8/":function(t,e,a){"use strict";a.d(e,"c",function(){return r}),a.d(e,"a",function(){return i}),a.d(e,"b",function(){return s}),a.d(e,"d",function(){return n});var o=a("t3Un");function r(t){return Object(o.a)({url:"/api/user/list",method:"get",params:t})}function i(t){return Object(o.a)({url:"/api/user/list/update",method:"post",data:t})}function s(t){return Object(o.a)({url:"/api/user/get",method:"get",params:{id:t}})}function n(t){return Object(o.a)({url:"/api/user/create",method:"post",data:t})}},xl2T:function(t,e,a){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1132"],{VyMG:function(t,e,n){"use strict";n.d(e,"d",function(){return l}),n.d(e,"b",function(){return a}),n.d(e,"a",function(){return o}),n.d(e,"c",function(){return s}),n.d(e,"e",function(){return r});var i=n("t3Un");function l(t){return Object(i.a)({url:"/api/account/list",method:"get",params:t})}function a(t){return Object(i.a)({url:"/api/account/list/update",method:"post",data:t})}function o(t){return Object(i.a)({url:"/api/account/create",method:"post",data:t})}function s(t){return Object(i.a)({url:"/api/account/detail",method:"get",params:{id:t}})}function r(t){return Object(i.a)({url:"/api/account/reset_password",method:"post",data:t})}},Y5bG:function(t,e,n){"use strict";n.d(e,"a",function(){return l}),Math.easeInOutQuad=function(t,e,n,i){return(t/=i/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function l(t,e,n){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=t-l,o=0;e=void 0===e?500:e;!function t(){o+=20,function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}(Math.easeInOutQuad(o,l,a,e)),o<e?i(t):n&&"function"==typeof n&&n()}()}},ZySA:function(t,e,n){"use strict";var i=n("P2sY"),l=n.n(i),a=(n("jUE0"),{bind:function(t,e){t.addEventListener("click",function(n){var i=l()({},e.value),a=l()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var s=o.getBoundingClientRect(),r=o.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(s.width,s.height)+"px",o.appendChild(r)),a.type){case"center":r.style.top=s.height/2-r.offsetHeight/2+"px",r.style.left=s.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(n.pageY-s.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(n.pageX-s.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=a.color,r.className="waves-ripple z-active",!1}},!1)}}),o=function(t){t.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(o)),a.install=o;e.a=a},j9z5:function(t,e,n){},jUE0:function(t,e,n){},siTO:function(t,e,n){"use strict";n.r(e);var i=n("VyMG"),l=n("Mz3J"),a=n("ZySA"),o={name:"UserList",components:{Pagination:l.a},directives:{waves:a.a},filters:{isOnlineFilter:function(t){return{1:"success",0:"info"}[t]}},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:0,limit:10,filter:{value:"",key:"",is_online:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],SearchTypeOptions:[{key:"user__username",display_name:"用户名"}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(i.d)(this.listQuery).then(function(e){t.list=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.page=t,this.getList()},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/account/create")},handleOfflineOrOnline:function(t){var e=this,n=this.multipleSelection.length,l="";this.del_list=this.del_list.concat(this.multipleSelection);for(var a=0;a<n;a++)this.multipleSelection[a].is_online="offline"===t?0:1,l+=this.multipleSelection[a].id+" ";Object(i.b)({type:t,ids:l}).then(function(t){e.multipleSelection=[],e.$message.success(t.data.data.message),e.$router.go(0)})},reset:function(t){var e=this;Object(i.e)(t).then(function(t){e.$message.success("重置成功")})}}},s=(n("v66d"),n("KHd+")),r=Object(s.a)(o,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-input",{staticClass:"filter-item",staticStyle:{width:"180px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleFilter(e):null}},model:{value:t.listQuery.filter.value,callback:function(e){t.$set(t.listQuery.filter,"value",e)},expression:"listQuery.filter.value"}}),t._v(" "),n("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:t.listQuery.filter.key,callback:function(e){t.$set(t.listQuery.filter,"key",e)},expression:"listQuery.filter.key"}},t._l(t.SearchTypeOptions,function(t){return n("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),n("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")]),t._v(" "),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v("创建\n ")]),t._v(" "),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("offline")}}},[t._v("下线\n ")]),t._v(" "),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("online")}}},[t._v("上线\n ")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{type:"selection",align:"center"}}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"账号ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"link-type",attrs:{to:"/account/edit/"+e.row.id}},[n("span",[t._v(t._s(e.row.id))])])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"用户名"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.username))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"邮箱"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.email))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-tag",{attrs:{type:t._f("isOnlineFilter")(e.row.is_online)}},[t._v(t._s(1==e.row.is_online?"是":"否"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(n){t.reset(e.row)}}},[t._v("重置密码")])]}}])})],1),t._v(" "),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},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,null,"7af7e800",null);r.options.__file="list.vue";e.default=r.exports},v66d:function(t,e,n){"use strict";var i=n("j9z5");n.n(i).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2483"],{44:function(M,t){},AnnO:function(M,t,e){},D6yg:function(M,t,e){"use strict";e.d(t,"e",function(){return N}),e.d(t,"b",function(){return s}),e.d(t,"c",function(){return a}),e.d(t,"g",function(){return D}),e.d(t,"d",function(){return o}),e.d(t,"f",function(){return n}),e.d(t,"a",function(){return u});var i=e("t3Un");function N(M){return Object(i.a)({url:"/api/topic/list",method:"get",params:M})}function s(M){return Object(i.a)({url:"/api/topic/batch_update",method:"post",data:M})}function a(M){return Object(i.a)({url:"/api/topic/reply/create",method:"post",data:M})}function D(M){return Object(i.a)({url:"/api/topic/detail",method:"get",params:{id:M}})}function o(M){return Object(i.a)({url:"/api/topic/create",method:"post",data:M})}function n(M){return Object(i.a)({url:"/api/topic/reply/list",method:"get",params:M})}function u(M){return Object(i.a)({url:"/api/topic/reply/batch_delete",method:"post",data:M})}},JQgi:function(M,t,e){"use strict";var i=e("P51Y");e.n(i).a},M3u7:function(M,t,e){"use strict";var i=e("w0ET");e.n(i).a},MSNs:function(M,t,e){"use strict";e.d(t,"a",function(){return N});var i=e("t3Un");function N(){return Object(i.a)({url:"/api/get_token",method:"get"})}},P51Y:function(M,t,e){},QZIb:function(M,t,e){"use strict";var i=e("veea");e.n(i).a},ShP5:function(M,t,e){"use strict";var i=e("zEuE");e.n(i).a},Uw9q:function(M,t,e){"use strict";var i=e("AnnO");e.n(i).a},V7QB:function(M,t,e){},Y5bG:function(M,t,e){"use strict";e.d(t,"a",function(){return N}),Math.easeInOutQuad=function(M,t,e,i){return(M/=i/2)<1?e/2*M*M+t:-e/2*(--M*(M-2)-1)+t};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(M){window.setTimeout(M,1e3/60)};function N(M,t,e){var N=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,s=M-N,a=0;t=void 0===t?500:t;!function M(){a+=20,function(M){document.documentElement.scrollTop=M,document.body.parentNode.scrollTop=M,document.body.scrollTop=M}(Math.easeInOutQuad(a,N,s,t)),a<t?i(M):e&&"function"==typeof e&&e()}()}},ZySA:function(M,t,e){"use strict";var i=e("P2sY"),N=e.n(i),s=(e("jUE0"),{bind:function(M,t){M.addEventListener("click",function(e){var i=N()({},t.value),s=N()({ele:M,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),a=s.ele;if(a){a.style.position="relative",a.style.overflow="hidden";var D=a.getBoundingClientRect(),o=a.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":((o=document.createElement("span")).className="waves-ripple",o.style.height=o.style.width=Math.max(D.width,D.height)+"px",a.appendChild(o)),s.type){case"center":o.style.top=D.height/2-o.offsetHeight/2+"px",o.style.left=D.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(e.pageY-D.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(e.pageX-D.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=s.color,o.className="waves-ripple z-active",!1}},!1)}}),a=function(M){M.directive("waves",s)};window.Vue&&(window.waves=s,Vue.use(a)),s.install=a;t.a=s},epjT:function(M,t,e){"use strict";var i=e("gDS+"),N=e.n(i),s=e("P2sY"),a=e.n(s),D=e("vDqi"),o=e.n(D),n=e("Grqa"),u=e("uARZ"),c=e("eeMe"),z=e.n(c);e("e8E5");z.a.autoDiscover=!1;var l={props:{id:{type:String,required:!0},url:{type:String,required:!0},clickable:{type:Boolean,default:!0},defaultMsg:{type:String,default:"上传图片"},acceptedFiles:{type:String,default:""},thumbnailHeight:{type:Number,default:100},thumbnailWidth:{type:Number,default:100},showRemoveLink:{type:Boolean,default:!0},maxFilesize:{type:Number,default:2},maxFiles:{type:Number,default:3},type:{type:Number,default:99},autoProcessQueue:{type:Boolean,default:!0},useCustomDropzoneOptions:{type:Boolean,default:!1},defaultImg:{default:"",type:[String,Array]},couldPaste:{type:Boolean,default:!1}},data:function(){return{dropzone:"",initOnce:!0}},watch:{defaultImg:function(M){0!==M.length?this.initOnce&&(this.initImages(M),this.initOnce=!1):this.initOnce=!1}},mounted:function(){var M=document.getElementById(this.id),t=this;this.dropzone=new z.a(M,{type:this.type,clickable:this.clickable,thumbnailWidth:this.thumbnailWidth,thumbnailHeight:this.thumbnailHeight,maxFiles:this.maxFiles,maxFilesize:this.maxFilesize,dictRemoveFile:"Remove",addRemoveLinks:this.showRemoveLink,acceptedFiles:this.acceptedFiles,autoProcessQueue:this.autoProcessQueue,dictDefaultMessage:'<i style="margin-top: 3em;display: inline-block" class="material-icons">'+this.defaultMsg+"</i><br>Drop files here to upload",dictMaxFilesExceeded:"只能一个图",previewTemplate:'<div class="dz-preview dz-file-preview"> <div class="dz-image" style="width:'+this.thumbnailWidth+"px;height:"+this.thumbnailHeight+'px" ><img style="width:'+this.thumbnailWidth+"px;height:"+this.thumbnailHeight+'px" data-dz-thumbnail /></div> <div class="dz-details"><div class="dz-size"><span data-dz-size></span></div> <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <i class="material-icons">done</i> </div> <div class="dz-error-mark"><i class="material-icons">error</i></div></div>',init:function(){var M=this,e=t.defaultImg;if(e)if(Array.isArray(e)){if(0===e.length)return;e.map(function(e,i){var N={name:"name"+i,size:12345,url:e};return M.options.addedfile.call(M,N),M.options.thumbnail.call(M,N,e),N.previewElement.classList.add("dz-success"),N.previewElement.classList.add("dz-complete"),t.initOnce=!1,!0})}else{var i={name:"name",size:12345,url:e};this.options.addedfile.call(this,i),this.options.thumbnail.call(this,i,e),i.previewElement.classList.add("dz-success"),i.previewElement.classList.add("dz-complete"),t.initOnce=!1}},accept:function(M,t){t()},sending:function(M,e,i){t.initOnce=!1}}),this.couldPaste&&document.addEventListener("paste",this.pasteImg),this.dropzone.on("success",function(M){t.$emit("dropzone-success",M,t.dropzone.element)}),this.dropzone.on("addedfile",function(M){t.$emit("dropzone-fileAdded",M)}),this.dropzone.on("removedfile",function(M){t.$emit("dropzone-removedFile",M)}),this.dropzone.on("error",function(M,e,i){t.$emit("dropzone-error",M,e,i)}),this.dropzone.on("successmultiple",function(M,e,i){t.$emit("dropzone-successmultiple",M,e,i)})},destroyed:function(){document.removeEventListener("paste",this.pasteImg),this.dropzone.destroy()},methods:{removeAllFiles:function(){this.dropzone.removeAllFiles(!0)},processQueue:function(){this.dropzone.processQueue()},pasteImg:function(M){var t=(M.clipboardData||M.originalEvent.clipboardData).items;"file"===t[0].kind&&this.dropzone.addFile(t[0].getAsFile())},initImages:function(M){var t=this;if(M)if(Array.isArray(M))M.map(function(M,e){var i={name:"name"+e,size:12345,url:M};return t.dropzone.options.addedfile.call(t.dropzone,i),t.dropzone.options.thumbnail.call(t.dropzone,i,M),i.previewElement.classList.add("dz-success"),i.previewElement.classList.add("dz-complete"),!0});else{var e={name:"name",size:12345,url:M};this.dropzone.options.addedfile.call(this.dropzone,e),this.dropzone.options.thumbnail.call(this.dropzone,e,M),e.previewElement.classList.add("dz-success"),e.previewElement.classList.add("dz-complete")}}}},g=(e("Uw9q"),e("KHd+")),j=Object(g.a)(l,function(){var M=this.$createElement,t=this._self._c||M;return t("div",{ref:this.id,staticClass:"dropzone",attrs:{action:this.url,id:this.id}},[t("input",{attrs:{type:"file",name:"file"}})])},[],!1,null,"0c499238",null);j.options.__file="index.vue";var r=j.exports,T=e("Mz3J"),I=e("m1cH"),y=e.n(I),d=e("4d7F"),w=e.n(d),p=e("Kw5r"),L="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD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Q2IFoiIGlkPSJYTUxJRF85NjlfIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==",O=function(M){return new w.a(function(t,e){var i=new window.Image;i.complete&&t(i),i.onload=function(){t(i)},i.src=M,i.crossOrigin="*",i.onerror=function(M){e(M)}})},A={bind:function(M,t){},inserted:function(M,t){p.default.nextTick(function(){var e=M.getBoundingClientRect(),i=e.width/e.height;O(t.value).then(function(e){var N=e.width/e.height>i?"height":"width";t.value&&(M.style.backgroundImage="url("+t.value+")"),M.style.backgroundSize="height"===N?"100% auto":"auto 100%"}).catch(function(){M.style.backgroundImage="url("+L+")",M.style.backgroundSize="100%"})})},update:function(M,t){p.default.nextTick(function(){var e=M.getBoundingClientRect(),i=e.width/e.height;O(t.value).then(function(e){var N=e.width/e.height>i?"height":"width";t.value&&(M.style.backgroundImage="url("+t.value+")"),M.style.backgroundSize="height"===N?"100% auto":"auto 100%"}).catch(function(){M.style.backgroundImage="url("+L+")",M.style.backgroundSize="100%"})})}},E=e("p46w"),m=e.n(E),x={props:{uploadType:{type:String,default:"26"},size:{type:Number,default:1048576}},mounted:function(){var M=this,t=WebUploader.create({pick:{multiple:!1,id:this.$el},swf:"/static/Uploader.swf",server:"/api/file/upload",accept:{title:"Images",extensions:"gif,jpg,jpeg,png",mimeTypes:"image/gif,image/jpg,image/jpeg,image/png"},auto:!0,fileSizeLimit:this.size,formData:{uploadType:this.uploadType,csrfmiddlewaretoken:m.a.get("csrftoken")||""}});t.on("uploadSuccess",function(e,i){t.reset(),0===i.error?(M.$emit("upload-img",i),M.$emit("uploaded",i.data,e)):M.$emit("error",{type:"SERVER_ERROR",reason:i.message})}),t.on("error",function(t){"Q_EXCEED_SIZE_LIMIT"===t&&M.$emit("error",{type:"EXCEED_SIZE_LIMIT",reason:"图片过大"})}),t.on("uploadError",function(t,e){M.$emit("error",{type:"UP_ERROR",reason:e})})}},Q=Object(g.a)(x,function(){var M=this.$createElement;return(this._self._c||M)("div",[this._t("default")],2)},[],!1,null,null,null);Q.options.__file="UploadImgBox.vue";var C=Q.exports,k={props:{silders:""},methods:{preview:function(){this.$emit("input",!1)}}},U=(e("M3u7"),Object(g.a)(k,function(){var M=this.$createElement,t=this._self._c||M;return t("div",{staticClass:"preview-wrap",on:{click:this.preview}},[t("img",{attrs:{src:this.silders}})])},[],!1,null,"44e25644",null));U.options.__file="index.vue";var f={directives:{Resize:A},components:{PreviewImg:U.exports,UploadImg:C},props:{value:{type:[Array,String]},limit:{type:Number},disabled:Boolean,multiple:Boolean},data:function(){return{inputValue:this.value,isflag:!1,silders:""}},computed:{currImages:function(){if(this.multiple&&Array.isArray(this.inputValue)){var M=[].concat(y()(this.inputValue));return M.length?M:[]}return this.inputValue||""}},watch:{value:function(M){this.inputValue=M}},methods:{onUpload:function(M){if(M.data.file_url){console.log(this.inputValue);var t=this.inputValue.length,e=Number(this.limit);e&&t>=e?this.$emit("limit",t):(this.inputValue.push(M.data.file_url),this.$emit("input",this.inputValue))}},onSingleUpload:function(M){M.data.file_url&&(this.inputValue=M.data.file_url,this.$emit("input",M.data.file_url))},onUploaded:function(M){},onUploadError:function(M){console.log(M)},deleteImage:function(M){this.inputValue.splice(M,1),this.$emit("input",this.inputValue)},lookImage:function(M){this.isflag=!0,this.silders=M}}},h=(e("QZIb"),Object(g.a)(f,function(){var M=this,t=M.$createElement,e=M._self._c||t;return e("div",{ref:"uploadImage",staticClass:"upload-image-wrap"},[M.multiple?e("div",[M.currImages.length?e("ul",{staticClass:"upload-image-items"},[M._l(M.currImages,function(t,i){return e("li",{staticClass:"upload-image-item",attrs:{disabled:M.disabled}},[e("div",{directives:[{name:"resize",rawName:"v-resize",value:t,expression:"item"}],staticClass:"image-inner"}),M._v(" "),e("div",{staticClass:"image-after"},[e("span",{on:{click:function(t){t.stopPropagation(),M.deleteImage(i)}}}),M._v(" "),e("span",{on:{click:function(e){e.stopPropagation(),M.lookImage(t)}}})])])}),M._v(" "),e("li",{staticClass:"upload-image-item upload-icon"},[e("upload-img",{staticClass:"multiple",on:{"upload-img":M.onUpload,uploaded:M.onUploaded,error:M.onUploadError}},[M._t("default")],2)],1)],2):e("div",{staticClass:"upload-icon"},[e("upload-img",{staticClass:"multiple",on:{"upload-img":M.onUpload,uploaded:M.onUploaded,error:M.onUploadError}},[M._t("default")],2)],1),M._v(" "),M.isflag?e("preview-img",{attrs:{silders:M.silders},model:{value:M.isflag,callback:function(t){M.isflag=t},expression:"isflag"}}):M._e()],1):e("div",[e("div",{staticClass:"upload-icon single-upload"},[e("div",{directives:[{name:"resize",rawName:"v-resize",value:M.currImages,expression:"currImages"}],staticClass:"single-upload-icon"},[M.currImages?e("span",[M._v("修改图片")]):M._e()]),M._v(" "),e("div",{staticClass:"single-upload-body",class:{hide:0!=M.currImages}},[e("upload-img",{staticClass:"multiple",on:{"upload-img":M.onSingleUpload,uploaded:M.onUploaded,error:M.onUploadError}},[0==M.currImages?M._t("default"):M._e()],2)],1)])])])},[],!1,null,null,null));h.options.__file="EditUpload.vue";var Y=h.exports,v={props:{show:{type:Boolean,default:!1},hasClose:{type:Boolean,default:!1},title:{type:String,default:""},hasBtns:{type:Boolean,default:!1},onClick:{type:Function,default:function(){}}},beforeDestroy:function(){document.body.style.overflow="visible"},watch:{show:function(M){document&&document.body&&(document.body.style.overflow=M?"hidden":"visible")}},methods:{click:function(){this.$emit("click")},cancel:function(){this.$emit("cancel")},ok:function(){this.$emit("ok")},close:function(){this.$emit("close")}}},S=(e("ewZP"),Object(g.a)(v,function(){var M=this,t=M.$createElement,e=M._self._c||t;return e("div",{staticClass:"vc-model",class:{show:M.show},on:{click:M.click}},[e("div",{staticClass:"model-box"},[M.hasClose?e("span",{staticClass:"box-close icon-delete-22",on:{click:M.close}}):M._e(),M._v(" "),M.title?e("div",{staticClass:"box-title"},[M._v(M._s(M.title))]):M._e(),M._v(" "),e("div",{staticClass:"box-content"},[M._t("default")],2),M._v(" "),M.hasBtns?e("div",{staticClass:"box-btn"},[e("button",{staticClass:"btn",on:{click:M.ok}},[M._v("确定")]),M._v(" "),e("button",{staticClass:"btn",on:{click:M.cancel}},[M._v("取消")])]):M._e()])])},[],!1,null,null,null));S.options.__file="Modal.vue";var b=S.exports,_=e("8OJ3"),B=(e("/aIJ"),{name:"video-player",props:{options:{type:Object,required:!0},start:{type:Number,default:0},playsinline:{type:Boolean,default:!1},customEventName:{type:String,default:"statechanged"}},mounted:function(){this.player||this.initialize()},beforeDestroy:function(){this.player&&this.dispose()},methods:{initialize:function(){var M=this;this.player=null;var t=a()({autoplay:!1,controls:!0,preload:"auto",fluid:!1,muted:!1,width:"100%",height:"360",language:"en",controlBar:{remainingTimeDisplay:!1,playToggle:{},progressControl:{},fullscreenToggle:{},volumeMenuButton:{inline:!1,vertical:!0}},techOrder:["html5"],plugins:{}},this.options),e=this.playsinline;e&&(this.$el.children[0].setAttribute("playsinline",e),this.$el.children[0].setAttribute("webkit-playsinline",e));var i=function(t,e){if(t&&M.$emit(t,M.player),e){var i={};i[t]=e,M.$emit(M.customEventName,i)}};t.plugins&&delete t.plugins.__ob__,this.player=Object(_.a)(this.$el.children[0],t,function(){var t=this;M.$emit("ready",M.player);for(var e=["loadeddata","canplay","canplaythrough","play","pause","waiting","playing","ended","error"],N=0;N<e.length;N++)!function(M){t.on(M,function(){i(M,!0)})}(e[N]);this.on("timeupdate",function(){i("timeupdate",this.currentTime())})})},dispose:function(){if(this.player&&_.a){if("Flash"!==this.player.techName_&&this.player.pause&&this.player.pause(),Object(_.a)(this.$el.children[0]).dispose(),!this.$el.children.length){var M=document.createElement("video");M.className="video-js",this.$el.appendChild(M)}this.player=null}}},watch:{options:{deep:!0,handler:function(M,t){this.dispose(),M&&M.sources&&M.sources.length&&this.initialize()}}}}),F=(e("ShP5"),Object(g.a)(B,function(){this.$createElement;this._self._c;return this._m(0)},[function(){var M=this.$createElement,t=this._self._c||M;return t("div",{staticClass:"video-player vjs-custom-skin"},[t("video",{staticClass:"video-js"})])}],!1,null,null,null));F.options.__file="index.vue";var R=F.exports,$=e("ZySA"),P=e("D6yg"),G=(e("wk8/"),e("MSNs"));e("t3Un");var Z=e("gg54"),V={status:"draft",id:"",posting_time:"",content:"",content_level:0,reported_time:"",group:"",user:"",star:"",is_puppet:"",is_online:0,drop_score:0},W={name:"GroupDetail",components:{MDinput:n.a,Sticky:u.a,Dropzone:r,Pagination:T.a,EditUpload:Y,VideoPlayer:R,Modal:b},directives:{waves:$.a},props:{isEdit:{type:Boolean,default:!1}},filters:{isOnlineFilter:function(M){return{1:"success",0:"info"}[M]}},data:function(){var M=this;return{postForm:a()({},V),loading:!1,is_click:!1,user:"",star:"",group:"",tags:[],userListOptions:[],groupListOptions:[],starListOptions:[],rules:{posting_time:[{validator:function(t,e,i){""===e?(M.$message({message:t.field+"为必传项",type:"error"}),i(new Error(t.field+"为必传项"))):i()},trigger:"blur"}]},ReplyTypeOptions:[{key:"1",display_name:"帖主的评论"},{key:"2",display_name:"评论帖子"},{key:"3",display_name:"评论的回复"},{key:"4",display_name:"马甲的评论"},{key:"5",display_name:"马甲评论的回复"}],edit:{video_url:"",hospital_pics:[]},expireTimeOption:{disabledDate:function(M){return M.getTime()<=Date.now()}},tempRoute:{},TopicLevelOptions:[{key:0,display_name:"未审核"},{key:1,display_name:"1星"},{key:2,display_name:"2星"},{key:3,display_name:"3星"},{key:4,display_name:"4星"},{key:5,display_name:"5星"}],list:null,total:1,listLoading:!0,showHospitalPicTip:!1,areaType:1,multipleSelection:[],tagListOptions:[],is_puppet:0,listQuery:{id:"",page:0,limit:10,filter:{type:""}},video_token:"",uploading:!1,poster:"",progress:0,complete:!1,videoVisible:!1,editInstrument:!1,opts:{muted:!0,language:"zh-CN",playbackRates:[.7,1,1.5,2],sources:[],poster:"",height:400},temp:{user_id:"",content:"",be_replied_id:""},dialogFormVisible:!1,dialogStatus:""}},computed:{contentShortLength:function(){return this.postForm.content.length},lang:function(){return this.$store.getters.language},player:function(){return this.$ref.videoPlayer}},created:function(){var M=this;if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t),this.getList(),Object(G.a)().then(function(t){M.video_token=t.data.data.token})}else this.postForm=a()({},V),Object(G.a)().then(function(t){M.video_token=t.data.data.token});this.tempRoute=a()({},this.$route)},methods:{fetchData:function(M){var t=this;Object(P.g)(M).then(function(M){console.log(M.data.data.data);var e=M.data.data.data.star,i=M.data.data.data.group,N=M.data.data.data.user,s=M.data.data.data.tags;t.postForm=M.data.data.data;for(var a=0;a<s.length;a++)t.tags.push(s[a].id+":"+s[a].name);e.id&&e.name?t.star=e.id+":"+e.name:t.star="",i.id&&i.name?t.group=i.id+":"+i.name:t.group="",t.user=N.id+":"+N.name,t.postForm.is_puppet=N.is_puppet,t.edit.hospital_pics=M.data.data.data.topic_images,t.edit.video_url=M.data.data.data.video_url}).catch(function(M){console.log(M)})},submitForm:function(){var M=this;this.$refs.postForm.validate(function(t){return t?(M.loading=!0,M.tags.length?M.user?(M.postForm.tags=N()(M.tags),M.postForm.user=M.user,M.postForm.star=M.star,M.postForm.group=M.group,M.postForm.topic_images=N()(M.edit.hospital_pics),M.postForm.video_url=M.edit.video_url,Object(P.d)(M.postForm).then(function(t){M.$notify({title:"成功",message:t.data.data.message,type:"success",duration:2e3}),setTimeout(function(){M.$router.push("/topic/list")},1e3)}).catch(function(t){M.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),M.postForm.status="published",void(M.loading=!1)):(M.$message.error("发帖人必填"),M.loading=!1,!1):(M.$message.error("标签必填"),M.loading=!1,!1)):(console.log("error submit!!"),!1)})},getRemoteUserList:function(M){var t=this;Object(Z.h)(M).then(function(M){M.data.data.data&&(t.userListOptions=M.data.data.data)})},getRemoteGroupList:function(M){var t=this;Object(Z.c)(M).then(function(M){M.data.data.data&&(t.groupListOptions=M.data.data.data)})},getRemoteStarList:function(M){var t=this;Object(Z.d)(M).then(function(M){M.data.data.data&&(t.starListOptions=M.data.data.data)})},getRemoteTagList:function(M){var t=this;Object(Z.e)(M).then(function(M){M.data.data.data&&(t.tagListOptions=M.data.data.data)})},delreply:function(){for(var M=this,t=this.multipleSelection.length,e=[],i=0;i<t;i++)e.push(this.multipleSelection[i].id);Object(P.a)({reply_ids:N()(e)}).then(function(t){M.$message({message:t.data.data.message,type:"success"})}),setTimeout(function(){M.$router.go(0)},1e3)},getList:function(){var M=this;this.listLoading=!0,this.listQuery.id=this.$route.params&&this.$route.params.id,Object(P.f)(this.listQuery).then(function(t){var e=t.data.data.data;M.list=e.map(function(t){return M.$set(t,"edit",!1),t.originalcontent=t.content,t}),M.total=t.data.data.total,M.listLoading=!1})},dropzoneS:function(M){this.$message({message:"Upload success",type:"success"})},dropzoneR:function(M){this.$message({message:"Delete success",type:"success"})},uploadPics:function(M){this.edit.hospital_pics=M},uploadRealLimit:function(){this.$message({message:"最多上传9张",type:"warning"})},hide:function(){return 1===Number(this.areaType)},handleSelectionChange:function(M){this.multipleSelection=M},uploadVideo:function(M){var t=this,e=M.target.files[0],i=this.video_token;if(!/video\/\w+/.test(e.type))return this.$message({message:"请上传视频格式",type:"warning"}),!1;if(e.size>104857600)return this.$message({message:"视频大小不能超过100M, 请压缩后上传",type:"warning"}),!1;var N=function(M,e){if(!t.uploading){t.uploading=!0;var i=new window.FormData;i.append("file",M),i.append("token",e),o.a.post("http://upload.qiniu.com/",i,{headers:{"Content-Type":"multipart/form-data"}}).then(function(M){var e=M.data.key;o.a.get("http://alpha-video.iyanzhi.com/"+e+"?avinfo").then(function(M){var i=M.data;t.uploading=!1;var N=i.format.duration;Math.round(N)>1200?(t.$message({message:"视频时长不能大于20分钟",type:"warning"}),t.edit.video_url=""):t.edit.video_url=""+e}).catch(function(){t.uploading=!1})}).catch(function(){t.uploading=!1})}};if(window.FileReader){var s=new window.FileReader;s.readAsDataURL(e),s.onprogress=function(M){t.progress=Math.round(M.loaded/M.total*100*2)},s.onload=function(){console.log("support FileReader"),t.complete=!0,N(e,i)}}else console.log("not support FileReader"),N(e,i)},removeVideo:function(){this.edit.video_url="",this.uploading=!1},playVideo:function(){this.videoVisible=!0,this.opts.sources=[{type:"video/mp4",src:this.videoUrl()}]},videoUrl:function(){return"http://alpha-video.iyanzhi.com/"+this.edit.video_url},resetTemp:function(){this.temp={user_id:"",content:"",be_replied_id:"",replied_user_id:""}},reply:function(M){var t=this;this.resetTemp(),M&&(this.temp.replied_user_id=M.reply_user.id,this.temp.replied_id=M.id),this.dialogStatus="create",this.dialogFormVisible=!0,this.$nextTick(function(){t.$refs.dataForm.clearValidate()})},handleSizeChange:function(M){this.listQuery.limit=M,this.getList()},handleCurrentChange:function(M){this.listQuery.page=M,this.getList()},createData:function(){var M=this;this.$refs.dataForm.validate(function(t){t&&(M.is_click=!0,M.temp.topic_id=M.postForm.id,Object(P.c)(M.temp).then(function(t){M.list.push(t.data.data.data),M.dialogFormVisible=!1,M.$notify({message:"创建成功",type:"success",duration:2e3}),M.is_click=!1}))})},handleFilter:function(){this.listQuery.offset=1,this.getList()}}},J=(e("JQgi"),Object(g.a)(W,function(){var M=this,t=M.$createElement,e=M._self._c||t;return e("div",{staticClass:"createPost-container"},[e("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:M.postForm,rules:M.rules}},[e("sticky",{attrs:{"class-name":"sub-navbar "+M.postForm.status}},[e("el-button",{directives:[{name:"loading",rawName:"v-loading",value:M.loading,expression:"loading"}],staticStyle:{"margin-left":"10px"},attrs:{type:"success"},on:{click:M.submitForm}},[M._v("保存\n ")])],1),M._v(" "),e("div",{staticClass:"createPost-main-container"},[e("el-row",{attrs:{gutter:20}},[e("el-card",{staticClass:"box-card"},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("div",{staticStyle:{float:"left","text-align":"center"}},[M._v("\n 帖子相关\n ")])]),M._v(" "),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticClass:"postInfo-container"},[e("el-row",[e("el-col",{attrs:{span:12}},[M.isEdit?e("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"帖子ID:"}},[e("el-input",{staticClass:"article-textarea",staticStyle:{width:"230px"},attrs:{rows:1,type:"number",disabled:""},model:{value:M.postForm.id,callback:function(t){M.$set(M.postForm,"id",t)},expression:"postForm.id"}})],1):M._e()],1),M._v(" "),e("el-col",{attrs:{span:12}},[M.isEdit?e("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"举报时间:"}},[e("el-input",{staticClass:"article-textarea",staticStyle:{width:"230px"},attrs:{rows:1,type:"text",disabled:""},model:{value:M.postForm.reported_time,callback:function(t){M.$set(M.postForm,"reported_time",t)},expression:"postForm.reported_time"}})],1):M._e()],1)],1),M._v(" "),e("el-row",[e("el-col",{attrs:{span:12}},[e("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"65px",label:"发帖人:"}},[e("el-select",{staticStyle:{width:"230px","margin-left":"10px"},attrs:{"remote-method":M.getRemoteUserList,filterable:"",remote:"",clearable:"",placeholder:"搜索用户"},model:{value:M.user,callback:function(t){M.user=t},expression:"user"}},M._l(M.userListOptions,function(M,t){return e("el-option",{key:M+t,attrs:{label:M,value:M}})})),M._v(" "),M.postForm.is_puppet?e("el-tag",{attrs:{type:"danger"}},[M._v("马甲")]):M._e()],1)],1),M._v(" "),e("el-col",{attrs:{span:12}},[e("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"发帖时间:",prop:"posting_time"}},[e("el-date-picker",{staticStyle:{width:"230px"},attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss","picker-options":M.expireTimeOption,placeholder:"选择日期时间",disabled:this.isEdit},model:{value:M.postForm.posting_time,callback:function(t){M.$set(M.postForm,"posting_time",t)},expression:"postForm.posting_time "}})],1)],1)],1),M._v(" "),e("el-row",[e("el-col",{attrs:{span:12}},[e("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"明星名称:"}},[e("el-select",{staticStyle:{width:"230px"},attrs:{"remote-method":M.getRemoteStarList,filterable:"",remote:"",clearable:"",placeholder:"搜索明星"},model:{value:M.star,callback:function(t){M.star=t},expression:"star"}},M._l(M.starListOptions,function(M,t){return e("el-option",{key:M+t,attrs:{label:M,value:M}})}))],1)],1),M._v(" "),e("el-col",{attrs:{span:12}},[e("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"小组名称:"}},[e("el-select",{staticStyle:{width:"230px"},attrs:{"remote-method":M.getRemoteGroupList,filterable:"",remote:"",clearable:"",placeholder:"搜索小组"},model:{value:M.group,callback:function(t){M.group=t},expression:"group"}},M._l(M.groupListOptions,function(M,t){return e("el-option",{key:M+t,attrs:{label:M,value:M}})}))],1)],1)],1),M._v(" "),e("el-row",[e("el-col",{attrs:{span:12}},[e("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"帖子星级:"}},[e("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"230px"},attrs:{placeholder:"级别:",clearable:""},model:{value:M.postForm.content_level,callback:function(t){M.$set(M.postForm,"content_level",t)},expression:"postForm.content_level"}},M._l(M.TopicLevelOptions,function(M){return e("el-option",{key:M.key,attrs:{label:M.display_name,value:M.key}})}))],1)],1),M._v(" "),e("el-col",{attrs:{span:12}},[e("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"标签:"}},[e("el-select",{staticStyle:{width:"230px"},attrs:{"remote-method":M.getRemoteTagList,filterable:"",remote:"",multiple:"","value-key":"id",placeholder:"搜索标签"},model:{value:M.tags,callback:function(t){M.tags=t},expression:"tags"}},M._l(M.tagListOptions,function(M,t){return e("el-option",{key:M+t,attrs:{label:M,value:M}})}))],1)],1)],1)],1)])],1),M._v(" "),e("el-form-item",{staticClass:"postInfo-container-item",staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"人工减分:"}},[e("el-input",{staticStyle:{width:"80%"},attrs:{type:"number"},model:{value:M.postForm.drop_score,callback:function(t){M.$set(M.postForm,"drop_score",t)},expression:"postForm.drop_score"}})],1),M._v(" "),e("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"是否在线:"}},[e("el-radio-group",{model:{value:M.postForm.is_online,callback:function(t){M.$set(M.postForm,"is_online",t)},expression:"postForm.is_online"}},[e("el-radio",{attrs:{label:1}},[M._v("是")]),M._v(" "),e("el-radio",{attrs:{label:0}},[M._v("否")])],1)],1),M._v(" "),e("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"帖子内容:"}},[e("el-input",{staticClass:"article-textarea",attrs:{rows:1,type:"textarea",autosize:"",placeholder:"请输入内容"},model:{value:M.postForm.content,callback:function(t){M.$set(M.postForm,"content",t)},expression:"postForm.content"}}),M._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:M.contentShortLength,expression:"contentShortLength"}],staticClass:"word-counter"},[M._v(M._s(M.contentShortLength)+"字")])],1),M._v(" "),e("div",{staticClass:"item real"},[e("div",{staticClass:"name"},[e("span",{staticStyle:{color:"#606266","text-align":"center","font-size":"14px",padding:"0 12px 0 0"}},[M._v("帖子图片")])]),M._v(" "),e("div",{staticClass:"value",staticStyle:{"margin-left":"50px"}},[e("edit-upload",{attrs:{value:M.edit.hospital_pics,multiple:"",limit:9,uploadType:"26"},on:{input:M.uploadPics,limit:M.uploadRealLimit}}),M._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:M.showHospitalPicTip,expression:"showHospitalPicTip"}],staticClass:"error_icon"},[e("span",{staticClass:"icon-warn"},[e("span",{staticClass:"path1"}),M._v(" "),e("span",{staticClass:"path2"}),M._v(" "),e("span",{staticClass:"path3"})])])],1)]),M._v(" "),M.hide?e("div",[e("div",{staticClass:"item video"},[e("div",{staticClass:"name"},[e("span",{staticStyle:{color:"#606266","text-align":"center","font-size":"14px",padding:"0 12px 0 0"}},[M._v("帖子视频")])]),M._v(" "),e("div",{staticClass:"value",staticStyle:{"margin-left":"50px"}},[e("div",{staticClass:"up-video"},[M.edit.video_url?e("ul",{staticClass:"video-items clearfix"},[e("li",{staticClass:"video-item",on:{click:function(t){return t.stopPropagation(),M.playVideo(t)}}},[e("video",{ref:"previewVideo",attrs:{src:M.videoUrl}}),M._v(" "),e("span",{staticClass:"close",on:{click:function(t){return t.stopPropagation(),M.removeVideo(t)}}})])]):e("form",{class:{uploading:M.uploading}},[e("input",{directives:[{name:"model",rawName:"v-model",value:M.video_token,expression:"video_token"}],attrs:{name:"token",type:"hidden"},domProps:{value:M.video_token},on:{input:function(t){t.target.composing||(M.video_token=t.target.value)}}}),M._v(" "),e("input",{staticClass:"file",attrs:{name:"file",type:"file",accept:"video/mp4, video/x-m4v, video/quicktime, video/*"},on:{change:M.uploadVideo}}),M._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:M.uploading,expression:"uploading"}],staticClass:"loader"},[e("span",{staticClass:"preloader"}),M._v(" "),e("p",[M._v("上传中...")])])])]),M._v(" "),e("modal",{attrs:{show:M.videoVisible},on:{click:function(t){M.videoVisible=!1}}},[e("div",{staticClass:"preview-video",on:{click:function(M){M.stopPropagation()}}},[e("video-player",{ref:"videoPlayer",attrs:{options:M.opts,playsinline:!0}})],1)])],1)])]):M._e()],1)],1),M._v(" "),M.isEdit?e("el-row",{staticStyle:{"margin-top":"50px"},attrs:{gutter:20}},[e("el-card",{staticClass:"box-card"},[e("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e("span",[M._v("评论相关")])]),M._v(" "),e("div",{staticStyle:{"margin-bottom":"50px"}},[e("div",{staticClass:"filter-container"},[e("el-select",{staticClass:"filter-item",staticStyle:{width:"120px"},attrs:{placeholder:"评论搜索",clearable:""},model:{value:M.listQuery.filter.type,callback:function(t){M.$set(M.listQuery.filter,"type",t)},expression:"listQuery.filter.type"}},M._l(M.ReplyTypeOptions,function(M){return e("el-option",{key:M.key,attrs:{label:M.display_name,value:M.key}})})),M._v(" "),e("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:M.handleFilter}},[M._v("搜索\n ")]),M._v(" "),e("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){M.reply("")}}},[M._v("回复话题")]),M._v(" "),e("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-delete"},on:{click:M.delreply}},[M._v("下线\n ")])],1),M._v(" "),e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:M.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":M.handleSelectionChange}},[e("el-table-column",{attrs:{type:"selection",align:"center"}}),M._v(" "),e("el-table-column",{attrs:{align:"center",label:"回复ID "},scopedSlots:M._u([{key:"default",fn:function(t){return[e("span",[M._v(M._s(t.row.id))])]}}])}),M._v(" "),e("el-table-column",{attrs:{align:"center",label:"评论用户"},scopedSlots:M._u([{key:"default",fn:function(t){return[e("span",[M._v(M._s(t.row.reply_user.name))])]}}])}),M._v(" "),e("el-table-column",{attrs:{align:"center",label:"被评论用户"},scopedSlots:M._u([{key:"default",fn:function(t){return[e("span",[M._v(M._s(t.row.be_reply_user.name))])]}}])}),M._v(" "),e("el-table-column",{attrs:{align:"center",label:"评论时间"},scopedSlots:M._u([{key:"default",fn:function(t){return[e("span",[M._v(M._s(t.row.create_time))])]}}])}),M._v(" "),e("el-table-column",{attrs:{align:"center",label:"贴主评论"},scopedSlots:M._u([{key:"default",fn:function(t){return[e("span",[M._v(M._s(t.row.reply_type))])]}}])}),M._v(" "),e("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:M._u([{key:"default",fn:function(t){return[e("el-tag",{attrs:{type:M._f("isOnlineFilter")(t.row.is_online)}},[M._v(M._s(1===t.row.is_online?"是":"否"))])]}}])}),M._v(" "),e("el-table-column",{attrs:{label:"评论内容"},scopedSlots:M._u([{key:"default",fn:function(t){return[e("span",[M._v(M._s(t.row.content))])]}}])}),M._v(" "),e("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:M._u([{key:"default",fn:function(t){return[e("el-button",{staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){M.reply(t.row)}}},[M._v("回复")])]}}])})],1),M._v(" "),e("pagination",{directives:[{name:"show",rawName:"v-show",value:M.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},attrs:{total:M.total,page:M.listQuery.page,limit:M.listQuery.limit},on:{"update:page":function(t){M.$set(M.listQuery,"page",t)},"update:limit":function(t){M.$set(M.listQuery,"limit",t)},pagination:M.getList}})],1)])],1):M._e()],1)],1),M._v(" "),e("el-dialog",{attrs:{visible:M.dialogFormVisible},on:{"update:visible":function(t){M.dialogFormVisible=t}}},[e("el-form",{ref:"dataForm",staticStyle:{width:"400px","margin-left":"50px"},attrs:{rules:M.rules,model:M.temp,"label-position":"left","label-width":"70px"}},[e("el-form-item",{attrs:{label:"评论用户",prop:"user_name"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{"remote-method":M.getRemoteUserList,filterable:"",remote:"","value-key":"id",placeholder:"搜索用户"},model:{value:M.temp.user_id,callback:function(t){M.$set(M.temp,"user_id",t)},expression:"temp.user_id"}},M._l(M.userListOptions,function(M,t){return e("el-option",{key:M+t,attrs:{label:M,value:M}})}))],1),M._v(" "),e("el-form-item",{attrs:{label:"评论内容"}},[e("el-input",{attrs:{autosize:{minRows:2,maxRows:4},type:"textarea",placeholder:"Please input"},model:{value:M.temp.content,callback:function(t){M.$set(M.temp,"content",t)},expression:"temp.content"}})],1)],1),M._v(" "),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(t){M.dialogFormVisible=!1}}},[M._v("取消")]),M._v(" "),e("el-button",{attrs:{type:"primary",disabled:this.is_click},on:{click:function(t){"create"===M.dialogStatus?M.createData():M.updateData()}}},[M._v("确认")])],1)],1)],1)},[],!1,null,"e201a046",null));J.options.__file="TopicDetail.vue";t.a=J.exports},ewZP:function(M,t,e){"use strict";var i=e("V7QB");e.n(i).a},gg54:function(M,t,e){"use strict";e.d(t,"h",function(){return N}),e.d(t,"c",function(){return s}),e.d(t,"e",function(){return a}),e.d(t,"d",function(){return D}),e.d(t,"b",function(){return o}),e.d(t,"a",function(){return n}),e.d(t,"g",function(){return u}),e.d(t,"f",function(){return c});var i=e("t3Un");function N(M){return Object(i.a)({url:"/api/search/user",method:"get",params:{name:M}})}function s(M){return Object(i.a)({url:"/api/search/group",method:"get",params:{name:M}})}function a(M){return Object(i.a)({url:"/api/search/tag",method:"get",params:{name:M}})}function D(M){return Object(i.a)({url:"/api/search/celebrity",method:"get",params:{name:M}})}function o(M){return Object(i.a)({url:"/api/search/city",method:"get",params:{name:M}})}function n(M){return Object(i.a)({url:"/api/search/celebrity",method:"get",params:{name:M}})}function u(M){return Object(i.a)({url:"/api/search/topic",method:"get",params:{name:M}})}function c(M){return Object(i.a)({url:"api/search/tagtype",method:"get",params:{name:M}})}},jUE0:function(M,t,e){},veea:function(M,t,e){},w0ET:function(M,t,e){},"wk8/":function(M,t,e){"use strict";e.d(t,"c",function(){return N}),e.d(t,"a",function(){return s}),e.d(t,"b",function(){return a}),e.d(t,"d",function(){return D});var i=e("t3Un");function N(M){return Object(i.a)({url:"/api/user/list",method:"get",params:M})}function s(M){return Object(i.a)({url:"/api/user/list/update",method:"post",data:M})}function a(M){return Object(i.a)({url:"/api/user/get",method:"get",params:{id:M}})}function D(M){return Object(i.a)({url:"/api/user/create",method:"post",data:M})}},zEuE:function(M,t,e){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2fd3"],{"5xsC":function(t,e,i){"use strict";i.r(e);var n=i("ESsw"),l=i("Mz3J"),a=i("ZySA"),o={name:"PickList",components:{Pagination:l.a},filters:{isOnlineFilter:function(t){return{1:"success",0:"info"}[t]},genderFilter:function(t){return{"男":"success","女":"info","全部":"danger"}[t]}},directives:{waves:a.a},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:1,limit:10,filter:{value:"",key:"",is_online:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],SearchTypeOptions:[{key:"id",display_name:"ID"},{key:"name",display_name:"pick名称"}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(n.h)(this.listQuery).then(function(e){t.list=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.page=t,this.getList()},handleOfflineOrOnline:function(t){var e=this,i=this.multipleSelection.length,l="";this.del_list=this.del_list.concat(this.multipleSelection);for(var a=0;a<i;a++)this.multipleSelection[a].is_online="offline"===t?0:1,l+=this.multipleSelection[a].id+" ";Object(n.c)({type:t,ids:l}).then(function(t){e.multipleSelection=[],e.$message.success(t.data.data.message)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/pick/create")}}},r=(i("QS8L"),i("KHd+")),s=Object(r.a)(o,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleFilter(e):null}},model:{value:t.listQuery.filter.value,callback:function(e){t.$set(t.listQuery.filter,"value",e)},expression:"listQuery.filter.value"}}),t._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:t.listQuery.filter.key,callback:function(e){t.$set(t.listQuery.filter,"key",e)},expression:"listQuery.filter.key"}},t._l(t.SearchTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:t.listQuery.filter.is_online,callback:function(e){t.$set(t.listQuery.filter,"is_online",e)},expression:"listQuery.filter.is_online"}},t._l(t.BooleanTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v("创建")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("offline")}}},[t._v("下线")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("online")}}},[t._v("上线")])],1),t._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.list,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:"pickID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/pick/edit/"+e.row.id,query:{pick_type:e.row.pick_type_origin}}}},[i("span",[t._v(t._s(e.row.id))])])]}}])}),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.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.desc))])]}}])}),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.user_nums))])]}}])}),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_type))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"性别"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-tag",{attrs:{type:t._f("genderFilter")(e.row.gender)}},[t._v(t._s(e.row.gender))])]}}])}),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.region))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-tag",{attrs:{type:t._f("isOnlineFilter")(e.row.is_online)}},[t._v(t._s(1==e.row.is_online?"是":"否"))])]}}])})],1),t._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},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,null,"4d92cdb2",null);s.options.__file="list.vue";e.default=s.exports},ESsw:function(t,e,i){"use strict";i.d(e,"h",function(){return l}),i.d(e,"c",function(){return a}),i.d(e,"b",function(){return o}),i.d(e,"j",function(){return r}),i.d(e,"k",function(){return s}),i.d(e,"i",function(){return c}),i.d(e,"a",function(){return u}),i.d(e,"e",function(){return d}),i.d(e,"d",function(){return p}),i.d(e,"f",function(){return f}),i.d(e,"g",function(){return m});var n=i("t3Un");function l(t){return Object(n.a)({url:"/api/pick/list",method:"get",params:t})}function a(t){return console.log(t),Object(n.a)({url:"/api/pick/list/update",method:"post",data:t})}function o(t){return Object(n.a)({url:"/api/pick/create",method:"post",data:t})}function r(t){return Object(n.a)({url:"/api/pick/detail",method:"get",params:{id:t}})}function s(t){return Object(n.a)({url:"/api/pick/topic/list",method:"get",params:t})}function c(t){return Object(n.a)({url:"/api/pick/celebrity/list",method:"get",params:t})}function u(t){return Object(n.a)({url:"/api/pick/add_fake_pick_nums",method:"post",data:t})}function d(t){return Object(n.a)({url:"/api/pick/topic",method:"post",data:t})}function p(t){return Object(n.a)({url:"/api/pick/celebrity",method:"post",data:t})}function f(t){return Object(n.a)({url:"/api/pick/del_celebrity",method:"post",data:t})}function m(t){return Object(n.a)({url:"/api/pick/del_topic",method:"post",data:t})}},QS8L:function(t,e,i){"use strict";var n=i("jGV+");i.n(n).a},Y5bG:function(t,e,i){"use strict";i.d(e,"a",function(){return l}),Math.easeInOutQuad=function(t,e,i,n){return(t/=n/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function l(t,e,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=t-l,o=0;e=void 0===e?500:e;!function t(){o+=20,function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}(Math.easeInOutQuad(o,l,a,e)),o<e?n(t):i&&"function"==typeof i&&i()}()}},ZySA:function(t,e,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(t,e){t.addEventListener("click",function(i){var n=l()({},e.value),a=l()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),o=a.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var r=o.getBoundingClientRect(),s=o.querySelector(".waves-ripple");switch(s?s.className="waves-ripple":((s=document.createElement("span")).className="waves-ripple",s.style.height=s.style.width=Math.max(r.width,r.height)+"px",o.appendChild(s)),a.type){case"center":s.style.top=r.height/2-s.offsetHeight/2+"px",s.style.left=r.width/2-s.offsetWidth/2+"px";break;default:s.style.top=(i.pageY-r.top-s.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",s.style.left=(i.pageX-r.left-s.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return s.style.backgroundColor=a.color,s.className="waves-ripple z-active",!1}},!1)}}),o=function(t){t.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(o)),a.install=o;e.a=a},"jGV+":function(t,e,i){},jUE0:function(t,e,i){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3199"],{"0qyJ":function(t,e,a){},"6x9P":function(t,e,a){},AFcf:function(t,e,a){"use strict";var n=a("6x9P");a.n(n).a},CBPX:function(t,e,a){"use strict";var n=a("piJ4");a.n(n).a},GVxz:function(t,e,a){"use strict";var n=a("0qyJ");a.n(n).a},lAbF:function(t,e,a){"use strict";a.r(e);var n=a("QbLZ"),i=a.n(n),s=a("L2JU"),r={name:"DashboardAdmin",components:{},data:function(){return{instruction:[{title:"1:本后台系统仅限于运营人员使用。"},{title:"2:运营人员对相关数据请谨慎使用。"}]}}},o=(a("AFcf"),a("KHd+")),c=Object(o.a)(r,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dashboard-editor-container"},[a("el-row",{staticStyle:{background:"#fff",padding:"16px 16px 0","margin-bottom":"32px"}},[a("el-row",{attrs:{gutter:20}},[a("el-card",{staticStyle:{height:"480px"},attrs:{shadow:"hover"}},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("更美运营后台使用手册及注意事项")])]),t._v(" "),a("el-table",{staticStyle:{width:"100%","font-size":"14px",border:"0"},attrs:{data:t.instruction,"show-header":!1,height:"404"}},[a("el-table-column",{scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",{staticClass:"item"},[t._v(t._s(e.row.title))])]}}])})],1)],1)],1)],1)],1)},[],!1,null,"4e4e7308",null);c.options.__file="index.vue";var l=c.exports,d={name:"PanThumb",props:{image:{type:String,required:!0},zIndex:{type:Number,default:1},width:{type:String,default:"150px"},height:{type:String,default:"150px"}}},u=(a("CBPX"),Object(o.a)(d,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"pan-item",style:{zIndex:this.zIndex,height:this.height,width:this.width}},[e("div",{staticClass:"pan-info"},[e("div",{staticClass:"pan-info-roles-container"},[this._t("default")],2)]),this._v(" "),e("img",{staticClass:"pan-thumb",attrs:{src:this.image}})])},[],!1,null,"4178e1ea",null));u.options.__file="index.vue";var h={name:"DashboardEditor",components:{PanThumb:u.exports},data:function(){return{emptyGif:"https://wpimg.wallstcn.com/0e03b7da-db9e-4819-ba10-9016ddfdaed3"}},computed:i()({},Object(s.b)(["name","avatar","roles"]))},f=(a("GVxz"),Object(o.a)(h,function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"dashboard-editor-container"},[e("div",{staticClass:" clearfix"},[e("div",{staticClass:"info-container"})]),this._v(" "),e("div")])}],!1,null,"a99b3d02",null));f.options.__file="index.vue";var p={name:"Home",components:{adminDashboard:l,editorDashboard:f.exports},data:function(){return{currentRole:"adminDashboard"}},computed:i()({},Object(s.b)(["roles"])),created:function(){this.roles.includes("staff")||(this.currentRole="adminDashboard")}},m=Object(o.a)(p,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"dashboard-container"},[e(this.currentRole,{tag:"component"})],1)},[],!1,null,null,null);m.options.__file="index.vue";e.default=m.exports},piJ4:function(t,e,a){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3246"],{"0o2y":function(t,e,a){"use strict";a.d(e,"c",function(){return n}),a.d(e,"b",function(){return s}),a.d(e,"a",function(){return r}),a.d(e,"d",function(){return i});var o=a("t3Un");function n(t){return Object(o.a)({url:"/api/tag/list",method:"get",params:t})}function s(t){return Object(o.a)({url:"/api/tag/list/update",method:"post",data:t})}function r(t){return Object(o.a)({url:"/api/tag/create",method:"post",data:t})}function i(t){return Object(o.a)({url:"/api/tag/detail",method:"get",params:{id:t}})}},EBwg:function(t,e,a){"use strict";var o=a("gDS+"),n=a.n(o),s=a("P2sY"),r=a.n(s),i=a("fL+G"),l=a("Grqa"),c=a("uARZ"),u=a("0o2y"),p=a("gg54"),d=a("7Qib"),m={status:"draft",name:"",description:"",up_tags:[],down_tags:[],tagtypes:[],icon_url:""},g={name:"TagDetail",components:{MDinput:l.a,Sticky:c.a,Upload:i.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this;return{postForm:r()({},m),loading:!1,TagListOptions:[],TagTypeListOptions:[],up_tags:[],down_tags:[],tagtypes:[],uploadType:25,rules:{name:[{validator:function(e,a,o){""===(a=a.trim())?(t.$message({message:e.field+"为必传项",type:"error"}),o(new Error(e.field+"为必传项"))):o()},trigger:"blur"}]},tempRoute:{}}},computed:{contentShortLength:function(){return this.postForm.description.length}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t)}else this.postForm=r()({},m);this.tempRoute=r()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(u.d)(t).then(function(t){for(var a=t.data.data.data,o=0;o<a.up_tags.length;o++)e.up_tags.push(a.up_tags[o].id+":"+a.up_tags[o].name);for(var n=0;n<a.down_tags.length;n++)e.down_tags.push(a.down_tags[n].id+":"+a.down_tags[n].name);for(var s=0;s<a.tagtypes.length;s++)e.tagtypes.push(a.tagtypes[s].id+":"+a.tagtypes[s].name);e.postForm=a}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0;for(var a=!1,o=0;o<t.up_tags.length;o++)if(Object(d.c)(t.down_tags,t.up_tags[o])){t.$message.error("上下级标签不能存相同标签"),t.postForm.up_tags=[],t.postForm.down_tags=[],a=!0;break}if(a)return!1;t.postForm.up_tags=n()(t.up_tags),t.postForm.down_tags=n()(t.down_tags),t.postForm.tagtypes=n()(t.tagtypes),Object(u.a)(t.postForm).then(function(e){if(500==e.data.data.code)return t.$notify({title:"失败",message:e.data.data.message,type:"error",duration:2e3}),t.loading=!1,!1;t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/tag/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!1})},getRemoteTagList:function(t){var e=this;Object(p.e)(t).then(function(t){t.data.data.data&&(e.TagListOptions=t.data.data.data)})},getRemoteTagTypeList:function(t){var e=this;Object(p.f)(t).then(function(t){t.data.data.data&&(e.TagTypeListOptions=t.data.data.data)})}}},f=(a("ujIV"),a("KHd+")),h=Object(f.a)(g,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar"}},[a("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(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"name"}},[a("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 标签名称\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("div",{staticClass:"postInfo-container"},[a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"标签ID:",prop:"position"}},[a("el-input",{staticClass:"article-textarea",staticStyle:{width:"300px"},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(" "),a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"创建时间:",prop:"position"}},[a("el-input",{staticClass:"article-textarea",staticStyle:{width:"300px"},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(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"上级标签:"}},[a("el-select",{staticStyle:{width:"70%"},attrs:{"remote-method":t.getRemoteTagList,filterable:"",remote:"",multiple:"","value-key":"id",placeholder:"搜索标签"},model:{value:t.up_tags,callback:function(e){t.up_tags=e},expression:"up_tags"}},t._l(t.TagListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"下级标签:"}},[a("el-select",{staticStyle:{width:"70%"},attrs:{"remote-method":t.getRemoteTagList,multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"搜索标签",loading:t.loading,"value-key":"id"},model:{value:t.down_tags,callback:function(e){t.down_tags=e},expression:"down_tags"}},t._l(t.TagListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"标签类型:"}},[a("el-select",{staticStyle:{width:"70%"},attrs:{"remote-method":t.getRemoteTagTypeList,filterable:"",remote:"",multiple:"","value-key":"id",placeholder:"搜索类型"},model:{value:t.tagtypes,callback:function(e){t.tagtypes=e},expression:"tagtypes"}},t._l(t.TagTypeListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"标签简介:",prop:"desc"}},[a("el-input",{staticClass:"article-textarea",attrs:{rows:1,type:"textarea",autosize:"",placeholder:"请输入内容"},model:{value:t.postForm.description,callback:function(e){t.$set(t.postForm,"description",e)},expression:"postForm.description"}}),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.contentShortLength,expression:"contentShortLength"}],staticClass:"word-counter"},[t._v(t._s(t.contentShortLength)+"字")])],1),t._v(" "),a("div",{staticStyle:{"margin-bottom":"20px"}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"帖子图片:",prop:"icon_url"}},[a("span",{model:{value:t.uploadType,callback:function(e){t.uploadType=e},expression:"uploadType"}}),t._v(" "),a("Upload",{attrs:{uploadType:t.uploadType},model:{value:t.postForm.icon_url,callback:function(e){t.$set(t.postForm,"icon_url",e)},expression:"postForm.icon_url"}})],1)],1)],1)],1)],1)},[],!1,null,"56bd8930",null);h.options.__file="TagDetail.vue";e.a=h.exports},MSNs:function(t,e,a){"use strict";a.d(e,"a",function(){return n});var o=a("t3Un");function n(){return Object(o.a)({url:"/api/get_token",method:"get"})}},"STa+":function(t,e,a){"use strict";a.r(e);var o={name:"EditTag",components:{TagDetail:a("EBwg").a}},n=a("KHd+"),s=Object(n.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("tag-detail",{attrs:{"is-edit":!1}})},[],!1,null,null,null);s.options.__file="create.vue";e.default=s.exports},"gDS+":function(t,e,a){t.exports={default:a("oh+g"),__esModule:!0}},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return n}),a.d(e,"c",function(){return s}),a.d(e,"e",function(){return r}),a.d(e,"d",function(){return i}),a.d(e,"b",function(){return l}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return u}),a.d(e,"f",function(){return p});var o=a("t3Un");function n(t){return Object(o.a)({url:"/api/search/user",method:"get",params:{name:t}})}function s(t){return Object(o.a)({url:"/api/search/group",method:"get",params:{name:t}})}function r(t){return Object(o.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function i(t){return Object(o.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(o.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(o.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function u(t){return Object(o.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function p(t){return Object(o.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},iZDU:function(t,e,a){},"oh+g":function(t,e,a){var o=a("WEpk"),n=o.JSON||(o.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},ujIV:function(t,e,a){"use strict";var o=a("iZDU");a.n(o).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3247"],{"0o2y":function(t,e,a){"use strict";a.d(e,"c",function(){return n}),a.d(e,"b",function(){return s}),a.d(e,"a",function(){return r}),a.d(e,"d",function(){return i});var o=a("t3Un");function n(t){return Object(o.a)({url:"/api/tag/list",method:"get",params:t})}function s(t){return Object(o.a)({url:"/api/tag/list/update",method:"post",data:t})}function r(t){return Object(o.a)({url:"/api/tag/create",method:"post",data:t})}function i(t){return Object(o.a)({url:"/api/tag/detail",method:"get",params:{id:t}})}},EBwg:function(t,e,a){"use strict";var o=a("gDS+"),n=a.n(o),s=a("P2sY"),r=a.n(s),i=a("fL+G"),l=a("Grqa"),c=a("uARZ"),u=a("0o2y"),p=a("gg54"),d=a("7Qib"),m={status:"draft",name:"",description:"",up_tags:[],down_tags:[],tagtypes:[],icon_url:""},g={name:"TagDetail",components:{MDinput:l.a,Sticky:c.a,Upload:i.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this;return{postForm:r()({},m),loading:!1,TagListOptions:[],TagTypeListOptions:[],up_tags:[],down_tags:[],tagtypes:[],uploadType:25,rules:{name:[{validator:function(e,a,o){""===(a=a.trim())?(t.$message({message:e.field+"为必传项",type:"error"}),o(new Error(e.field+"为必传项"))):o()},trigger:"blur"}]},tempRoute:{}}},computed:{contentShortLength:function(){return this.postForm.description.length}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t)}else this.postForm=r()({},m);this.tempRoute=r()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(u.d)(t).then(function(t){for(var a=t.data.data.data,o=0;o<a.up_tags.length;o++)e.up_tags.push(a.up_tags[o].id+":"+a.up_tags[o].name);for(var n=0;n<a.down_tags.length;n++)e.down_tags.push(a.down_tags[n].id+":"+a.down_tags[n].name);for(var s=0;s<a.tagtypes.length;s++)e.tagtypes.push(a.tagtypes[s].id+":"+a.tagtypes[s].name);e.postForm=a}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0;for(var a=!1,o=0;o<t.up_tags.length;o++)if(Object(d.c)(t.down_tags,t.up_tags[o])){t.$message.error("上下级标签不能存相同标签"),t.postForm.up_tags=[],t.postForm.down_tags=[],a=!0;break}if(a)return!1;t.postForm.up_tags=n()(t.up_tags),t.postForm.down_tags=n()(t.down_tags),t.postForm.tagtypes=n()(t.tagtypes),Object(u.a)(t.postForm).then(function(e){if(500==e.data.data.code)return t.$notify({title:"失败",message:e.data.data.message,type:"error",duration:2e3}),t.loading=!1,!1;t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/tag/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!1})},getRemoteTagList:function(t){var e=this;Object(p.e)(t).then(function(t){t.data.data.data&&(e.TagListOptions=t.data.data.data)})},getRemoteTagTypeList:function(t){var e=this;Object(p.f)(t).then(function(t){t.data.data.data&&(e.TagTypeListOptions=t.data.data.data)})}}},f=(a("ujIV"),a("KHd+")),h=Object(f.a)(g,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar"}},[a("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(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"name"}},[a("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 标签名称\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("div",{staticClass:"postInfo-container"},[a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"标签ID:",prop:"position"}},[a("el-input",{staticClass:"article-textarea",staticStyle:{width:"300px"},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(" "),a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"创建时间:",prop:"position"}},[a("el-input",{staticClass:"article-textarea",staticStyle:{width:"300px"},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(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"上级标签:"}},[a("el-select",{staticStyle:{width:"70%"},attrs:{"remote-method":t.getRemoteTagList,filterable:"",remote:"",multiple:"","value-key":"id",placeholder:"搜索标签"},model:{value:t.up_tags,callback:function(e){t.up_tags=e},expression:"up_tags"}},t._l(t.TagListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1),t._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"下级标签:"}},[a("el-select",{staticStyle:{width:"70%"},attrs:{"remote-method":t.getRemoteTagList,multiple:"",filterable:"",remote:"","reserve-keyword":"",placeholder:"搜索标签",loading:t.loading,"value-key":"id"},model:{value:t.down_tags,callback:function(e){t.down_tags=e},expression:"down_tags"}},t._l(t.TagListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[a("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"标签类型:"}},[a("el-select",{staticStyle:{width:"70%"},attrs:{"remote-method":t.getRemoteTagTypeList,filterable:"",remote:"",multiple:"","value-key":"id",placeholder:"搜索类型"},model:{value:t.tagtypes,callback:function(e){t.tagtypes=e},expression:"tagtypes"}},t._l(t.TagTypeListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"标签简介:",prop:"desc"}},[a("el-input",{staticClass:"article-textarea",attrs:{rows:1,type:"textarea",autosize:"",placeholder:"请输入内容"},model:{value:t.postForm.description,callback:function(e){t.$set(t.postForm,"description",e)},expression:"postForm.description"}}),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.contentShortLength,expression:"contentShortLength"}],staticClass:"word-counter"},[t._v(t._s(t.contentShortLength)+"字")])],1),t._v(" "),a("div",{staticStyle:{"margin-bottom":"20px"}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"帖子图片:",prop:"icon_url"}},[a("span",{model:{value:t.uploadType,callback:function(e){t.uploadType=e},expression:"uploadType"}}),t._v(" "),a("Upload",{attrs:{uploadType:t.uploadType},model:{value:t.postForm.icon_url,callback:function(e){t.$set(t.postForm,"icon_url",e)},expression:"postForm.icon_url"}})],1)],1)],1)],1)],1)},[],!1,null,"56bd8930",null);h.options.__file="TagDetail.vue";e.a=h.exports},MSNs:function(t,e,a){"use strict";a.d(e,"a",function(){return n});var o=a("t3Un");function n(){return Object(o.a)({url:"/api/get_token",method:"get"})}},S2fK:function(t,e,a){"use strict";a.r(e);var o={name:"EditTag",components:{TagDetail:a("EBwg").a}},n=a("KHd+"),s=Object(n.a)(o,function(){var t=this.$createElement;return(this._self._c||t)("tag-detail",{attrs:{"is-edit":!0}})},[],!1,null,null,null);s.options.__file="edit.vue";e.default=s.exports},"gDS+":function(t,e,a){t.exports={default:a("oh+g"),__esModule:!0}},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return n}),a.d(e,"c",function(){return s}),a.d(e,"e",function(){return r}),a.d(e,"d",function(){return i}),a.d(e,"b",function(){return l}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return u}),a.d(e,"f",function(){return p});var o=a("t3Un");function n(t){return Object(o.a)({url:"/api/search/user",method:"get",params:{name:t}})}function s(t){return Object(o.a)({url:"/api/search/group",method:"get",params:{name:t}})}function r(t){return Object(o.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function i(t){return Object(o.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(o.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(o.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function u(t){return Object(o.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function p(t){return Object(o.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},iZDU:function(t,e,a){},"oh+g":function(t,e,a){var o=a("WEpk"),n=o.JSON||(o.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}},ujIV:function(t,e,a){"use strict";var o=a("iZDU");a.n(o).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-38af"],{VeNG:function(e,n,t){"use strict";var o=t("iRsz");t.n(o).a},c11S:function(e,n,t){"use strict";var o=t("gTgX");t.n(o).a},gTgX:function(e,n,t){},iRsz:function(e,n,t){},ntYl:function(e,n,t){"use strict";t.r(n);var o={name:"Login",data:function(){return{loginForm:{username:"",password:""},loginRules:{username:[{required:!0,trigger:"blur",validator:function(e,n,t){n?t():t(new Error("Please enter the correct user name"))}}],password:[{required:!0,trigger:"blur",validator:function(e,n,t){n.length<5?t(new Error("The password can not be less than 6 digits")):t()}}]},passwordType:"password",loading:!1,showDialog:!1,redirect:void 0}},watch:{$route:{handler:function(e){this.redirect=e.query&&e.query.redirect},immediate:!0}},created:function(){},destroyed:function(){},methods:{showPwd:function(){"password"===this.passwordType?this.passwordType="":this.passwordType="password"},handleLogin:function(){var e=this;this.$refs.loginForm.validate(function(n){if(!n)return console.log("error submit!!"),!1;e.loading=!0,e.$store.dispatch("LoginByUsername",e.loginForm).then(function(){e.loading=!1,e.$router.push({path:e.redirect||"/"})}).catch(function(){e.loading=!1})})}}},s=(t("c11S"),t("VeNG"),t("KHd+")),r=Object(s.a)(o,function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"login-container"},[t("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules,"auto-complete":"on","label-position":"left"}},[t("div",{staticClass:"title-container"},[t("h3",{staticClass:"title"},[e._v("更美社区管理后台")])]),e._v(" "),t("el-form-item",{attrs:{prop:"username"}},[t("span",{staticClass:"svg-container"},[t("svg-icon",{attrs:{"icon-class":"user"}})],1),e._v(" "),t("el-input",{attrs:{placeholder:e.$t("login.username"),name:"username",type:"text","auto-complete":"on"},model:{value:e.loginForm.username,callback:function(n){e.$set(e.loginForm,"username",n)},expression:"loginForm.username"}})],1),e._v(" "),t("el-form-item",{attrs:{prop:"password"}},[t("span",{staticClass:"svg-container"},[t("svg-icon",{attrs:{"icon-class":"password"}})],1),e._v(" "),t("el-input",{attrs:{type:e.passwordType,placeholder:e.$t("login.password"),name:"password","auto-complete":"on"},nativeOn:{keyup:function(n){return"button"in n||!e._k(n.keyCode,"enter",13,n.key,"Enter")?e.handleLogin(n):null}},model:{value:e.loginForm.password,callback:function(n){e.$set(e.loginForm,"password",n)},expression:"loginForm.password"}}),e._v(" "),t("span",{staticClass:"show-pwd",on:{click:e.showPwd}},[t("svg-icon",{attrs:{"icon-class":"eye"}})],1)],1),e._v(" "),t("el-button",{staticStyle:{width:"100%","margin-bottom":"30px"},attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(n){return n.preventDefault(),e.handleLogin(n)}}},[e._v(e._s(e.$t("login.logIn")))])],1)],1)},[],!1,null,"323c0aa2",null);r.options.__file="index.vue";n.default=r.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4130"],{"0o2y":function(t,e,i){"use strict";i.d(e,"c",function(){return l}),i.d(e,"b",function(){return a}),i.d(e,"a",function(){return s}),i.d(e,"d",function(){return o});var n=i("t3Un");function l(t){return Object(n.a)({url:"/api/tag/list",method:"get",params:t})}function a(t){return Object(n.a)({url:"/api/tag/list/update",method:"post",data:t})}function s(t){return Object(n.a)({url:"/api/tag/create",method:"post",data:t})}function o(t){return Object(n.a)({url:"/api/tag/detail",method:"get",params:{id:t}})}},"3vK+":function(t,e,i){},"9rQ3":function(t,e,i){"use strict";var n=i("3vK+");i.n(n).a},Y5bG:function(t,e,i){"use strict";i.d(e,"a",function(){return l}),Math.easeInOutQuad=function(t,e,i,n){return(t/=n/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function l(t,e,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=t-l,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,l,a,e)),s<e?n(t):i&&"function"==typeof i&&i()}()}},ZySA:function(t,e,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(t,e){t.addEventListener("click",function(i){var n=l()({},e.value),a=l()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var o=s.getBoundingClientRect(),r=s.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",s.appendChild(r)),a.type){case"center":r.style.top=o.height/2-r.offsetHeight/2+"px",r.style.left=o.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(i.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(i.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=a.color,r.className="waves-ripple z-active",!1}},!1)}}),s=function(t){t.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;e.a=a},hqDa:function(t,e,i){"use strict";i.r(e);var n=i("0o2y"),l=i("Mz3J"),a=i("ZySA"),s={name:"TagList",components:{Pagination:l.a},filters:{isOnlineFilter:function(t){return{1:"success",0:"info"}[t]}},directives:{waves:a.a},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{offset:1,limit:10,filter:{value:"",key:"",is_online:"",name:"",type:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],SearchTypeOptions:[{key:"id",display_name:"ID"},{key:"name",display_name:"标签名称"},{key:"tagtype_name",display_name:"标签类型"}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(n.c)(this.listQuery).then(function(e){t.list=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.offset=t,this.getList()},handleOfflineOrOnline:function(t){var e=this,i=this.multipleSelection.length,l="";this.del_list=this.del_list.concat(this.multipleSelection);for(var a=0;a<i;a++)this.multipleSelection[a].is_online="offline"===t?0:1,l+=this.multipleSelection[a].id+" ";Object(n.b)({type:t,ids:l}).then(function(t){e.multipleSelection=[],e.$message.success(t.data.data.message)})},handleFilter:function(){if(this.listQuery.offset=1,"id"==this.listQuery.filter.key&&!/^\d+$/.test(this.listQuery.filter.value))return this.$message.error("搜索条件不合法, 重新输入"),!1;this.getList()},handleCreate:function(){this.$router.push("/tag/create")}}},o=(i("9rQ3"),i("KHd+")),r=Object(o.a)(s,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"150px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleFilter(e):null}},model:{value:t.listQuery.filter.value,callback:function(e){t.$set(t.listQuery.filter,"value",e)},expression:"listQuery.filter.value"}}),t._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:t.listQuery.filter.key,callback:function(e){t.$set(t.listQuery.filter,"key",e)},expression:"listQuery.filter.key"}},t._l(t.SearchTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:t.listQuery.filter.is_online,callback:function(e){t.$set(t.listQuery.filter,"is_online",e)},expression:"listQuery.filter.is_online"}},t._l(t.BooleanTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v("创建")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("offline")}}},[t._v("下线")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("online")}}},[t._v("上线")])],1),t._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.list,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:"/tag/edit/"+e.row.id}},[i("span",[t._v(t._s(e.row.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.name))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-tag",{attrs:{type:t._f("isOnlineFilter")(e.row.is_online)}},[t._v(t._s(1==e.row.is_online?"是":"否"))])]}}])})],1),t._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:t.total,page:t.listQuery.offset,limit:t.listQuery.limit},on:{"update:page":function(e){t.$set(t.listQuery,"offset",e)},"update:limit":function(e){t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},[],!1,null,"06da7b26",null);r.options.__file="list.vue";e.default=r.exports},jUE0:function(t,e,i){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4316"],{"5Kag":function(e,t,i){},OQMk:function(e,t,i){"use strict";i.r(t);var n=i("gDS+"),l=i.n(n),a=i("QbLZ"),s=i.n(a),r=i("wk8/"),o=i("Mz3J"),u=i("ZySA"),c=i("L2JU"),d={name:"UserList",components:{Pagination:o.a},filters:{isOnlineFilter:function(e){return{1:"success",0:"info"}[e]},genderFilter:function(e){return{"男":"success","女":"info","全部":"danger"}[e]}},directives:{waves:u.a},data:function(){return{adminRole:!0,list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:1,limit:10,filter:{value:"",key:"",is_online:"",is_recommend:""}},ReBooleanTypeOptions:[{key:"1",display_name:"是"},{key:"0",display_name:"否"}],IdentifyTypeOptions:[{key:1,display_name:"组长"},{key:2,display_name:"管理员"},{key:3,display_name:"长老"},{key:4,display_name:"普通群员"}],UserTypeOptions:[{key:"0",display_name:"普通用户"},{key:"1",display_name:"马甲用户"}],SearchTypeOptions:[{key:"id",display_name:"ID"},{key:"user_id",display_name:"用户ID"},{key:"nick_name",display_name:"用户名"},{key:"phone_num",display_name:"联系电话"}]}},created:function(){this.getList()},computed:s()({},Object(c.b)(["roles"])),methods:{getList:function(){var e=this;this.listLoading=!0,this.listQuery.group_id=this.$route.query.group_id,Object(r.c)(this.listQuery).then(function(t){e.list=t.data.data.data,e.total=t.data.data.total,e.listLoading=!1})},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.listQuery.limit=e,this.getList()},handleCurrentChange:function(e){this.listQuery.page=e,this.getList()},handleOfflineOrOnline:function(e){var t=this,i=this.multipleSelection.length,n=[];this.del_list=this.del_list.concat(this.multipleSelection);for(var a=0;a<i;a++)"offline"===e?this.multipleSelection[a].is_online=0:"recommend"===e?this.multipleSelection[a].is_recommend=0:this.multipleSelection[a].is_online=1,n.push(this.multipleSelection[a].user_id);Object(r.a)({type:e,ids:l()(n)}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),setTimeout(function(){t.$router.go(0)},1500)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/user/create")}}},p=(i("RivU"),i("KHd+")),f=Object(p.a)(d,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"180px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.listQuery.filter.value,callback:function(t){e.$set(e.listQuery.filter,"value",t)},expression:"listQuery.filter.value"}}),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:e.listQuery.filter.key,callback:function(t){e.$set(e.listQuery.filter,"key",t)},expression:"listQuery.filter.key"}},e._l(e.SearchTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"用户身份",clearable:""},model:{value:e.listQuery.filter.user_type,callback:function(t){e.$set(e.listQuery.filter,"user_type",t)},expression:"listQuery.filter.user_type"}},e._l(e.UserTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"推荐",clearable:""},model:{value:e.listQuery.filter.is_recommend,callback:function(t){e.$set(e.listQuery.filter,"is_recommend",t)},expression:"listQuery.filter.is_recommend"}},e._l(e.ReBooleanTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v("搜索")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v("创建\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("recommend")}}},[e._v("推荐\n ")])],1),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"ID"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.id))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户ID ",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:"/user/edit/"+t.row.user_id}},[i("span",[e._v(e._s(t.row.user_id))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户名"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.nick_name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"联系电话"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.phone))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"邮箱"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.email))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"关注小组"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/group/list/",query:{user_id:t.row.user_id}}}},[i("span",[e._v(e._s(t.row.group_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"帖子数"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/topic/list/",query:{user_id:t.row.user_id}}}},[i("span",[e._v(e._s(t.row.topic_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户身份"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.user_identify))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否推荐"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_recommend)}},[e._v(e._s(1==t.row.is_recommend?"是":"否"))])]}}])}),e._v("\n is_recommend\n\n ")],1),e._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){e.$set(e.listQuery,"page",t)},"update:limit":function(t){e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},[],!1,null,"152dff15",null);f.options.__file="list.vue";t.default=f.exports},RivU:function(e,t,i){"use strict";var n=i("5Kag");i.n(n).a},Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return l}),Math.easeInOutQuad=function(e,t,i,n){return(e/=n/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function l(e,t,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=e-l,s=0;t=void 0===t?500:t;!function e(){s+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(s,l,a,t)),s<t?n(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var n=l()({},t.value),a=l()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var r=s.getBoundingClientRect(),o=s.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":((o=document.createElement("span")).className="waves-ripple",o.style.height=o.style.width=Math.max(r.width,r.height)+"px",s.appendChild(o)),a.type){case"center":o.style.top=r.height/2-o.offsetHeight/2+"px",o.style.left=r.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(i.pageY-r.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(i.pageX-r.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=a.color,o.className="waves-ripple z-active",!1}},!1)}}),s=function(e){e.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;t.a=a},"gDS+":function(e,t,i){e.exports={default:i("oh+g"),__esModule:!0}},jUE0:function(e,t,i){},"oh+g":function(e,t,i){var n=i("WEpk"),l=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return l.stringify.apply(l,arguments)}},"wk8/":function(e,t,i){"use strict";i.d(t,"c",function(){return l}),i.d(t,"a",function(){return a}),i.d(t,"b",function(){return s}),i.d(t,"d",function(){return r});var n=i("t3Un");function l(e){return Object(n.a)({url:"/api/user/list",method:"get",params:e})}function a(e){return Object(n.a)({url:"/api/user/list/update",method:"post",data:e})}function s(e){return Object(n.a)({url:"/api/user/get",method:"get",params:{id:e}})}function r(e){return Object(n.a)({url:"/api/user/create",method:"post",data:e})}}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-445b"],{"0Fno":function(t,e,i){},"6QIw":function(t,e,i){"use strict";i.d(e,"c",function(){return l}),i.d(e,"b",function(){return a}),i.d(e,"a",function(){return s}),i.d(e,"d",function(){return o});var n=i("t3Un");function l(t){return Object(n.a)({url:"/api/tag/tagtype/list",method:"get",params:t})}function a(t){return Object(n.a)({url:"/api/tag/tagtype/list/update",method:"post",data:t})}function s(t){return Object(n.a)({url:"/api/tag/tagtype/create",method:"post",data:t})}function o(t){return Object(n.a)({url:"/api/tag/tagtype/detail",method:"get",params:{id:t}})}},CBoU:function(t,e,i){"use strict";var n=i("0Fno");i.n(n).a},"GR/h":function(t,e,i){"use strict";i.r(e);var n=i("6QIw"),l=i("Mz3J"),a=i("ZySA"),s={name:"TagTypeList",components:{Pagination:l.a},filters:{isOnlineFilter:function(t){return{1:"success",0:"info"}[t]}},directives:{waves:a.a},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{offset:1,limit:10,filter:{value:"",key:"",is_online:"",name:"",type:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],SearchTypeOptions:[{key:"id",display_name:"ID"},{key:"name",display_name:"类型名称"}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(n.c)(this.listQuery).then(function(e){t.list=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.offset=t,this.getList()},handleOfflineOrOnline:function(t){var e=this,i=this.multipleSelection.length,l="",a="";this.del_list=this.del_list.concat(this.multipleSelection);for(var s=0;s<i;s++)"offline"===t?(this.multipleSelection[s].is_online=0,a=0):(this.multipleSelection[s].is_online=1,a=1),l+=this.multipleSelection[s].id+" ";Object(n.b)({update:a,ids:l}).then(function(t){e.multipleSelection=[],e.$message.success(t.data.data.message)})},handleFilter:function(){if(this.listQuery.offset=1,"id"==this.listQuery.filter.key&&!/^\d+$/.test(this.listQuery.filter.value))return this.$message.error("搜索条件不合法, 重新输入"),!1;this.getList()},handleCreate:function(){this.$router.push("/tag/tagtype/create")}}},o=(i("CBoU"),i("KHd+")),r=Object(o.a)(s,function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"150px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleFilter(e):null}},model:{value:t.listQuery.filter.value,callback:function(e){t.$set(t.listQuery.filter,"value",e)},expression:"listQuery.filter.value"}}),t._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:t.listQuery.filter.key,callback:function(e){t.$set(t.listQuery.filter,"key",e)},expression:"listQuery.filter.key"}},t._l(t.SearchTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:t.listQuery.filter.is_online,callback:function(e){t.$set(t.listQuery.filter,"is_online",e)},expression:"listQuery.filter.is_online"}},t._l(t.BooleanTypeOptions,function(t){return i("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v("创建")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("offline")}}},[t._v("下线")]),t._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(e){t.handleOfflineOrOnline("online")}}},[t._v("上线")])],1),t._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.list,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:"/tag/tagtype/edit/"+e.row.id}},[i("span",[t._v(t._s(e.row.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.name))])]}}])}),t._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-tag",{attrs:{type:t._f("isOnlineFilter")(e.row.is_online)}},[t._v(t._s(1==e.row.is_online?"是":"否"))])]}}])})],1),t._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:t.total,page:t.listQuery.offset,limit:t.listQuery.limit},on:{"update:page":function(e){t.$set(t.listQuery,"offset",e)},"update:limit":function(e){t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1)},[],!1,null,"22ad4d5b",null);r.options.__file="list.vue";e.default=r.exports},Y5bG:function(t,e,i){"use strict";i.d(e,"a",function(){return l}),Math.easeInOutQuad=function(t,e,i,n){return(t/=n/2)<1?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function l(t,e,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=t-l,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,l,a,e)),s<e?n(t):i&&"function"==typeof i&&i()}()}},ZySA:function(t,e,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(t,e){t.addEventListener("click",function(i){var n=l()({},e.value),a=l()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var o=s.getBoundingClientRect(),r=s.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",s.appendChild(r)),a.type){case"center":r.style.top=o.height/2-r.offsetHeight/2+"px",r.style.left=o.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(i.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(i.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=a.color,r.className="waves-ripple z-active",!1}},!1)}}),s=function(t){t.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;e.a=a},jUE0:function(t,e,i){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4922"],{"2Qwl":function(t,e,a){"use strict";var n=a("P2sY"),r=a.n(n),i=a("Grqa"),o=a("uARZ"),s=a("6QIw"),u=(a("gg54"),a("7Qib"),{status:"draft",name:""}),c={name:"TagTypeDetail",components:{MDinput:i.a,Sticky:o.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this;return{postForm:r()({},u),loading:!1,rules:{name:[{validator:function(e,a,n){""===(a=a.trim())?(t.$message({message:e.field+"为必传项",type:"error"}),n(new Error(e.field+"为必传项"))):n()},trigger:"blur"}]},tempRoute:{}}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t)}else this.postForm=r()({},u);this.tempRoute=r()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(s.d)(t).then(function(t){e.postForm=t.data.data.data}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0,Object(s.a)(t.postForm).then(function(e){if(500==e.data.data.code)return t.$notify({title:"失败",message:e.data.data.message,type:"error",duration:2e3}),t.loading=!1,!1;t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/tag/tagtype/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!1})}}},l=(a("LmT8"),a("KHd+")),m=Object(l.a)(c,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar"}},[a("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(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"name"}},[a("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 标签类型名称\n ")])],1)],1)],1),t._v(" "),a("el-row")],1)],1)],1)},[],!1,null,"ad22feb6",null);m.options.__file="TagTypeDetail.vue";e.a=m.exports},"3avd":function(t,e,a){"use strict";a.r(e);var n={name:"CreateTagType",components:{TagTypeDetail:a("2Qwl").a}},r=a("KHd+"),i=Object(r.a)(n,function(){var t=this.$createElement;return(this._self._c||t)("tag-type-detail",{attrs:{"is-edit":!1}})},[],!1,null,null,null);i.options.__file="create.vue";e.default=i.exports},"6QIw":function(t,e,a){"use strict";a.d(e,"c",function(){return r}),a.d(e,"b",function(){return i}),a.d(e,"a",function(){return o}),a.d(e,"d",function(){return s});var n=a("t3Un");function r(t){return Object(n.a)({url:"/api/tag/tagtype/list",method:"get",params:t})}function i(t){return Object(n.a)({url:"/api/tag/tagtype/list/update",method:"post",data:t})}function o(t){return Object(n.a)({url:"/api/tag/tagtype/create",method:"post",data:t})}function s(t){return Object(n.a)({url:"/api/tag/tagtype/detail",method:"get",params:{id:t}})}},LmT8:function(t,e,a){"use strict";var n=a("PeSC");a.n(n).a},PeSC:function(t,e,a){},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return r}),a.d(e,"c",function(){return i}),a.d(e,"e",function(){return o}),a.d(e,"d",function(){return s}),a.d(e,"b",function(){return u}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return l}),a.d(e,"f",function(){return m});var n=a("t3Un");function r(t){return Object(n.a)({url:"/api/search/user",method:"get",params:{name:t}})}function i(t){return Object(n.a)({url:"/api/search/group",method:"get",params:{name:t}})}function o(t){return Object(n.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function s(t){return Object(n.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function u(t){return Object(n.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(n.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(n.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function m(t){return Object(n.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4e44"],{XPyc:function(e,t,i){"use strict";var n=i("yyRt");i.n(n).a},Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return l}),Math.easeInOutQuad=function(e,t,i,n){return(e/=n/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function l(e,t,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=e-l,s=0;t=void 0===t?500:t;!function e(){s+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(s,l,a,t)),s<t?n(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var n=l()({},t.value),a=l()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var o=s.getBoundingClientRect(),r=s.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",s.appendChild(r)),a.type){case"center":r.style.top=o.height/2-r.offsetHeight/2+"px",r.style.left=o.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(i.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(i.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=a.color,r.className="waves-ripple z-active",!1}},!1)}}),s=function(e){e.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;t.a=a},deRP:function(e,t,i){"use strict";i.d(t,"b",function(){return l}),i.d(t,"d",function(){return a}),i.d(t,"e",function(){return s}),i.d(t,"a",function(){return o}),i.d(t,"c",function(){return r});var n=i("t3Un");function l(e){return Object(n.a)({url:"/api/celebrity/list",method:"get",params:e})}function a(e){return Object(n.a)({url:"/api/celebrity/create",method:"post",data:e})}function s(e){return Object(n.a)({url:"/api/celebrity/detail",method:"get",params:{id:e}})}function o(e){return Object(n.a)({url:"/api/celebrity//list/update",method:"post",data:e})}function r(e){return Object(n.a)({url:"/api/celebrity/celebrity_related_group_info",method:"get",params:e})}},hg0t:function(e,t,i){"use strict";i.r(t);var n=i("deRP"),l=i("Mz3J"),a=i("ZySA"),s={name:"StartList",components:{Pagination:l.a},directives:{waves:a.a},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:0,limit:10,filter:{value:"",key:"",is_online:"",gender:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],GenderTypeOptions:[{key:0,display_name:"男"},{key:1,display_name:"女"}],SearchTypeOptions:[{key:"id",display_name:"明星ID"},{key:"name",display_name:"明星名称"}]}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(n.b)(this.listQuery).then(function(t){e.list=t.data.data.data,e.total=t.data.data.total,e.listLoading=!1})},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.listQuery.limit=e,this.getList()},handleCurrentChange:function(e){this.listQuery.page=e,this.getList()},handleOfflineOrOnline:function(e){var t=this,i=this.multipleSelection.length,l="";this.del_list=this.del_list.concat(this.multipleSelection);for(var a=0;a<i;a++)this.multipleSelection[a].is_online="offline"===e?0:1,l+=this.multipleSelection[a].id+" ";Object(n.a)({type:e,ids:l}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),setTimeout(function(){t.$router.go(0)},1300)})},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/star/create")}}},o=(i("XPyc"),i("KHd+")),r=Object(o.a)(s,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"160px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.listQuery.filter.value,callback:function(t){e.$set(e.listQuery.filter,"value",t)},expression:"listQuery.filter.value"}}),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:e.listQuery.filter.key,callback:function(t){e.$set(e.listQuery.filter,"key",t)},expression:"listQuery.filter.key"}},e._l(e.SearchTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"性别",clearable:""},model:{value:e.listQuery.filter.gender,callback:function(t){e.$set(e.listQuery.filter,"gender",t)},expression:"listQuery.filter.gender"}},e._l(e.GenderTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"100px"},attrs:{placeholder:"上线",clearable:""},model:{value:e.listQuery.filter.is_online,callback:function(t){e.$set(e.listQuery.filter,"is_online",t)},expression:"listQuery.filter.is_online"}},e._l(e.BooleanTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v("搜索")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v("创建")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("offline")}}},[e._v("下线")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("online")}}},[e._v("上线")])],1),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"明星ID",width:"80"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:"/star/edit/"+t.row.id}},[i("span",[e._v(e._s(t.row.id))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"明星名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",[e._v(e._s(0==t.row.gender?"男":"女"))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"城市"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.city.name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"小组数量"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/group/list/",query:{star_id:t.row.id}}}},[i("span",[e._v(e._s(t.row.group_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",[e._v(e._s(1==t.row.is_online?"是":"否"))])]}}])})],1),e._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){e.$set(e.listQuery,"page",t)},"update:limit":function(t){e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},[],!1,null,"c865e982",null);r.options.__file="list.vue";t.default=r.exports},jUE0:function(e,t,i){},yyRt:function(e,t,i){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4f34"],{UTJy:function(t,e,n){},Y5bG:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),Math.easeInOutQuad=function(t,e,n,i){return(t/=i/2)<1?n/2*t*t+e:-n/2*(--t*(t-2)-1)+e};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function a(t,e,n){var a=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,l=t-a,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,a,l,e)),s<e?i(t):n&&"function"==typeof n&&n()}()}},"Z+4/":function(t,e,n){"use strict";n.r(e);var i=n("giwc"),a=n("Mz3J"),l=n("ZySA"),s={name:"PushList",components:{Pagination:a.a},directives:{waves:l.a},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:0,limit:10,filter:{value:"",key:""}},SearchTypeOptions:[{key:"id",display_name:"推送ID"},{key:"title",display_name:"推送标题"},{key:"content",display_name:"推送内容"}]}},created:function(){this.getList()},methods:{getList:function(){var t=this;this.listLoading=!0,Object(i.c)(this.listQuery).then(function(e){t.list=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.page=t,this.getList()},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/push/create")}}},o=(n("hBk3"),n("KHd+")),r=Object(o.a)(s,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"filter-container"},[n("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleFilter(e):null}},model:{value:t.listQuery.filter.value,callback:function(e){t.$set(t.listQuery.filter,"value",e)},expression:"listQuery.filter.value"}}),t._v(" "),n("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:t.listQuery.filter.key,callback:function(e){t.$set(t.listQuery.filter,"key",e)},expression:"listQuery.filter.key"}},t._l(t.SearchTypeOptions,function(t){return n("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),n("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.handleFilter}},[t._v("搜索")]),t._v(" "),n("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.handleCreate}},[t._v("创建")])],1),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":t.handleSelectionChange}},[n("el-table-column",{attrs:{align:"center",label:"推送ID"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("router-link",{staticClass:"link-type",attrs:{to:"/push/edit/"+e.row.id}},[n("span",[t._v(t._s(e.row.id))])])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"推送标题"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.title))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"推送内容"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.content))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"推送时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.push_time))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"创建时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.create_time))])]}}])}),t._v(" "),n("el-table-column",{attrs:{align:"center",label:"创建用户"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.user.name))])]}}])})],1),t._v(" "),n("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},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,null,"9b558caa",null);r.options.__file="list.vue";e.default=r.exports},ZySA:function(t,e,n){"use strict";var i=n("P2sY"),a=n.n(i),l=(n("jUE0"),{bind:function(t,e){t.addEventListener("click",function(n){var i=a()({},e.value),l=a()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),s=l.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var o=s.getBoundingClientRect(),r=s.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",s.appendChild(r)),l.type){case"center":r.style.top=o.height/2-r.offsetHeight/2+"px",r.style.left=o.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(n.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(n.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=l.color,r.className="waves-ripple z-active",!1}},!1)}}),s=function(t){t.directive("waves",l)};window.Vue&&(window.waves=l,Vue.use(s)),l.install=s;e.a=l},giwc:function(t,e,n){"use strict";n.d(e,"c",function(){return a}),n.d(e,"a",function(){return l}),n.d(e,"d",function(){return s}),n.d(e,"b",function(){return o});var i=n("t3Un");function a(t){return Object(i.a)({url:"/api/push/list",method:"get",params:t})}function l(t){return Object(i.a)({url:"/api/push/create",method:"post",data:t})}function s(t){return Object(i.a)({url:"/api/push/detail",method:"get",params:{id:t}})}function o(t){return Object(i.a)({url:"/api/push/effect_push",method:"get",params:{id:t}})}},hBk3:function(t,e,n){"use strict";var i=n("UTJy");n.n(i).a},jUE0:function(t,e,n){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-65da"],{"+mRV":function(t,e,a){"use strict";a.r(e);var n={name:"EditTagType",components:{TagTypeDetail:a("2Qwl").a}},r=a("KHd+"),i=Object(r.a)(n,function(){var t=this.$createElement;return(this._self._c||t)("tag-type-detail",{attrs:{"is-edit":!0}})},[],!1,null,null,null);i.options.__file="edit.vue";e.default=i.exports},"2Qwl":function(t,e,a){"use strict";var n=a("P2sY"),r=a.n(n),i=a("Grqa"),o=a("uARZ"),s=a("6QIw"),u=(a("gg54"),a("7Qib"),{status:"draft",name:""}),c={name:"TagTypeDetail",components:{MDinput:i.a,Sticky:o.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this;return{postForm:r()({},u),loading:!1,rules:{name:[{validator:function(e,a,n){""===(a=a.trim())?(t.$message({message:e.field+"为必传项",type:"error"}),n(new Error(e.field+"为必传项"))):n()},trigger:"blur"}]},tempRoute:{}}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t)}else this.postForm=r()({},u);this.tempRoute=r()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(s.d)(t).then(function(t){e.postForm=t.data.data.data}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0,Object(s.a)(t.postForm).then(function(e){if(500==e.data.data.code)return t.$notify({title:"失败",message:e.data.data.message,type:"error",duration:2e3}),t.loading=!1,!1;t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/tag/tagtype/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!1})}}},m=(a("LmT8"),a("KHd+")),l=Object(m.a)(c,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar"}},[a("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(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"name"}},[a("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 标签类型名称\n ")])],1)],1)],1),t._v(" "),a("el-row")],1)],1)],1)},[],!1,null,"ad22feb6",null);l.options.__file="TagTypeDetail.vue";e.a=l.exports},"6QIw":function(t,e,a){"use strict";a.d(e,"c",function(){return r}),a.d(e,"b",function(){return i}),a.d(e,"a",function(){return o}),a.d(e,"d",function(){return s});var n=a("t3Un");function r(t){return Object(n.a)({url:"/api/tag/tagtype/list",method:"get",params:t})}function i(t){return Object(n.a)({url:"/api/tag/tagtype/list/update",method:"post",data:t})}function o(t){return Object(n.a)({url:"/api/tag/tagtype/create",method:"post",data:t})}function s(t){return Object(n.a)({url:"/api/tag/tagtype/detail",method:"get",params:{id:t}})}},LmT8:function(t,e,a){"use strict";var n=a("PeSC");a.n(n).a},PeSC:function(t,e,a){},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return r}),a.d(e,"c",function(){return i}),a.d(e,"e",function(){return o}),a.d(e,"d",function(){return s}),a.d(e,"b",function(){return u}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return m}),a.d(e,"f",function(){return l});var n=a("t3Un");function r(t){return Object(n.a)({url:"/api/search/user",method:"get",params:{name:t}})}function i(t){return Object(n.a)({url:"/api/search/group",method:"get",params:{name:t}})}function o(t){return Object(n.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function s(t){return Object(n.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function u(t){return Object(n.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(n.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function m(t){return Object(n.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function l(t){return Object(n.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6dcd"],{I7qB:function(t,e,a){"use strict";a.d(e,"g",function(){return n}),a.d(e,"d",function(){return r}),a.d(e,"a",function(){return o}),a.d(e,"e",function(){return s}),a.d(e,"f",function(){return l}),a.d(e,"b",function(){return c}),a.d(e,"c",function(){return u});var i=a("t3Un");function n(t){return Object(i.a)({url:"/api/group/list",method:"get",params:t})}function r(t){return Object(i.a)({url:"/api/group/list/update",method:"post",data:t})}function o(t){return Object(i.a)({url:"/api/group/get",method:"get",params:{id:t}})}function s(t){return Object(i.a)({url:"/api/group/create",method:"post",data:t})}function l(t){return Object(i.a)({url:"/api/group/user/list",method:"get",params:t})}function c(t){return Object(i.a)({url:"/api/group/user/get",method:"get",params:{id:t}})}function u(t){return Object(i.a)({url:"/api/group/user/edit_group_identify",method:"post",data:t})}},Knv1:function(t,e,a){"use strict";a.r(e);var i={name:"CreateStar",components:{StarDetail:a("g/UI").a}},n=a("KHd+"),r=Object(n.a)(i,function(){var t=this.$createElement;return(this._self._c||t)("star-detail",{attrs:{"is-edit":!1}})},[],!1,null,null,null);r.options.__file="create.vue";e.default=r.exports},MSNs:function(t,e,a){"use strict";a.d(e,"a",function(){return n});var i=a("t3Un");function n(){return Object(i.a)({url:"/api/get_token",method:"get"})}},U9p6:function(t,e,a){"use strict";var i=a("acJy");a.n(i).a},Y5bG:function(t,e,a){"use strict";a.d(e,"a",function(){return n}),Math.easeInOutQuad=function(t,e,a,i){return(t/=i/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function n(t,e,a){var n=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,r=t-n,o=0;e=void 0===e?500:e;!function t(){o+=20,function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}(Math.easeInOutQuad(o,n,r,e)),o<e?i(t):a&&"function"==typeof a&&a()}()}},ZySA:function(t,e,a){"use strict";var i=a("P2sY"),n=a.n(i),r=(a("jUE0"),{bind:function(t,e){t.addEventListener("click",function(a){var i=n()({},e.value),r=n()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=r.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var s=o.getBoundingClientRect(),l=o.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":((l=document.createElement("span")).className="waves-ripple",l.style.height=l.style.width=Math.max(s.width,s.height)+"px",o.appendChild(l)),r.type){case"center":l.style.top=s.height/2-l.offsetHeight/2+"px",l.style.left=s.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(a.pageY-s.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(a.pageX-s.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=r.color,l.className="waves-ripple z-active",!1}},!1)}}),o=function(t){t.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(o)),r.install=o;e.a=r},acJy:function(t,e,a){},deRP:function(t,e,a){"use strict";a.d(e,"b",function(){return n}),a.d(e,"d",function(){return r}),a.d(e,"e",function(){return o}),a.d(e,"a",function(){return s}),a.d(e,"c",function(){return l});var i=a("t3Un");function n(t){return Object(i.a)({url:"/api/celebrity/list",method:"get",params:t})}function r(t){return Object(i.a)({url:"/api/celebrity/create",method:"post",data:t})}function o(t){return Object(i.a)({url:"/api/celebrity/detail",method:"get",params:{id:t}})}function s(t){return Object(i.a)({url:"/api/celebrity//list/update",method:"post",data:t})}function l(t){return Object(i.a)({url:"/api/celebrity/celebrity_related_group_info",method:"get",params:t})}},"g/UI":function(t,e,a){"use strict";var i=a("m1cH"),n=a.n(i),r=a("gDS+"),o=a.n(r),s=a("P2sY"),l=a.n(s),c=a("fL+G"),u=a("Grqa"),p=a("uARZ"),d=a("ZySA"),m=a("Mz3J"),f=a("deRP"),g=a("I7qB"),h=a("gg54"),b=a("7Qib"),v={status:"draft",name:"",id:"",gender:"",city:"",is_online:0,description:"",avatar:"",groups:[]},y={name:"StarDetail",components:{MDinput:u.a,Upload:c.a,Sticky:p.a,Pagination:m.a},directives:{waves:d.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,a,i){""===a?(t.$message({message:e.field+"为必传项",type:"error"}),i(new Error(e.field+"为必传项"))):i()};return{postForm:l()({},v),loading:!1,groupListOptions:[],temp_group_ids:"",group_ids:[],city:"",rules:{name:[{validator:e,trigger:"blur"}],gender:[{validator:e,trigger:"blur"}],avatar:[{validator:e,trigger:"blur"}]},GenderTypeOptions:[{key:0,display_name:"男"},{key:1,display_name:"女"}],tempRoute:{},regionListOptions:[],uploadType:99,list:[],tableData:[],total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{id:"",page:0,limit:10}}},computed:{contentShortLength:function(){return this.postForm.description.length},lang:function(){return this.$store.getters.language},data:function(){var t=this;return this.tableData.filter(function(e){for(var a=!1,i=0;i<t.del_list.length;i++)if(e.id==t.del_list[i].id){a=!0;break}if(!a)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()({},v);this.tempRoute=l()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(f.e)(t).then(function(t){var a=t.data.data.data;e.postForm=a,a.city.id&&a.city.name?e.city=a.city.id+":"+a.city.name:e.city=""}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){return e?(t.loading=!0,""==t.city?(t.$message.error("城市必填"),t.loading=!1,!1):(t.postForm.groups=o()(t.group_ids),t.postForm.city=t.city,Object(f.d)(t.postForm).then(function(e){t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/star/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",void(t.loading=!1))):(console.log("error submit!!"),!1)})},getRemoteGroupList:function(t){var e=this;Object(h.c)(t).then(function(t){t.data.data.data&&(e.groupListOptions=t.data.data.data)})},getRemoteCityList:function(t){var e=this;Object(h.b)(t).then(function(t){t.data.data.data&&(e.regionListOptions=t.data.data.data)})},appendUser:function(){var t=this;if(!this.temp_group_ids)return this.$message.error("还没输入小组呢~~"),this.temp_group_ids="",!1;Object(g.a)(this.temp_group_ids).then(function(e){e.data.data&&(t.tableData.push(e.data.data),t.total=t.tableData.length)}),this.group_ids.push(this.temp_group_ids),this.temp_group_ids=""},delUser:function(){var t,e=[],a=[],i=[];(t=this.del_list).push.apply(t,n()(this.multipleSelection));for(var r=0;r<this.tableData.length;r++)e.push(this.tableData[r].id+":"+this.tableData[r].name);for(var o=0;o<this.multipleSelection.length;o++)i.push(this.multipleSelection[o].id+":"+this.multipleSelection[o].name);for(var s=0;s<e.length;s++)Object(b.c)(i,e[s])||a.push(e[s]);this.group_ids=a},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.page=t,this.getList()},getList:function(){var t=this;this.listLoading=!0,this.listQuery.id=this.$route.params&&this.$route.params.id,Object(f.c)(this.listQuery).then(function(e){for(var a=e.data.data.data,i=0;i<a.length;i++)t.group_ids.push(a[i].id+":"+a[i].name);t.tableData=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})}}},_=(a("U9p6"),a("KHd+")),w=Object(_.a)(y,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar "+t.postForm.status}},[a("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(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",{attrs:{gutter:20}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("明星相关")])]),t._v(" "),a("div",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{prop:"name"}},[a("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 明星名称\n ")])],1),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"明星ID:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text",disabled:""},model:{value:t.postForm.id,callback:function(e){t.$set(t.postForm,"id",e)},expression:"postForm.id"}})],1):t._e()],1),t._v(" "),a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"创建时间:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text",placeholder:"请输入内容",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),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"用户数:"}},[a("el-input",{staticStyle:{width:"220px"},attrs:{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(" "),a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"帖子数:"}},[a("el-input",{staticStyle:{width:"220px"},attrs:{type:"number",disabled:""},model:{value:t.postForm.topic_nums,callback:function(e){t.$set(t.postForm,"topic_nums",e)},expression:"postForm.topic_nums"}})],1):t._e()],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"小组数:"}},[a("el-input",{staticStyle:{width:"220px"},attrs:{type:"number",disabled:""},model:{value:t.postForm.group_nums,callback:function(e){t.$set(t.postForm,"group_nums",e)},expression:"postForm.group_nums"}})],1):t._e()],1),t._v(" "),a("el-col",{attrs:{span:12}})],1)],1)],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"75px",label:"性别:",prop:"gender"}},[a("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"220px"},attrs:{placeholder:"性别:",clearable:"",disabled:this.isEdit},model:{value:t.postForm.gender,callback:function(e){t.$set(t.postForm,"gender",e)},expression:"postForm.gender"}},t._l(t.GenderTypeOptions,function(t){return a("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})}))],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"75px",label:"城市:",prop:"city"}},[a("el-select",{staticStyle:{width:"220px"},attrs:{"remote-method":t.getRemoteCityList,filterable:"",remote:"",clearable:"","value-key":"id",placeholder:"搜索地区"},model:{value:t.city,callback:function(e){t.city=e},expression:"city"}},t._l(t.regionListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"},attrs:{"label-width":"75px",label:"是否在线:"}},[a("el-radio-group",{model:{value:t.postForm.is_online,callback:function(e){t.$set(t.postForm,"is_online",e)},expression:"postForm.is_online"}},[a("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),a("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"},attrs:{"label-width":"75px",label:"明星简介:"}},[a("el-input",{staticClass:"article-textarea",attrs:{rows:1,type:"textarea",autosize:"",placeholder:"请输入内容"},model:{value:t.postForm.description,callback:function(e){t.$set(t.postForm,"description",e)},expression:"postForm.description"}}),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.contentShortLength,expression:"contentShortLength"}],staticClass:"word-counter"},[t._v(t._s(t.contentShortLength)+"字")])],1),t._v(" "),a("div",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"明星头像:",prop:"avatar"}},[a("span",{model:{value:t.uploadType,callback:function(e){t.uploadType=e},expression:"uploadType"}}),t._v(" "),a("Upload",{attrs:{uploadType:t.uploadType},model:{value:t.postForm.avatar,callback:function(e){t.$set(t.postForm,"avatar",e)},expression:"postForm.avatar"}})],1)],1)],1)],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"50px"},attrs:{gutter:20}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("小组相关")])]),t._v(" "),a("div",{staticStyle:{"margin-bottom":"50px"}},[a("div",{staticClass:"filter-container"},[a("el-select",{staticStyle:{width:"220px"},attrs:{"remote-method":t.getRemoteGroupList,filterable:"",remote:"",clearable:"","value-key":"id",placeholder:"小组"},model:{value:t.temp_group_ids,callback:function(e){t.temp_group_ids=e},expression:"temp_group_ids"}},t._l(t.groupListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})})),t._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.appendUser}},[t._v("添加\n ")]),t._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-delete"},on:{click:t.delUser}},[t._v("移除\n ")])],1),t._v(" "),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.data,border:"",fit:"","highlight-current-row":""},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"小组ID "},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"link-type",attrs:{to:"/group/edit/"+e.row.id}},[a("span",[t._v(t._s(e.row.id))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"小组名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.name))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"小组简介"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.description))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"用户数"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.user_nums))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"帖子数"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.topic_nums))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"组长"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.creator.name))])]}}])})],1),t._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},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)],1)],1)],1)},[],!1,null,"807900ca",null);w.options.__file="StarDetail.vue";e.a=w.exports},"gDS+":function(t,e,a){t.exports={default:a("oh+g"),__esModule:!0}},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return n}),a.d(e,"c",function(){return r}),a.d(e,"e",function(){return o}),a.d(e,"d",function(){return s}),a.d(e,"b",function(){return l}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return u}),a.d(e,"f",function(){return p});var i=a("t3Un");function n(t){return Object(i.a)({url:"/api/search/user",method:"get",params:{name:t}})}function r(t){return Object(i.a)({url:"/api/search/group",method:"get",params:{name:t}})}function o(t){return Object(i.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function s(t){return Object(i.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(i.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(i.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function u(t){return Object(i.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function p(t){return Object(i.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},jUE0:function(t,e,a){},"oh+g":function(t,e,a){var i=a("WEpk"),n=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7aa7"],{I7qB:function(t,e,a){"use strict";a.d(e,"g",function(){return r}),a.d(e,"d",function(){return n}),a.d(e,"a",function(){return s}),a.d(e,"e",function(){return o}),a.d(e,"f",function(){return l}),a.d(e,"b",function(){return u}),a.d(e,"c",function(){return c});var i=a("t3Un");function r(t){return Object(i.a)({url:"/api/group/list",method:"get",params:t})}function n(t){return Object(i.a)({url:"/api/group/list/update",method:"post",data:t})}function s(t){return Object(i.a)({url:"/api/group/get",method:"get",params:{id:t}})}function o(t){return Object(i.a)({url:"/api/group/create",method:"post",data:t})}function l(t){return Object(i.a)({url:"/api/group/user/list",method:"get",params:t})}function u(t){return Object(i.a)({url:"/api/group/user/get",method:"get",params:{id:t}})}function c(t){return Object(i.a)({url:"/api/group/user/edit_group_identify",method:"post",data:t})}},MSNs:function(t,e,a){"use strict";a.d(e,"a",function(){return r});var i=a("t3Un");function r(){return Object(i.a)({url:"/api/get_token",method:"get"})}},Y5bG:function(t,e,a){"use strict";a.d(e,"a",function(){return r}),Math.easeInOutQuad=function(t,e,a,i){return(t/=i/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function r(t,e,a){var r=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,n=t-r,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,r,n,e)),s<e?i(t):a&&"function"==typeof a&&a()}()}},ZySA:function(t,e,a){"use strict";var i=a("P2sY"),r=a.n(i),n=(a("jUE0"),{bind:function(t,e){t.addEventListener("click",function(a){var i=r()({},e.value),n=r()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),s=n.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var o=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(o.width,o.height)+"px",s.appendChild(l)),n.type){case"center":l.style.top=o.height/2-l.offsetHeight/2+"px",l.style.left=o.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(a.pageY-o.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(a.pageX-o.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=n.color,l.className="waves-ripple z-active",!1}},!1)}}),s=function(t){t.directive("waves",n)};window.Vue&&(window.waves=n,Vue.use(s)),n.install=s;e.a=n},"gDS+":function(t,e,a){t.exports={default:a("oh+g"),__esModule:!0}},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return r}),a.d(e,"c",function(){return n}),a.d(e,"e",function(){return s}),a.d(e,"d",function(){return o}),a.d(e,"b",function(){return l}),a.d(e,"a",function(){return u}),a.d(e,"g",function(){return c}),a.d(e,"f",function(){return p});var i=a("t3Un");function r(t){return Object(i.a)({url:"/api/search/user",method:"get",params:{name:t}})}function n(t){return Object(i.a)({url:"/api/search/group",method:"get",params:{name:t}})}function s(t){return Object(i.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function o(t){return Object(i.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(i.a)({url:"/api/search/city",method:"get",params:{name:t}})}function u(t){return Object(i.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function c(t){return Object(i.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function p(t){return Object(i.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},jUE0:function(t,e,a){},lWpZ:function(t,e,a){},oRVZ:function(t,e,a){"use strict";var i=a("m1cH"),r=a.n(i),n=a("gDS+"),s=a.n(n),o=a("P2sY"),l=a.n(o),u=a("Grqa"),c=a("fL+G"),p=a("uARZ"),d=a("ZySA"),m=a("Mz3J"),f=a("7Qib"),h=a("I7qB"),g=a("gg54"),_={status:"draft",name:"",description:"",id:void 0,user_nums:0,user:"",star:[],icon:"",is_online:0,is_recommend:0,group_users:[]},v=[{key:0,display_name:"创始人"},{key:1,display_name:"长老"},{key:2,display_name:"用户"},{key:3,display_name:"访客"}],b=v.reduce(function(t,e){return t[e.key]=e.display_name,t},{}),y={name:"GroupDetail",components:{MDinput:u.a,Sticky:p.a,Pagination:m.a,Upload:c.a},directives:{waves:d.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,a,i){""===a?(t.$message({message:e.field+"为必传项",type:"error"}),i(new Error(e.field+"为必传项"))):i()};return{postForm:l()({},_),loading:!1,rules:{name:[{validator:e,trigger:"blur"}],icon:[{validator:e,trigger:"blur"}]},user:"",star:[],temp_user_ids:"",group_users:[],group_identify:"",tempRoute:{},uploadType:98,starListOptions:[],userListOptions:[],list:null,tableData:[],del_list:[],total:0,listLoading:!0,multipleSelection:[],listQuery:{page:0,limit:10,filter:{value:"",key:""}},GroupIndentify:v}},computed:{contentShortLength:function(){return this.postForm.description.length},data:function(){var t=this;return this.tableData.filter(function(e){for(var a=!1,i=0;i<t.del_list.length;i++)if(e.user_id==t.del_list[i].user_id){a=!0;break}if(!a)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(h.a)(t).then(function(t){var a=t.data.data;e.postForm=t.data.data,a.creator.id&&a.creator.name?e.user=a.creator.id+":"+a.creator.name:e.user="";for(var i=0;i<a.star.length;i++)e.star.push(a.star[i].id+":"+a.star[i].name)}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){return e?(t.loading=!0,""===t.user?(t.$message.error("小组组长必须填"),t.loading=!1,!1):(t.postForm.user=t.user,t.postForm.star=s()(t.star),t.postForm.group_users=s()(t.group_users),Object(h.e)(t.postForm).then(function(e){t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/group/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",void(t.loading=!1))):(console.log("error submit!!"),!1)})},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.page=t,this.getList()},appendUser:function(){var t=this;if(""==this.temp_user_ids)return this.$message.error("还没输入用户呢~~"),this.temp_user_ids="",!1;for(var e=parseInt(this.temp_user_ids.split(":")[0]),a=0;a<this.tableData.length;a++)if(e==this.tableData[a].user_id)return this.$message.error("存在同样数据, 请勿重复操作"),this.temp_user_ids="",!1;Object(h.b)(this.temp_user_ids).then(function(e){var a;e.data.data&&(e.data.data[0].user_id?((a=t.tableData).push.apply(a,r()(e.data.data)),t.total=t.tableData.length,t.group_users.push(t.temp_user_ids),t.temp_user_ids=""):t.$message.error("这条数据错误, 请换条数据"))})},delUser:function(){for(var t,e=[],a=[],i=[],n=0;n<this.multipleSelection.length;n++)if("管理员"===this.multipleSelection[n].group_identify)return this.$message.error("请先更换管理员,在进行移除操作~"),!1;(t=this.del_list).push.apply(t,r()(this.multipleSelection));for(var s=0;s<this.tableData.length;s++)e.push(this.tableData[s].user_id+":"+this.tableData[s].nick_name);for(var o=0;o<this.multipleSelection.length;o++)i.push(this.multipleSelection[o].user_id+":"+this.multipleSelection[o].nick_name);for(var l=0;l<e.length;l++)Object(f.c)(i,e[l])||a.push(e[l]);this.group_users=a},getList:function(){var t=this;this.listLoading=!0,this.listQuery.id=this.$route.params&&this.$route.params.id,Object(h.f)(this.listQuery).then(function(e){var a=e.data.data.data;t.total=e.data.data.total,t.tableData=e.data.data.data.map(function(e){return t.$set(e,"edit",!1),e.original_group_identify=e.group_identify,e});for(var i=0;i<a.length;i++)t.group_users.push(a[i].user_id+":"+a[i].nick_name);t.listLoading=!1})},getRemoteUserList:function(t){var e=this;Object(g.h)(t).then(function(t){t.data.data.data&&(e.userListOptions=t.data.data.data)})},getRemoteStarList:function(t){var e=this;Object(g.d)(t).then(function(t){t.data.data.data&&(e.starListOptions=t.data.data.data)})},cancelEdit:function(t){t.group_identify=t.original_group_identify,t.edit=!1,this.$message({message:"取消成功",type:"warning"})},confirmEdit:function(t){var e=this;t.edit=!1,t.original_group_identify=t.group_identify,t.group_identify=b[t.group_identify],t.group_id=this.postForm.id,this.$message({message:"修改成功",type:"success"}),Object(h.c)(t).then(function(t){setTimeout(function(){e.$router.go(0)},1e3)}).catch(function(t){})}}},w=(a("zoNY"),a("KHd+")),k=Object(w.a)(y,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar "+t.postForm.status}},[a("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(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",{attrs:{gutter:20}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("小组相关")])]),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{prop:"name"}},[a("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 小组名称\n ")])],1),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"明星称号:"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{"remote-method":t.getRemoteStarList,filterable:"",remote:"",multiple:"",clearable:"","reserve-keyword":"","value-key":"id",placeholder:"搜索明星"},model:{value:t.star,callback:function(e){t.star=e},expression:"star"}},t._l(t.starListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{staticClass:"postInfo-container-item",attrs:{"label-width":"75px",label:"小组组长:",prop:"user"}},[a("el-select",{staticStyle:{width:"100%"},attrs:{"remote-method":t.getRemoteUserList,filterable:"",remote:"",clearable:"","value-key":"id",placeholder:"搜索用户"},model:{value:t.user,callback:function(e){t.user=e},expression:"user"}},t._l(t.userListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"组员数量:",prop:"user_nums"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"number",placeholder:"请输入内容",disabled:""},model:{value:t.postForm.user_nums,callback:function(e){t.$set(t.postForm,"user_nums",e)},expression:"postForm.user_nums"}})],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:8}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"下线小组:"}},[a("el-radio-group",{model:{value:t.postForm.is_online,callback:function(e){t.$set(t.postForm,"is_online",e)},expression:"postForm.is_online"}},[a("el-radio",{attrs:{label:0}},[t._v("是")]),t._v(" "),a("el-radio",{attrs:{label:1}},[t._v("否")])],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"推荐小组:"}},[a("el-radio-group",{model:{value:t.postForm.is_recommend,callback:function(e){t.$set(t.postForm,"is_recommend",e)},expression:"postForm.is_recommend"}},[a("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),a("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1)],1),t._v(" "),a("el-col",{attrs:{span:8}})],1)],1)],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"小组简介:"}},[a("el-input",{staticClass:"article-textarea",attrs:{rows:1,type:"textarea",autosize:"",placeholder:"请输入内容"},model:{value:t.postForm.description,callback:function(e){t.$set(t.postForm,"description",e)},expression:"postForm.description"}}),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.contentShortLength,expression:"contentShortLength"}],staticClass:"word-counter"},[t._v(t._s(t.contentShortLength)+"字")])],1),t._v(" "),a("div",{staticStyle:{"margin-bottom":"20px"}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"小组头像:",prop:"icon"}},[a("span",{model:{value:t.uploadType,callback:function(e){t.uploadType=e},expression:"uploadType"}}),t._v(" "),a("Upload",{attrs:{uploadType:t.uploadType},model:{value:t.postForm.icon,callback:function(e){t.$set(t.postForm,"icon",e)},expression:"postForm.icon"}})],1)],1)],1)],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"50px"},attrs:{gutter:20}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("组员相关")])]),t._v(" "),a("div",{staticStyle:{"margin-bottom":"50px"}},[a("div",{staticClass:"filter-container"},[a("el-select",{staticStyle:{width:"220px"},attrs:{"remote-method":t.getRemoteUserList,filterable:"",remote:"","value-key":"id",placeholder:"用户"},model:{value:t.temp_user_ids,callback:function(e){t.temp_user_ids=e},expression:"temp_user_ids"}},t._l(t.userListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})})),t._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.appendUser}},[t._v("添加\n ")]),t._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-delete"},on:{click:t.delUser}},[t._v("移除\n ")])],1),t._v(" "),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.data,border:"",fit:"","highlight-current-row":""},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",width:"76",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"用户ID "},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"link-type",attrs:{to:"/user/edit/"+e.row.user_id}},[a("span",[t._v(t._s(e.row.user_id))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"用户名"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.nick_name))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"联系电话"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.phone))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"发布帖子数"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.topic_nums))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"用户身份"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.user_identify))])]}}])}),t._v(" "),t.isEdit?a("el-table-column",{attrs:{align:"center","min-width":"200px",label:"组内身份"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?[a("el-select",{staticClass:"filter-item edit-select",staticStyle:{width:"160px"},attrs:{placeholder:"组内身份",clearable:""},model:{value:e.row.group_identify,callback:function(a){t.$set(e.row,"group_identify",a)},expression:"scope.row.group_identify"}},t._l(t.GroupIndentify,function(t){return a("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})})),t._v(" "),a("el-button",{staticClass:"cancel-btn",attrs:{size:"small",icon:"el-icon-refresh",type:"warning"},on:{click:function(a){t.cancelEdit(e.row)}}},[t._v("取消\n ")])]:a("span",[t._v(t._s(e.row.group_identify))])]}}])}):t._e(),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.edit?a("el-button",{attrs:{type:"success",size:"small",icon:"el-icon-circle-check-outline"},on:{click:function(a){t.confirmEdit(e.row)}}},[t._v("确认\n ")]):a("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(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},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)],1)],1)],1)},[],!1,null,"9cf1b3fe",null);k.options.__file="GroupDetail.vue";e.a=k.exports},"oh+g":function(t,e,a){var i=a("WEpk"),r=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},zoNY:function(t,e,a){"use strict";var i=a("lWpZ");a.n(i).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7c81"],{"1yBM":function(e,t,i){"use strict";var n=i("km6n");i.n(n).a},I7qB:function(e,t,i){"use strict";i.d(t,"g",function(){return l}),i.d(t,"d",function(){return a}),i.d(t,"a",function(){return s}),i.d(t,"e",function(){return r}),i.d(t,"f",function(){return o}),i.d(t,"b",function(){return u}),i.d(t,"c",function(){return c});var n=i("t3Un");function l(e){return Object(n.a)({url:"/api/group/list",method:"get",params:e})}function a(e){return Object(n.a)({url:"/api/group/list/update",method:"post",data:e})}function s(e){return Object(n.a)({url:"/api/group/get",method:"get",params:{id:e}})}function r(e){return Object(n.a)({url:"/api/group/create",method:"post",data:e})}function o(e){return Object(n.a)({url:"/api/group/user/list",method:"get",params:e})}function u(e){return Object(n.a)({url:"/api/group/user/get",method:"get",params:{id:e}})}function c(e){return Object(n.a)({url:"/api/group/user/edit_group_identify",method:"post",data:e})}},VM4r:function(e,t,i){"use strict";i.r(t);var n=i("I7qB"),l=i("Mz3J"),a=i("ZySA"),s={name:"GroupList",components:{Pagination:l.a},directives:{waves:a.a},filters:{isOnlineFilter:function(e){return{1:"success",0:"info"}[e]}},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:0,limit:10,filter:{value:"",key:"",is_online:"",is_recommend:""}},SearchTypeOptions:[{key:"id",display_name:"小组ID"},{key:"name",display_name:"小组名称"}],OnlineTypeOptions:[{key:0,display_name:"否"},{key:1,display_name:"是"}],recommendTypeOptions:[{key:0,display_name:"否"},{key:1,display_name:"是"}]}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,this.listQuery.star_id=this.$route.query.star_id||"",this.listQuery.user_id=this.$route.query.user_id||"",Object(n.g)(this.listQuery).then(function(t){e.list=t.data.data.data,e.total=t.data.data.total,e.listLoading=!1})},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.listQuery.limit=e,this.getList()},handleCurrentChange:function(e){this.listQuery.page=e,this.getList()},handleFilter:function(){this.listQuery.page=1,this.getList()},handleCreate:function(){this.$router.push("/group/create")},handleOfflineOrOnline:function(e){var t=this,i=this.multipleSelection.length,l="";this.del_list=this.del_list.concat(this.multipleSelection);for(var a=0;a<i;a++)"offline"===e?this.multipleSelection[a].is_online=0:"is_recommend"==e?this.multipleSelection[a].is_recommend=1:this.multipleSelection[a].is_online=1,l+=this.multipleSelection[a].id+" ";Object(n.d)({type:e,ids:l}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),setTimeout(function(){t.$router.go(0)},1e3)})}}},r=(i("1yBM"),i("KHd+")),o=Object(r.a)(s,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"180px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.listQuery.filter.value,callback:function(t){e.$set(e.listQuery.filter,"value",t)},expression:"listQuery.filter.value"}}),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:e.listQuery.filter.key,callback:function(t){e.$set(e.listQuery.filter,"key",t)},expression:"listQuery.filter.key"}},e._l(e.SearchTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"是否在线",clearable:""},model:{value:e.listQuery.filter.is_online,callback:function(t){e.$set(e.listQuery.filter,"is_online",t)},expression:"listQuery.filter.is_online"}},e._l(e.OnlineTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"是否推荐",clearable:""},model:{value:e.listQuery.filter.is_recommend,callback:function(t){e.$set(e.listQuery.filter,"is_recommend",t)},expression:"listQuery.filter.is_recommend"}},e._l(e.recommendTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v("搜索")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v("创建")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("offline")}}},[e._v("下线")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("online")}}},[e._v("上线")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("is_recommend")}}},[e._v("推荐")])],1),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"小组ID "},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:"/group/edit/"+t.row.id}},[i("span",[e._v(e._s(t.row.id))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"小组名称"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"小组简介"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.description))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"明星数"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.star_nums))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"用户数"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/user/list/",query:{group_id:t.row.id}}}},[i("span",[e._v(e._s(t.row.user_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"帖子数"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:{path:"/topic/list/",query:{group_id:t.row.id}}}},[i("span",[e._v(e._s(t.row.topic_nums))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"组长"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.creator.name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_online)}},[e._v(e._s(1==t.row.is_online?"是":"否"))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否推荐"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_recommend)}},[e._v(e._s(1==t.row.is_recommend?"是":"否"))])]}}])})],1),e._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"150px"},attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){e.$set(e.listQuery,"page",t)},"update:limit":function(t){e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},[],!1,null,"dd551fe6",null);o.options.__file="list.vue";t.default=o.exports},Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return l}),Math.easeInOutQuad=function(e,t,i,n){return(e/=n/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var n=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function l(e,t,i){var l=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=e-l,s=0;t=void 0===t?500:t;!function e(){s+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(s,l,a,t)),s<t?n(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var n=i("P2sY"),l=i.n(n),a=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var n=l()({},t.value),a=l()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},n),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var r=s.getBoundingClientRect(),o=s.querySelector(".waves-ripple");switch(o?o.className="waves-ripple":((o=document.createElement("span")).className="waves-ripple",o.style.height=o.style.width=Math.max(r.width,r.height)+"px",s.appendChild(o)),a.type){case"center":o.style.top=r.height/2-o.offsetHeight/2+"px",o.style.left=r.width/2-o.offsetWidth/2+"px";break;default:o.style.top=(i.pageY-r.top-o.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",o.style.left=(i.pageX-r.left-o.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return o.style.backgroundColor=a.color,o.className="waves-ripple z-active",!1}},!1)}}),s=function(e){e.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;t.a=a},jUE0:function(e,t,i){},km6n:function(e,t,i){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-8114"],{"Jkq+":function(e,t,i){"use strict";i.r(t);var l=i("XB8m"),n=i("Mz3J"),a=i("ZySA"),s={name:"FaceStarList",components:{Pagination:n.a},directives:{waves:a.a},filters:{isOnlineFilter:function(e){return{1:"success",0:"info"}[e]}},data:function(){return{list:null,total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{page:0,limit:10,filter:{sex:"",is_online:""}},BooleanTypeOptions:[{key:1,display_name:"是"},{key:0,display_name:"否"}],SexTypeOptions:[{key:1,display_name:"男"},{key:0,display_name:"女"}],SearchTypeOptions:[{key:"name",display_name:"明星名"}]}},created:function(){this.getList()},methods:{getList:function(){var e=this;this.listLoading=!0,Object(l.d)(this.listQuery).then(function(t){console.log(t.data.data.data),e.list=t.data.data.data,e.total=t.data.data.total,e.listLoading=!1})},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.listQuery.limit=e,this.getList()},handleCurrentChange:function(e){this.listQuery.page=e,this.getList()},handleCreate:function(){this.$router.push("/star/face/create")},handleOfflineOrOnline:function(e){var t=this,i=this.multipleSelection.length,n="";this.del_list=this.del_list.concat(this.multipleSelection);for(var a=0;a<i;a++)this.multipleSelection[a].is_online="offline"===e?0:1,n+=this.multipleSelection[a].id+" ";Object(l.a)({type:e,ids:n}).then(function(e){t.multipleSelection=[],t.$message.success(e.data.data.message),t.$router.go(0)})},handleFilter:function(){this.listQuery.page=1,this.getList()}}},o=(i("omuh"),i("KHd+")),r=Object(o.a)(s,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"app-container"},[i("div",{staticClass:"filter-container"},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"180px"},attrs:{placeholder:"搜素"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.handleFilter(t):null}},model:{value:e.listQuery.filter.value,callback:function(t){e.$set(e.listQuery.filter,"value",t)},expression:"listQuery.filter.value"}}),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"搜索字段",clearable:""},model:{value:e.listQuery.filter.key,callback:function(t){e.$set(e.listQuery.filter,"key",t)},expression:"listQuery.filter.key"}},e._l(e.SearchTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"是否在线",clearable:""},model:{value:e.listQuery.filter.is_online,callback:function(t){e.$set(e.listQuery.filter,"is_online",t)},expression:"listQuery.filter.is_online"}},e._l(e.BooleanTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-select",{staticClass:"filter-item",staticStyle:{width:"110px"},attrs:{placeholder:"性别",clearable:""},model:{value:e.listQuery.filter.sex,callback:function(t){e.$set(e.listQuery.filter,"sex",t)},expression:"listQuery.filter.sex"}},e._l(e.SexTypeOptions,function(e){return i("el-option",{key:e.key,attrs:{label:e.display_name,value:e.key}})})),e._v(" "),i("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.handleFilter}},[e._v("搜索")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:e.handleCreate}},[e._v("创建\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("offline")}}},[e._v("下线\n ")]),e._v(" "),i("el-button",{staticClass:"filter-item",staticStyle:{"margin-left":"10px"},attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.handleOfflineOrOnline("online")}}},[e._v("上线\n ")])],1),e._v(" "),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.list,border:"",fit:"","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange}},[i("el-table-column",{attrs:{type:"selection",align:"center"}}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"账号ID"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("router-link",{staticClass:"link-type",attrs:{to:"/star/face/edit/"+t.row.id}},[i("span",[e._v(e._s(t.row.id))])])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"明星名"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.name))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"性别"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:t.row.sex}},[e._v(e._s(1==t.row.sex?"男":"女"))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"原图"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.ordinary_image_url))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"UV图"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.modeling_uv_url))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"模型"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("span",[e._v(e._s(t.row.modeling_obj_url))])]}}])}),e._v(" "),i("el-table-column",{attrs:{align:"center",label:"是否在线"},scopedSlots:e._u([{key:"default",fn:function(t){return[i("el-tag",{attrs:{type:e._f("isOnlineFilter")(t.row.is_online)}},[e._v(e._s(1==t.row.is_online?"是":"否"))])]}}])})],1),e._v(" "),i("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},attrs:{total:e.total,page:e.listQuery.page,limit:e.listQuery.limit},on:{"update:page":function(t){e.$set(e.listQuery,"page",t)},"update:limit":function(t){e.$set(e.listQuery,"limit",t)},pagination:e.getList}})],1)},[],!1,null,"52433b64",null);r.options.__file="list.vue";t.default=r.exports},XB8m:function(e,t,i){"use strict";i.d(t,"b",function(){return n}),i.d(t,"d",function(){return a}),i.d(t,"a",function(){return s}),i.d(t,"c",function(){return o});var l=i("t3Un");function n(e){return Object(l.a)({url:"/api/face/star/create",method:"post",data:e})}function a(e){return Object(l.a)({url:"/api/face/star/list",method:"get",params:e})}function s(e){return console.log(e),Object(l.a)({url:"/api/face/star/list/update",method:"post",data:e})}function o(e){return Object(l.a)({url:"/api/face/star/detail",method:"get",params:{id:e}})}},Y5bG:function(e,t,i){"use strict";i.d(t,"a",function(){return n}),Math.easeInOutQuad=function(e,t,i,l){return(e/=l/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t};var l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};function n(e,t,i){var n=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,a=e-n,s=0;t=void 0===t?500:t;!function e(){s+=20,function(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}(Math.easeInOutQuad(s,n,a,t)),s<t?l(e):i&&"function"==typeof i&&i()}()}},ZySA:function(e,t,i){"use strict";var l=i("P2sY"),n=i.n(l),a=(i("jUE0"),{bind:function(e,t){e.addEventListener("click",function(i){var l=n()({},t.value),a=n()({ele:e,type:"hit",color:"rgba(0, 0, 0, 0.15)"},l),s=a.ele;if(s){s.style.position="relative",s.style.overflow="hidden";var o=s.getBoundingClientRect(),r=s.querySelector(".waves-ripple");switch(r?r.className="waves-ripple":((r=document.createElement("span")).className="waves-ripple",r.style.height=r.style.width=Math.max(o.width,o.height)+"px",s.appendChild(r)),a.type){case"center":r.style.top=o.height/2-r.offsetHeight/2+"px",r.style.left=o.width/2-r.offsetWidth/2+"px";break;default:r.style.top=(i.pageY-o.top-r.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",r.style.left=(i.pageX-o.left-r.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return r.style.backgroundColor=a.color,r.className="waves-ripple z-active",!1}},!1)}}),s=function(e){e.directive("waves",a)};window.Vue&&(window.waves=a,Vue.use(s)),a.install=s;t.a=a},jUE0:function(e,t,i){},omuh:function(e,t,i){"use strict";var l=i("p/Mn");i.n(l).a},"p/Mn":function(e,t,i){}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-862b"],{Eqwe:function(t,a,i){},"UUO+":function(t,a,i){"use strict";i.r(a);var e=i("zGwZ"),s=i.n(e),r={name:"Page401",data:function(){return{errGif:s.a+"?"+ +new Date,ewizardClap:"https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646",dialogVisible:!1}},methods:{back:function(){this.$route.query.noGoBack?this.$router.push({path:"/dashboard"}):this.$router.go(-1)}}},n=(i("j6/K"),i("KHd+")),l=Object(n.a)(r,function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"errPage-container"},[i("el-button",{staticClass:"pan-back-btn",attrs:{icon:"arrow-left"},on:{click:t.back}},[t._v("返回")]),t._v(" "),i("el-row",[i("el-col",{attrs:{span:12}},[i("h1",{staticClass:"text-jumbo text-ginormous"},[t._v("Oops!")]),t._v("\n gif来源"),i("a",{attrs:{href:"https://zh.airbnb.com/",target:"_blank"}},[t._v("airbnb")]),t._v(" 页面\n "),i("h2",[t._v("你没有权限去该页面")]),t._v(" "),i("h6",[t._v("如有不满请联系你领导")]),t._v(" "),i("ul",{staticClass:"list-unstyled"},[i("li",[t._v("或者你可以去:")]),t._v(" "),i("li",{staticClass:"link-type"},[i("router-link",{attrs:{to:"/dashboard"}},[t._v("回首页")])],1),t._v(" "),i("li",{staticClass:"link-type"},[i("a",{attrs:{href:"https://www.taobao.com/"}},[t._v("随便看看")])]),t._v(" "),i("li",[i("a",{attrs:{href:"#"},on:{click:function(a){a.preventDefault(),t.dialogVisible=!0}}},[t._v("点我看图")])])])]),t._v(" "),i("el-col",{attrs:{span:12}},[i("img",{attrs:{src:t.errGif,width:"313",height:"428",alt:"Girl has dropped her ice cream."}})])],1),t._v(" "),i("el-dialog",{attrs:{visible:t.dialogVisible,title:"随便看"},on:{"update:visible":function(a){t.dialogVisible=a}}},[i("img",{staticClass:"pan-img",attrs:{src:t.ewizardClap}})])],1)},[],!1,null,"24c0cb68",null);l.options.__file="401.vue";a.default=l.exports},"j6/K":function(t,a,i){"use strict";var e=i("Eqwe");i.n(e).a},zGwZ:function(t,a,i){t.exports=i.p+"static/img/401.089007e.gif"}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-aaa0"],{"5myA":function(t,e,i){"use strict";var a=i("sppW");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})}},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,1e3/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,"h",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,"g",function(){return p}),i.d(e,"f",function(){return u});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}})}function u(t){return Object(a.a)({url:"api/search/tagtype",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)}},sppW:function(t,e,i){},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:0}),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"}],position:[{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){if(!e)return console.log("error submit!!"),!1;t.loading=!0,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:2e3}),setTimeout(function(){t.$router.push("/pick/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!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.g)(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){var e=this.$route.params&&this.$route.params.id;t.edit=!1,t.original_fake_pick_nums=t.fake_pick_nums,t.pick_id=e,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("5myA"),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,"263b1825",null);y.options.__file="PickDetail.vue";e.a=y.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-b5f3"],{Htjz:function(t,e,a){"use strict";a.r(e);var r={name:"CreateAccount",components:{AccountDetail:a("Ytwa").a}},n=a("KHd+"),o=Object(n.a)(r,function(){var t=this.$createElement;return(this._self._c||t)("account-detail",{attrs:{"is-edit":!1}})},[],!1,null,null,null);o.options.__file="create.vue";e.default=o.exports},VyMG:function(t,e,a){"use strict";a.d(e,"d",function(){return n}),a.d(e,"b",function(){return o}),a.d(e,"a",function(){return s}),a.d(e,"c",function(){return i}),a.d(e,"e",function(){return u});var r=a("t3Un");function n(t){return Object(r.a)({url:"/api/account/list",method:"get",params:t})}function o(t){return Object(r.a)({url:"/api/account/list/update",method:"post",data:t})}function s(t){return Object(r.a)({url:"/api/account/create",method:"post",data:t})}function i(t){return Object(r.a)({url:"/api/account/detail",method:"get",params:{id:t}})}function u(t){return Object(r.a)({url:"/api/account/reset_password",method:"post",data:t})}},WBRP:function(t,e,a){},Yfch:function(t,e,a){"use strict"},Ytwa:function(t,e,a){"use strict";var r=a("P2sY"),n=a.n(r),o=a("Grqa"),s=a("uARZ"),i=(a("Yfch"),a("VyMG")),u=a("gg54"),c={status:"draft",username:"",password:"",email:"",phone:"",nick_name:""},m={name:"GroupDetail",components:{MDinput:o.a,Sticky:s.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,a,r){""===(a=a.trim())?(t.$message({message:e.field+"为必传项",type:"error"}),r(new Error(e.field+"为必传项"))):r()};return{postForm:n()({},c),loading:!1,userListOptions:[],rules:{username:[{validator:e,trigger:"blur"}],nick_name:[{validator:e,trigger:"blur"}],email:[{validator:e,trigger:"blur"}],password:[{validator:function(e,a,r){""===(a=a.trim())?(t.$message({message:e.field+"为必传项",type:"error"}),r(new Error(e.field+"为必传项"))):a.length<6?(t.$message({message:"密码不得少于6位",type:"error"}),r(new Error("密码不得少于6位"))):r()},trigger:"blur"}],phone:[{validator:e,trigger:"blur"}]},isShow:!1}},created:function(){if(this.isEdit){var t=this.$route.params&&this.$route.params.id;this.fetchData(t)}else this.postForm=n()({},c);this.tempRoute=n()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(i.c)(t).then(function(t){e.postForm=t.data.data.data,e.isShow=!0}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){if(!e)return console.log("error submit!!"),!1;t.loading=!0,Object(i.a)(t.postForm).then(function(e){if(500==e.data.data.code)return t.$notify({title:"失败",message:e.data.data.message,type:"error",duration:2e3}),t.loading=!1,!1;t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/account/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",t.loading=!1})},getRemoteUserList:function(t){var e=this;Object(u.h)(t).then(function(t){t.data.items&&(e.userListOptions=t.data.items.map(function(t){return t.name}))})}}},l=(a("iCGk"),a("KHd+")),p=Object(l.a)(m,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar "+t.postForm.status}},[a("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("保存")])],1),t._v(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",[a("el-col",{attrs:{span:24}},[t.isShow?a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"username"}},[a("MDinput",{attrs:{maxlength:100,name:"username",required:"",disabled:"disabled"},model:{value:t.postForm.username,callback:function(e){t.$set(t.postForm,"username",e)},expression:"postForm.username"}},[t._v("\n 账号\n ")])],1):a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"username"}},[a("MDinput",{attrs:{maxlength:100,name:"username",required:""},model:{value:t.postForm.username,callback:function(e){t.$set(t.postForm,"username",e)},expression:"postForm.username"}},[t._v("\n 账号\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.is_show,expression:"is_show"}],staticStyle:{"margin-bottom":"40px"},attrs:{prop:"password"}},[a("MDinput",{attrs:{maxlength:100,name:"password",required:""},model:{value:t.postForm.password,callback:function(e){t.$set(t.postForm,"password",e)},expression:"postForm.password"}},[t._v("\n 密码\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"email"}},[a("MDinput",{attrs:{maxlength:100,name:"email",required:""},model:{value:t.postForm.email,callback:function(e){t.$set(t.postForm,"email",e)},expression:"postForm.email"}},[t._v("\n 邮箱\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"nick_name"}},[a("MDinput",{attrs:{maxlength:100,name:"nick_name",required:""},model:{value:t.postForm.nick_name,callback:function(e){t.$set(t.postForm,"nick_name",e)},expression:"postForm.nick_name"}},[t._v("\n 姓名\n ")])],1)],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{prop:"phone"}},[a("MDinput",{attrs:{maxlength:100,name:"phone",required:""},model:{value:t.postForm.phone,callback:function(e){t.$set(t.postForm,"phone",e)},expression:"postForm.phone"}},[t._v("\n 电话\n ")])],1)],1)],1)],1)],1)],1)},[],!1,null,"2504740e",null);p.options.__file="AccountDetail.vue";e.a=p.exports},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return n}),a.d(e,"c",function(){return o}),a.d(e,"e",function(){return s}),a.d(e,"d",function(){return i}),a.d(e,"b",function(){return u}),a.d(e,"a",function(){return c}),a.d(e,"g",function(){return m}),a.d(e,"f",function(){return l});var r=a("t3Un");function n(t){return Object(r.a)({url:"/api/search/user",method:"get",params:{name:t}})}function o(t){return Object(r.a)({url:"/api/search/group",method:"get",params:{name:t}})}function s(t){return Object(r.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function i(t){return Object(r.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function u(t){return Object(r.a)({url:"/api/search/city",method:"get",params:{name:t}})}function c(t){return Object(r.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function m(t){return Object(r.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function l(t){return Object(r.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},iCGk:function(t,e,a){"use strict";var r=a("WBRP");a.n(r).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-commons"],{"19de":function(e,t,i){},"4Gb4":function(e,t,i){"use strict";var n=i("GbIF");i.n(n).a},"5z5A":function(e,t,i){"use strict";var n=i("Pp9f");i.n(n).a},"79La":function(e,t,i){"use strict";var n=i("U6US");i.n(n).a},EiMK:function(e,t,i){},GbIF:function(e,t,i){},Grqa:function(e,t,i){"use strict";var n={name:"MdInput",props:{icon:String,name:String,type:{type:String,default:"text"},value:[String,Number],placeholder:String,readonly:Boolean,disabled:Boolean,min:String,max:String,step:String,minlength:Number,maxlength:Number,required:{type:Boolean,default:!0},autoComplete:{type:String,default:"off"},validateEvent:{type:Boolean,default:!0}},data:function(){return{currentValue:this.value,focus:!1,fillPlaceHolder:null}},computed:{computedClasses:function(){return{"material--active":this.focus,"material--disabled":this.disabled,"material--raised":Boolean(this.focus||this.currentValue)}}},watch:{value:function(e){this.currentValue=e}},methods:{handleModelInput:function(e){var t=e.target.value;this.$emit("input",t),"ElFormItem"===this.$parent.$options.componentName&&this.validateEvent&&this.$parent.$emit("el.form.change",[t]),this.$emit("change",t)},handleMdFocus:function(e){this.focus=!0,this.$emit("focus",e),this.placeholder&&""!==this.placeholder&&(this.fillPlaceHolder=this.placeholder)},handleMdBlur:function(e){this.focus=!1,this.$emit("blur",e),this.fillPlaceHolder=null,"ElFormItem"===this.$parent.$options.componentName&&this.validateEvent&&this.$parent.$emit("el.form.blur",[this.currentValue])}}},a=(i("5z5A"),i("KHd+")),l=Object(a.a)(n,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"material-input__component",class:e.computedClasses},[i("div",{class:{iconClass:e.icon}},[e.icon?i("i",{staticClass:"el-input__icon material-input__icon",class:["el-icon-"+e.icon]}):e._e(),e._v(" "),"email"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"material-input",attrs:{name:e.name,placeholder:e.fillPlaceHolder,readonly:e.readonly,disabled:e.disabled,autoComplete:e.autoComplete,required:e.required,type:"email"},domProps:{value:e.currentValue},on:{focus:e.handleMdFocus,blur:e.handleMdBlur,input:[function(t){t.target.composing||(e.currentValue=t.target.value)},e.handleModelInput]}}):e._e(),e._v(" "),"url"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"material-input",attrs:{name:e.name,placeholder:e.fillPlaceHolder,readonly:e.readonly,disabled:e.disabled,autoComplete:e.autoComplete,required:e.required,type:"url"},domProps:{value:e.currentValue},on:{focus:e.handleMdFocus,blur:e.handleMdBlur,input:[function(t){t.target.composing||(e.currentValue=t.target.value)},e.handleModelInput]}}):e._e(),e._v(" "),"number"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"material-input",attrs:{name:e.name,placeholder:e.fillPlaceHolder,step:e.step,readonly:e.readonly,disabled:e.disabled,autoComplete:e.autoComplete,max:e.max,min:e.min,minlength:e.minlength,maxlength:e.maxlength,required:e.required,type:"number"},domProps:{value:e.currentValue},on:{focus:e.handleMdFocus,blur:e.handleMdBlur,input:[function(t){t.target.composing||(e.currentValue=t.target.value)},e.handleModelInput]}}):e._e(),e._v(" "),"password"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"material-input",attrs:{name:e.name,placeholder:e.fillPlaceHolder,readonly:e.readonly,disabled:e.disabled,autoComplete:e.autoComplete,max:e.max,min:e.min,required:e.required,type:"password"},domProps:{value:e.currentValue},on:{focus:e.handleMdFocus,blur:e.handleMdBlur,input:[function(t){t.target.composing||(e.currentValue=t.target.value)},e.handleModelInput]}}):e._e(),e._v(" "),"tel"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"material-input",attrs:{name:e.name,placeholder:e.fillPlaceHolder,readonly:e.readonly,disabled:e.disabled,autoComplete:e.autoComplete,required:e.required,type:"tel"},domProps:{value:e.currentValue},on:{focus:e.handleMdFocus,blur:e.handleMdBlur,input:[function(t){t.target.composing||(e.currentValue=t.target.value)},e.handleModelInput]}}):e._e(),e._v(" "),"text"===e.type?i("input",{directives:[{name:"model",rawName:"v-model",value:e.currentValue,expression:"currentValue"}],staticClass:"material-input",attrs:{name:e.name,placeholder:e.fillPlaceHolder,readonly:e.readonly,disabled:e.disabled,autoComplete:e.autoComplete,minlength:e.minlength,maxlength:e.maxlength,required:e.required,type:"text"},domProps:{value:e.currentValue},on:{focus:e.handleMdFocus,blur:e.handleMdBlur,input:[function(t){t.target.composing||(e.currentValue=t.target.value)},e.handleModelInput]}}):e._e(),e._v(" "),i("span",{staticClass:"material-input-bar"}),e._v(" "),i("label",{staticClass:"material-label"},[e._t("default")],2)])])},[],!1,null,"f03f6b9c",null);l.options.__file="index.vue";t.a=l.exports},Mz3J:function(e,t,i){"use strict";var n=i("Y5bG"),a={name:"Pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:0},limit:{type:Number,default:20},pageSizes:{type:Array,default:function(){return[10,20,30,50]}},layout:{type:String,default:"total, sizes, prev, pager, next, jumper"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get:function(){return this.page},set:function(e){this.$emit("update:page",e)}},pageSize:{get:function(){return this.limit},set:function(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange:function(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&Object(n.a)(0,800)},handleCurrentChange:function(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&Object(n.a)(0,800)}}},l=(i("4Gb4"),i("KHd+")),s=Object(l.a)(a,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[i("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},[],!1,null,"b7be0e7e",null);s.options.__file="index.vue";t.a=s.exports},Pp9f:function(e,t,i){},U6US:function(e,t,i){},cuLA:function(e,t,i){"use strict";var n=i("19de");i.n(n).a},"fL+G":function(e,t,i){"use strict";var n=i("4d7F"),a=i.n(n),l=i("MSNs"),s={name:"SingleImageUpload3",props:{value:{type:String,default:""},uploadType:{type:Number,default:""}},data:function(){return{tempUrl:"",dataObj:{uploadType:this.uploadType}}},computed:{imageUrl:function(){return this.value}},methods:{rmImage:function(){this.emitInput("")},emitInput:function(e){this.$emit("input",e)},handleImageSuccess:function(e){this.emitInput(e.data.file_url)},handleBeforeUpload:function(){var e=this,t=this;return new a.a(function(i,n){Object(l.a)().then(function(n){var a=n.data.qiniu_key,l=n.data.qiniu_token;t._data.dataObj.token=l,t._data.dataObj.key=a,e.tempUrl=n.data.qiniu_url,i(!0)}).catch(function(e){console.log(e),n(!1)})})}}},o=(i("cuLA"),i("KHd+")),r=Object(o.a)(s,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"upload-container"},[i("el-upload",{staticClass:"image-uploader",attrs:{data:e.dataObj,multiple:!1,"show-file-list":!1,"on-success":e.handleImageSuccess,drag:"",accept:"image/png,image/gif,image/jpg,image/jpeg,*/*","before-upload":e.handleBeforeUpload,action:"/api/file/upload"}},[i("i",{staticClass:"el-icon-upload"}),e._v(" "),i("div",{staticClass:"el-upload__text"},[e._v("将文件拖到此处,或"),i("em",[e._v("点击上传")])])]),e._v(" "),i("div",{staticClass:"image-preview"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.imageUrl.length>1,expression:"imageUrl.length>1"}],staticClass:"image-preview-wrapper"},[i("img",{attrs:{src:e.imageUrl,disabled:!0}}),e._v(" "),i("div",{staticClass:"image-preview-action"},[i("i",{staticClass:"el-icon-delete",on:{click:e.rmImage}})])])])],1)},[],!1,null,"6a571450",null);r.options.__file="singleImage3.vue";t.a=r.exports},glbJ:function(e,t,i){"use strict";var n=i("4d7F"),a=i.n(n),l=i("GQeE"),s=i.n(l),o={name:"EditorSlideUpload",props:{color:{type:String,default:"#1890ff"}},data:function(){return{dialogVisible:!1,listObj:{},fileList:[]}},methods:{checkAllSuccess:function(){var e=this;return s()(this.listObj).every(function(t){return e.listObj[t].hasSuccess})},handleSubmit:function(){var e=this,t=s()(this.listObj).map(function(t){return e.listObj[t]});this.checkAllSuccess()?(this.$emit("successCBK",t),this.listObj={},this.fileList=[],this.dialogVisible=!1):this.$message("请等待所有图片上传成功 或 出现了网络问题,请刷新页面重新上传!")},handleSuccess:function(e,t){for(var i=t.uid,n=s()(this.listObj),a=0,l=n.length;a<l;a++)if(this.listObj[n[a]].uid===i)return this.listObj[n[a]].url=e.files.file,void(this.listObj[n[a]].hasSuccess=!0)},handleRemove:function(e){for(var t=e.uid,i=s()(this.listObj),n=0,a=i.length;n<a;n++)if(this.listObj[i[n]].uid===t)return void delete this.listObj[i[n]]},beforeUpload:function(e){var t=this,i=window.URL||window.webkitURL,n=e.uid;return this.listObj[n]={},new a.a(function(a,l){var s=new Image;s.src=i.createObjectURL(e),s.onload=function(){t.listObj[n]={hasSuccess:!1,uid:e.uid,width:this.width,height:this.height}},a(!0)})}}},r=(i("wn0B"),i("KHd+")),u=Object(r.a)(o,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"upload-container"},[i("el-button",{style:{background:e.color,borderColor:e.color},attrs:{icon:"el-icon-upload",size:"mini",type:"primary"},on:{click:function(t){e.dialogVisible=!0}}},[e._v("上传图片\n ")]),e._v(" "),i("el-dialog",{attrs:{visible:e.dialogVisible},on:{"update:visible":function(t){e.dialogVisible=t}}},[i("el-upload",{staticClass:"editor-slide-upload",attrs:{multiple:!0,"file-list":e.fileList,"show-file-list":!0,"on-remove":e.handleRemove,"on-success":e.handleSuccess,"before-upload":e.beforeUpload,action:"https://httpbin.org/post","list-type":"picture-card"}},[i("el-button",{attrs:{size:"small",type:"primary"}},[e._v("点击上传")])],1),e._v(" "),i("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),e._v(" "),i("el-button",{attrs:{type:"primary"},on:{click:e.handleSubmit}},[e._v("确 定")])],1)],1)},[],!1,null,"39480e6e",null);u.options.__file="editorImage.vue";var c=["advlist anchor autolink autosave code codesample colorpicker colorpicker contextmenu directionality emoticons fullscreen hr image imagetools importcss insertdatetime link lists media nonbreaking noneditable pagebreak paste preview print save searchreplace spellchecker tabfocus table template textcolor textpattern visualblocks visualchars wordcount"],d=["searchreplace bold italic underline strikethrough alignleft aligncenter alignright outdent indent blockquote undo redo removeformat subscript superscript code codesample","hr bullist numlist link image charmap preview anchor pagebreak insertdatetime media table emoticons forecolor backcolor fullscreen"],h={name:"Tinymce",components:{editorImage:u.exports},props:{id:{type:String,default:function(){return"vue-tinymce-"+ +new Date+(1e3*Math.random()).toFixed(0)}},value:{type:String,default:""},toolbar:{type:Array,required:!1,default:function(){return[]}},menubar:{type:String,default:"file edit insert view format table"},height:{type:Number,required:!1,default:360}},data:function(){return{hasChange:!1,hasInit:!1,tinymceId:this.id,fullscreen:!1,languageTypeList:{en:"en",zh:"zh_CN"}}},computed:{language:function(){return this.languageTypeList[this.$store.getters.language]}},watch:{value:function(e){var t=this;!this.hasChange&&this.hasInit&&this.$nextTick(function(){return window.tinymce.get(t.tinymceId).setContent(e||"")})},language:function(){var e=this;this.destroyTinymce(),this.$nextTick(function(){return e.initTinymce()})}},mounted:function(){this.initTinymce()},activated:function(){this.initTinymce()},deactivated:function(){this.destroyTinymce()},destroyed:function(){this.destroyTinymce()},methods:{initTinymce:function(){var e=this,t=this;window.tinymce.init({language:this.language,selector:"#"+this.tinymceId,height:this.height,body_class:"panel-body ",object_resizing:!1,toolbar:this.toolbar.length>0?this.toolbar:d,menubar:this.menubar,plugins:c,end_container_on_empty_block:!0,powerpaste_word_import:"clean",code_dialog_height:450,code_dialog_width:1e3,advlist_bullet_styles:"square",advlist_number_styles:"default",imagetools_cors_hosts:["www.tinymce.com","codepen.io"],default_link_target:"_blank",link_title:!1,nonbreaking_force_tab:!0,init_instance_callback:function(i){t.value&&i.setContent(t.value),t.hasInit=!0,i.on("NodeChange Change KeyUp SetContent",function(){e.hasChange=!0,e.$emit("input",i.getContent())})},setup:function(e){e.on("FullscreenStateChanged",function(e){t.fullscreen=e.state})}})},destroyTinymce:function(){window.tinymce.get(this.tinymceId)&&window.tinymce.get(this.tinymceId).destroy()},setContent:function(e){window.tinymce.get(this.tinymceId).setContent(e)},getContent:function(){window.tinymce.get(this.tinymceId).getContent()},imageSuccessCBK:function(e){var t=this;e.forEach(function(e){window.tinymce.get(t.tinymceId).insertContent('<img class="wscnph" src="'+e.url+'" >')})}}},p=(i("79La"),Object(r.a)(h,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tinymce-container editor-container",class:{fullscreen:this.fullscreen}},[t("textarea",{staticClass:"tinymce-textarea",attrs:{id:this.tinymceId}}),this._v(" "),t("div",{staticClass:"editor-custom-btn-container"},[t("editorImage",{staticClass:"editor-upload-btn",attrs:{color:"#1890ff"},on:{successCBK:this.imageSuccessCBK}})],1)])},[],!1,null,"261f5e1f",null));p.options.__file="index.vue";t.a=p.exports},uARZ:function(e,t,i){"use strict";var n={name:"Sticky",props:{stickyTop:{type:Number,default:0},zIndex:{type:Number,default:1},className:{type:String,default:""}},data:function(){return{active:!1,position:"",width:void 0,height:void 0,isSticky:!1}},mounted:function(){this.height=this.$el.getBoundingClientRect().height,window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleReize)},activated:function(){this.handleScroll()},destroyed:function(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleReize)},methods:{sticky:function(){this.active||(this.position="fixed",this.active=!0,this.width=this.width+"px",this.isSticky=!0)},reset:function(){this.active&&(this.position="",this.width="auto",this.active=!1,this.isSticky=!1)},handleScroll:function(){this.width=this.$el.getBoundingClientRect().width,this.$el.getBoundingClientRect().top<this.stickyTop?this.sticky():this.reset()},handleReize:function(){this.isSticky&&(this.width=this.$el.getBoundingClientRect().width+"px")}}},a=i("KHd+"),l=Object(a.a)(n,function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{style:{height:e.height+"px",zIndex:e.zIndex}},[i("div",{class:e.className,style:{top:e.stickyTop+"px",zIndex:e.zIndex,position:e.position,width:e.width,height:e.height+"px"}},[e._t("default",[i("div")])],2)])},[],!1,null,null,null);l.options.__file="index.vue";t.a=l.exports},wn0B:function(e,t,i){"use strict";var n=i("EiMK");i.n(n).a}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-ecd4"],{"2X8+":function(t,e,a){"use strict";a.r(e);var i={name:"EditStar",components:{StarDetail:a("g/UI").a}},n=a("KHd+"),r=Object(n.a)(i,function(){var t=this.$createElement;return(this._self._c||t)("star-detail",{attrs:{"is-edit":!0}})},[],!1,null,null,null);r.options.__file="edit.vue";e.default=r.exports},I7qB:function(t,e,a){"use strict";a.d(e,"g",function(){return n}),a.d(e,"d",function(){return r}),a.d(e,"a",function(){return o}),a.d(e,"e",function(){return s}),a.d(e,"f",function(){return l}),a.d(e,"b",function(){return u}),a.d(e,"c",function(){return c});var i=a("t3Un");function n(t){return Object(i.a)({url:"/api/group/list",method:"get",params:t})}function r(t){return Object(i.a)({url:"/api/group/list/update",method:"post",data:t})}function o(t){return Object(i.a)({url:"/api/group/get",method:"get",params:{id:t}})}function s(t){return Object(i.a)({url:"/api/group/create",method:"post",data:t})}function l(t){return Object(i.a)({url:"/api/group/user/list",method:"get",params:t})}function u(t){return Object(i.a)({url:"/api/group/user/get",method:"get",params:{id:t}})}function c(t){return Object(i.a)({url:"/api/group/user/edit_group_identify",method:"post",data:t})}},MSNs:function(t,e,a){"use strict";a.d(e,"a",function(){return n});var i=a("t3Un");function n(){return Object(i.a)({url:"/api/get_token",method:"get"})}},U9p6:function(t,e,a){"use strict";var i=a("acJy");a.n(i).a},Y5bG:function(t,e,a){"use strict";a.d(e,"a",function(){return n}),Math.easeInOutQuad=function(t,e,a,i){return(t/=i/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e};var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)};function n(t,e,a){var n=document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop,r=t-n,o=0;e=void 0===e?500:e;!function t(){o+=20,function(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}(Math.easeInOutQuad(o,n,r,e)),o<e?i(t):a&&"function"==typeof a&&a()}()}},ZySA:function(t,e,a){"use strict";var i=a("P2sY"),n=a.n(i),r=(a("jUE0"),{bind:function(t,e){t.addEventListener("click",function(a){var i=n()({},e.value),r=n()({ele:t,type:"hit",color:"rgba(0, 0, 0, 0.15)"},i),o=r.ele;if(o){o.style.position="relative",o.style.overflow="hidden";var s=o.getBoundingClientRect(),l=o.querySelector(".waves-ripple");switch(l?l.className="waves-ripple":((l=document.createElement("span")).className="waves-ripple",l.style.height=l.style.width=Math.max(s.width,s.height)+"px",o.appendChild(l)),r.type){case"center":l.style.top=s.height/2-l.offsetHeight/2+"px",l.style.left=s.width/2-l.offsetWidth/2+"px";break;default:l.style.top=(a.pageY-s.top-l.offsetHeight/2-document.documentElement.scrollTop||document.body.scrollTop)+"px",l.style.left=(a.pageX-s.left-l.offsetWidth/2-document.documentElement.scrollLeft||document.body.scrollLeft)+"px"}return l.style.backgroundColor=r.color,l.className="waves-ripple z-active",!1}},!1)}}),o=function(t){t.directive("waves",r)};window.Vue&&(window.waves=r,Vue.use(o)),r.install=o;e.a=r},acJy:function(t,e,a){},deRP:function(t,e,a){"use strict";a.d(e,"b",function(){return n}),a.d(e,"d",function(){return r}),a.d(e,"e",function(){return o}),a.d(e,"a",function(){return s}),a.d(e,"c",function(){return l});var i=a("t3Un");function n(t){return Object(i.a)({url:"/api/celebrity/list",method:"get",params:t})}function r(t){return Object(i.a)({url:"/api/celebrity/create",method:"post",data:t})}function o(t){return Object(i.a)({url:"/api/celebrity/detail",method:"get",params:{id:t}})}function s(t){return Object(i.a)({url:"/api/celebrity//list/update",method:"post",data:t})}function l(t){return Object(i.a)({url:"/api/celebrity/celebrity_related_group_info",method:"get",params:t})}},"g/UI":function(t,e,a){"use strict";var i=a("m1cH"),n=a.n(i),r=a("gDS+"),o=a.n(r),s=a("P2sY"),l=a.n(s),u=a("fL+G"),c=a("Grqa"),p=a("uARZ"),d=a("ZySA"),m=a("Mz3J"),f=a("deRP"),g=a("I7qB"),h=a("gg54"),b=a("7Qib"),v={status:"draft",name:"",id:"",gender:"",city:"",is_online:0,description:"",avatar:"",groups:[]},y={name:"StarDetail",components:{MDinput:c.a,Upload:u.a,Sticky:p.a,Pagination:m.a},directives:{waves:d.a},props:{isEdit:{type:Boolean,default:!1}},data:function(){var t=this,e=function(e,a,i){""===a?(t.$message({message:e.field+"为必传项",type:"error"}),i(new Error(e.field+"为必传项"))):i()};return{postForm:l()({},v),loading:!1,groupListOptions:[],temp_group_ids:"",group_ids:[],city:"",rules:{name:[{validator:e,trigger:"blur"}],gender:[{validator:e,trigger:"blur"}],avatar:[{validator:e,trigger:"blur"}]},GenderTypeOptions:[{key:0,display_name:"男"},{key:1,display_name:"女"}],tempRoute:{},regionListOptions:[],uploadType:99,list:[],tableData:[],total:0,listLoading:!0,multipleSelection:[],del_list:[],listQuery:{id:"",page:0,limit:10}}},computed:{contentShortLength:function(){return this.postForm.description.length},lang:function(){return this.$store.getters.language},data:function(){var t=this;return this.tableData.filter(function(e){for(var a=!1,i=0;i<t.del_list.length;i++)if(e.id==t.del_list[i].id){a=!0;break}if(!a)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()({},v);this.tempRoute=l()({},this.$route)},methods:{fetchData:function(t){var e=this;Object(f.e)(t).then(function(t){var a=t.data.data.data;e.postForm=a,a.city.id&&a.city.name?e.city=a.city.id+":"+a.city.name:e.city=""}).catch(function(t){console.log(t)})},submitForm:function(){var t=this;this.$refs.postForm.validate(function(e){return e?(t.loading=!0,""==t.city?(t.$message.error("城市必填"),t.loading=!1,!1):(t.postForm.groups=o()(t.group_ids),t.postForm.city=t.city,Object(f.d)(t.postForm).then(function(e){t.$notify({title:"成功",message:e.data.data.message,type:"success",duration:2e3}),setTimeout(function(){t.$router.push("/star/list")},1e3)}).catch(function(e){t.$notify({title:"失败",message:"操作失败",type:"danger",duration:2e3})}),t.postForm.status="published",void(t.loading=!1))):(console.log("error submit!!"),!1)})},getRemoteGroupList:function(t){var e=this;Object(h.c)(t).then(function(t){t.data.data.data&&(e.groupListOptions=t.data.data.data)})},getRemoteCityList:function(t){var e=this;Object(h.b)(t).then(function(t){t.data.data.data&&(e.regionListOptions=t.data.data.data)})},appendUser:function(){var t=this;if(!this.temp_group_ids)return this.$message.error("还没输入小组呢~~"),this.temp_group_ids="",!1;Object(g.a)(this.temp_group_ids).then(function(e){e.data.data&&(t.tableData.push(e.data.data),t.total=t.tableData.length)}),this.group_ids.push(this.temp_group_ids),this.temp_group_ids=""},delUser:function(){var t,e=[],a=[],i=[];(t=this.del_list).push.apply(t,n()(this.multipleSelection));for(var r=0;r<this.tableData.length;r++)e.push(this.tableData[r].id+":"+this.tableData[r].name);for(var o=0;o<this.multipleSelection.length;o++)i.push(this.multipleSelection[o].id+":"+this.multipleSelection[o].name);for(var s=0;s<e.length;s++)Object(b.c)(i,e[s])||a.push(e[s]);this.group_ids=a},handleSelectionChange:function(t){this.multipleSelection=t},handleSizeChange:function(t){this.listQuery.limit=t,this.getList()},handleCurrentChange:function(t){this.listQuery.page=t,this.getList()},getList:function(){var t=this;this.listLoading=!0,this.listQuery.id=this.$route.params&&this.$route.params.id,Object(f.c)(this.listQuery).then(function(e){for(var a=e.data.data.data,i=0;i<a.length;i++)t.group_ids.push(a[i].id+":"+a[i].name);t.tableData=e.data.data.data,t.total=e.data.data.total,t.listLoading=!1})}}},_=(a("U9p6"),a("KHd+")),w=Object(_.a)(y,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"createPost-container"},[a("el-form",{ref:"postForm",staticClass:"form-container",attrs:{model:t.postForm,rules:t.rules}},[a("sticky",{attrs:{"class-name":"sub-navbar "+t.postForm.status}},[a("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(" "),a("div",{staticClass:"createPost-main-container"},[a("el-row",{attrs:{gutter:20}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("明星相关")])]),t._v(" "),a("div",[a("el-col",{attrs:{span:24}},[a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{prop:"name"}},[a("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 明星名称\n ")])],1),t._v(" "),a("div",{staticClass:"postInfo-container"},[a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"明星ID:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text",disabled:""},model:{value:t.postForm.id,callback:function(e){t.$set(t.postForm,"id",e)},expression:"postForm.id"}})],1):t._e()],1),t._v(" "),a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"创建时间:"}},[a("el-input",{staticStyle:{width:"230px"},attrs:{type:"text",placeholder:"请输入内容",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),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"用户数:"}},[a("el-input",{staticStyle:{width:"220px"},attrs:{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(" "),a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"帖子数:"}},[a("el-input",{staticStyle:{width:"220px"},attrs:{type:"number",disabled:""},model:{value:t.postForm.topic_nums,callback:function(e){t.$set(t.postForm,"topic_nums",e)},expression:"postForm.topic_nums"}})],1):t._e()],1)],1),t._v(" "),a("el-row",[a("el-col",{attrs:{span:12}},[t.isEdit?a("el-form-item",{staticStyle:{"margin-bottom":"20px"},attrs:{"label-width":"75px",label:"小组数:"}},[a("el-input",{staticStyle:{width:"220px"},attrs:{type:"number",disabled:""},model:{value:t.postForm.group_nums,callback:function(e){t.$set(t.postForm,"group_nums",e)},expression:"postForm.group_nums"}})],1):t._e()],1),t._v(" "),a("el-col",{attrs:{span:12}})],1)],1)],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"75px",label:"性别:",prop:"gender"}},[a("el-select",{staticClass:"postInfo-container-item",staticStyle:{width:"220px"},attrs:{placeholder:"性别:",clearable:"",disabled:this.isEdit},model:{value:t.postForm.gender,callback:function(e){t.$set(t.postForm,"gender",e)},expression:"postForm.gender"}},t._l(t.GenderTypeOptions,function(t){return a("el-option",{key:t.key,attrs:{label:t.display_name,value:t.key}})}))],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-left":"10px"},attrs:{"label-width":"75px",label:"城市:",prop:"city"}},[a("el-select",{staticStyle:{width:"220px"},attrs:{"remote-method":t.getRemoteCityList,filterable:"",remote:"",clearable:"","value-key":"id",placeholder:"搜索地区"},model:{value:t.city,callback:function(e){t.city=e},expression:"city"}},t._l(t.regionListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})}))],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"},attrs:{"label-width":"75px",label:"是否在线:"}},[a("el-radio-group",{model:{value:t.postForm.is_online,callback:function(e){t.$set(t.postForm,"is_online",e)},expression:"postForm.is_online"}},[a("el-radio",{attrs:{label:1}},[t._v("是")]),t._v(" "),a("el-radio",{attrs:{label:0}},[t._v("否")])],1)],1),t._v(" "),a("el-form-item",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"},attrs:{"label-width":"75px",label:"明星简介:"}},[a("el-input",{staticClass:"article-textarea",attrs:{rows:1,type:"textarea",autosize:"",placeholder:"请输入内容"},model:{value:t.postForm.description,callback:function(e){t.$set(t.postForm,"description",e)},expression:"postForm.description"}}),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.contentShortLength,expression:"contentShortLength"}],staticClass:"word-counter"},[t._v(t._s(t.contentShortLength)+"字")])],1),t._v(" "),a("div",{staticStyle:{"margin-bottom":"20px","margin-left":"10px"}},[a("el-form-item",{staticStyle:{"margin-bottom":"40px"},attrs:{"label-width":"75px",label:"明星头像:",prop:"avatar"}},[a("span",{model:{value:t.uploadType,callback:function(e){t.uploadType=e},expression:"uploadType"}}),t._v(" "),a("Upload",{attrs:{uploadType:t.uploadType},model:{value:t.postForm.avatar,callback:function(e){t.$set(t.postForm,"avatar",e)},expression:"postForm.avatar"}})],1)],1)],1)],1),t._v(" "),a("el-row",{staticStyle:{"margin-top":"50px"},attrs:{gutter:20}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("小组相关")])]),t._v(" "),a("div",{staticStyle:{"margin-bottom":"50px"}},[a("div",{staticClass:"filter-container"},[a("el-select",{staticStyle:{width:"220px"},attrs:{"remote-method":t.getRemoteGroupList,filterable:"",remote:"",clearable:"","value-key":"id",placeholder:"小组"},model:{value:t.temp_group_ids,callback:function(e){t.temp_group_ids=e},expression:"temp_group_ids"}},t._l(t.groupListOptions,function(t,e){return a("el-option",{key:t+e,attrs:{label:t,value:t}})})),t._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-edit"},on:{click:t.appendUser}},[t._v("添加\n ")]),t._v(" "),a("el-button",{directives:[{name:"waves",rawName:"v-waves"}],staticClass:"filter-item",attrs:{type:"primary",icon:"el-icon-delete"},on:{click:t.delUser}},[t._v("移除\n ")])],1),t._v(" "),a("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.data,border:"",fit:"","highlight-current-row":""},on:{"selection-change":t.handleSelectionChange}},[a("el-table-column",{attrs:{type:"selection",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"小组ID "},scopedSlots:t._u([{key:"default",fn:function(e){return[a("router-link",{staticClass:"link-type",attrs:{to:"/group/edit/"+e.row.id}},[a("span",[t._v(t._s(e.row.id))])])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"小组名称"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.name))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"小组简介"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.description))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"用户数"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.user_nums))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"帖子数"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.topic_nums))])]}}])}),t._v(" "),a("el-table-column",{attrs:{align:"center",label:"组长"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.creator.name))])]}}])})],1),t._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticStyle:{"margin-left":"250px"},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)],1)],1)],1)},[],!1,null,"807900ca",null);w.options.__file="StarDetail.vue";e.a=w.exports},"gDS+":function(t,e,a){t.exports={default:a("oh+g"),__esModule:!0}},gg54:function(t,e,a){"use strict";a.d(e,"h",function(){return n}),a.d(e,"c",function(){return r}),a.d(e,"e",function(){return o}),a.d(e,"d",function(){return s}),a.d(e,"b",function(){return l}),a.d(e,"a",function(){return u}),a.d(e,"g",function(){return c}),a.d(e,"f",function(){return p});var i=a("t3Un");function n(t){return Object(i.a)({url:"/api/search/user",method:"get",params:{name:t}})}function r(t){return Object(i.a)({url:"/api/search/group",method:"get",params:{name:t}})}function o(t){return Object(i.a)({url:"/api/search/tag",method:"get",params:{name:t}})}function s(t){return Object(i.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function l(t){return Object(i.a)({url:"/api/search/city",method:"get",params:{name:t}})}function u(t){return Object(i.a)({url:"/api/search/celebrity",method:"get",params:{name:t}})}function c(t){return Object(i.a)({url:"/api/search/topic",method:"get",params:{name:t}})}function p(t){return Object(i.a)({url:"api/search/tagtype",method:"get",params:{name:t}})}},jUE0:function(t,e,a){},"oh+g":function(t,e,a){var i=a("WEpk"),n=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return n.stringify.apply(n,arguments)}}}]);
\ No newline at end of file
var api = require('./api') var api = require('./api')
// //
// const target = 'http://doctor.test.env' // const target = 'http://doctor.test.env'
// const target = 'http://172.30.8.231:8000' const target = 'http://172.30.8.131:8000'
const target = 'http://172.30.8.156:10000'
// const target = 'http://192.168.1.9:8000' // const target = 'http://192.168.1.9:8000'
// 可以修改请求内容 // 可以修改请求内容
......
...@@ -63,3 +63,11 @@ export function topicSearch(name) { ...@@ -63,3 +63,11 @@ export function topicSearch(name) {
params: { name } params: { name }
}) })
} }
export function tagTypeSearch(name) {
return request({
url: 'api/search/tagtype',
method: 'get',
params: { name }
})
}
import request from '@/utils/request'
export function fetchList(query) {
return request({
url: '/api/tag/tagtype/list',
method: 'get',
params: query
})
}
export function OffLineOrOnLine(data) {
return request({
url: '/api/tag/tagtype/list/update',
method: 'post',
data
})
}
export function CreateTagType(data) {
return request({
url: '/api/tag/tagtype/create',
method: 'post',
data
})
}
export function fetchTagTypeDetail(id) {
return request({
url: '/api/tag/tagtype/detail',
method: 'get',
params: { id }
})
}
...@@ -29,7 +29,27 @@ const TagRouter = { ...@@ -29,7 +29,27 @@ const TagRouter = {
name: 'EditTag', name: 'EditTag',
meta: {title: '编辑标签', noCache: true}, meta: {title: '编辑标签', noCache: true},
hidden: true hidden: true
} },
{
path: 'tagtype/list',
component: () => import('@/views/tag_type/list'),
name: 'TagTypeList',
meta: {title: '标签类型列表', icon: 'list'}
},
{
path: 'tagtype/create',
component: () => import('@/views/tag_type/create'),
name: 'CreateTagType',
meta: {title: '创建标签类型', icon: 'edit'},
hidden: true
},
{
path: 'tagtype/edit/:id(\\d+)',
component: () => import('@/views/tag_type/edit'),
name: 'EditTagType',
meta: {title: '编辑标签类型', noCache: true},
hidden: true
},
] ]
} }
......
...@@ -71,11 +71,30 @@ ...@@ -71,11 +71,30 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="12">
<el-form-item label-width="75px" label="标签类型:" class="postInfo-container-item">
<el-select v-model="tagtypes" :remote-method="getRemoteTagTypeList" filterable remote multiple
value-key="id"
placeholder="搜索类型" style="width: 70%">
<el-option v-for="(item,index) in TagTypeListOptions" :key="item+index" :label="item"
:value="item"/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-form-item style="margin-bottom: 40px;" label-width="75px" label="标签简介:" prop="desc"> <el-form-item style="margin-bottom: 40px;" label-width="75px" label="标签简介:" prop="desc">
<el-input :rows="1" v-model="postForm.description" type="textarea" class="article-textarea" autosize <el-input :rows="1" v-model="postForm.description" type="textarea" class="article-textarea" autosize
placeholder="请输入内容"/> placeholder="请输入内容"/>
<span v-show="contentShortLength" class="word-counter">{{ contentShortLength }}</span> <span v-show="contentShortLength" class="word-counter">{{ contentShortLength }}</span>
</el-form-item> </el-form-item>
<div style="margin-bottom: 20px">
<el-form-item style="margin-bottom: 40px;" label-width="75px" label="帖子图片:" prop="icon_url">
<span v-model="uploadType"></span>
<Upload v-model="postForm.icon_url" :uploadType="uploadType"/>
</el-form-item>
</div>
</div> </div>
</el-form> </el-form>
...@@ -83,34 +102,13 @@ ...@@ -83,34 +102,13 @@
</template> </template>
<script> <script>
import Upload from '@/components/Upload/singleImage3'
import MDinput from '@/components/MDinput' import MDinput from '@/components/MDinput'
import Sticky from '@/components/Sticky' // 粘性header组件 import Sticky from '@/components/Sticky' // 粘性header组件
import {fetchTagDetail, CreateTag} from '@/api/tag' import {fetchTagDetail, CreateTag} from '@/api/tag'
import {tagSearch} from '@/api/remoteSearch' import {tagSearch, tagTypeSearch} from '@/api/remoteSearch'
import {isInArray, removeByvale} from "@/utils"; import {isInArray} from "@/utils";
function Assembledata(target, source) {
var region_data = []
for (var i = 0; i < target.length; i++) {
if (isInArray(source, target[i]['name'])) {
region_data.push(target[i]['id'])
removeByvale(source, target[i]['name']);
}
}
region_data.push(...source)
return region_data.join(',')
}
function removeNull(parkingList) {
for (let i = 0; i < parkingList.length; i++) {
if (parkingList[i] == '' || parkingList[i] == null || typeof(parkingList[i]) == undefined) {
parkingList.splice(i, 1);
i = i - 1;
}
}
return parkingList
}
const defaultForm = { const defaultForm = {
status: 'draft', status: 'draft',
...@@ -118,11 +116,13 @@ ...@@ -118,11 +116,13 @@
description: '', description: '',
up_tags: [], up_tags: [],
down_tags: [], down_tags: [],
tagtypes: [],
icon_url: '',
} }
export default { export default {
name: 'TagDetail', name: 'TagDetail',
components: {MDinput, Sticky}, components: {MDinput, Sticky, Upload},
props: { props: {
isEdit: { isEdit: {
type: Boolean, type: Boolean,
...@@ -146,16 +146,15 @@ ...@@ -146,16 +146,15 @@
postForm: Object.assign({}, defaultForm), postForm: Object.assign({}, defaultForm),
loading: false, loading: false,
TagListOptions: [], TagListOptions: [],
TagTypeListOptions: [],
up_tags: [], up_tags: [],
down_tags: [], down_tags: [],
tagtypes: [],
uploadType: 25,
rules: { rules: {
name: [{validator: validateRequire, trigger: 'blur'}], name: [{validator: validateRequire, trigger: 'blur'}],
}, },
tempRoute: {}, tempRoute: {},
temparray: {
'up_tags': [],
'down_tags': [],
}
} }
}, },
computed: { computed: {
...@@ -184,6 +183,9 @@ ...@@ -184,6 +183,9 @@
for (let i = 0; i < rep.down_tags.length; i++) { for (let i = 0; i < rep.down_tags.length; i++) {
this.down_tags.push(rep.down_tags[i]['id'] + ':' + rep.down_tags[i]['name']) this.down_tags.push(rep.down_tags[i]['id'] + ':' + rep.down_tags[i]['name'])
} }
for (let i = 0;i < rep.tagtypes.length; i++){
this.tagtypes.push(rep.tagtypes[i]['id'] + ':' + rep.tagtypes[i]['name'])
}
this.postForm = rep this.postForm = rep
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)
...@@ -209,8 +211,8 @@ ...@@ -209,8 +211,8 @@
} }
this.postForm.up_tags = JSON.stringify(this.up_tags) this.postForm.up_tags = JSON.stringify(this.up_tags)
this.postForm.down_tags = JSON.stringify(this.down_tags); this.postForm.down_tags = JSON.stringify(this.down_tags);
this.postForm.tagtypes = JSON.stringify(this.tagtypes);
CreateTag(this.postForm).then(response => { CreateTag(this.postForm).then(response => {
console.log()
if (response.data.data.code == 500) { if (response.data.data.code == 500) {
this.$notify({ this.$notify({
title: '失败', title: '失败',
...@@ -255,6 +257,12 @@ ...@@ -255,6 +257,12 @@
this.TagListOptions = response.data.data.data this.TagListOptions = response.data.data.data
}) })
}, },
getRemoteTagTypeList(query) {
tagTypeSearch(query).then(response => {
if (!response.data.data.data) return
this.TagTypeListOptions = response.data.data.data
})
}
} }
} }
</script> </script>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</el-table-column> </el-table-column>
<el-table-column align="center" label="线"> <el-table-column align="center" label="是否在线">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="scope.row.is_online | isOnlineFilter">{{ scope.row.is_online==1 ? '是' : '否' }}</el-tag> <el-tag :type="scope.row.is_online | isOnlineFilter">{{ scope.row.is_online==1 ? '是' : '否' }}</el-tag>
</template> </template>
...@@ -86,6 +86,7 @@ export default { ...@@ -86,6 +86,7 @@ export default {
SearchTypeOptions:[ SearchTypeOptions:[
{'key': 'id', 'display_name': 'ID'}, {'key': 'id', 'display_name': 'ID'},
{'key': 'name', 'display_name': '标签名称'}, {'key': 'name', 'display_name': '标签名称'},
{'key': 'tagtype_name', 'display_name': '标签类型'},
] ]
} }
}, },
......
<template>
<div class="createPost-container">
<el-form ref="postForm" :model="postForm" :rules="rules" class="form-container">
<sticky :class-name="'sub-navbar'">
<el-button v-loading="loading" style="margin-left: 10px;" type="success" @click="submitForm">保存
</el-button>
</sticky>
<div class="createPost-main-container">
<el-row>
<el-col :span="24">
<el-form-item style="margin-bottom: 40px;" prop="name">
<MDinput v-model="postForm.name" :maxlength="100" name="name" required>
标签类型名称
</MDinput>
</el-form-item>
</el-col>
</el-row>
<el-row>
</el-row>
</div>
</el-form>
</div>
</template>
<script>
import MDinput from '@/components/MDinput'
import Sticky from '@/components/Sticky' // 粘性header组件
import {fetchTagTypeDetail, CreateTagType} from '@/api/tagtype'
import {tagSearch} from '@/api/remoteSearch'
import {isInArray, removeByvale} from "@/utils";
const defaultForm = {
status: 'draft',
name: '',
}
export default {
name: 'TagTypeDetail',
components: {MDinput, Sticky},
props: {
isEdit: {
type: Boolean,
default: false
}
},
data() {
const validateRequire = (rule, value, callback) => {
value = value.trim()
if (value === '') {
this.$message({
message: rule.field + '为必传项',
type: 'error'
})
callback(new Error(rule.field + '为必传项'))
} else {
callback()
}
}
return {
postForm: Object.assign({}, defaultForm),
loading: false,
rules: {
name: [{validator: validateRequire, trigger: 'blur'}],
},
tempRoute: {},
}
},
created() {
if (this.isEdit) {
const id = this.$route.params && this.$route.params.id
this.fetchData(id)
} else {
this.postForm = Object.assign({}, defaultForm)
}
this.tempRoute = Object.assign({}, this.$route)
},
methods: {
fetchData(id) {
fetchTagTypeDetail(id).then(response => {
this.postForm = response.data.data.data
}).catch(err => {
console.log(err)
})
},
submitForm() {
this.$refs.postForm.validate(valid => {
if (valid) {
this.loading = true;
CreateTagType(this.postForm).then(response => {
if (response.data.data.code == 500) {
this.$notify({
title: '失败',
message: response.data.data.message,
type: 'error',
duration: 2000
})
this.loading = false
return false
}
this.$notify({
title: '成功',
message: response.data.data.message,
type: 'success',
duration: 2000
})
setTimeout(() => {
this.$router.push('/tag/tagtype/list')
}, 1000)
}).catch(err => {
this.$notify({
title: '失败',
message: '操作失败',
type: 'danger',
duration: 2000
})
});
this.postForm.status = 'published'
this.loading = false
} else {
console.log('error submit!!')
return false
}
})
},
}
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
@import "src/styles/mixin.scss";
.createPost-container {
position: relative;
.createPost-main-container {
padding: 40px 45px 20px 50px;
.postInfo-container {
position: relative;
@include clearfix;
margin-bottom: 10px;
.postInfo-container-item {
float: left;
}
}
.editor-container {
min-height: 500px;
margin: 0 0 30px;
.editor-upload-btn-container {
text-align: right;
margin-right: 10px;
.editor-upload-btn {
display: inline-block;
}
}
}
}
.word-counter {
width: 40px;
position: absolute;
right: -10px;
top: 0px;
}
}
</style>
<template>
<tag-type-detail :is-edit="false"/>
</template>
<script>
import TagTypeDetail from './components/TagTypeDetail'
export default {
name: 'CreateTagType',
components: { TagTypeDetail }
}
</script>
<template>
<tag-type-detail :is-edit="true"/>
</template>
<script>
import TagTypeDetail from './components/TagTypeDetail'
export default {
name: 'EditTagType',
components: { TagTypeDetail }
}
</script>
<template>
<div class="app-container">
<div class="filter-container">
<el-input :placeholder="'搜素'" v-model="listQuery.filter.value" style="width: 150px;" class="filter-item" @keyup.enter.native="handleFilter"/>
<el-select v-model="listQuery.filter.key" :placeholder="'搜索字段'" clearable class="filter-item" style="width: 110px">
<el-option v-for="item in SearchTypeOptions" :key="item.key" :label="item.display_name" :value="item.key"/>
</el-select>
<el-select v-model="listQuery.filter.is_online" :placeholder="'上线'" clearable class="filter-item" style="width: 100px">
<el-option v-for="item in BooleanTypeOptions" :key="item.key" :label="item.display_name" :value="item.key"/>
</el-select>
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilter">搜索</el-button>
<el-button class="filter-item" style="margin-left: 10px;" type="primary" icon="el-icon-edit" @click="handleCreate">创建</el-button>
<el-button class="filter-item" style="margin-left: 10px;" type="primary" icon="el-icon-edit" @click="handleOfflineOrOnline('offline')">下线</el-button>
<el-button class="filter-item" style="margin-left: 10px;" type="primary" icon="el-icon-edit" @click="handleOfflineOrOnline('online')">上线</el-button>
</div>
<el-table v-loading="listLoading" :data="list" border fit highlight-current-row style="width: 100%" ref="multipleTable" @selection-change="handleSelectionChange">
<el-table-column type="selection" align="center"></el-table-column>
<el-table-column align="center" label="标签类型ID" >
<template slot-scope="scope">
<router-link :to="'/tag/tagtype/edit/'+scope.row.id" class="link-type">
<span>{{ scope.row.id }}</span>
</router-link>
</template>
</el-table-column>
<el-table-column align="center" label="标签类型名称">
<template slot-scope="scope">
<span>{{ scope.row.name }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="是否在线">
<template slot-scope="scope">
<el-tag :type="scope.row.is_online | isOnlineFilter">{{ scope.row.is_online==1 ? '是' : '否' }}</el-tag>
</template>
</el-table-column>
</el-table>
<pagination v-show="total>0" :total="total" :page.sync="listQuery.offset" :limit.sync="listQuery.limit" style="margin-left: 250px;" @pagination="getList" />
</div>
</template>
<script>
import { fetchList, OffLineOrOnLine } from '@/api/tagtype'
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
import waves from '@/directive/waves'
export default {
name: 'TagTypeList',
components: { Pagination },
filters: {
isOnlineFilter(status) {
const statusMap = {
1: 'success',
0: 'info',
}
return statusMap[status]
},
},
directives: { waves },
data() {
return {
list: null,
total: 0,
listLoading: true,
multipleSelection: [],
del_list: [],
listQuery: {
offset: 1,
limit: 10,
filter: {
value: '',
key: '',
is_online: '',
name: '',
type:'',
},
},
BooleanTypeOptions: [
{'key': 1, 'display_name': '是'},
{'key': 0, 'display_name': '否'}
],
SearchTypeOptions:[
{'key': 'id', 'display_name': 'ID'},
{'key': 'name', 'display_name': '类型名称'},
]
}
},
created() {
this.getList()
},
methods: {
getList() {
this.listLoading = true
fetchList(this.listQuery).then(response => {
this.list = response.data.data.data
this.total = response.data.data.total
this.listLoading = false
})
},
handleSelectionChange(val) {
this.multipleSelection = val;
},
handleSizeChange(val) {
this.listQuery.limit = val
this.getList()
},
handleCurrentChange(val) {
this.listQuery.offset = val
this.getList()
},
handleOfflineOrOnline(val){
const length = this.multipleSelection.length;
let str = '';
var update = ''
this.del_list = this.del_list.concat(this.multipleSelection);
for (let i = 0; i < length; i++) {
if (val === 'offline'){
this.multipleSelection[i].is_online = 0
update = 0;
}else{
this.multipleSelection[i].is_online = 1
update = 1;
}
str += this.multipleSelection[i].id + ' ';
}
OffLineOrOnLine({update:update, ids:str}).then(response => {
this.multipleSelection = [];
this.$message.success(response.data.data.message);
})
},
handleFilter() {
this.listQuery.offset = 1
if (this.listQuery.filter.key == 'id' && !/^\d+$/.test(this.listQuery.filter.value)){
this.$message.error("搜索条件不合法, 重新输入")
return false;
}
this.getList()
},
handleCreate() {
this.$router.push('/tag/tagtype/create')
}
}
}
</script>
<style scoped>
.edit-input {
padding-right: 100px;
}
.cancel-btn {
position: absolute;
right: 15px;
top: 10px;
}
</style>
...@@ -10,7 +10,11 @@ ...@@ -10,7 +10,11 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-card class="box-card"> <el-card class="box-card">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<span>帖子相关</span> <div style="float: left; text-align: center;">
帖子相关
</div>
</div> </div>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
...@@ -103,6 +107,9 @@ ...@@ -103,6 +107,9 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<el-form-item label-width="75px" label="人工减分:" class="postInfo-container-item" style="margin-bottom: 20px">
<el-input v-model="postForm.drop_score" type="number" style="width: 80%"/>
</el-form-item>
<el-form-item style="margin-bottom: 20px" label-width="75px" label="是否在线:"> <el-form-item style="margin-bottom: 20px" label-width="75px" label="是否在线:">
<el-radio-group v-model="postForm.is_online"> <el-radio-group v-model="postForm.is_online">
<el-radio :label="1"></el-radio> <el-radio :label="1"></el-radio>
...@@ -306,6 +313,7 @@ ...@@ -306,6 +313,7 @@
star: '', star: '',
is_puppet: '', is_puppet: '',
is_online: 0, is_online: 0,
drop_score: 0,
} }
export default { export default {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment