diff --git a/collect_information/src/app.config.ts b/collect_information/src/app.config.ts index 84fbadb..52ab2a9 100644 --- a/collect_information/src/app.config.ts +++ b/collect_information/src/app.config.ts @@ -19,6 +19,8 @@ export default defineAppConfig({ root: "subPages", pages: [ 'pages/policeManager/index', + 'pages/policeDetails/index', + 'pages/myProject/myProject', 'pages/projectDetails/projectDetails', 'pages/form/form' diff --git a/collect_information/src/subPages/pages/policeDetails/index.config.ts b/collect_information/src/subPages/pages/policeDetails/index.config.ts index e69de29..c155561 100644 --- a/collect_information/src/subPages/pages/policeDetails/index.config.ts +++ b/collect_information/src/subPages/pages/policeDetails/index.config.ts @@ -0,0 +1,4 @@ +export default definePageConfig({ + navigationBarTitleText: '项目详情', + +}) diff --git a/collect_information/src/subPages/pages/policeDetails/index.scss b/collect_information/src/subPages/pages/policeDetails/index.scss index e69de29..b495b04 100644 --- a/collect_information/src/subPages/pages/policeDetails/index.scss +++ b/collect_information/src/subPages/pages/policeDetails/index.scss @@ -0,0 +1,53 @@ +.projectDetails{ + height: 100vh; + overflow: hidden; + background: #f1f1f1; + display: flex; + flex-direction: column; + .projectDetailsItem{ + height: 18%; + margin: 20px; + border-radius: 10px; + background: #ffffff; + padding: 15px; + font-size: 28px; + line-height: 65px; + color: #333333; + .projectDetailsIndex{ + .content{ + color: #9b9b9f; + } + } + } + .projectDetailsTableDrop{ + height: 80%; + .projectDetailsTable{ + margin: 20px; + border-radius: 10px; + background: #ffffff; + padding: 15px; + font-size: 28px; + line-height: 50px; + color: #333333; + .projectDetailsTableItem{ + //display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + font-size: 24px; + margin-bottom: 15px + } + } + } + .projectDetailsButton{ + position: fixed; + bottom: 19px; + display: flex; + -webkit-justify-content: space-around; + margin-bottom: 10rpx; + right: 0; + width: 100%; + } +} + + diff --git a/collect_information/src/subPages/pages/policeDetails/index.vue b/collect_information/src/subPages/pages/policeDetails/index.vue index e69de29..c01f8af 100644 --- a/collect_information/src/subPages/pages/policeDetails/index.vue +++ b/collect_information/src/subPages/pages/policeDetails/index.vue @@ -0,0 +1,139 @@ + + + diff --git a/collect_information/src/subPages/pages/policeManager/index.vue b/collect_information/src/subPages/pages/policeManager/index.vue index 4abe0cf..f48865c 100644 --- a/collect_information/src/subPages/pages/policeManager/index.vue +++ b/collect_information/src/subPages/pages/policeManager/index.vue @@ -42,7 +42,7 @@ const projectClick = (items: ServiceProjectList, name: string) => { console.log(name, JSON.stringify(items)) Taro.navigateTo({ - url: `/subPages/pages/projectDetails/projectDetails?name=${name}&item=${JSON.stringify(items)}`, + url: `/subPages/pages/policeDetails/index?name=${name}&item=${JSON.stringify(items)}`, }) } onMounted(async () => {