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

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

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