pages-meeting-meeting.a2f42984.js 21 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-meeting-meeting"],{"0466":function(t,a,e){"use strict";e("4160"),e("159b"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e("c22c"),i=e("17b1"),r={data:function(){return{subing:!1,id:"",meeting:{name:"",host:"",start:"",endtime:"",content:""},name:"",phone:"",is_true:0,zhiwuList:[],zhiwuList1:[],zhiwu:""}},onLoad:function(t){this.id=t.id,this.getMeeting(),this.getPostList()},onShow:function(){},onReachBottom:function(){},onReady:function(){},methods:{hhhh:function(t){window.location.href=t},getPostList:function(){var t=this;(0,i.postlist)().then((function(a){var e=a.data;e.forEach((function(a){t.zhiwuList.push(a.title)})),t.zhiwuList1=e,console.log(e,"zhiwuList")}))},getMeeting:function(){var t=this;(0,n.getMeeting)({id:t.id}).then((function(a){console.log(a),t.meeting=a.data}))},openJoin:function(t){var a=this;a.is_true=t,a.$refs.join.open()},bindZhiwu:function(t){this.zhiwu=this.zhiwuList[t.target.value],this.zhiwuId=this.zhiwuList1[t.target.value].id,console.log(this.zhiwuId)},subJoin:function(){var t=this;if(!t.subing){if(""==t.name)return t.$api.msg("请输入参会人员姓名");if(""==t.phone)return t.$api.msg("请输入参会人员联系方式");if(""==t.zhiwu)return t.$api.msg("请输入参会人员职务");t.subing=!0,(0,n.joinMeeting)({mid:t.id,name:t.name,post:t.zhiwuId,contact:t.phone,is_true:t.is_true}).then((function(a){t.$refs.join.close(),t.subing=!1,uni.showToast({title:"提交成功",duration:2e3})})).catch((function(a){t.subing=!1}))}}}};a.default=r},"04c4":function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return r})),e.d(a,"a",(function(){return n}));var n={uniPopup:e("a200").default},i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"table"},[e("v-uni-view",{staticClass:"table-title"},[e("v-uni-view",{staticClass:"title"},[t._v("会议主题:")]),e("v-uni-view",{staticClass:"val"},[t._v(t._s(t.meeting.name))]),e("v-uni-view",{staticClass:"title"},[t._v("会议主持人:")]),e("v-uni-view",{staticClass:"val"},[t._v(t._s(t.meeting.host))]),e("v-uni-view",{staticClass:"title"},[t._v("开始时间:")]),e("v-uni-view",{staticClass:"val"},[t._v(t._s(t.meeting.start))]),e("v-uni-view",{staticClass:"title"},[t._v("结束时间:")]),e("v-uni-view",{staticClass:"val"},[t._v(t._s(t.meeting.endtime))]),e("v-uni-view",{staticClass:"title"},[t._v("会议内容:")]),e("v-uni-view",{staticClass:"val",domProps:{innerHTML:t._s(t.meeting.content)}}),t.meeting.url?[e("v-uni-view",{staticClass:"title"},[t._v("会议地址:")]),e("v-uni-view",{staticClass:"val",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.hhhh(t.meeting.url)}}},[t._v(t._s(t.meeting.url))])]:t._e(),e("v-uni-view",{staticClass:"button button1",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.openJoin(0)}}},[t._v("本人参加")]),e("v-uni-view",{staticClass:"button",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.openJoin(1)}}},[t._v("他人参加")])],2)],1),e("uni-popup",{ref:"join",attrs:{type:"center"}},[e("v-uni-view",{staticClass:"join-wrap"},[e("v-uni-view",{staticClass:"join-tit"},[t._v(t._s(1==t.is_true?"他人参加":"本人参加"))]),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"left"},[t._v("姓名")]),e("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入姓名"},model:{value:t.name,callback:function(a){t.name=a},expression:"name"}})],1),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"left"},[t._v("联系方式")]),e("v-uni-input",{attrs:{type:"text",value:"",placeholder:"请输入联系方式"},model:{value:t.phone,callback:function(a){t.phone=a},expression:"phone"}})],1),e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"left"},[t._v("职务")]),e("v-uni-picker",{staticClass:"input",attrs:{range:t.zhiwuList},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.bindZhiwu.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"box-right",class:{hui:""==t.zhiwu}},[t._v(t._s(t.zhiwu||"请选择职务"))])],1)],1),e("v-uni-view",{staticClass:"join-btn",class:{bghui:t.subing},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.subJoin.apply(void 0,arguments)}}},[t._v("确认提交")])],1)],1)],1)},r=[]},"08e8":function(t,a,e){"use strict";var n=e("b3ba"),i=e.n(n);i.a},"0bfc":function(t,a,e){var n=e("24fb");a=n(!1),a.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.uni-popup[data-v-697b345a]{position:fixed;top:var(--window-top);bottom:0;left:0;right:0;z-index:99}.uni-popup__mask[data-v-697b345a]{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.4);opacity:0}.mask-ani[data-v-697b345a]{transition-property:opacity;transition-duration:.2s}.uni-top-mask[data-v-697b345a]{opacity:1}.uni-bottom-mask[data-v-697b345a]{opacity:1}.uni-center-mask[data-v-697b345a]{opacity:1}.uni-popup__wrapper[data-v-697b345a]{display:block;position:absolute}.top[data-v-697b345a]{top:0;left:0;right:0;-webkit-transform:translateY(-500px);transform:translateY(-500px)}.bottom[data-v-697b345a]{bottom:0;left:0;right:0;-webkit-transform:translateY(500px);transform:translateY(500px)}.center[data-v-697b345a]{display:flex;flex-direction:column;bottom:0;left:0;right:0;top:0;justify-content:center;align-items:center;-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}.uni-popup__wrapper-box[data-v-697b345a]{display:block;position:relative}.content-ani[data-v-697b345a]{transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;transition-duration:.2s}.uni-top-content[data-v-697b345a]{-webkit-transform:translateY(0);transform:translateY(0)}.uni-bottom-content[data-v-697b345a]{-webkit-transform:translateY(0);transform:translateY(0)}.uni-center-content[data-v-697b345a]{-webkit-transform:scale(1);transform:scale(1);opacity:1}',""]),t.exports=a},"0d5f":function(t,a,e){"use strict";var n;e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return r})),e.d(a,"a",(function(){return n}));var i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return t.isShow?e("v-uni-view",{ref:"ani",staticClass:"uni-transition",class:[t.ani.in],style:"transform:"+t.transform+";"+t.stylesObject,on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.change.apply(void 0,arguments)}}},[t._t("default")],2):t._e()},r=[]},1068:function(t,a,e){var n=e("aa8f");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("4f06").default;i("00d7442c",n,!0,{sourceMap:!1,shadowMode:!1})},"17b1":function(t,a,e){"use strict";var n=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.orderData=r,a.changeInformation=o,a.enterprise=s,a.getUserInfo=u,a.spreadBanner=c,a.getAddressList=l,a.addressEdit=d,a.addressDel=f,a.setAddressDefault=p,a.getCartList=h,a.getCartNum=v,a.cartDel=m,a.getcollectList=b,a.delcollect=g,a.spread=w,a.stylelist=y,a.postlist=k,a.joinSubmit=_,a.auth=C,a.subscribe=x,a.enDetails=T,a.my_reply=j,a.to_my_reply=z,a.getCyType=E;var i=n(e("6150"));function r(t){return(0,i.default)({url:"/api/order/data",method:"get",data:t})}function o(t){return(0,i.default)({url:"/api/enterprise/edit",method:"post",data:t})}function s(t){return(0,i.default)({url:"/api/enterprise/rate",method:"get",data:t})}function u(t){return(0,i.default)({url:"/api/userinfo",method:"get",data:t})}function c(t){return(0,i.default)({url:"/api/spread/banner",method:"get",data:t})}function l(t){return(0,i.default)({url:"/api/address/list",method:"get",data:t})}function d(t){return(0,i.default)({url:"/api/address/edit",method:"post",data:t})}function f(t){return(0,i.default)({url:"/api/address/del",method:"post",data:t})}function p(t){return(0,i.default)({url:"/api/address/default/set",method:"post",data:t})}function h(t){return(0,i.default)({url:"/api/cart/list",method:"get",data:t})}function v(t){return(0,i.default)({url:"/api/cart/num",method:"post",data:t})}function m(t){return(0,i.default)({url:"/api/cart/del",method:"post",data:t})}function b(t){return(0,i.default)({url:"/api/collect/user",method:"get",data:t})}function g(t){return(0,i.default)({url:"/api/collect/del",method:"post",data:t})}function w(t){return(0,i.default)({url:"/api/spread/people",method:"POST",data:t})}function y(t){return(0,i.default)({url:"/api/enterprise/stylelist",method:"GET",data:t})}function k(t){return(0,i.default)({url:"/api/enterprise/job/list",method:"GET",data:t})}function _(t){return(0,i.default)({url:"/api/enterprise/apply/add",method:"GET",data:t})}function C(t){return(0,i.default)({url:"/api/user/auth",method:"POST",data:t})}function x(t){return(0,i.default)({url:"/api/user/subscribe",method:"GET",data:t})}function T(t){return(0,i.default)({url:"/api/enterprise/details",method:"GET",data:t})}function j(t){return(0,i.default)({url:"/api/article/my_reply",method:"GET",data:t})}function z(t){return(0,i.default)({url:"/api/article/to_my_reply",method:"GET",data:t})}function E(t){return(0,i.default)({url:"/api/enterprise/category",method:"GET",data:t})}},"2f6b":function(t,a,e){var n=e("eb59");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("4f06").default;i("1f2d81bc",n,!0,{sourceMap:!1,shadowMode:!1})},"35b8":function(t,a,e){"use strict";var n=e("2f6b"),i=e.n(n);i.a},"3fcce":function(t,a,e){"use strict";e.r(a);var n=e("0d5f"),i=e("c26f");for(var r in i)"default"!==r&&function(t){e.d(a,t,(function(){return i[t]}))}(r);e("a8cc");var o,s=e("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"016ede03",null,!1,n["a"],o);a["default"]=u.exports},"657b":function(t,a,e){"use strict";e.r(a);var n=e("04c4"),i=e("9557");for(var r in i)"default"!==r&&function(t){e.d(a,t,(function(){return i[t]}))}(r);e("35b8");var o,s=e("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"ba2b9988",null,!1,n["a"],o);a["default"]=u.exports},9557:function(t,a,e){"use strict";e.r(a);var n=e("0466"),i=e.n(n);for(var r in n)"default"!==r&&function(t){e.d(a,t,(function(){return n[t]}))}(r);a["default"]=i.a},a200:function(t,a,e){"use strict";e.r(a);var n=e("f09b"),i=e("d1d3");for(var r in i)"default"!==r&&function(t){e.d(a,t,(function(){return i[t]}))}(r);e("08e8");var o,s=e("f0c5"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"697b345a",null,!1,n["a"],o);a["default"]=u.exports},a8cc:function(t,a,e){"use strict";var n=e("1068"),i=e.n(n);i.a},aa8f:function(t,a,e){var n=e("24fb");a=n(!1),a.push([t.i,".uni-transition[data-v-016ede03]{transition-timing-function:ease;transition-duration:.3s;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.fade-in[data-v-016ede03]{opacity:0}.fade-active[data-v-016ede03]{opacity:1}.slide-top-in[data-v-016ede03]{\n\t/* transition-property: transform, opacity; */-webkit-transform:translateY(-100%);transform:translateY(-100%)}.slide-top-active[data-v-016ede03]{-webkit-transform:translateY(0);transform:translateY(0)\n\t/* opacity: 1; */}.slide-right-in[data-v-016ede03]{-webkit-transform:translateX(100%);transform:translateX(100%)}.slide-right-active[data-v-016ede03]{-webkit-transform:translateX(0);transform:translateX(0)}.slide-bottom-in[data-v-016ede03]{-webkit-transform:translateY(100%);transform:translateY(100%)}.slide-bottom-active[data-v-016ede03]{-webkit-transform:translateY(0);transform:translateY(0)}.slide-left-in[data-v-016ede03]{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.slide-left-active[data-v-016ede03]{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}.zoom-in-in[data-v-016ede03]{-webkit-transform:scale(.8);transform:scale(.8)}.zoom-out-active[data-v-016ede03]{-webkit-transform:scale(1);transform:scale(1)}.zoom-out-in[data-v-016ede03]{-webkit-transform:scale(1.2);transform:scale(1.2)}",""]),t.exports=a},b3ba:function(t,a,e){var n=e("0bfc");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("4f06").default;i("374748ce",n,!0,{sourceMap:!1,shadowMode:!1})},c22c:function(t,a,e){"use strict";var n=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.getZmtList=r,a.getArtTypeList=o,a.getArtList=s,a.getArtDetail=u,a.getQyType=c,a.getQyArtList=l,a.dingYue=d,a.searchZmt=f,a.searchArt=p,a.getPlList=h,a.getXgList=v,a.dianZan=m,a.subPl=b,a.getMeeting=g,a.joinMeeting=w;var i=n(e("6150"));function r(t){return(0,i.default)({url:"/api/enterprise/putlist",method:"get",data:t})}function o(t){return(0,i.default)({url:"/api/article/category/list",method:"get",data:t})}function s(t){return(0,i.default)({url:"/api/article/hot/list",method:"get",data:t})}function u(t,a){return(0,i.default)({url:"/api/article/details/"+a,method:"get",data:t})}function c(t){return(0,i.default)({url:"/api/enterprise/stylelist",method:"get",data:t})}function l(t){return(0,i.default)({url:"/api/enterprise/lists",method:"get",data:t})}function d(t){return(0,i.default)({url:"/api/user/sub",method:"get",data:t})}function f(t){return(0,i.default)({url:"/api/enterprise/search",method:"get",data:t})}function p(t){return(0,i.default)({url:"/api/article/keyword",method:"get",data:t})}function h(t,a){return(0,i.default)({url:"/api/article/reply_list/"+a,method:"get",data:t})}function v(t){return(0,i.default)({url:"/api/article/relevant/list",method:"get",data:t})}function m(t,a){return(0,i.default)({url:"/api/article/good/"+a,method:"post",data:t})}function b(t,a){return(0,i.default)({url:"/api/article/reply/"+a,method:"post",data:t})}function g(t){return(0,i.default)({url:"/api/mee/get",method:"get",data:t})}function w(t){return(0,i.default)({url:"/api/mee/set",method:"post",data:t})}},c26f:function(t,a,e){"use strict";e.r(a);var n=e("c6c5"),i=e.n(n);for(var r in n)"default"!==r&&function(t){e.d(a,t,(function(){return n[t]}))}(r);a["default"]=i.a},c6c5:function(t,a,e){"use strict";var n=e("4ea4");e("4160"),e("a9e3"),e("ac1f"),e("5319"),e("159b"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=n(e("5530")),r={name:"uniTransition",props:{show:{type:Boolean,default:!1},modeClass:{type:Array,default:function(){return[]}},duration:{type:Number,default:300},styles:{type:Object,default:function(){return{}}}},data:function(){return{isShow:!1,transform:"",ani:{in:"",active:""}}},watch:{show:{handler:function(t){t?this.open():this.close()},immediate:!0}},computed:{stylesObject:function(){var t=(0,i.default)((0,i.default)({},this.styles),{},{"transition-duration":this.duration/1e3+"s"}),a="";for(var e in t){var n=this.toLine(e);a+=n+":"+t[e]+";"}return a}},created:function(){},methods:{change:function(){this.$emit("click",{detail:this.isShow})},open:function(){var t=this;for(var a in clearTimeout(this.timer),this.isShow=!0,this.transform="",this.ani.in="",this.getTranfrom(!1))"opacity"===a?this.ani.in="fade-in":this.transform+="".concat(this.getTranfrom(!1)[a]," ");this.$nextTick((function(){setTimeout((function(){t._animation(!0)}),50)}))},close:function(t){clearTimeout(this.timer),this._animation(!1)},_animation:function(t){var a=this,e=this.getTranfrom(t);for(var n in this.transform="",e)"opacity"===n?this.ani.in="fade-".concat(t?"out":"in"):this.transform+="".concat(e[n]," ");this.timer=setTimeout((function(){t||(a.isShow=!1),a.$emit("change",{detail:a.isShow})}),this.duration)},getTranfrom:function(t){var a={transform:""};return this.modeClass.forEach((function(e){switch(e){case"fade":a.opacity=t?1:0;break;case"slide-top":a.transform+="translateY(".concat(t?"0":"-100%",") ");break;case"slide-right":a.transform+="translateX(".concat(t?"0":"100%",") ");break;case"slide-bottom":a.transform+="translateY(".concat(t?"0":"100%",") ");break;case"slide-left":a.transform+="translateX(".concat(t?"0":"-100%",") ");break;case"zoom-in":a.transform+="scale(".concat(t?1:.8,") ");break;case"zoom-out":a.transform+="scale(".concat(t?1:1.2,") ");break}})),a},_modeClassArr:function(t){var a=this.modeClass;if("string"!==typeof a){var e="";return a.forEach((function(a){e+=a+"-"+t+","})),e.substr(0,e.length-1)}return a+"-"+t},toLine:function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}}};a.default=r},d1d3:function(t,a,e){"use strict";e.r(a);var n=e("f7d2"),i=e.n(n);for(var r in n)"default"!==r&&function(t){e.d(a,t,(function(){return n[t]}))}(r);a["default"]=i.a},eb59:function(t,a,e){var n=e("24fb");a=n(!1),a.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-ba2b9988]{background-color:#fff;height:auto;min-height:100%}.table[data-v-ba2b9988]{width:%?750?%;background:#fff}.table-title .title[data-v-ba2b9988]{margin-left:%?15?%;font-size:%?30?%;font-weight:700;color:#333;line-height:%?80?%}.table-title .val[data-v-ba2b9988]{padding-left:%?30?%;text-indent:%?28?%;font-size:%?28?%;font-weight:500;color:#000}.button[data-v-ba2b9988]{margin:%?60?% auto;width:%?300?%;height:%?80?%;background:#fff;border-radius:%?38?%;font-size:%?30?%;font-weight:500;color:#fe5341;border:#fe5341 1px solid;line-height:%?80?%;text-align:center}.button1[data-v-ba2b9988]{color:#fff;background-color:#fe5341}.join-wrap[data-v-ba2b9988]{height:%?400?%;width:%?650?%;background-color:#fff;border-radius:%?20?%}.join-wrap .join-tit[data-v-ba2b9988]{text-align:center;font-size:%?36?%;font-weight:700;padding:%?20?% 0}.join-wrap .join-btn[data-v-ba2b9988]{line-height:%?85?%;background-color:#fe5341;color:#fff;font-size:%?28?%;text-align:center;border-radius:0 0 %?20?% %?20?%;margin:auto}.join-wrap .content[data-v-ba2b9988]{display:flex;align-items:center;line-height:%?80?%}.join-wrap .content .left[data-v-ba2b9988]{width:%?120?%;margin:0 %?30?%;font-size:%?28?%;font-weight:700;color:#333}.join-wrap .content uni-input[data-v-ba2b9988]{margin:0}.join-wrap .content .box-right[data-v-ba2b9988]{flex-grow:1}.join-wrap .content .input[data-v-ba2b9988]{margin:0;flex-grow:1}.hui[data-v-ba2b9988]{color:#999!important}.bghui[data-v-ba2b9988]{background-color:#eee!important}body.?%PAGE?%[data-v-ba2b9988]{background-color:#fff}',""]),t.exports=a},f09b:function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return r})),e.d(a,"a",(function(){return n}));var n={uniTransition:e("3fcce").default},i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return t.showPopup?e("v-uni-view",{staticClass:"uni-popup",on:{touchmove:function(a){a.stopPropagation(),a.preventDefault(),arguments[0]=a=t.$handleEvent(a),t.clear.apply(void 0,arguments)}}},[e("uni-transition",{attrs:{"mode-class":["fade"],styles:t.maskClass,duration:t.duration,show:t.showTrans},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onTap.apply(void 0,arguments)}}}),e("uni-transition",{attrs:{"mode-class":t.ani,styles:t.transClass,duration:t.duration,show:t.showTrans},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.onTap.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"uni-popup__wrapper-box",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.clear.apply(void 0,arguments)}}},[t._t("default")],2)],1)],1):t._e()},r=[]},f7d2:function(t,a,e){"use strict";var n=e("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i=n(e("3fcce")),r={name:"UniPopup",components:{uniTransition:i.default},props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},maskClick:{type:Boolean,default:!0}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0}}},watch:{type:{handler:function(t){switch(this.type){case"top":this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0};break;case"bottom":this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0};break;case"center":this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"};break}},immediate:!0}},created:function(){this.animation?this.duration=300:this.duration=0},methods:{clear:function(t){t.stopPropagation()},open:function(){var t=this;this.showPopup=!0,this.$nextTick((function(){clearTimeout(t.timer),t.timer=setTimeout((function(){t.showTrans=!0}),50)})),this.$emit("change",{show:!0})},close:function(t){var a=this;this.showTrans=!1,this.$nextTick((function(){clearTimeout(a.timer),a.timer=setTimeout((function(){a.$emit("change",{show:!1}),a.showPopup=!1}),300)}))},onTap:function(){this.maskClick&&this.close()}}};a.default=r}}]);