This commit is contained in:
zhaofang
2022-09-13 11:04:40 +08:00
parent ada7437779
commit 6292650ac8
5 changed files with 13 additions and 21 deletions

View File

@@ -249,7 +249,7 @@
</el-menu-item>
<el-menu-item index="/user/myassess" v-show="curIdentity == 1">
<!-- <i class="el-icon-menu"></i> -->
<svg-icon icon-class="myceping"></svg-icon>
<svg-icon :icon-class="activeMenu == '/user/myassess'?'myceping-active':'myceping'"></svg-icon>
<span slot="title">我的测评</span>
</el-menu-item>
<el-submenu index="myqa" v-show="curIdentity == 1">
@@ -269,7 +269,7 @@
</el-submenu>
<el-menu-item index="/article/mylist" v-show="curIdentity == 1">
<!-- <i class="el-icon-menu"></i> -->
<svg-icon icon-class="myart"></svg-icon>
<svg-icon :icon-class="activeMenu == '/user/favorites'?'myart':'myart-active'"></svg-icon>
<span slot="title">我的文章</span>
</el-menu-item>
<el-submenu index="/article/contactme">
@@ -293,7 +293,7 @@
<el-menu-item index="/user/favorites" v-show="curIdentity == 1">
<svg-icon icon-class="stra"></svg-icon>
<svg-icon :icon-class="activeMenu == '/user/favorites'?'stra-active':'stra'"></svg-icon>
<span slot="title">我的收藏</span>
</el-menu-item>
@@ -360,15 +360,13 @@ export default {
activeMenu() {
const route = this.$route;
const { meta, path } = route;
console.log(meta);
if(meta.title == '添加受众' || meta.title == '查看受众'){
meta.activeMenu = '/manage/ugroups'
}
if (meta.activeMenu) {
return meta.activeMenu;
}
console.log(path,'path');
return path;
},
},

View File

@@ -2,9 +2,8 @@
<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>其他通知</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="9.个人中心-我的u币" transform="translate(-30.000000, -720.000000)">
<rect fill="#F2F5F7" x="0" y="0" width="1920" height="1262"></rect>
<g id="其他通知" transform="translate(30.000000, 720.342178)" stroke="#2D75FF" stroke-width="2">
<g id="9.个人中心-我的u币" transform="translate(-30.000000, -720.000000)" stroke="#2D75FF" stroke-width="2">
<g id="其他通知" transform="translate(30.000000, 720.342178)">
<path d="M2.82033944,16.9192254 L2.82033944,7.40311312 C2.82033944,6.85082837 3.26805469,6.40311312 3.82033944,6.40311312 L7.53910662,6.40311312 L7.53910662,6.40311312 L14.2258083,2.79565438 C14.7118688,2.53342601 15.3184767,2.71487773 15.580705,3.20093814 C15.6594094,3.34682265 15.7006148,3.50998376 15.7006148,3.67574461 L15.7006148,20.3819624 C15.7006148,20.9342471 15.2528996,21.3819624 14.7006148,21.3819624 C14.545369,21.3819624 14.3922553,21.345817 14.2533994,21.2763887 L7.53910662,17.9192254 L7.53910662,17.9192254 L3.82033944,17.9192254 C3.26805469,17.9192254 2.82033944,17.4715101 2.82033944,16.9192254 Z" id="路径-35"></path>
<line x1="7.53910662" y1="17.9192254" x2="7.53910662" y2="6.40311312" id="路径-36"></line>
<line x1="18.6085223" y1="6.75527879" x2="22.7433173" y2="2.62048376" id="路径-37"></line>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -2,10 +2,8 @@
<svg width="25px" height="25px" viewBox="0 0 25 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>其他通知</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="9.个人中心-我的u币" transform="translate(-130.000000, -720.000000)">
<rect fill="#F2F5F7" x="0" y="0" width="1920" height="1262"></rect>
<rect id="矩形备份-7" fill="#FFFFFF" x="85" y="308" width="227" height="782" rx="4"></rect>
<g id="其他通知" transform="translate(130.000000, 720.342178)" stroke="#666666" stroke-width="2">
<g id="9.个人中心-我的u币" transform="translate(-130.000000, -720.000000)" stroke="#666666" stroke-width="2">
<g id="其他通知" transform="translate(130.000000, 720.342178)">
<path d="M2.82033944,16.9192254 L2.82033944,7.40311312 C2.82033944,6.85082837 3.26805469,6.40311312 3.82033944,6.40311312 L7.53910662,6.40311312 L7.53910662,6.40311312 L14.2258083,2.79565438 C14.7118688,2.53342601 15.3184767,2.71487773 15.580705,3.20093814 C15.6594094,3.34682265 15.7006148,3.50998376 15.7006148,3.67574461 L15.7006148,20.3819624 C15.7006148,20.9342471 15.2528996,21.3819624 14.7006148,21.3819624 C14.545369,21.3819624 14.3922553,21.345817 14.2533994,21.2763887 L7.53910662,17.9192254 L7.53910662,17.9192254 L3.82033944,17.9192254 C3.26805469,17.9192254 2.82033944,17.4715101 2.82033944,16.9192254 Z" id="路径-35"></path>
<line x1="7.53910662" y1="17.9192254" x2="7.53910662" y2="6.40311312" id="路径-36"></line>
<line x1="18.6085223" y1="6.75527879" x2="22.7433173" y2="2.62048376" id="路径-37"></line>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -2,9 +2,8 @@
<svg width="26px" height="20px" viewBox="0 0 26 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>星形 2</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="9.个人中心-我的u币" transform="translate(-30.000000, -915.000000)">
<rect fill="#F2F5F7" x="0" y="0" width="1920" height="1262"></rect>
<g id="星形-2" transform="translate(30.433916, 913.854102)" stroke="#2D75FF" stroke-width="2">
<g id="9.个人中心-我的u币" transform="translate(-30.000000, -915.000000)" stroke="#2D75FF" stroke-width="2">
<g id="星形-2" transform="translate(30.433916, 913.854102)">
<path d="M11.5660845,2.25955146 L14.4761356,8.15595911 L18.9923867,8.81220881 L20.9832078,9.10149205 L16.2746461,13.6912053 L17.3861868,20.1719845 L11.5660845,17.1121756 L9.5278186,18.1837554 L6.74016431,19.649312 L5.74598218,20.1719845 L6.8575228,13.6912053 L2.14896114,9.10149205 L8.65603332,8.15595911 L11.5660845,2.25955146 Z" id="星形"></path>
</g>
</g>

Before

Width:  |  Height:  |  Size: 988 B

After

Width:  |  Height:  |  Size: 908 B

View File

@@ -2,10 +2,8 @@
<svg width="26px" height="20px" viewBox="0 0 26 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>星形 2</title>
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="9.个人中心-我的u币" transform="translate(-130.000000, -915.000000)">
<rect fill="#F2F5F7" x="0" y="0" width="1920" height="1262"></rect>
<rect id="矩形备份-7" fill="#FFFFFF" x="85" y="308" width="227" height="782" rx="4"></rect>
<g id="星形-2" transform="translate(130.433916, 913.854102)" stroke="#666666" stroke-width="2">
<g id="9.个人中心-我的u币" transform="translate(-130.000000, -915.000000)" stroke="#666666" stroke-width="2">
<g id="星形-2" transform="translate(130.433916, 913.854102)">
<path d="M11.5660845,2.25955146 L14.4761356,8.15595911 L18.9923867,8.81220881 L20.9832078,9.10149205 L16.2746461,13.6912053 L17.3861868,20.1719845 L11.5660845,17.1121756 L9.5278186,18.1837554 L6.74016431,19.649312 L5.74598218,20.1719845 L6.8575228,13.6912053 L2.14896114,9.10149205 L8.65603332,8.15595911 L11.5660845,2.25955146 Z" id="星形"></path>
</g>
</g>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 910 B