二级导航页新增需求
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<section class="AppListPage">
|
||||
<div class="header" :style="`backgroundImage: url(${headerBg});`">
|
||||
<p>{{label}}</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="title">{{label}}</div>
|
||||
<div class="app-list">
|
||||
@@ -20,6 +23,7 @@ export default {
|
||||
props: {
|
||||
label: String,
|
||||
appList: Array,
|
||||
headerBg: String
|
||||
},
|
||||
methods: {
|
||||
linkTo(url) {
|
||||
@@ -33,6 +37,21 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
.AppListPage {
|
||||
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{
|
||||
margin: 0 20px 20px;
|
||||
width: calc(100% - 40px);
|
||||
|
||||
Reference in New Issue
Block a user