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

pref:修改背景

parent 4a0e75fe
...@@ -25,10 +25,10 @@ ...@@ -25,10 +25,10 @@
alt alt
/> />
<div class="mod_cont"> <div class="mod_cont">
<p>{{ item.name }}</p> <p class="name">{{ item.name }}</p>
<span> <p class="remark">
{{ item.remark }} {{ item.remark }}
</span> </p>
</div> </div>
</div> </div>
</div> </div>
...@@ -60,24 +60,6 @@ export default { ...@@ -60,24 +60,6 @@ export default {
// 跳转 // 跳转
handleJump(url) { handleJump(url) {
this.$router.push(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() { getChildrenPermission() {
...@@ -136,7 +118,7 @@ export default { ...@@ -136,7 +118,7 @@ export default {
flex-wrap: wrap; flex-wrap: wrap;
.mod_max { .mod_max {
width: 20%; width: 344px;
height: 200px; height: 200px;
padding: 18px; padding: 18px;
...@@ -155,7 +137,7 @@ export default { ...@@ -155,7 +137,7 @@ export default {
.mod_min { .mod_min {
width: 285px; width: 285px;
height: 150px; height: 100%;
margin: auto; margin: auto;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -166,14 +148,19 @@ export default { ...@@ -166,14 +148,19 @@ export default {
} }
.mod_cont { .mod_cont {
p { width: 100%;
.name {
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
padding-bottom: 10px; padding-bottom: 10px;
} }
span { .remark {
font-size: 14px; 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 { ...@@ -88,7 +88,7 @@ export default {
.station { .station {
width: 100%; width: 100%;
height: 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; background-size: cover;
position: relative; position: relative;
padding-top: @headerH; padding-top: @headerH;
...@@ -118,7 +118,7 @@ export default { ...@@ -118,7 +118,7 @@ export default {
.classification { .classification {
width: 100%; width: 100%;
height: 280px; height: 300px;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
background-color: rgba(3, 23, 24, 0.452); background-color: rgba(3, 23, 24, 0.452);
...@@ -128,7 +128,6 @@ export default { ...@@ -128,7 +128,6 @@ export default {
padding-top: 20px; padding-top: 20px;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
.mod_max { .mod_max {
height: 115px; height: 115px;
margin-right: 39px; margin-right: 39px;
......
...@@ -12,9 +12,16 @@ ...@@ -12,9 +12,16 @@
> >
<div class="pla_max"> <div class="pla_max">
<div class="pla_min"> <div class="pla_min">
<img :src="api + v.imgPath" alt /> <img
<p>{{ v.name }}</p> :src="
<span>{{ v.remark }}</span> 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>
</div> </div>
</a-card-grid> </a-card-grid>
...@@ -123,17 +130,21 @@ export default { ...@@ -123,17 +130,21 @@ export default {
height: 43px; height: 43px;
} }
p { .name {
font-weight: 700; font-weight: 700;
font-size: 20px; font-size: 20px;
color: #000333; color: #000333;
margin-top: 20px; margin-top: 20px;
margin-bottom: 15px; margin-bottom: 15px;
} }
span { .remark {
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
color: #666666; 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