diff --git a/src/components/common/div-content/index.vue b/src/components/common/div-content/index.vue
index 6b01a1b9..2ae70e2c 100644
--- a/src/components/common/div-content/index.vue
+++ b/src/components/common/div-content/index.vue
@@ -17,7 +17,12 @@
-
{{ item.name }}
+
+
+ {{ item.name }}
+
{{ item.mark_name }}
+
+
@@ -117,6 +122,8 @@
diff --git a/src/styles/common.scss b/src/styles/common.scss
index 0bcb69af..dae767d5 100644
--- a/src/styles/common.scss
+++ b/src/styles/common.scss
@@ -312,4 +312,13 @@
.dot-item {
margin: 0 0.3rem;
}
+}
+.mark-name-style {
+ background: #D8D8D8 linear-gradient(107deg, #FC6F31 0%, #E22C08 100%);
+ font-size: 1rem;
+ line-height: 1.2rem;
+ padding: 0.2rem 0.4rem;
+ color: #fff;
+ white-space: nowrap;
+ border-radius: 0.8rem 0 0.8rem 0;
}
\ No newline at end of file
diff --git a/src/views/layout/components/main/index.vue b/src/views/layout/components/main/index.vue
index fc7c9ded..08bef743 100644
--- a/src/views/layout/components/main/index.vue
+++ b/src/views/layout/components/main/index.vue
@@ -34,7 +34,10 @@
- {{ item.name }}
+
+ {{ item.name }}
+ {{ item.mark_name }}
+
@@ -270,6 +273,7 @@ const draggable_click = (item: componentsData) => {
// 添加tabs组件
tabs_data.value.push({
name: item.name,
+ mark_name: '',
show_tabs: '1',
is_enable: '1',
src: '',
@@ -298,6 +302,7 @@ watchEffect(() => {
const clone_item_com_data = (item: commonComponentData) => {
return {
name: item.name,
+ mark_name: '',
show_tabs: '1',
is_enable: '1',
src: item.src,
@@ -576,4 +581,9 @@ const footer_nav_event = () => {
align-items: stretch;
flex: 1;
}
+.plug-drawer-mark-name {
+ position: absolute;
+ top: -1.3rem;
+ left: -0.6rem;
+}
diff --git a/src/views/layout/components/settings/index.vue b/src/views/layout/components/settings/index.vue
index 8105a184..20bd881d 100644
--- a/src/views/layout/components/settings/index.vue
+++ b/src/views/layout/components/settings/index.vue
@@ -76,7 +76,7 @@
-
+