Files
starRiverProperty/frontend/front_message/static/js/chunk-3bd24601.e1377344.js
T
反编译工作区 0c56a3e599 chore(frontend): add static frontend build artifacts (portal, front_acs, etc.)
Made-with: Cursor

Former-commit-id: 571c9a99ee26d90505e550c287eb8ad8d743ff8d
2026-04-27 13:40:23 +08:00

1 line
7.2 KiB
JavaScript
Executable File
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(window["webpackJsonp_ninca-common-message-center"]=window["webpackJsonp_ninca-common-message-center"]||[]).push([["chunk-3bd24601"],{"27cf":function(t,e,i){"use strict";i.r(e);var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",t._g({ref:"wrap",staticClass:"cw-bigimg",class:{"cw-border":t.border,"is-zoom":t.isZoom},on:{click:function(e){return e.stopPropagation(),t.imgClick(e)}}},t.$listeners),[i("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.src,expression:"src"}],ref:"img",style:{width:t.width||t.cwidth,height:t.height||t.cheight},on:{load:t.load}}),t.maskText?i("div",{staticClass:"mask cw-no-wrap",attrs:{title:t.maskText}},[t._v(t._s(t.maskText))]):t._e(),t.isZoom?i("BigImg",t._b({ref:"bigimg",attrs:{src:t.imgSrc,show:t.showPic,rect:t.rect},on:{"update:show":function(e){t.showPic=e}}},"BigImg",t.$attrs,!1)):t._e()],1)},n=[],a=(i("d3b7"),i("96cf"),i("1da1")),s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{on:{"before-enter":t.beforeEnter,enter:t.enter,leave:t.leave}},[t.show?i("div",{ref:"big_img_div",staticClass:"big-img-wrapper-div",on:{click:t.close}},[i("img",{ref:"big_img",staticClass:"big-img-wrapper",attrs:{src:t.src}})]):t._e()])},o=[],c=(i("a9e3"),{props:{src:{type:String,default:""},rect:{type:Object,default:{}},wspace:{type:Number,default:100},hspace:{type:Number,default:100},show:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0}},data:function(){return{width:600,height:552}},mounted:function(){this.appendToBody&&this.show&&document.body.appendChild(this.$el)},watch:{show:function(t){t?this.appendToBody&&document.body.appendChild(this.$el):this.removeElement()}},destroyed:function(){this.removeElement()},methods:{removeElement:function(){var t=this;this.appendToBody&&this.$el&&this.$el.parentNode&&setTimeout((function(){t.$el.parentNode.removeChild(t.$el)}),200)},close:function(){this.$emit("update:show",!1)},beforeEnter:function(t){var e=this;this.$nextTick((function(){t=e.$refs.big_img,e.$refs.big_img_div.style["backgroundColor"]="rgba(0, 0, 0, 0.9)",t.style["left"]=e.rect.left+"px",t.style["top"]=e.rect.top+"px",t.style["width"]=e.rect.width+"px",t.style["height"]=e.rect.height+"px"}))},enter:function(t,e){var i=this;this.$nextTick((function(){t=i.$refs.big_img;var r=document.body.clientWidth,n=document.body.clientHeight,a=i.hspace<1?n*i.hspace:i.hspace,s=i.wspace<1?r*i.wspace:i.wspace;i.width=r-s,i.height=i.width*i.rect.height/i.rect.width,i.height>n-a&&(i.height=n-a,i.width=i.height*i.rect.width/i.rect.height),i.$refs.big_img_div.style["backgroundColor"]="rgba(0, 0, 0, 0.3)",t.style["left"]=r/2-i.width/2+"px",t.style["top"]=n/2-i.height/2+"px",t.style["width"]=i.width+"px",t.style["height"]=i.height+"px",t.style["transition"]="all 0.4s",t.style["webkitTransition"]="all 0.4s",t.style["mozTransition"]="all 0.4s",setTimeout((function(){e()}),400)}))},leave:function(t,e){t=this.$refs.big_img,this.$refs.big_img_div.style["backgroundColor"]="rgba(0, 0, 0, 0)",t.style["left"]=this.rect.left+"px",t.style["top"]=this.rect.top+"px",t.style["width"]=this.rect.width+"px",t.style["height"]=this.rect.height+"px",t.style["transition"]="all 0.2s",t.style["webkitTransition"]="all 0.2s",t.style["mozTransition"]="all 0.2s",setTimeout((function(){e()}),200)}}}),h=c,l=(i("2e94"),i("2877")),g=Object(l["a"])(h,s,o,!1,null,"67f4b8d9",null),d=g.exports,u={name:"CwBigimg",mixins:[],components:{BigImg:d},props:{src:{type:String,default:""},largeSrc:{type:String,default:""},isAutoScaleLarge:{type:Boolean,default:!0},width:String,height:String,maskText:String,border:{type:Boolean,default:!0},isZoom:{type:Boolean,default:!0}},data:function(){return{rect:{},cwidth:"auto",cheight:"auto",imgSrc:"",imgSrcTemp:"",lazysrc:"",showPic:!1}},created:function(){},mounted:function(){},computed:{},watch:{},methods:{load:function(t){var e=t.target||{},i=e.naturalWidth,r=e.naturalHeight;if(this.imgSrcTemp=t.target.src,!(i<=1||r<=1)){var n=this.calc(i,r),a=n.width,s=n.height;this.cwidth=a+"px",this.cheight=s+"px"}},calc:function(t,e){if(!this.$refs.wrap)return{width:t,height:e};var i=this.$refs.wrap.getBoundingClientRect()||{},r=i.width,n=i.height,a=i.left,s=i.top,o=r/n,c=t/e;if(o<=c){var h=e*r/t;return{width:r,height:h,left:a,top:(n-h)/2+s}}if(o>c){var l=t*n/e;return{width:l,height:n,left:(r-l)/2+a,top:s}}},loadImg:function(t){var e=this;return new Promise((function(i,r){var n=new Image,a=e.$loading({lock:!0,text:"加载中",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"});n.onload=function(){a.close(),i(n)},n.onerror=function(){a.close(),r("图片加载出错")},n.src=t}))},show:function(){var t=arguments,e=this;return Object(a["a"])(regeneratorRuntime.mark((function i(){var r,n,a,s,o,c,h,l,g,d,u,f;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(t.length>0&&void 0!==t[0]?t[0]:{},r=t.length>1&&void 0!==t[1]&&t[1],n=e.$refs.img&&e.$refs.img.getBoundingClientRect()||{},a=n.width,s=n.height,o=n.top,c=n.left,!(!r||e.isAutoScaleLarge&&r)||!e.largeSrc){i.next=21;break}return i.prev=4,i.next=7,e.loadImg(e.largeSrc);case 7:h=i.sent,l=e.calc(h.width,h.height),g=l.width,d=l.height,u=l.left,f=l.top,a=g,s=d,c=u,o=f,e.imgSrc=h.src,i.next=19;break;case 16:i.prev=16,i.t0=i["catch"](4),e.$message.error("图片加载失败");case 19:i.next=22;break;case 21:e.imgSrc=e.imgSrcTemp;case 22:e.rect={width:a,height:s,top:o,left:c},e.showPic=!0;case 24:case"end":return i.stop()}}),i,null,[[4,16]])})))()},imgClick:function(t){this.$emit("imgClick"),this.isZoom&&this.show(t,!0)}}},f=u,p=(i("56a4"),Object(l["a"])(f,r,n,!1,null,"cce7def8",null));e["default"]=p.exports},"2e94":function(t,e,i){"use strict";var r=i("8a1a"),n=i.n(r);n.a},"56a4":function(t,e,i){"use strict";var r=i("581d"),n=i.n(r);n.a},"581d":function(t,e,i){},5899:function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"58a8":function(t,e,i){var r=i("1d80"),n=i("5899"),a="["+n+"]",s=RegExp("^"+a+a+"*"),o=RegExp(a+a+"*$"),c=function(t){return function(e){var i=String(r(e));return 1&t&&(i=i.replace(s,"")),2&t&&(i=i.replace(o,"")),i}};t.exports={start:c(1),end:c(2),trim:c(3)}},"8a1a":function(t,e,i){},a9e3:function(t,e,i){"use strict";var r=i("83ab"),n=i("da84"),a=i("94ca"),s=i("6eeb"),o=i("5135"),c=i("c6b6"),h=i("7156"),l=i("c04e"),g=i("d039"),d=i("7c73"),u=i("241c").f,f=i("06cf").f,p=i("9bf2").f,m=i("58a8").trim,w="Number",b=n[w],v=b.prototype,y=c(d(v))==w,x=function(t){var e,i,r,n,a,s,o,c,h=l(t,!1);if("string"==typeof h&&h.length>2)if(h=m(h),e=h.charCodeAt(0),43===e||45===e){if(i=h.charCodeAt(2),88===i||120===i)return NaN}else if(48===e){switch(h.charCodeAt(1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+h}for(a=h.slice(2),s=a.length,o=0;o<s;o++)if(c=a.charCodeAt(o),c<48||c>n)return NaN;return parseInt(a,r)}return+h};if(a(w,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var _,k=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof k&&(y?g((function(){v.valueOf.call(i)})):c(i)!=w)?h(new b(x(e)),i,k):x(e)},$=r?u(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),T=0;$.length>T;T++)o(b,_=$[T])&&!o(k,_)&&p(k,_,f(b,_));k.prototype=v,v.constructor=k,s(n,w,k)}}}]);