1
0
dukai 3 жил өмнө
parent
commit
f60b13c609

BIN
src/assets/images/wd.png


+ 16 - 14
src/views/system/menu/mainMenu.vue

@@ -2,7 +2,8 @@
 	<div class="main1">
 		<div class="main-top2">
 			<div class="FengXianDIV1">
-				<span class="pr15 pl15" style="font-weight: bold">{{ title }}</span>
+				<img class="img" src="@/assets/images/wd.png" width="29" height="25" />
+				<span class="title">{{ title }}</span>
 			</div>
 			<div class="GeneralSelectDiv1">
 				<div class="item bg_tool">工具/发送区</div>
@@ -21,22 +22,14 @@ export default {
 		return {
 			// 标题
 			title: undefined,
-			// 弹出框标题
-			// dialogTitle: undefined,
 			// 文档列表
 			docList: [],
-			// 控制弹窗显隐
-			// dialogVisible: false,
 			// 当前父菜单对象
 			currentMenu: {},
 			// 菜单位置
 			type: undefined,
-			//选中的小文档数组
-			// selectDocList: [],
 			//当前菜单路由id
 			routeId: undefined
-			// 记录选中顺序
-			// sort: 0
 		}
 	},
 	computed: {
@@ -48,6 +41,7 @@ export default {
 		$route: {
 			handler: function (route) {
 				this.routeId = route.query.id
+				this.title = route.query.title
 				this.init(this.routeId)
 			},
 			//一进页面就执行
@@ -70,7 +64,7 @@ export default {
 }
 </script>
 
-<style>
+<style scoped lang="scss">
 .main1 {
 	min-height: calc(100vh - 73px);
 	padding: 10px 10px 0 10px;
@@ -88,12 +82,20 @@ export default {
 .FengXianDIV1 {
 	height: 60px;
 	line-height: 60px;
-	text-align: center;
 	border-top-left-radius: 6px;
 	border-top-right-radius: 6px;
 	background-color: #ffeb9c;
-	min-width: 150px;
+	min-width: 177px;
 	float: left;
+	color: #000;
+	font-size: 20px;
+	font-weight: 600;
+	display: flex;
+	img {
+		margin: 16px 15px 16px 12px;
+		width: 29px;
+		height: 25px;
+	}
 }
 .GeneralSelectDiv1 {
 	display: flex;
@@ -113,10 +115,10 @@ export default {
 .bg_tool {
 	background: #c2e6f2;
 }
-.bg_statistics{
+.bg_statistics {
 	background: #c6efcd;
 }
-.bg_set{
+.bg_set {
 	background: #fcf2d5;
 }
 </style>