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

调整

parent e9d28713
src/assets/images/close.png

1.5 KB | W: | H:

src/assets/images/close.png

2.52 KB | W: | H:

src/assets/images/close.png
src/assets/images/close.png
src/assets/images/close.png
src/assets/images/close.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
// 添加边界 // 添加边界
addBoundary({name, weight = 10, count = 10, color = 'rgba(51,145,255,.6)', maskColor = [0, 0, 0, 0]}) { addBoundary({name, weight = 10, count = 10, color = 'rgba(51,145,255,.6)', maskColor = [0, 0, 0, 0]}) {
const boundary = { const boundary = {
boundaryType: 'jd_boundary', boundaryType: 'qx_boundary',
boundaryDefinition: `name like '%${name}%'`, boundaryDefinition: `name like '%${name}%'`,
boundarydistance: weight, boundarydistance: weight,
bounarycount: count, bounarycount: count,
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</p> </p>
<div> <div>
<img class="flag" src="@/assets/images/modal-title1.png"/> <img class="flag" src="@/assets/images/modal-title1.png"/>
<img @click="handleClose" class="close-btn" src="@/assets/images/close.png"/> <img @click="handleClose" class="close-btn" src="@/assets/images/close-modal.png"/>
</div> </div>
<img class="left" src="@/assets/images/modal-title-left.png"/> <img class="left" src="@/assets/images/modal-title-left.png"/>
</div> </div>
......
...@@ -5,8 +5,10 @@ ...@@ -5,8 +5,10 @@
<span>{{curDate}}</span> <span>{{curDate}}</span>
</DatePicker> </DatePicker>
</span> --> </span> -->
<div class="btn back" @click="closePage" />
<div class="btn close" @click="closePage" />
<span v-if="!hideTime" class="moment time"> <span v-if="!hideTime" class="moment time">
<span class="switch"><img src="@/assets/images/switch.png"/> 切换街道</span> <!-- <span class="switch"><img src="@/assets/images/switch.png"/> 切换街道</span> -->
{{curDate}} {{time}} {{curDate}} {{time}}
</span> </span>
<img :src="bgImg" draggable="false"/> <img :src="bgImg" draggable="false"/>
...@@ -86,6 +88,12 @@ export default { ...@@ -86,6 +88,12 @@ export default {
this.$store.commit('SET_CURDATE', date) this.$store.commit('SET_CURDATE', date)
this.openDatePicker = false this.openDatePicker = false
}, },
// toAli() {
// window.location = 'http://10.89.1.208/share/ypdp'
// },
closePage() {
window.close()
},
} }
} }
</script> </script>
...@@ -100,6 +108,25 @@ export default { ...@@ -100,6 +108,25 @@ export default {
background-position center background-position center
// font-family $font-pang // font-family $font-pang
font-weight bold font-weight bold
>.btn
position absolute
width .2rem
height @width
top .05rem
cursor pointer
z-index 999
background-size 100% 100%
transition background-image .3s ease-in-out
&.back
left .1rem
background-image url(../../../assets/images/back.png)
&:hover
background-image url(../../../assets/images/back-on.png)
&.close
right .1rem
background-image url(../../../assets/images/close.png)
&:hover
background-image url(../../../assets/images/close-on.png)
.switch .switch
color #5BD5FF color #5BD5FF
margin-right .1rem margin-right .1rem
...@@ -122,7 +149,7 @@ export default { ...@@ -122,7 +149,7 @@ export default {
right 0 right 0
margin 0 auto margin 0 auto
text-align center text-align center
transform translateX(25%) transform translateX(20%)
>img >img
position absolute position absolute
width 100% width 100%
......
This diff is collapsed.
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
display flex display flex
>div >div
&:first-child &:first-child
width 60% width 63%
position relative position relative
>img >img
width 36% width 36%
......
...@@ -77,28 +77,15 @@ export default { ...@@ -77,28 +77,15 @@ export default {
curTab: 'all', curTab: 'all',
config: { config: {
colors: ['#E44949', '#FDA62D', '#FFCE34', '#71C012', '#6BE1B2', '#DC732D', '#5BD5FF', '#006ED4', '#2E43C9', '#826AFA', '#CCCCCC'], colors: ['#E44949', '#FDA62D', '#FFCE34', '#71C012', '#6BE1B2', '#DC732D', '#5BD5FF', '#006ED4', '#2E43C9', '#826AFA', '#CCCCCC'],
// tooltip: { tooltip: {
// formatter: '{b}:{c}个 ({d}%)', formatter: '{b}:{c}%',
// confine: true, confine: true,
// }, },
legend: {hide: true}, legend: {hide: true},
shape: [ shape: [
{type: 'pie', radius: [40 * Number((screen.height / 800).toFixed(1)), 55 * Number((screen.height / 800).toFixed(1))], center: ['40%', '50%']} {type: 'pie', radius: [40 * Number((screen.height / 800).toFixed(1)), 55 * Number((screen.height / 800).toFixed(1))], center: ['40%', '50%']}
] ]
}, },
// chartData: [
// {name: '上海延吉物业', value: 6},
// {name: '上海四平物业', value: 3},
// {name: '上海殷行物业', value: 3},
// {name: '上海阳置物业', value: 3},
// {name: '上海凯晨物业', value: 2},
// {name: '上海兴桥盛物业', value: 2},
// {name: '上海五角场物业', value: 2},
// {name: '上海文化银湾物业', value: 2},
// {name: '上海海鸿福船物业', value: 2},
// {name: '上海平凉物业', value: 1},
// {name: '其他', value: 74},
// ],
} }
}, },
computed: { computed: {
...@@ -146,6 +133,7 @@ export default { ...@@ -146,6 +133,7 @@ export default {
.operation-sign .operation-sign
.ivu-select-dropdown .ivu-select-dropdown
.ivu-select-selection .ivu-select-selection
font-size .1rem !important
border-color #3391FF !important border-color #3391FF !important
border-radius .04rem !important border-radius .04rem !important
>div >div
...@@ -202,15 +190,18 @@ export default { ...@@ -202,15 +190,18 @@ export default {
justify-content space-between justify-content space-between
background linear-gradient(to right, rgba(20,92,143,.5), transparent) background linear-gradient(to right, rgba(20,92,143,.5), transparent)
border-left .03rem solid #315E8B border-left .03rem solid #315E8B
padding .1rem .04rem padding .06rem .04rem
p
&:first-child
width 40%
.bar .bar
width 100% width 98%
height .08rem height .08rem
display flex display flex
margin-top .3rem margin .3rem auto 0
>div >div
>p >p
text-indent .05rem text-indent .03rem
font-size .12rem font-size .12rem
font-weight bold font-weight bold
transform translateY(-100%) transform translateY(-100%)
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
}, },
computed: { computed: {
...mapState([ ...mapState([
'xinjiangwanPaths', 'yangpuPaths',
'commandLayout', 'commandLayout',
'commandData', 'commandData',
'showCommandModal', 'showCommandModal',
...@@ -114,11 +114,11 @@ export default { ...@@ -114,11 +114,11 @@ export default {
init() { init() {
const {map} = this.$refs const {map} = this.$refs
this.initMapFocus() this.initMapFocus()
map.addPolygon({paths: this.xinjiangwanPaths, fillColor: 'rgba(51,145,255,.3)'}) map.addPolygon({paths: this.yangpuPaths, fillColor: 'rgba(51,145,255,.3)'})
map.addBoundary({name: '新江湾城'}) map.addBoundary({name: '杨浦区'})
}, },
initMapFocus() { initMapFocus() {
this.$refs.map.focus(3489.0714111328125, 10384.431030273437, 4.5) this.$refs.map.focus(3489.0714111328125, 10384.431030273437, 3.5)
}, },
handleMapClick(data) { handleMapClick(data) {
this.detailData = data this.detailData = data
......
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