chunk-155d1d61.2384d8a7.js 15 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-155d1d61","chunk-3f544492","chunk-30c74116","chunk-30c913cb","chunk-2d0c1d57"],{"19ab":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=7)}([function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e];n[2]?t.push("@media "+n[2]+"{"+n[1]+"}"):t.push(n[1])}return t.join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r<this.length;r++){var s=this[r][0];"number"==typeof s&&(i[s]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(t,e){t.exports=function(t,e,n,i){var r,s=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(r=t,s=t.default);var o="function"==typeof s?s.options:s;if(e&&(o.render=e.render,o.staticRenderFns=e.staticRenderFns),n&&(o._scopeId=n),i){var l=Object.create(o.computed||null);Object.keys(i).forEach((function(t){var e=i[t];l[t]=function(){return e}})),o.computed=l}return{esModule:r,exports:s,options:o}}},function(t,e,n){function i(t){for(var e=0;e<t.length;e++){var n=t[e],i=u[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(s(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(s(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:a}}}}function r(){var t=document.createElement("style");return t.type="text/css",p.appendChild(t),t}function s(t){var e,n,i=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(i){if(h)return v;i.parentNode.removeChild(i)}if(m){var s=f++;i=d||(d=r()),e=a.bind(null,i,s,!1),n=a.bind(null,i,s,!0)}else i=r(),e=o.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}function a(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=g(e,r);else{var s=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(s,a[e]):t.appendChild(s)}}function o(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var l="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!l)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=n(19),u={},p=l&&(document.head||document.getElementsByTagName("head")[0]),d=null,f=0,h=!1,v=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n){h=n;var r=c(t,e);return i(r),function(e){for(var n=[],s=0;s<r.length;s++){var a=r[s],o=u[a.id];o.refs--,n.push(o)}e?(r=c(t,e),i(r)):r=[];for(s=0;s<n.length;s++){o=n[s];if(0===o.refs){for(var l=0;l<o.parts.length;l++)o.parts[l]();delete u[o.id]}}}};var g=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){n(17);var i=n(1)(n(4),n(14),"data-v-566a42b8",null);t.exports=i.exports},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),s=i(r),a=n(11),o=i(a);e.default={name:"splitPane",components:{Resizer:s.default,Pane:o.default},props:{minPercent:{type:Number,default:10},defaultPercent:{type:Number,default:50},split:{validator:function(t){return["vertical","horizontal"].indexOf(t)>=0},required:!0},className:String},computed:{userSelect:function(){return this.active?"none":""},cursor:function(){return this.active?"vertical"===this.split?"col-resize":"row-resize":""}},watch:{defaultPercent:function(t,e){this.percent=t}},data:function(){return{active:!1,hasMoved:!1,height:null,percent:this.defaultPercent,type:"vertical"===this.split?"width":"height",resizeType:"vertical"===this.split?"left":"top"}},methods:{onClick:function(){this.hasMoved||(this.percent=50,this.$emit("resize",this.percent))},onMouseDown:function(){this.active=!0,this.hasMoved=!1},onMouseUp:function(){this.active=!1},onMouseMove:function(t){if(0!==t.buttons&&0!==t.which||(this.active=!1),this.active){var e=0,n=t.currentTarget;if("vertical"===this.split)for(;n;)e+=n.offsetLeft,n=n.offsetParent;else for(;n;)e+=n.offsetTop,n=n.offsetParent;var i="vertical"===this.split?t.pageX:t.pageY,r="vertical"===this.split?t.currentTarget.offsetWidth:t.currentTarget.offsetHeight,s=Math.floor((i-e)/r*1e4)/100;s>this.minPercent&&s<100-this.minPercent&&(this.percent=s),this.$emit("resize",this.percent),this.hasMoved=!0}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"Pane",props:{className:String},data:function(){return{classes:[this.$parent.split,this.className].join(" "),percent:50}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{split:{validator:function(t){return["vertical","horizontal"].indexOf(t)>=0},required:!0},className:String},computed:{classes:function(){return["splitter-pane-resizer",this.split,this.className].join(" ")}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("split-pane",r.default)},function(t,e,n){e=t.exports=n(0)(),e.push([t.i,".splitter-pane-resizer[data-v-212fa2a4]{box-sizing:border-box;background:#000;position:absolute;opacity:.2;z-index:1;background-clip:padding-box}.splitter-pane-resizer.horizontal[data-v-212fa2a4]{height:11px;margin:-5px 0;border-top:5px solid hsla(0,0%,100%,0);border-bottom:5px solid hsla(0,0%,100%,0);cursor:row-resize;width:100%}.splitter-pane-resizer.vertical[data-v-212fa2a4]{width:11px;height:100%;margin-left:-5px;border-left:5px solid hsla(0,0%,100%,0);border-right:5px solid hsla(0,0%,100%,0);cursor:col-resize}",""])},function(t,e,n){e=t.exports=n(0)(),e.push([t.i,'.clearfix[data-v-566a42b8]:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.vue-splitter-container[data-v-566a42b8]{height:100%;position:relative}.vue-splitter-container-mask[data-v-566a42b8]{z-index:9999;width:100%;height:100%;position:absolute;top:0;left:0}',""])},function(t,e,n){e=t.exports=n(0)(),e.push([t.i,".splitter-pane.vertical.splitter-paneL[data-v-815c801c]{position:absolute;left:0;height:100%;padding-right:3px}.splitter-pane.vertical.splitter-paneR[data-v-815c801c]{position:absolute;right:0;height:100%;padding-left:3px}.splitter-pane.horizontal.splitter-paneL[data-v-815c801c]{position:absolute;top:0;width:100%}.splitter-pane.horizontal.splitter-paneR[data-v-815c801c]{position:absolute;bottom:0;width:100%;padding-top:3px}",""])},function(t,e,n){n(18);var i=n(1)(n(5),n(15),"data-v-815c801c",null);t.exports=i.exports},function(t,e,n){n(16);var i=n(1)(n(6),n(13),"data-v-212fa2a4",null);t.exports=i.exports},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.classes})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t,e,n,i=this,r=i.$createElement,s=i._self._c||r;return s("div",{staticClass:"vue-splitter-container clearfix",style:{cursor:i.cursor,userSelect:i.userSelect},on:{mouseup:i.onMouseUp,mousemove:i.onMouseMove}},[s("pane",{staticClass:"splitter-pane splitter-paneL",style:(t={},t[i.type]=i.percent+"%",t),attrs:{split:i.split}},[i._t("paneL")],2),i._v(" "),s("resizer",{style:(e={},e[i.resizeType]=i.percent+"%",e),attrs:{className:i.className,split:i.split},nativeOn:{mousedown:function(t){return i.onMouseDown(t)},click:function(t){return i.onClick(t)}}}),i._v(" "),s("pane",{staticClass:"splitter-pane splitter-paneR",style:(n={},n[i.type]=100-i.percent+"%",n),attrs:{split:i.split}},[i._t("paneR")],2),i._v(" "),i.active?s("div",{staticClass:"vue-splitter-container-mask"}):i._e()],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.classes},[t._t("default")],2)},staticRenderFns:[]}},function(t,e,n){var i=n(8);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(2)("a82a4610",i,!0)},function(t,e,n){var i=n(9);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(2)("033d59ad",i,!0)},function(t,e,n){var i=n(10);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(2)("6816c93c",i,!0)},function(t,e){t.exports=function(t,e){for(var n=[],i={},r=0;r<e.length;r++){var s=e[r],a=s[0],o=s[1],l=s[2],c=s[3],u={id:t+":"+r,css:o,media:l,sourceMap:c};i[a]?i[a].parts.push(u):n.push(i[a]={id:a,parts:[u]})}return n}}])}))},4874:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("a-card",{staticStyle:{"min-width":"800px","overflow-x":"auto"},attrs:{title:"树形结构图片翻页查看"}},[e("a-row",[e("a-col",{attrs:{span:5}},[e("a-tree",{style:{height:"500px","border-right":"2px solid #c1c1c1","overflow-y":"auto"},attrs:{showLine:"",treeData:t.treeData,expandedKeys:[t.expandedKeys[0]],selectedKeys:t.selectedKeys},on:{expand:t.onExpand,select:this.onSelect}})],1),e("a-col",{attrs:{span:19}},[e("a-row",{staticStyle:{"margin-top":"10px"}},[e("a-col",{staticStyle:{"padding-left":"2%","margin-bottom":"10px"},attrs:{span:24}},[e("a-button",{attrs:{type:"primary"},on:{click:t.prev}},[e("a-icon",{attrs:{type:"left"}}),t._v("上一页")],1),e("a-button",{staticStyle:{"margin-left":"8px"},attrs:{type:"primary"},on:{click:t.next}},[t._v("下一页"),e("a-icon",{attrs:{type:"right"}})],1),e("span",{staticStyle:{"margin-left":"15%","font-weight":"bolder"}},[t._v(t._s(t.navName))])],1),e("a-col",{staticStyle:{"padding-left":"2%"},attrs:{span:24}},[e("img",{attrs:{src:t.imgUrl,preview:""}})])],1)],1)],1)],1)},r=[],s=n("b76a"),a=n.n(s),o={name:"ImgTurnPage",components:{draggable:a.a},data:function(){return{description:"图片翻页",treeData:[{title:"第一页",key:"0-0",children:[{title:"1页",key:"0-0-0",imgUrl:"https://static.jeecg.com/upload/test/1_1588149743473.jpg"},{title:"2页",key:"0-0-1",imgUrl:"https://static.jeecg.com/upload/test/u27356337152749454924fm27gp0_1588149731821.jpg"}]},{title:"第二页",key:"0-1",children:[{title:"1页",key:"0-1-0",imgUrl:"https://static.jeecg.com/upload/test/u24454681402491956848fm27gp0_1588149712663.jpg"},{title:"2页",key:"0-1-1",imgUrl:"https://static.jeecg.com/upload/test/u8891206113801177793fm27gp0_1588149704459.jpg"}]},{title:"第三页",key:"0-2",children:[{title:"1页",key:"0-2-0",imgUrl:"https://static.jeecg.com/upload/test/1374962_1587621329085.jpg"}]}],selectedKeys:[],expandedKeys:[],sort:0,imgUrl:"",navName:"",imgList:[]}},created:function(){this.getImgList()},methods:{getImgList:function(){for(var t=0,e=0;e<this.treeData.length;e++)for(var n=0;n<this.treeData[e].children.length;n++)this.imgList.push({key:this.treeData[e].children[n].key,pkey:this.treeData[e].key,sort:t++,imgUrl:this.treeData[e].children[n].imgUrl,navName:this.treeData[e].title+"/"+this.treeData[e].children[n].title});this.setValue(this.imgList[this.sort])},onSelect:function(t,e){for(var n=0;n<this.imgList.length;n++)if(this.imgList[n].key===t[0]){this.sort=this.imgList[n].sort,this.setValue(this.imgList[n]);break}},onExpand:function(t){this.expandedKeys=[],null!==t&&""!==t&&(this.expandedKeys[0]=t[1])},prev:function(){0===this.sort?this.sort=this.imgList.length-1:this.sort=this.sort-1,this.setValue(this.imgList[this.sort])},next:function(){this.sort===this.imgList.length-1?this.sort=0:this.sort=this.sort+1,this.setValue(this.imgList[this.sort])},setValue:function(t){this.selectedKeys=[],this.imgUrl=t.imgUrl,this.selectedKeys[0]=t.key,this.expandedKeys[0]=t.pkey,this.navName=t.navName}}},l=o,c=n("2877"),u=Object(c["a"])(l,i,r,!1,null,"bfa7c60c",null);e["default"]=u.exports},"54d3":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("a-card",{staticStyle:{"min-width":"500px","overflow-x":"auto"}},[e("p",[t._v("我是左侧页面")]),e("img-turn-page")],1)},r=[],s=n("4874"),a={name:"SplitPanelAModal",components:{ImgTurnPage:s["default"]},data:function(){return{}},created:function(){},methods:{}},o=a,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,"045cdf58",null);e["default"]=c.exports},"5d1e":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("a-modal",{staticStyle:{top:"0px"},attrs:{title:"分屏",width:t.modalWidth,visible:t.visible,bodyStyle:t.bodyStyle,cancelText:"关闭"},on:{ok:t.handleOk,cancel:t.handleCancel}},[e("split-pane",{attrs:{"min-percent":20,"default-percent":50,split:"vertical"}},[e("template",{slot:"paneL"},[e("split-panel-a")],1),e("template",{slot:"paneR"},[e("split-panel-b")],1)],2)],1)},r=[],s=n("19ab"),a=n.n(s),o=n("54d3"),l=n("9606"),c={name:"SplitPanelModal",components:{splitPane:a.a,SplitPanelA:o["default"],SplitPanelB:l["default"]},data:function(){return{visible:!1,bodyStyle:{padding:"0",height:window.innerHeight-150+"px"},modalWidth:800}},created:function(){this.modalWidth=window.innerWidth-0},methods:{show:function(){this.visible=!0},handleOk:function(){},handleCancel:function(){this.visible=!1}}},u=c,p=n("2877"),d=Object(p["a"])(u,i,r,!1,null,"79db68e4",null);e["default"]=d.exports},7896:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("a-card",[e("a-button",{attrs:{type:"primary",icon:"desktop"},on:{click:t.splitPane}},[t._v("点我分屏")]),e("split-panel-modal",{ref:"splitPanelModal"})],1)},r=[],s=n("5d1e"),a={name:"SplitPanel",components:{SplitPanelModal:s["default"]},data:function(){return{description:"分屏"}},methods:{splitPane:function(){this.$refs.splitPanelModal.show()}}},o=a,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,"20bcecf1",null);e["default"]=c.exports},9606:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("a-card",{staticStyle:{"min-width":"500px","overflow-x":"auto"}},[e("p",[t._v("我是右侧页面")]),e("img-turn-page")],1)},r=[],s=n("4874"),a={name:"SplitPanelAModal",components:{ImgTurnPage:s["default"]},data:function(){return{}},created:function(){},methods:{}},o=a,l=n("2877"),c=Object(l["a"])(o,i,r,!1,null,"233ad4e8",null);e["default"]=c.exports}}]);