From 0e944bfc16136c0a749fc6022e0dfc7f2b4af010 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 15 十月 2024 18:16:17 +0800
Subject: [PATCH] 工单图片样式调整、取消考核页面人脸和车辆的公安部按钮
---
src/views/screen/components/wrapper-title/index.vue | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/src/views/screen/components/wrapper-title/index.vue b/src/views/screen/components/wrapper-title/index.vue
index 9e7593f..12857a9 100644
--- a/src/views/screen/components/wrapper-title/index.vue
+++ b/src/views/screen/components/wrapper-title/index.vue
@@ -1,6 +1,15 @@
<template>
<div class="title-container">
<span class="title">{{ title }}</span>
+
+ <div class="more-button" v-if="path" @click="toPath">
+ <div class="icon">
+ <!-- <img src="@/assets/icons/setting.png" alt=""> -->
+ </div>
+ <div class="button-text">
+
+ </div>
+ </div>
</div>
</template>
@@ -11,6 +20,15 @@
title: {
type: String,
required: true
+ },
+ path: {
+ type: String,
+ default: ''
+ }
+ },
+ methods: {
+ toPath() {
+ this.$router.push(this.path);
}
}
}
@@ -25,6 +43,7 @@
width: 100%;
position: relative;
display: flex;
+ justify-content: space-between;
align-items: center;
margin-bottom: 10px;
@@ -36,5 +55,31 @@
font-size: 20px;
font-style: italic;
}
+
+ .more-button {
+ height: 40px;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ .icon {
+ width: 20px;
+ margin-top: 4px;
+ margin-right: 2px;
+ img {
+ width: 100%;
+ display: block;
+ }
+ }
+
+ .button-text {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ color: #ffffff81;
+ font-size: 16px;
+ }
+ }
}
</style>
\ No newline at end of file
--
Gitblit v1.8.0