二级导航页新增需求

This commit is contained in:
liuye
2021-12-23 15:25:33 +08:00
parent f443e04710
commit d550236776
11 changed files with 34 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="AppPageBasic"> <div class="AppPageBasic">
<AiListPage :label="label" :appList="appList" /> <AiListPage :label="label" :appList="appList" :headerBg="headerBg" />
</div> </div>
</template> </template>
@@ -22,7 +22,8 @@ export default {
icon: require('./img/shgk.png'), icon: require('./img/shgk.png'),
url: '../AppServicePublic/AppServicePublic?moduleId=b03d1ea68c8449ecb00685644e3f0192&listName=三务公开' url: '../AppServicePublic/AppServicePublic?moduleId=b03d1ea68c8449ecb00685644e3f0192&listName=三务公开'
} }
] ],
headerBg: require('./img/header-bg.png'),
} }
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="AppPageCivilization"> <div class="AppPageCivilization">
<AiListPage :label="label" :appList="appList" /> <AiListPage :label="label" :appList="appList" :headerBg="headerBg" />
</div> </div>
</template> </template>
@@ -27,7 +27,8 @@ export default {
icon: require('./img/whjt.png'), icon: require('./img/whjt.png'),
url: '../AppServicePublic/AppServicePublic?moduleId=6afadf4cd44f4b73be29390b30ca88bb&listName=五好家庭' url: '../AppServicePublic/AppServicePublic?moduleId=6afadf4cd44f4b73be29390b30ca88bb&listName=五好家庭'
} }
] ],
headerBg: require('./img/header-bg.png'),
} }
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="AppPageInteraction"> <div class="AppPageInteraction">
<AiListPage :label="label" :appList="appList" /> <AiListPage :label="label" :appList="appList" :headerBg="headerBg" />
</div> </div>
</template> </template>
@@ -27,7 +27,8 @@ export default {
icon: require('./img/wjbd.png'), icon: require('./img/wjbd.png'),
url: '../AppAskForm/AppAskForm' url: '../AppAskForm/AppAskForm'
} }
] ],
headerBg: require('./img/header-bg.png'),
} }
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="AppPageParty"> <div class="AppPageParty">
<AiListPage :label="label" :appList="appList" /> <AiListPage :label="label" :appList="appList" :headerBg="headerBg" />
</div> </div>
</template> </template>
@@ -32,7 +32,8 @@ export default {
icon: require('./img/zxdt.png'), icon: require('./img/zxdt.png'),
url: '../party/AppOnlineAnswer/AppOnlineAnswer' url: '../party/AppOnlineAnswer/AppOnlineAnswer'
} }
] ],
headerBg: require('./img/header-bg.png'),
} }
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="AppPageResident"> <div class="AppPageResident">
<AiListPage :label="label" :appList="appList" /> <AiListPage :label="label" :appList="appList" :headerBg="headerBg" />
</div> </div>
</template> </template>
@@ -27,7 +27,8 @@ export default {
icon: require('./img/jmda.png'), icon: require('./img/jmda.png'),
url: '../AppResidentDocument/AppResidentDocument' url: '../AppResidentDocument/AppResidentDocument'
} }
] ],
headerBg: require('./img/header-bg.png'),
} }
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -1,5 +1,8 @@
<template> <template>
<section class="AppListPage"> <section class="AppListPage">
<div class="header" :style="`backgroundImage: url(${headerBg});`">
<p>{{label}}</p>
</div>
<div class="content"> <div class="content">
<div class="title">{{label}}</div> <div class="title">{{label}}</div>
<div class="app-list"> <div class="app-list">
@@ -20,6 +23,7 @@ export default {
props: { props: {
label: String, label: String,
appList: Array, appList: Array,
headerBg: String
}, },
methods: { methods: {
linkTo(url) { linkTo(url) {
@@ -33,6 +37,21 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.AppListPage { .AppListPage {
padding-top: 20px; padding-top: 20px;
.header{
width: calc(100% - 36px);
height: 240px;
margin: 0 18px 20px 18px;
background-size: 100% 100%;
p{
font-size: 46px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #26385C;
line-height: 64px;
padding: 48px 50px 0 50px;
word-break: break-all;
}
}
.content{ .content{
margin: 0 20px 20px; margin: 0 20px 20px;
width: calc(100% - 40px); width: calc(100% - 40px);