|
@@ -15,7 +15,8 @@
|
|
|
:class="'business-item' + (index % 4)"
|
|
|
@click="enter(item,'my')"
|
|
|
>
|
|
|
- {{ item.name }}
|
|
|
+ <img v-show="item.code === bizId || item.code === bizs" src="@/assets/current.png" class="biz-img">
|
|
|
+ <span class="biz-name">{{ item.name }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -29,7 +30,8 @@
|
|
|
:class="['business-item' + (index % 4), item.isSecret?'disable':'']"
|
|
|
@click="enter(item,'all')"
|
|
|
>
|
|
|
- {{ item.name }}
|
|
|
+ <img v-show="item.code === bizId || item.code === bizs" src="@/assets/current.png" class="biz-img">
|
|
|
+ <span class="biz-name">{{ item.name }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -53,7 +55,8 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
bizSelectList: [], // 业务线选择列表
|
|
|
- myBusiness: []
|
|
|
+ myBusiness: [],
|
|
|
+ bizs: ''
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -67,6 +70,9 @@ export default {
|
|
|
this.settingGetBizList()
|
|
|
this.getPersonBizList()
|
|
|
},
|
|
|
+ mounted() {
|
|
|
+ if (this.bizId === -1) this.bizs = Number(localStorage.getItem('bizId'))
|
|
|
+ },
|
|
|
methods: {
|
|
|
async settingGetBizList() {
|
|
|
const res = await settingGetBizList({})
|
|
@@ -119,7 +125,7 @@ export default {
|
|
|
.business-contain {
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
- padding: 120px 130px;
|
|
|
+ padding: 70px 130px 120px;
|
|
|
background-color: #f7f8fc;
|
|
|
}
|
|
|
.bizId-select {
|
|
@@ -163,7 +169,8 @@ export default {
|
|
|
.my-business-list {
|
|
|
padding: 27px 32px;
|
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(4, 25%);
|
|
|
+ text-align: center;
|
|
|
+ grid-template-columns: repeat(5, 20%);
|
|
|
grid-gap: 50px 0;
|
|
|
}
|
|
|
}
|
|
@@ -175,7 +182,8 @@ export default {
|
|
|
.all-business-list {
|
|
|
padding: 27px 32px;
|
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(4, 25%);
|
|
|
+ text-align: center;
|
|
|
+ grid-template-columns: repeat(5, 20%);
|
|
|
grid-gap: 50px 0;
|
|
|
}
|
|
|
}
|
|
@@ -200,41 +208,41 @@ export default {
|
|
|
background-color: #409eff;
|
|
|
}
|
|
|
.business-item0 {
|
|
|
- color: #409eff;
|
|
|
- border: 1px solid #409eff;
|
|
|
- box-shadow: 0px 6px 12px rgba(64, 158, 255, 0.2);
|
|
|
-}
|
|
|
-.business-item0:hover {
|
|
|
- color: #ffffff;
|
|
|
- background-color: #409eff;
|
|
|
+ color: #333;
|
|
|
+ border: 1px solid #666;
|
|
|
+ box-shadow: 0px 6px 12px rgba(153, 153, 153, 0.2);
|
|
|
}
|
|
|
+// .business-item0:hover {
|
|
|
+// color: #ffffff;
|
|
|
+// background-color: #409eff;
|
|
|
+// }
|
|
|
.business-item1 {
|
|
|
- color: #f88c51;
|
|
|
- border: 1px solid #f88c51;
|
|
|
- box-shadow: 0px 6px 12px rgba(239, 160, 117, 0.2);
|
|
|
-}
|
|
|
-.business-item1:hover {
|
|
|
- color: #ffffff;
|
|
|
- background-color: #f88c51;
|
|
|
+ color: #333;
|
|
|
+ border: 1px solid #666;
|
|
|
+ box-shadow: 0px 6px 12px rgba(153, 153, 153, 0.2);
|
|
|
}
|
|
|
+// .business-item1:hover {
|
|
|
+// color: #ffffff;
|
|
|
+// background-color: #f88c51;
|
|
|
+// }
|
|
|
.business-item2 {
|
|
|
- color: #ae61cf;
|
|
|
- border: 1px solid #ae61cf;
|
|
|
- box-shadow: 0px 6px 12px rgba(174, 97, 207, 0.2);
|
|
|
-}
|
|
|
-.business-item2:hover {
|
|
|
- color: #ffffff;
|
|
|
- background-color: #ae61cf;
|
|
|
+ color: #333;
|
|
|
+ border: 1px solid #666;
|
|
|
+ box-shadow: 0px 6px 12px rgba(153, 153, 153, 0.2);
|
|
|
}
|
|
|
+// .business-item2:hover {
|
|
|
+// color: #ffffff;
|
|
|
+// background-color: #ae61cf;
|
|
|
+// }
|
|
|
.business-item3 {
|
|
|
- color: #13cbc2;
|
|
|
- border: 1px solid #13cbc2;
|
|
|
- box-shadow: 0px 6px 12px rgba(19, 203, 194, 0.2);
|
|
|
-}
|
|
|
-.business-item3:hover {
|
|
|
- color: #ffffff;
|
|
|
- background-color: #13cbc2;
|
|
|
+ color: #333;
|
|
|
+ border: 1px solid #666;
|
|
|
+ box-shadow: 0px 6px 12px rgba(153, 153, 153, 0.2);
|
|
|
}
|
|
|
+// .business-item3:hover {
|
|
|
+// color: #ffffff;
|
|
|
+// background-color: #13cbc2;
|
|
|
+// }
|
|
|
.business-tips {
|
|
|
margin-top: 43px;
|
|
|
margin-bottom: 50px;
|
|
@@ -265,4 +273,14 @@ export default {
|
|
|
color: #999999;
|
|
|
background-color: #ffffff;
|
|
|
}
|
|
|
+.biz-img {
|
|
|
+ display: inline-block;
|
|
|
+ width: 15px;
|
|
|
+ position: relative;
|
|
|
+ top: -7px;
|
|
|
+ left: 11px;
|
|
|
+}
|
|
|
+.biz-name {
|
|
|
+ width: 150px;
|
|
|
+}
|
|
|
</style>
|