(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["admin-goods-category-index~admin-goods-edit-index~admin-mchRegister-mchRegister~admin-order-item-ind~98da5228"],{"07b6":function(t,e,i){var o=i("9a9f");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("026351a5",o,!0,{sourceMap:!1,shadowMode:!1})},2416:function(t,e,i){"use strict";var o=i("07b6"),n=i.n(o);n.a},"2611f":function(t,e,i){"use strict";var o=i("3a88"),n=i.n(o);n.a},"3a88":function(t,e,i){var o=i("923b");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("36125ea8",o,!0,{sourceMap:!1,shadowMode:!1})},"551f":function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("cc29")),a={categoryList:function(t,e){return n.default.GET("/video-goods/cat-list",t,e)},videoGoodsList:function(t,e){return n.default.GET("/video-goods/list",t,e)},videoGoodsDetail:function(t,e){return n.default.GET("/video-goods/detail",t,e)},videoGoodsCommentList:function(t,e){return n.default.GET("/video-goods/comment-list",t,e)},videoGoodsSubmitComment:function(t,e){return n.default.POST("/video-goods/submit-comment",t,e)},videoGoodsAuthorApply:function(t,e){return n.default.POST("/video-goods/author-apply",t,e)},videoAuditApplyConfig:function(t,e){return n.default.POST("/video-goods/audit-apply-config",t,e)},videoGoodsGoodsList:function(t,e){return n.default.GET("/video-goods/goods-list",t,e)},videoGoodsVote:function(t,e){return n.default.POST("/video-goods/vote",t,e)},videoGoodsCancelVote:function(t,e){return n.default.POST("/video-goods/cancel-vote",t,e)},videoGoodsSubmit:function(t,e){return n.default.POSTJSON("/video-goods/submit",t,e)},videoGoodsReport:function(t,e){return n.default.POST("/video-goods/report",t,e)},videoGoodsUserIndex:function(t,e){return n.default.GET("/video-goods/user-index",t,e)},videoGoodsUserVideoList:function(t,e){return n.default.GET("/video-goods/user-video-list",t,e)},videoGoodsFocusList:function(t,e){return n.default.GET("/video-goods/focus-list",t,e)},videoGoodsFansList:function(t,e){return n.default.GET("/video-goods/fans-list",t,e)},videoGoodsFocus:function(t,e){return n.default.POST("/video-goods/focus",t,e)},videoGoodsCancelFocus:function(t,e){return n.default.POST("/video-goods/cancel-focus",t,e)},videoGoodsCommentlike:function(t,e){return n.default.POST("/video-goods/comment-like",t,e)},videoGoodsChangeTop:function(t,e){return n.default.POST("/video-goods/change-top",t,e)},videoGoodsUserDelete:function(t,e){return n.default.POST("/video-goods/user-delete",t,e)},videoGoodsQrcode:function(t,e){return n.default.GET("/video-goods/qrcode",t,e)},uploadBase64:function(t,e){return n.default.POST("/upload/upload-base64",t,e)},videoAnalyze:function(t,e){return n.default.POST("/video-goods/video-analyze",t,e)},lookVideoSendIntegral:function(t,e){return n.default.GET("/video-goods/look-video-send-integral",t,e)}};e.default=a},"7ccc":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"file"},[i("v-uni-view",{staticClass:"list",class:[t.getClass]},[t._l(t.fileList,(function(e,o){return i("v-uni-view",{key:o,staticClass:"listItem"},[i("v-uni-view",{staticClass:"listBox"},[i("v-uni-view",{staticClass:"box"},[t.disabled?t._e():i("i",{staticClass:"iconfont icon-reeor",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.$emit("remove",o)}}}),"image"===t.fileMediatype?i("v-uni-image",{staticClass:"img",attrs:{src:e.url,mode:"aspectFill"},on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.see(o)}}}):i("v-uni-video",{ref:"video",refInFor:!0,staticClass:"video",attrs:{"custom-cache":!1,id:"video",controls:!0,src:e.url}})],1)],1)],1)})),!t.disabled&&t.fileList.length uni-view,[data-v-53dbab77] .u-form-item--right__content__slot > div,[data-v-53dbab77] .u-form-item--right__content__slot > span,[data-v-53dbab77] .u-form-item--right__content__slot > uni-text{width:100%}.list[data-v-53dbab77]{display:flex;flex-wrap:wrap;margin:%?-5?%}.list .listItem[data-v-53dbab77]{padding:%?5?%;width:33.33%}.list .listBox[data-v-53dbab77]{position:relative;padding-top:96%;background:#f2f2f2;border-radius:%?10?%;overflow:hidden}.list .box[data-v-53dbab77]{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;flex-direction:column}.list .img[data-v-53dbab77]{width:100%;height:100%}.icon-add-select[data-v-53dbab77]{font-size:%?80?%;color:#8c8c8c}.fileText[data-v-53dbab77]{padding-top:%?5?%;font-size:%?24?%;color:#8c8c8c}.videoStyle .listItem[data-v-53dbab77]{width:100%}.videoStyle .listBox[data-v-53dbab77]{padding-top:50%}uni-video[data-v-53dbab77]{width:100%;height:100%;background:#000}.icon-reeor[data-v-53dbab77]{position:absolute;right:%?5?%;top:%?5?%;z-index:9;font-size:%?50?%;color:#fff}',""]),t.exports=e},"9a9f":function(t,e,i){var o=i("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-4bdf73c1] .u-form-item--right__content__slot > uni-view,[data-v-4bdf73c1] .u-form-item--right__content__slot > div,[data-v-4bdf73c1] .u-form-item--right__content__slot > span,[data-v-4bdf73c1] .u-form-item--right__content__slot > uni-text{width:100%}.swiperBox[data-v-4bdf73c1]{position:relative}.swiper[data-v-4bdf73c1],\n.swiperItem[data-v-4bdf73c1]{width:80vw;height:70vh;background:#000}uni-image[data-v-4bdf73c1]{height:100%;display:block}.dots-num[data-v-4bdf73c1]{padding:%?2?% %?5?%;position:absolute;right:%?5?%;bottom:%?5?%;text-align:center;color:#fff}',""]),t.exports=e},ae3c:function(t,e,i){"use strict";i.r(e);var o=i("b0dc"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},b0dc:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("fd3c");var n=o(i("e46e")),a=o(i("551f")),d={components:{toolsPreviewImage:n.default},props:{fileList:{type:Array,default:function(){return[]}},fileMediatype:{type:String,default:"image"},disabled:{type:Boolean,default:!1},max:{type:Number,default:9},fileText:{type:String,default:""},sourceType:{type:Array,default:function(){return["album","camera"]}},sizeType:{type:Array,default:function(){return["original","compressed"]}}},computed:{getClass:function(){return"image"!==this.fileMediatype?"videoStyle":""},getFileText:function(){if(this.fileText)return this.fileText;var t;switch(this.fileMediatype){case"image":t=this.$t("file.images");break;case"video":t=this.$t("file.video");break}return t}},data:function(){return{current:0}},methods:{getVideoPoster:function(t){var e=this,i=document.createElement("video");i.setAttribute("crossOrigin","Anonymous"),i.setAttribute("src",t),i.setAttribute("width",400),i.setAttribute("height",500),i.setAttribute("preload","auto"),i.addEventListener("loadeddata",(function(){var t=document.createElement("canvas"),o=i.width,n=i.height;t.width=o,t.height=n,t.getContext("2d").drawImage(i,0,0,o,n);var d=t.toDataURL("image/jpeg");a.default.uploadBase64({base64img:d}).then((function(t){0==t.code&&e.$emit("successCover",t.url)})).catch((function(){}))})),i.addEventListener("error",(function(t){}))},see:function(t){this.current=t,uni.previewImage({current:t,urls:this.fileList.map((function(t){return t.url}))})},file:function(){var t=this,e=this.fileMediatype,i=this.max,o=this.sourceType,n=this.fileList,a=this.sizeType;switch(e){case"image":this.$utils.uploadImage(i-n.length,(function(e){t.$emit("success",e)}),(function(){}),a,o);break;case"video":uni.chooseVideo({count:i-n.length,sourceType:o,sizeType:a,success:function(e){if("chooseVideo:ok"==e.errMsg){var i=e.tempFilePath;t.$http.UPLOAD_VIDEO(i,(function(e){0==e.code?(t.$emit("success",e.url),t.getVideoPoster(e.url)):uni.showToast({title:e.msg,icon:"none",duration:2e3})}))}},file:function(t){}});break}}}};e.default=d},be91:function(t,e,i){"use strict";i.r(e);var o=i("7ccc"),n=i("ae3c");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("2611f");var d=i("828b"),s=Object(d["a"])(n["default"],o["b"],o["c"],!1,null,"53dbab77",null,!1,o["a"],void 0);e["default"]=s.exports},c3561:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return o}));var o={uPopup:i("650d").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("u-popup",{attrs:{mode:"center","z-index":121,"border-radius":"24","safe-area-inset-bottom":!0,maskCloseAble:!1},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[i("v-uni-view",{staticClass:"swiperBox"},[i("v-uni-swiper",{staticClass:"swiper",attrs:{current:t.index},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.change.apply(void 0,arguments)}}},t._l(t.list,(function(e,o){return i("v-uni-swiper-item",{key:o,staticClass:"swiperItem"},[i("v-uni-image",{attrs:{src:e.url,"fade-show":!0,mode:"heightFix"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPopup=!1}}})],1)})),1),i("v-uni-view",{staticClass:"dots-num"},[t._v(t._s(t.index+1)+"/"+t._s(t.list.length))])],1)],1)},a=[]},ddbe:function(t,e,i){"use strict";i.r(e);var o=i("f7b7"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},e46e:function(t,e,i){"use strict";i.r(e);var o=i("c3561"),n=i("ddbe");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("2416");var d=i("828b"),s=Object(d["a"])(n["default"],o["b"],o["c"],!1,null,"4bdf73c1",null,!1,o["a"],void 0);e["default"]=s.exports},f7b7:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa");var o={props:{list:{type:Array,default:function(){return[]}},current:{type:Number,default:0}},data:function(){return{showPopup:!1,index:0}},watch:{current:function(t){this.index=t}},methods:{change:function(t){this.index=t.detail.current}}};e.default=o}}]);