Commit 5ab5e60b authored by “yiyousong”'s avatar “yiyousong”

pref:修改背景

parent 4a0e75fe
......@@ -25,10 +25,10 @@
alt
/>
<div class="mod_cont">
<p>{{ item.name }}</p>
<span>
<p class="name">{{ item.name }}</p>
<p class="remark">
{{ item.remark }}
</span>
</p>
</div>
</div>
</div>
......@@ -60,24 +60,6 @@ export default {
// 跳转
handleJump(url) {
this.$router.push(url);
// let { menuList } = Storage.get(2, "userInfo");
// let actuary = menuList.filter((v) => v.name === "数据精算");
// if (actuary.length) {
// this.menuPermission = actuary
// .map((v) => {
// if (v.childList.length) {
// return v.childList;
// }
// })
// .flat()
// .map((v) => v.name);
// }
// let isPermission = this.menuPermission.includes(val);
// if (isPermission) {
// this.$router.push(url);
// } else {
// this.$message.warning("暂无权限");
// }
},
// 获取子菜单权限
getChildrenPermission() {
......@@ -136,7 +118,7 @@ export default {
flex-wrap: wrap;
.mod_max {
width: 20%;
width: 344px;
height: 200px;
padding: 18px;
......@@ -155,7 +137,7 @@ export default {
.mod_min {
width: 285px;
height: 150px;
height: 100%;
margin: auto;
display: flex;
align-items: center;
......@@ -166,14 +148,19 @@ export default {
}
.mod_cont {
p {
width: 100%;
.name {
font-size: 18px;
font-weight: bold;
padding-bottom: 10px;
}
span {
.remark {
font-size: 14px;
line-height: 10px;
line-height: 18px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
overflow: hidden;
}
}
}
......
......@@ -88,7 +88,7 @@ export default {
.station {
width: 100%;
height: 100%;
background: url("~@/assets/images/home_bg.jpg") center no-repeat;
background: url("~@/assets/images/zhandian.jpg") center no-repeat;
background-size: cover;
position: relative;
padding-top: @headerH;
......@@ -118,7 +118,7 @@ export default {
.classification {
width: 100%;
height: 280px;
height: 300px;
position: absolute;
bottom: 0;
background-color: rgba(3, 23, 24, 0.452);
......@@ -128,7 +128,6 @@ export default {
padding-top: 20px;
display: flex;
flex-wrap: wrap;
.mod_max {
height: 115px;
margin-right: 39px;
......
......@@ -12,9 +12,16 @@
>
<div class="pla_max">
<div class="pla_min">
<img :src="api + v.imgPath" alt />
<p>{{ v.name }}</p>
<span>{{ v.remark }}</span>
<img
:src="
v.imgPath
? api + v.imgPath
: require('../../assets/images/RBAC.png')
"
alt
/>
<p class="name">{{ v.name }}</p>
<p class="remark">{{ v.remark }}</p>
</div>
</div>
</a-card-grid>
......@@ -123,17 +130,21 @@ export default {
height: 43px;
}
p {
.name {
font-weight: 700;
font-size: 20px;
color: #000333;
margin-top: 20px;
margin-bottom: 15px;
}
span {
.remark {
font-weight: 400;
font-size: 14px;
color: #666666;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment