Commit ab9887ce authored by 郭铭瑶's avatar 郭铭瑶 🤘

调整

parent df3e510a
<!DOCTYPE html><html id=html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta http-equiv=X-UA-Compatible content="IE=edge, chrome=1"><title>浦东新区智慧物业管理微平台</title><style>html {
font-size: 1.6vh;
}</style><script src=./static/jquery.min.js></script><link href=./static/css/app.42de29f38d4e3fabf92f667fe3ab9243.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.d2ebd340ffbeab4c550b.js></script><script type=text/javascript src=./static/js/vendor.734c877f267ad5a525cf.js></script><script type=text/javascript src=./static/js/app.2fe720d0fc10931003da.js></script></body></html>
\ No newline at end of file
}</style><script src=./static/jquery.min.js></script><link href=./static/css/app.1368edf550729bc88feae419ae5d8608.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.47276cd096cd116dcfa7.js></script><script type=text/javascript src=./static/js/vendor.734c877f267ad5a525cf.js></script><script type=text/javascript src=./static/js/app.cb51071944332ccd8af9.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
webpackJsonp([14],{MPaU:function(t,e){},TNmO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),a=n.n(i),o={name:"MonitorTitle",props:{bgImg:{type:String},hideDate:{type:Boolean,default:!1},hideTime:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},color:{type:String},size:{type:String,default:"2.8rem"}},data:function(){return{openDatePicker:!1,timer:null,time:null,style:{}}},mounted:function(){var t=this;this.hideTime||(this.timer=setInterval(function(){t.time=t.$moment().format("dddd")+" "+t.$moment().format("LTS")},1e3)),this.color&&(this.style={"text-shadow":"0 0.2rem 0.4rem "+this.color,color:this.color,"background-image":"linear-gradient(to bottom, #fff, "+this.color+")"}),this.style=a()({},this.style,{"font-size":this.size})},beforeDestroy:function(){clearInterval(this.timer),this.timer=null},computed:{curDate:function(){var t=this.$store.state.curDate;return t?this.$moment(t).format("LL"):this.$moment().format("LL")},options:function(){var t=this;return{disabledDate:function(e){return t.$moment(e).isAfter(t.$moment())}}}},methods:{handleDateChange:function(t){this.$store.commit("SET_CURDATE",t),this.openDatePicker=!1}}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-title"},[t.hideDate?t._e():n("span",{staticClass:"moment date",on:{mouseenter:function(e){t.returnopenDatePicker=!0},mouseleave:function(e){t.openDatePicker=!1}}},[n("DatePicker",{staticClass:"date-picker",attrs:{value:t.curDate,options:t.options,open:t.editable&&t.openDatePicker,type:"date"},on:{"on-change":t.handleDateChange}},[n("span",[t._v(t._s(t.curDate))])])],1),t._v(" "),t.hideTime?t._e():n("span",{staticClass:"moment time"},[t._v(t._s(t.time))]),t._v(" "),n("img",{attrs:{src:t.bgImg,draggable:"false"}}),t._v(" "),n("p",{style:t.style},[t._t("default")],2)])},staticRenderFns:[]};var s=n("VU/8")(o,r,!1,function(t){n("MPaU")},"data-v-308317a7",null);e.default=s.exports}});
//# sourceMappingURL=14.24e1ca32fd5bb23e815d.js.map
\ No newline at end of file
webpackJsonp([15],{MPaU:function(t,e){},TNmO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),a=n.n(i),o={name:"MonitorTitle",props:{bgImg:{type:String},hideDate:{type:Boolean,default:!1},hideTime:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},color:{type:String},size:{type:String,default:"2.8rem"}},data:function(){return{openDatePicker:!1,timer:null,time:null,style:{}}},mounted:function(){var t=this;this.hideTime||(this.timer=setInterval(function(){t.time=t.$moment().format("dddd")+" "+t.$moment().format("LTS")},1e3)),this.color&&(this.style={"text-shadow":"0 0.2rem 0.4rem "+this.color,color:this.color,"background-image":"linear-gradient(to bottom, #fff, "+this.color+")"}),this.style=a()({},this.style,{"font-size":this.size})},beforeDestroy:function(){clearInterval(this.timer),this.timer=null},computed:{curDate:function(){var t=this.$store.state.curDate;return t?this.$moment(t).format("LL"):this.$moment().format("LL")},options:function(){var t=this;return{disabledDate:function(e){return t.$moment(e).isAfter(t.$moment())}}}},methods:{handleDateChange:function(t){this.$store.commit("SET_CURDATE",t),this.openDatePicker=!1}}},r={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"monitor-title"},[t.hideDate?t._e():n("span",{staticClass:"moment date",on:{mouseenter:function(e){t.returnopenDatePicker=!0},mouseleave:function(e){t.openDatePicker=!1}}},[n("DatePicker",{staticClass:"date-picker",attrs:{value:t.curDate,options:t.options,open:t.editable&&t.openDatePicker,type:"date"},on:{"on-change":t.handleDateChange}},[n("span",[t._v(t._s(t.curDate))])])],1),t._v(" "),t.hideTime?t._e():n("span",{staticClass:"moment time"},[t._v(t._s(t.time))]),t._v(" "),n("img",{attrs:{src:t.bgImg,draggable:"false"}}),t._v(" "),n("p",{style:t.style},[t._t("default")],2)])},staticRenderFns:[]};var s=n("VU/8")(o,r,!1,function(t){n("MPaU")},"data-v-308317a7",null);e.default=s.exports}});
//# sourceMappingURL=15.5a24d98fd4a88bf6fdfb.js.map
\ No newline at end of file
webpackJsonp([15],{TuYK:function(t,s){},vOoY:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i={name:"MonitorLoader",props:{msg:{type:String,default:"加载中 . . ."},bgColor:{type:String,default:"rgba(0,0,0,0.3)"}}},a={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"monitor-loader",style:"background:"+this.bgColor},[s("div",{staticClass:"loader"},[s("div",{staticClass:"outer"}),this._v(" "),s("div",{staticClass:"inner"}),this._v(" "),s("b",{staticClass:"msg"},[this._v(this._s(this.msg))])])])},staticRenderFns:[]};var r=e("VU/8")(i,a,!1,function(t){e("TuYK")},"data-v-29b85990",null);s.default=r.exports}});
//# sourceMappingURL=15.fa3db111e381ec798b76.js.map
\ No newline at end of file
webpackJsonp([16],{TuYK:function(t,s){},vOoY:function(t,s,e){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var i={name:"MonitorLoader",props:{msg:{type:String,default:"加载中 . . ."},bgColor:{type:String,default:"rgba(0,0,0,0.3)"}}},a={render:function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"monitor-loader",style:"background:"+this.bgColor},[s("div",{staticClass:"loader"},[s("div",{staticClass:"outer"}),this._v(" "),s("div",{staticClass:"inner"}),this._v(" "),s("b",{staticClass:"msg"},[this._v(this._s(this.msg))])])])},staticRenderFns:[]};var r=e("VU/8")(i,a,!1,function(t){e("TuYK")},"data-v-29b85990",null);s.default=r.exports}});
//# sourceMappingURL=16.d05dd6efeb18942f85e1.js.map
\ No newline at end of file
This diff is collapsed.
webpackJsonp([16],{E88b:function(t,e){},cxLP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Gu7T"),s=i.n(a),l={name:"MonitorTable",props:{title:{type:String,default:""},layout:{type:Array,default:function(){return[]}},model:{type:Array,default:function(){return[]}},mode:{type:String,default:"1"}},data:function(){return{curSrc:null,showImg:!1,listData:[],cur:0,dataSize:100,btnMsg:"加载更多"}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0},more:function(){var t;this.cur+=1;var e=this.model.slice(this.cur*this.dataSize,(this.cur+1)*this.dataSize);(t=this.listData).push.apply(t,s()(e)),this.model.length<=(this.cur+1)*this.dataSize&&(this.btnMsg="— 暂无更多数据 —")}},watch:{model:{handler:function(t){t.length<=this.dataSize&&(this.btnMsg="— 暂无更多数据 —"),this.cur=0,this.listData=t.slice(this.cur*this.dataSize,(this.cur+1)*this.dataSize)},immediate:!0}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-table"},[t.title?i("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),"1"==t.mode?i("Row",{staticClass:"row row-title"},t._l(t.layout,function(e){return i("i-col",{key:e.key,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[i("div",{style:"text-align: "+(e.align||"left")+"; "},[t._v(t._s(e.title))])])}),1):t._e(),t._v(" "),t.model&&t.model.length>0&&"1"==t.mode?[i("div",t._l(t.listData,function(e,a){return i("Row",{key:a,staticClass:"row"},t._l(t.layout,function(a){return i("i-col",{key:a.key,staticClass:"col",attrs:{span:a.width,offset:a.offset||0}},["img"==a.type?[e[a.key]&&e[a.key].length>0?t._l(e[a.key],function(e,a){return i("img",{key:e+a,attrs:{src:e},on:{click:function(i){return t.handleView(e)}}})}):t._e()]:i("div",{style:"text-align: "+(a.align||"left")+";color: "+a.color+" "},[t._v(t._s(a.format?a.format(e[a.key]):e[a.key]||"暂无"))])],2)}),1)}),1),t._v(" "),i("div",{class:"no-data "+("加载更多"==t.btnMsg?"btn":""),on:{click:t.more}},[t._v(t._s(t.btnMsg))])]:t.model&&t.model.length>0&&"2"==t.mode?[i("div",t._l(t.listData,function(e,a){return i("Row",{key:a,staticClass:"row"},[i("i-col",{staticClass:"col",attrs:{span:16}},[i("div",[i("p",[t._v(t._s(e.INDEXNAME))]),t._v(" "),i("p",{staticStyle:{color:"#aaa"}},[t._v(t._s(e.REMARK))])])]),t._v(" "),i("i-col",{staticClass:"col",attrs:{span:8}},[e.imageList&&e.imageList.length>0?t._l(e.imageList,function(e,a){return i("img",{key:e+a,attrs:{src:t.$api.IMG_URL+e.imageName},on:{click:function(i){return t.handleView(e.imageName)}}})}):t._e()],2)],1)}),1)]:i("div",{staticClass:"no-data"},[t._v("\n — 暂无数据 —\n ")]),t._v(" "),i("m-modal",{model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?i("img",{staticStyle:{width:"100%"},attrs:{src:t.$api.IMG_URL+t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var o=i("VU/8")(l,n,!1,function(t){i("E88b")},"data-v-1fb71cc3",null);e.default=o.exports}});
//# sourceMappingURL=16.9f77bab4700e3bf247f1.js.map
\ No newline at end of file
webpackJsonp([17],{E88b:function(t,e){},cxLP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("Gu7T"),s=i.n(a),l={name:"MonitorTable",props:{title:{type:String,default:""},layout:{type:Array,default:function(){return[]}},model:{type:Array,default:function(){return[]}},mode:{type:String,default:"1"}},data:function(){return{curSrc:null,showImg:!1,listData:[],cur:0,dataSize:100,btnMsg:"加载更多"}},methods:{handleView:function(t){this.curSrc=t,this.showImg=!0},more:function(){var t;this.cur+=1;var e=this.model.slice(this.cur*this.dataSize,(this.cur+1)*this.dataSize);(t=this.listData).push.apply(t,s()(e)),this.model.length<=(this.cur+1)*this.dataSize&&(this.btnMsg="— 暂无更多数据 —")}},watch:{model:{handler:function(t){t.length<=this.dataSize&&(this.btnMsg="— 暂无更多数据 —"),this.cur=0,this.listData=t.slice(this.cur*this.dataSize,(this.cur+1)*this.dataSize)},immediate:!0}}},n={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"monitor-table"},[t.title?i("p",{staticClass:"title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),"1"==t.mode?i("Row",{staticClass:"row row-title"},t._l(t.layout,function(e){return i("i-col",{key:e.key,staticClass:"col",attrs:{span:e.width,offset:e.offset||0}},[i("div",{style:"text-align: "+(e.align||"left")+"; "},[t._v(t._s(e.title))])])}),1):t._e(),t._v(" "),t.model&&t.model.length>0&&"1"==t.mode?[i("div",t._l(t.listData,function(e,a){return i("Row",{key:a,staticClass:"row"},t._l(t.layout,function(a){return i("i-col",{key:a.key,staticClass:"col",attrs:{span:a.width,offset:a.offset||0}},["img"==a.type?[e[a.key]&&e[a.key].length>0?t._l(e[a.key],function(e,a){return i("img",{key:e+a,attrs:{src:e},on:{click:function(i){return t.handleView(e)}}})}):t._e()]:i("div",{style:"text-align: "+(a.align||"left")+";color: "+a.color+" "},[t._v(t._s(a.format?a.format(e[a.key]):e[a.key]||"暂无"))])],2)}),1)}),1),t._v(" "),i("div",{class:"no-data "+("加载更多"==t.btnMsg?"btn":""),on:{click:t.more}},[t._v(t._s(t.btnMsg))])]:t.model&&t.model.length>0&&"2"==t.mode?[i("div",t._l(t.listData,function(e,a){return i("Row",{key:a,staticClass:"row"},[i("i-col",{staticClass:"col",attrs:{span:16}},[i("div",[i("p",[t._v(t._s(e.INDEXNAME))]),t._v(" "),i("p",{staticStyle:{color:"#aaa"}},[t._v(t._s(e.REMARK))])])]),t._v(" "),i("i-col",{staticClass:"col",attrs:{span:8}},[e.imageList&&e.imageList.length>0?t._l(e.imageList,function(e,a){return i("img",{key:e+a,attrs:{src:t.$api.IMG_URL+e.imageName},on:{click:function(i){return t.handleView(e.imageName)}}})}):t._e()],2)],1)}),1)]:i("div",{staticClass:"no-data"},[t._v("\n — 暂无数据 —\n ")]),t._v(" "),i("m-modal",{model:{value:t.showImg,callback:function(e){t.showImg=e},expression:"showImg"}},[t.showImg?i("img",{staticStyle:{width:"100%"},attrs:{src:t.$api.IMG_URL+t.curSrc}}):t._e()])],2)},staticRenderFns:[]};var o=i("VU/8")(l,n,!1,function(t){i("E88b")},"data-v-1fb71cc3",null);e.default=o.exports}});
//# sourceMappingURL=17.de027749da269710d76f.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var f,d,b,i=0,u=[];i<r.length;i++)d=r[i],c[d]&&u.push(c[d][0]),c[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,a);u.length;)u.shift()();if(a)for(i=0;i<a.length;i++)b=t(t.s=a[i]);return b};var r={},c={24:0};function t(n){if(r[n])return r[n].exports;var c=r[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,t),c.l=!0,c.exports}t.e=function(e){var n=c[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,t){n=c[e]=[r,t]});n[2]=r;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,t.nc&&a.setAttribute("nonce",t.nc),a.src=t.p+"static/js/"+e+"."+{0:"17784e1a7943224ca017",1:"cffc80de0492e9ab15bc",2:"20076c202304ce97c73d",3:"005ce450f8f31bb02ddb",4:"93c55d28f2578f2e1b1d",5:"c505858522d93a0362ce",6:"567032306ed91bc296a4",7:"8c8183ee78501c28bf2b",8:"5ad0f24b31031f7284b3",9:"88c12c87d8c867668894",10:"b1fd62ae5adcae5f1d83",11:"c0305ec01801cd06dcd2",12:"8d785b7833f510b6e13d",13:"1b6c7451faba79d074ff",14:"24e1ca32fd5bb23e815d",15:"fa3db111e381ec798b76",16:"9f77bab4700e3bf247f1",17:"2ba6e6702dfb62bbd6c3",20:"6ce2ae63ddfe941a6d27",21:"15c39363b6931e357ba3",22:"45efecf2a6412d88a8cd",23:"e88215ee447fcf2ac3bb"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var n=c[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),c[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),r},t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.d2ebd340ffbeab4c550b.js.map
\ No newline at end of file
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var f,d,i,u=0,b=[];u<r.length;u++)d=r[u],t[d]&&b.push(t[d][0]),t[d]=0;for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f]);for(n&&n(r,o,a);b.length;)b.shift()();if(a)for(u=0;u<a.length;u++)i=c(c.s=a[u]);return i};var r={},t={24:0};function c(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,c){n=t[e]=[r,c]});n[2]=r;var o=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,c.nc&&a.setAttribute("nonce",c.nc),a.src=c.p+"static/js/"+e+"."+{0:"17784e1a7943224ca017",1:"d514c241f4358ffb287f",2:"20076c202304ce97c73d",3:"005ce450f8f31bb02ddb",4:"93c55d28f2578f2e1b1d",5:"c505858522d93a0362ce",6:"567032306ed91bc296a4",7:"8c8183ee78501c28bf2b",8:"5ad0f24b31031f7284b3",9:"88c12c87d8c867668894",10:"b1fd62ae5adcae5f1d83",11:"c0305ec01801cd06dcd2",12:"8d785b7833f510b6e13d",13:"1b6c7451faba79d074ff",14:"accd175c538432d887ed",15:"5a24d98fd4a88bf6fdfb",16:"d05dd6efeb18942f85e1",17:"de027749da269710d76f",20:"6ce2ae63ddfe941a6d27",21:"15c39363b6931e357ba3",22:"45efecf2a6412d88a8cd",23:"e88215ee447fcf2ac3bb"}[e]+".js";var f=setTimeout(d,12e4);function d(){a.onerror=a.onload=null,clearTimeout(f);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=d,o.appendChild(a),r},c.m=e,c.c=r,c.d=function(e,n,r){c.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},c.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="./",c.oe=function(e){throw console.error(e),e}}([]);
//# sourceMappingURL=manifest.47276cd096cd116dcfa7.js.map
\ No newline at end of file
......@@ -5,7 +5,10 @@
<m-count :style="`font-size:1.6rem;color:${colors[i]};`" :value="btn.count" :decimal="0"/>
<p>{{btn.name}}</p>
</div>
<div class="btn" @click="$emit('click')">管理要素明细</div>
<div class="btn" @click="$emit('click')">
<m-count style="font-size:1.6rem;color:#00f2ff;" :value="24" :decimal="0"/>
<p>管理要素明细</p>
</div>
</div>
<img class="bar" :src="require(`@/assets/images/tab-bar.png`)">
</div>
......@@ -44,7 +47,6 @@ export default {
text-align center
&.btn
cursor pointer
margin-top 1.5rem
&:hover
color $edgeColor
.bar
......
<template>
<div class="people">
<div class="person" v-for="(data,i) in $store.state.commandList" :key="i">
<div class="person" v-for="(data,i) in list" :key="i" :style="calcWidth()">
<img :src="require(`@/assets/images/${data.img}`)" />
<div>
<p>{{data.title}}</p>
......@@ -13,6 +13,19 @@
<script>
export default {
name: 'EmergencyCommand',
methods: {
calcWidth() {
console.log(100 / this.list.length)
return {
width: (100 / this.list.length) + '%'
}
}
},
computed: {
list() {
return this.$store.state.commandList
}
},
}
</script>
......@@ -21,7 +34,7 @@ export default {
width 100%
height 100%
display flex
justify-content space-around
// justify-content space-around
.person
display flex
align-items center
......
......@@ -38,7 +38,7 @@ export default {
},
handleSelect(i) {
this.curIndex = i
this.$emit('select', this.curIndex)
this.$emit('select', this.curIndex, this.list[this.curIndex].name)
this.closeMenu()
}
},
......
......@@ -15,7 +15,7 @@
>
<m-map ref="map" @event="handleMapClick" @complete="mapComplete" />
<m-animate enter="fadeInDown" leave="fadeOutUp">
<m-title area="title" color="#fff" :bgImg="require('@/assets/images/title-bg.png')">智慧物业管理微平台</m-title>
<m-title area="title" color="#fff" :bgImg="require('@/assets/images/title-bg.png')" size="2.4rem">{{curTitle}}智慧物业管理微平台</m-title>
</m-animate>
<m-card v-show="complete" enter="fadeInLeft" leave="fadeOutLeft" area="box1" title="物业应急指挥体系" mode="4" :icon="require('@/assets/images/icon1.png')" :btn="require('@/assets/images/map-icon.png')">
<EmergencyCommand />
......@@ -68,6 +68,7 @@ export default {
},
data() {
return {
curTitle: '南码头',
complete: false,
showModal: false,
tableLayout: [
......@@ -110,7 +111,7 @@ export default {
const {data} = require('../../static/mock.json')
this.tableData = data
this.$refs.map.drawStreet('nanmatou')
this.$refs.map.focus(3779.35022, -4665.97998, 6)
this.$refs.map.focus(3779.35022, -4665.97998, 6.4)
setTimeout(() => {
this.complete = true
this.initNanmatouData()
......@@ -138,14 +139,15 @@ export default {
clickCommunity(data){
console.log(data)
},
handleStreetSelect(index) {
handleStreetSelect(index, name) {
this.curTitle = name.replace('街道', '')
this.$refs.map.removePoint('nanmatou')
if (index == 0) {
this.$refs.map.focus(9000, -2000, 2)
this.initData()
} else {
this.$refs.map.drawStreet('nanmatou')
this.$refs.map.focus(3779.35022, -4665.97998, 6)
this.$refs.map.focus(3779.35022, -4665.97998, 6.4)
this.initNanmatouData()
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment