fix bug修改

This commit is contained in:
duanliang
2026-01-15 14:30:57 +08:00
parent 5d95c101ba
commit 9705c0bb26
2 changed files with 36 additions and 14 deletions

View File

@@ -183,8 +183,8 @@
</div> </div>
</div> </div>
<!-- 工单 --> <!-- 工单 -->
<div> <div style="width:33%;">
<div class="left"> <div style="justify-content: space-between;" class="left">
<div> <div>
<div class="flex justify-center pt-30"> <div class="flex justify-center pt-30">
<div class="item"> <div class="item">
@@ -207,7 +207,7 @@
<span class="value">{{ homeStore.wordkOrderData.toDayData.rate }}%</span> <span class="value">{{ homeStore.wordkOrderData.toDayData.rate }}%</span>
</div> </div>
</div> </div>
<div> <div style="margin-right: 0;">
<div class="flex justify-center pt-10"> <div class="flex justify-center pt-10">
<div class="item"> <div class="item">
<p class="label">紧急工单数</p> <p class="label">紧急工单数</p>
@@ -230,7 +230,7 @@
</div> </div>
</div> </div>
</div> </div>
<div> <div class="new-gd">
<vue3-seamless-scroll <vue3-seamless-scroll
class="right" class="right"
:list="homeStore.wordkOrderList" :list="homeStore.wordkOrderList"
@@ -240,7 +240,7 @@
:wheel="true" :wheel="true"
:isWatch="true" :isWatch="true"
> >
<div v-if="homeStore.wordkOrderList.length>0" class="item" v-for="(item, index) in homeStore.wordkOrderList" :key="index"> <div v-if="homeStore.wordkOrderList.length>0" class="item" v-for="(item, index) in homeStore.wordkOrderList" :key="index">
<span :class="`item-tag--${item.level}`">{{ item.level_text }}</span> <span :class="`item-tag--${item.level}`">{{ item.level_text }}</span>
<p class="content"> <p class="content">
{{ item.title }} {{ item.title }}
@@ -249,6 +249,8 @@
<div v-else class="workorder-empty"> <div v-else class="workorder-empty">
今日暂无工单 今日暂无工单
</div> </div>
</vue3-seamless-scroll> </vue3-seamless-scroll>
</div> </div>
</div> </div>
@@ -495,6 +497,24 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.new-gd{
background-image: url('@/assets/images/bg-3.png');
background-size: cover;
height: vh(350);
/* 滚动条整体样式 */
&::-webkit-scrollbar {
width: vw(4); /* 滚动条的宽度 */
}
/* 滚动条轨道 */
&::-webkit-scrollbar-track {
background: 'transparent'; /* 轨道的背景色 */
}
/* 滚动条滑块 */
&::-webkit-scrollbar-thumb {
background: rgba(0, 150, 255, 0.63); /* 滑块的背景色 */
border-radius: 5px; /* 滑块的圆角 */
}
}
.car-ship { .car-ship {
width:100%; width:100%;
// flex: 1; // flex: 1;
@@ -907,7 +927,7 @@
} }
.right { .right {
margin-top: vh(4); margin-top: vh(4);
padding: vh(10) vw(10); // padding: vh(10) vw(10);
// height: vh(106); // height: vh(106);
height:100%; height:100%;
width: 100%; width: 100%;
@@ -915,6 +935,7 @@
.item { .item {
display: flex; display: flex;
margin-bottom: vh(10); margin-bottom: vh(10);
align-items: center;
&-tag { &-tag {
padding:vw(10); padding:vw(10);
font-weight: bold; font-weight: bold;

View File

@@ -40,11 +40,12 @@
</div> </div>
<div class="box box-9 mr-8"> <div class="box box-9 mr-8">
<Title1 title="景区承载" /> <Title1 title="景区承载" />
<div
<div class="flex"> style="cursor: pointer;"
<circle-progress class="count-box flex justify-between">
:width="60" <circle-progress
:height="50" :width="70"
:height="35"
:value="scenicStore.scenicBearData.header.jqRate" :value="scenicStore.scenicBearData.header.jqRate"
:title="`${scenicStore.scenicBearData.header.jqRate}%`" :title="`${scenicStore.scenicBearData.header.jqRate}%`"
subTitle="景区承载率" subTitle="景区承载率"
@@ -63,12 +64,12 @@
</div> </div>
</div> </div>
<div class="border"> <div class="border">
<div class="pt-50"> <div class="pt-10">
<Title3 title="今日景区承载量" /> <Title3 title="今日景区承载量" />
</div> </div>
<Line <Line
width="100%" width="100%"
:height="133" :height="145"
:data="scenicBearData" :data="scenicBearData"
:xAxisData="scenicBearXAxisData" :xAxisData="scenicBearXAxisData"
/> />
@@ -1058,7 +1059,7 @@
flex:1; flex:1;
.count-box { .count-box {
padding: 0 vw(10); padding: 0 vw(10);
height: vh(140); height: vh(150);
} }
.bg { .bg {
background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%); background: linear-gradient(321deg, #0b2f64 0%, #062b57 100%);