From bdbef0fbde20317d19bfc6d3473dabb10fb3fb3b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 19 Apr 2025 15:41:21 +0800
Subject: [PATCH] feat: 修改任务事件概况的饼状图颜色
---
src/components/CommonTitle.vue | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/src/components/CommonTitle.vue b/src/components/CommonTitle.vue
index efe77c2..9066cc0 100644
--- a/src/components/CommonTitle.vue
+++ b/src/components/CommonTitle.vue
@@ -3,7 +3,10 @@
<div class="left">
{{ title }}
</div>
- <div class="right" v-if="show" @click="attrs.onDetails()">{{ text }} ></div>
+ <div class="right" v-if="show && text!=='返回'" @click="attrs.onDetails()">{{ text }} ></div>
+ <div v-if="title=='机巢概况' && text=='返回'" class="do-return" @click="attrs.onDetails()">
+ <img src="@/assets/images/return.png" alt="" />
+ </div>
</div>
</template>
<script setup>
@@ -62,5 +65,15 @@
right: 11px;
cursor: pointer;
}
+ .do-return {
+ position: absolute;
+ top: 3px;
+ right: -50px;
+ cursor: pointer;
+ img {
+ width: 60px;
+ height: 33px;
+ }
+ }
}
</style>
--
Gitblit v1.9.3