Commit 1413aad8 authored by 郭铭瑶's avatar 郭铭瑶 🤘

A016隐藏物业党建,添加非居图标

parent 29d5d2c9
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
color: '#fff', color: '#fff',
}" }"
:color="['rgb(36,59,86)', '#F4923E']" :color="['rgb(36,59,86)', '#F4923E']"
@click="test(item)"
/> />
</div> </div>
<div class="right"> <div class="right">
......
...@@ -47,7 +47,7 @@ import c3 from '@/assets/images/c3.png' ...@@ -47,7 +47,7 @@ import c3 from '@/assets/images/c3.png'
import c4 from '@/assets/images/c4.png' import c4 from '@/assets/images/c4.png'
import c5 from '@/assets/images/c5.png' import c5 from '@/assets/images/c5.png'
import c6 from '@/assets/images/c6.png' import c6 from '@/assets/images/c6.png'
import NoresIcon from '@/assets/images/yellow-point.png' import NoresIcon from '@/assets/images/p6.png'
import Brief, { BriefProp } from '@/components/brief.vue' import Brief, { BriefProp } from '@/components/brief.vue'
import { onMounted, ref } from 'vue' import { onMounted, ref } from 'vue'
import { ajax } from '@/ajax' import { ajax } from '@/ajax'
...@@ -155,7 +155,7 @@ ajax ...@@ -155,7 +155,7 @@ ajax
nonResident.value = res?.data?.content || [] nonResident.value = res?.data?.content || []
}) })
const onSelect = () => { const onSelect = () => {
bus.emit('addPoints', { icon: NoresIcon, size: 6, data: nonResident.value }) bus.emit('addPoints', { icon: NoresIcon, size: 12, data: nonResident.value })
setCurPointType(7) setCurPointType(7)
} }
......
...@@ -55,13 +55,13 @@ ...@@ -55,13 +55,13 @@
/> />
<m-empty v-else /> <m-empty v-else />
</div> </div>
<m-sub>物业党建</m-sub> <!-- <m-sub>物业党建</m-sub>
<div class="party"> <div class="party">
<div v-for="item in partys" :key="item.name"> <div v-for="item in partys" :key="item.name">
<m-count class="orange-count" :value="item.value" /> <m-count class="orange-count" :value="item.value" />
<p>{{ item.name }}</p> <p>{{ item.name }}</p>
</div> </div>
</div> </div> -->
</m-card> </m-card>
</template> </template>
...@@ -81,9 +81,10 @@ export default _config ...@@ -81,9 +81,10 @@ export default _config
</script> </script>
<script lang="ts" setup> <script lang="ts" setup>
import Summary from '@/components/summary.vue' import Summary from '@/components/summary.vue'
import { onMounted, ref } from 'vue' import { computed, onMounted, ref } from 'vue'
import { ajax } from '@/ajax' import { ajax } from '@/ajax'
const fontSize = computed(() => Math.floor((screen.height * 1.6) / 100))
onMounted(() => { onMounted(() => {
ajax.get({ url: _config.apis.main }).then((res) => { ajax.get({ url: _config.apis.main }).then((res) => {
const { const {
...@@ -156,13 +157,26 @@ const barOption = { ...@@ -156,13 +157,26 @@ const barOption = {
minInterval: 1, minInterval: 1,
}, },
grid: { grid: {
bottom: 0, left: '2%',
height: '92%', right: '1%',
bottom: '1%',
top: '8%',
containLabel: true,
}, },
// xAxis: [
// {
// type: 'category',
// show: false,
// },
// ],
xAxis: [ xAxis: [
{ {
type: 'category', type: 'category',
show: false, axisLabel: {
interval: 0,
rotate: 45,
fontSize: fontSize.value * 0.8,
},
}, },
], ],
series: [ series: [
...@@ -232,7 +246,7 @@ const barOption = { ...@@ -232,7 +246,7 @@ const barOption = {
left 0 left 0
.chart .chart
width 100% width 100%
height .8rem height 1.4rem
margin-bottom .03rem margin-bottom .03rem
.party .party
display flex display flex
......
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