diff --git a/src/components/townDetail/bottomRight.vue b/src/components/townDetail/bottomRight.vue index 1775ec5..1006af4 100644 --- a/src/components/townDetail/bottomRight.vue +++ b/src/components/townDetail/bottomRight.vue @@ -75,7 +75,7 @@ const config3 = reactive({ // 2, 3, 4, 10, 3 // ], rowNum: 8, - columnWidth: [50, 190, 100, 200], + columnWidth: [50, 170, 130, 200], data: [] }) diff --git a/src/components/townDetail/topRight.vue b/src/components/townDetail/topRight.vue index 334c1f4..0705792 100644 --- a/src/components/townDetail/topRight.vue +++ b/src/components/townDetail/topRight.vue @@ -48,7 +48,7 @@ const config = reactive({ oddRowBGC: "#001C2E", evenRowBGC: "#001C2E", rowNum: 10, - columnWidth: [60, 190, 100, 200], + columnWidth: [50, 170, 130, 200], data: [] }) diff --git a/yusi/assets/DDSJ-QxPmtLGV.png b/static/town/DDSJ-1.png similarity index 100% rename from yusi/assets/DDSJ-QxPmtLGV.png rename to static/town/DDSJ-1.png diff --git a/static/town/DDSJ.png b/static/town/DDSJ.png index ab871ae..be70ee9 100644 Binary files a/static/town/DDSJ.png and b/static/town/DDSJ.png differ diff --git a/yusi/assets/PHBSJ-60KfLsWy.png b/static/town/PHBSJ-1.png similarity index 100% rename from yusi/assets/PHBSJ-60KfLsWy.png rename to static/town/PHBSJ-1.png diff --git a/static/town/PHBSJ.png b/static/town/PHBSJ.png index dfcff53..55f2fa7 100644 Binary files a/static/town/PHBSJ.png and b/static/town/PHBSJ.png differ diff --git a/yusi/assets/Bill-nBvLz9Se.js b/yusi/assets/Bill-fnXwdR2t.js similarity index 97% rename from yusi/assets/Bill-nBvLz9Se.js rename to yusi/assets/Bill-fnXwdR2t.js index 96a23ca..4dccc1d 100644 --- a/yusi/assets/Bill-nBvLz9Se.js +++ b/yusi/assets/Bill-fnXwdR2t.js @@ -1 +1 @@ -import{b as i,f as o,d as t,t as s}from"./index-wbVDxtZe.js";const a="/yusi/assets/bg-sv6D9nMu.png",e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUg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sdwAAAAASUVORK5CYII=",c={style:{position:"relative","margin-right":"21px","margin-top":"20px"}},n=t("img",{src:a,style:{width:"100%",position:"absolute",height:"50px"},alt:""},null,-1),g=t("img",{src:e,style:{position:"absolute"},alt:""},null,-1),r=["src"],d={style:{position:"relative",padding:"0 10px",top:"5px","margin-left":"45px"}},l={style:{"font-size":"16px","font-family":"FZCYJ",color:"#A9EDFC"}},x={style:{"font-size":"12px",color:"#8395A4","margin-top":"5px"}},E={__name:"Bill",props:{data:Object},setup(A){return(p,w)=>(i(),o("div",c,[n,g,t("img",{src:`/static/a/${A.data.icon}.png`,style:{position:"absolute",top:"50%",transform:"translate(15px,-30%)"},alt:""},null,8,r),t("div",d,[t("div",l,s(A.data.num),1),t("div",x,s(A.data.text),1)])]))}};export{E as _}; +import{b as i,f as o,d as t,t as s}from"./index-5TCV-P8c.js";const a="/yusi/assets/bg-sv6D9nMu.png",e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAYAAAA6oTAqAAAGMklEQVRogdWaSW9cRRDH//PmjT0exwkBYsIFAcE3kOBA2GQIu5AixAUBMtuX4FPwBbihHKxIiAtCCiIg9ohAJLYDFwd8QIQtgSSOx+PZjAr9K/pT9Dzbs8RDS6XRvJn3un6vqrqru7q0sFTHkFoO4CYANwO4HsAsgBkAFQCTANYBtACsAPgNwK8AfgCwDKDTjwqLc7V/fc8H5LD7bwVwEMAtALoAmlS6TcXt2gaAEoAMQBnADQAOAHiQ1w3qJIDveV/fyvTTqgDmARyigmsAzgJoCEyHsiEwJcKUabEJPms/gOcI/gGAE3zWSGFMmXsBHGbHlwDUCbNGkCbf7mYwOWFMpijmNw8BeATA2wA+571Dh7kWwEsA9gG4SBCHaQSrOEw3AZMJjFqnSphVALsAPAngbgBHAJwbJswdAJ6lwr8LzCot0pAAV6t0w5tVGAWaJMwUX46/oD0AXgFwFMC3w4Axkz8O4DzlQsIqDqKxoi6mMOpqHjsK5C/Hn7sXwPOMq3cHgXmKMWJm/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irJbrFQLc1I/g0PKpfIwd3jcKoTrY9ePLM7V9CUmSxq2af4mgGfCii6+wQY/W6EkUbSoi/WZkrwIda2qWERB9vLzaCxn9IIBx+29rGc6SJbw6dTWbT+Vs6Jgd2tcTXkPwFcppYvKgMf5Vg6GbLUSJrFYQesklt8KEzPgPORYBqPBriAne5UAN4MB3c1Wog9IxxPScT2ci4k7POpuveIkDzO7xYODaJy8P2i1GTwpYXH0tED4G9SSRzMAxV2eaJU8WKUqQa+xYt/f8JRlUBhrXwL4CcCLrFjpaYp6qOE0E7VJb7FkPhHixGd2H8Gsyv0aT0Bt2rZz3OQXAK+yuPMEO40FqehuvSyTh6FYg97EfjvGeW8kZ2dA5T6myS2O7ucbrCcOOLQLLJMK+hoV/4Sy7YNw/R7RqjP1saC8HcCdrCa0etR0FCam9BWeNzvF8zH/JI39tEEPz1nHpoSJKWYVBRPbv7bzBDYK+VDuw7eV7sxlbVAxCBN7AYM1AH8DPEPdvBM7sdwAAAAASUVORK5CYII=",c={style:{position:"relative","margin-right":"21px","margin-top":"20px"}},n=t("img",{src:a,style:{width:"100%",position:"absolute",height:"50px"},alt:""},null,-1),g=t("img",{src:e,style:{position:"absolute"},alt:""},null,-1),r=["src"],d={style:{position:"relative",padding:"0 10px",top:"5px","margin-left":"45px"}},l={style:{"font-size":"16px","font-family":"FZCYJ",color:"#A9EDFC"}},x={style:{"font-size":"12px",color:"#8395A4","margin-top":"5px"}},E={__name:"Bill",props:{data:Object},setup(A){return(p,w)=>(i(),o("div",c,[n,g,t("img",{src:`/static/a/${A.data.icon}.png`,style:{position:"absolute",top:"50%",transform:"translate(15px,-30%)"},alt:""},null,8,r),t("div",d,[t("div",l,s(A.data.num),1),t("div",x,s(A.data.text),1)])]))}};export{E as _}; diff --git a/yusi/assets/Businesses-hvS7FH1j.js b/yusi/assets/Businesses-5oXEjhU8.js similarity index 98% rename from yusi/assets/Businesses-hvS7FH1j.js rename to yusi/assets/Businesses-5oXEjhU8.js index a522887..21734b9 100644 --- a/yusi/assets/Businesses-hvS7FH1j.js +++ b/yusi/assets/Businesses-5oXEjhU8.js @@ -1 +1 @@ -import{_ as m}from"./TABBG-WY6uizpD.js";import{_ as f,i as v,a as B,u as $,r as D,o as E,j as b,b as g,f as h,k as _,w as C,d as a,z as k,e as w,h as I,n as N,x as S,y as V,B as G}from"./index-wbVDxtZe.js";import{m as L,h as R}from"./api-0UIivoJs.js";import"./axios-QLjAsgXu.js";const j=n=>(S("data-v-bc6a521c"),n=n(),V(),n),z={key:0,class:"center"},A={key:1,class:"box"},T={class:"img-cls"},M=j(()=>a("img",{src:m,style:{width:"100%",height:"100%",position:"absolute"},alt:""},null,-1)),O={class:"content"},q={class:"btns"},F={key:0,class:"table"},H={__name:"Businesses",setup(n){const y=v(!1),o=B();$();let d=v(0),u={};const s=t=>{i.data.splice(0,i.data.length),d.value=t,L({...o.area,status:d.value,limit:50}).then(e=>{u=e.data.list,p(e.data.list)})},x=t=>{t.columnIndex==10&&R({mer_id:u[t.rowIndex].mer_id,...o.area}).then(e=>{o.storeLogin(e.data),G.push("/storeLogin"),console.log(o.userInfo)})},p=t=>{t.forEach((e,l)=>{var c,r;l%2==0?i.data.push([`
{i(),ju(this)},{checked:t!==!1});return}else i()}const a=this.parent;!a||a.level===0||r||ju(a)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const r=this.store.props;let o="children";return r&&(o=r.children||"children"),n[o]===void 0&&(n[o]=null),t&&!n[o]&&(n[o]=[]),n[o]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(a=>a.data),r={},o=[];t.forEach((a,l)=>{const s=a[fl];!!s&&n.findIndex(c=>c[fl]===s)>=0?r[s]={index:l,data:a}:o.push({index:l,data:a})}),this.store.lazy||n.forEach(a=>{r[a[fl]]||this.removeChildByData(a)}),o.forEach(({index:a,data:l})=>{this.insertChild({data:l},a)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const r=o=>{this.childNodes=[],this.doCreateChildren(o,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,o)};this.store.load(this,r)}else t&&t.call(this)}};class vie{constructor(t){this.currentNode=null,this.currentNodeKey=null;for(const n in t)gt(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new Xh({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,r=this.lazy,o=function(a){const l=a.root?a.root.childNodes:a.childNodes;if(l.forEach(s=>{s.visible=n.call(s,t,s.data,s),o(s)}),!a.visible&&l.length){let s=!0;s=!l.some(i=>i.visible),a.root?a.root.visible=s===!1:a.visible=s===!1}t&&a.visible&&!a.isLeaf&&!r&&a.expand()};o(this)}setData(t){t!==this.root.data?(this.root.setData(t),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(t){if(t instanceof Xh)return t;const n=ct(t)?ug(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){const r=this.getNode(n);r.parent.insertBefore({data:t},r)}insertAfter(t,n){const r=this.getNode(n);r.parent.insertAfter({data:t},r)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const r=n?this.getNode(n):this.root;r&&r.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(r=>{const o=n[r];o&&o.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){(this.defaultCheckedKeys||[]).includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;!t||!t.data||(n?t.key!==void 0&&(this.nodesMap[t.key]=t):this.nodesMap[t.id]=t)}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(r=>{this.deregisterNode(r)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const r=[],o=function(a){(a.root?a.root.childNodes:a.childNodes).forEach(s=>{(s.checked||n&&s.indeterminate)&&(!t||t&&s.isLeaf)&&r.push(s.data),o(s)})};return o(this),r}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(r){(r.root?r.root.childNodes:r.childNodes).forEach(a=>{a.indeterminate&&t.push(a.data),n(a)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const r in n)gt(n,r)&&t.push(n[r]);return t}updateChildren(t,n){const r=this.nodesMap[t];if(!r)return;const o=r.childNodes;for(let a=o.length-1;a>=0;a--){const l=o[a];this.remove(l.data)}for(let a=0,l=n.length;a
",y=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(s,c,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],c,null,v)})},e.prototype._showSeriesItemTooltip=function(t,a,n){var i=this._ecModel,o=it(a),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,v=u.getData(h),c=this._renderMode,d=t.positionDefault,p=ns([v.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(f,h),m=new Nv;y.marker=m.makeTooltipMarker("item",hi(y.color),c);var _=l_(u.formatTooltip(f,!1,h)),S=p.get("order"),w=p.get("valueFormatter"),x=_.frag,b=x?d_(w?B({valueFormatter:w},x):x,m,c,S,i.get("useUTC"),p.get("textStyle")):_.text,T="item_"+u.name+"_"+f;this._showOrMove(p,function(){this._showTooltipContent(p,b,y,T,t.offsetX,t.offsetY,t.position,t.target,m)}),n({type:"showTip",dataIndexInside:f,dataIndex:v.getRawIndex(f),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,a,n){var i=it(a),o=i.tooltipConfig,s=o.option||{};if($(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(i.componentMainType,i.componentIndex);f&&u.push(f),u.push({formatter:s.content});var h=t.positionDefault,v=ns(u,this._tooltipModel,h?{position:h}:null),c=v.get("content"),d=Math.random()+"",p=new Nv;this._showOrMove(v,function(){var g=rt(v.get("formatterParams")||{});this._showTooltipContent(v,c,g,d,t.offsetX,t.offsetY,t.position,a,p)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,a,n,i,o,s,l,u,f){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var v=t.get("formatter");l=l||t.get("position");var c=a,d=this._getNearestPoint([o,s],n,t.get("trigger"),t.get("borderColor")),p=d.color;if(v)if($(v)){var g=t.ecModel.get("useUTC"),y=z(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;c=v,m&&(c=_h(y.axisValue,c,g)),c=OA(c,n,!0)}else if(K(v)){var _=U(function(S,w){S===this._ticket&&(h.setContent(w,f,t,p,l),this._updatePosition(t,l,o,s,h,n,u))},this);this._ticket=i,c=v(n,i,_)}else c=v;h.setContent(c,f,t,p,l),h.show(t,p),this._updatePosition(t,l,o,s,h,n,u)}},e.prototype._getNearestPoint=function(t,a,n,i){if(n==="axis"||z(a))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!z(a))return{color:i||a.color||a.borderColor}},e.prototype._updatePosition=function(t,a,n,i,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();a=a||t.get("position");var h=o.getSize(),v=t.get("align"),c=t.get("verticalAlign"),d=l&&l.getBoundingRect().clone();if(l&&d.applyTransform(l.transform),K(a)&&(a=a([n,i],s,o.el,d,{viewSize:[u,f],contentSize:h.slice()})),z(a))n=H(a[0],u),i=H(a[1],f);else if(tt(a)){var p=a;p.width=h[0],p.height=h[1];var g=te(p,{width:u,height:f});n=g.x,i=g.y,v=null,c=null}else if($(a)&&l){var y=nY(a,d,h,t.get("borderWidth"));n=y[0],i=y[1]}else{var y=rY(n,i,o,u,f,v?null:20,c?null:20);n=y[0],i=y[1]}if(v&&(n-=Aw(v)?h[0]/2:v==="right"?h[0]:0),c&&(i-=Aw(c)?h[1]/2:c==="bottom"?h[1]:0),oI(t)){var y=aY(n,i,o,u,f);n=y[0],i=y[1]}o.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,a){var n=this._lastDataByCoordSys,i=this._cbParamsList,o=!!n&&n.length===t.length;return o&&C(n,function(s,l){var u=s.dataByAxis||[],f=t[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&C(u,function(v,c){var d=h[c]||{},p=v.seriesDataIndices||[],g=d.seriesDataIndices||[];o=o&&v.value===d.value&&v.axisType===d.axisType&&v.axisId===d.axisId&&p.length===g.length,o&&C(p,function(y,m){var _=g[m];o=o&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),i&&C(v.seriesDataIndices,function(y){var m=y.seriesIndex,_=a[m],S=i[m];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=a,!!o},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,a){At.node||!a.getDom()||(Js(this,"_updatePosition"),this._tooltipContent.dispose(),Vp("itemTooltip",a))},e.type="tooltip",e}(Wt);function ns(r,e,t){var a=e.ecModel,n;t?(n=new Nt(t,a,a),n=new Nt(e.option,n,a)):n=e;for(var i=r.length-1;i>=0;i--){var o=r[i];o&&(o instanceof Nt&&(o=o.get("tooltip",!0)),$(o)&&(o={formatter:o}),o&&(n=new Nt(o,n,a)))}return n}function Tw(r,e){return r.dispatchAction||U(e.dispatchAction,e)}function rY(r,e,t,a,n,i,o){var s=t.getSize(),l=s[0],u=s[1];return i!=null&&(r+l+i+2>a?r-=l+i:r+=i),o!=null&&(e+u+o>n?e-=u+o:e+=o),[r,e]}function aY(r,e,t,a,n){var i=t.getSize(),o=i[0],s=i[1];return r=Math.min(r+o,a)-o,e=Math.min(e+s,n)-s,r=Math.max(r,0),e=Math.max(e,0),[r,e]}function nY(r,e,t,a){var n=t[0],i=t[1],o=Math.ceil(Math.SQRT2*a)+8,s=0,l=0,u=e.width,f=e.height;switch(r){case"inside":s=e.x+u/2-n/2,l=e.y+f/2-i/2;break;case"top":s=e.x+u/2-n/2,l=e.y-i-o;break;case"bottom":s=e.x+u/2-n/2,l=e.y+f+o;break;case"left":s=e.x-n-o,l=e.y+f/2-i/2;break;case"right":s=e.x+u+o,l=e.y+f/2-i/2}return[s,l]}function Aw(r){return r==="center"||r==="middle"}function iY(r,e,t){var a=bg(r).queryOptionMap,n=a.keys()[0];if(!(!n||n==="series")){var i=gl(e,n,a.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var s=t.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var f=it(u).tooltipConfig;if(f&&f.name===r.name)return l=u,!0}),l)return{componentMainType:n,componentIndex:o.componentIndex,el:l}}}}const oY=eY;function sY(r){yt(El),r.registerComponentModel(G7),r.registerComponentView(oY),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Zt),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Zt)}var lY=["rect","polygon","keep","clear"];function uY(r,e){var t=Rt(r?r.brush:[]);if(t.length){var a=[];C(t,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(a=a.concat(u))});var n=r&&r.toolbox;z(n)&&(n=n[0]),n||(n={feature:{}},r.toolbox=[n]);var i=n.feature||(n.feature={}),o=i.brush||(i.brush={}),s=o.type||(o.type=[]);s.push.apply(s,a),fY(s),e&&!s.length&&s.push.apply(s,lY)}}function fY(r){var e={};C(r,function(t){e[t]=1}),r.length=0,C(e,function(t,a){r.push(a)})}var Cw=C;function Dw(r){if(r){for(var e in r)if(r.hasOwnProperty(e))return!0}}function $p(r,e,t){var a={};return Cw(e,function(i){var o=a[i]=n();Cw(r[i],function(s,l){if(fe.isValidType(l)){var u={type:l,visual:s};t&&t(u,i),o[l]=new fe(u),l==="opacity"&&(u=rt(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new fe(u))}})}),a;function n(){var i=function(){};i.prototype.__hidden=i.prototype;var o=new i;return o}}function fI(r,e,t){var a;C(t,function(n){e.hasOwnProperty(n)&&Dw(e[n])&&(a=!0)}),a&&C(t,function(n){e.hasOwnProperty(n)&&Dw(e[n])?r[n]=rt(e[n]):delete r[n]})}function hY(r,e,t,a,n,i){var o={};C(r,function(h){var v=fe.prepareVisualTypes(e[h]);o[h]=v});var s;function l(h){return ty(t,s,h)}function u(h,v){CC(t,s,h,v)}i==null?t.each(f):t.each([i],f);function f(h,v){s=i==null?h:v;var c=t.getRawDataItem(s);if(!(c&&c.visualMap===!1))for(var d=a.call(n,h),p=e[d],g=o[d],y=0,m=g.length;y