From 31f74b1c068ad67f8584fcbce83b966b6eea48a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=7E=E6=B5=B7=7E=E7=88=B1=E6=B5=B7=E7=88=B1?= =?UTF-8?q?=E6=B5=B7=7E=E5=8F=B3?= <1828712314@qq.com> Date: Fri, 6 Jun 2025 16:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E5=92=8C=E6=A0=B7=E5=BC=8F=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=90=84=E4=B8=AA=E7=BB=84=E4=BB=B6=E7=9A=84=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E5=92=8C=E6=A0=B7=E5=BC=8F=EF=BC=8C=E6=8F=90=E5=8D=87=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 394 ++++---- static/scss/global.scss | 68 +- sub/enterprise/detail.vue | 819 ++++++++-------- sub/inspection/record.vue | 299 +++--- sub/invite/addEnterprise.vue | 1501 +++++++++++++++-------------- sub/invite/prove.vue | 840 +++++++++-------- sub/task/detail.vue | 1723 ++++++++++++++++++---------------- sub/task/log.vue | 249 ++--- sub/task/record.vue | 865 +++++++++-------- 9 files changed, 3626 insertions(+), 3132 deletions(-) diff --git a/pages.json b/pages.json index 0048a2e..8e7cb02 100644 --- a/pages.json +++ b/pages.json @@ -1,12 +1,14 @@ { - "pages": [{ + "pages": [ + { "path": "pages/login", "style": { "navigationBarTitleText": "登录", "navigationStyle": "custom", "disableScroll": true } - }, { + }, + { "path": "pages/index", "style": { "navigationBarTitleText": "首页", @@ -68,204 +70,215 @@ "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue" } }, - "subPackages": [{ - "root": "sub", - "pages": [{ - "path": "owner/edit", - "style": { - "navigationBarTitleText": "个人信息" - } - }, { - "path": "owner/invite", - "style": { - "navigationBarTitleText": "邀请企业" - } - }, - { - "path": "owner/policy", - "style": { - "navigationBarTitleText": "政策法规", - "usingComponents": { - "van-search": "/wxcomponents/vant/search/index" - }, - "componentPlaceholder": { - "u-modal": "view" + "subPackages": [ + { + "root": "sub", + "pages": [ + { + "path": "owner/edit", + "style": { + "navigationBarTitleText": "个人信息" } - } - }, - { - "path": "owner/policy-detail", - "style": { - "navigationBarTitleText": "政策法规", - "usingComponents": {}, - "componentPlaceholder": {} - } - }, - { - "path": "owner/jobInfo", - "style": { - "navigationBarTitleText": "工作汇报", - "usingComponents": { - "van-search": "/wxcomponents/vant/search/index" - }, - "componentPlaceholder": { - "u-modal": "view" + }, + { + "path": "owner/invite", + "style": { + "navigationBarTitleText": "邀请企业" } - } - }, - { - "path": "owner/job-detail", - "style": { - "navigationBarTitleText": "工作汇报", - "usingComponents": {}, - "componentPlaceholder": {} - } - }, - - { - "path": "enterprise/edit", - "style": { - "navigationBarTitleText": "企业填报" - } - }, { - "path": "common/waiting", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, { - "path": "enterprise/detail", - "style": { - "navigationBarTitleText": "档案详情", - "componentPlaceholder": { - "u-modal": "view" + }, + { + "path": "owner/policy", + "style": { + "navigationBarTitleText": "政策法规", + "usingComponents": { + "van-search": "/wxcomponents/vant/search/index" + }, + "componentPlaceholder": { + "u-modal": "view" + } } - } - }, { - "path": "chat/index", - "style": { - "navigationBarTitleText": "智慧生态" - } - }, { - "path": "task/detail", - "style": { - "navigationBarTitleText": "执法记录", - "onReachBottonDistance": 50, - "enablePullDownRefresh": true, - "usingComponents": { - "van-dropdown-menu": "/wxcomponents/vant/dropdown-menu/index", - "van-dropdown-item": "/wxcomponents/vant/dropdown-item/index" - }, - "componentPlaceholder": { - "u-modal": "view", - "u-sticky": "view" + }, + { + "path": "owner/policy-detail", + "style": { + "navigationBarTitleText": "政策法规", + "usingComponents": {}, + "componentPlaceholder": {} } - } - }, - { - "path": "task/record", - "style": { - "navigationBarTitleText": "记录详情 ", - "usingComponents": {}, - "componentPlaceholder": {} - } - }, - { - "path": "task/locate", - "style": { - "usingComponents": { - "van-action-sheet": "/wxcomponents/vant/action-sheet/index" - }, - "componentPlaceholder": { - "u-modal": "view" + }, + { + "path": "owner/jobInfo", + "style": { + "navigationBarTitleText": "工作汇报", + "usingComponents": { + "van-search": "/wxcomponents/vant/search/index" + }, + "componentPlaceholder": { + "u-modal": "view" + } } - } - }, - { - "path": "task/enforce", - "style": { - "navigationBarTitleText": "结果反馈", - "usingComponents": { - "van-action-sheet": "/wxcomponents/vant/action-sheet/index" - }, - "componentPlaceholder": { - "u-modal": "view", - "uni-easyinput": "view" + }, + { + "path": "owner/job-detail", + "style": { + "navigationBarTitleText": "工作汇报", + "usingComponents": {}, + "componentPlaceholder": {} } - } - }, - { - "path": "task/log", - "style": { - "navigationBarTitleText": "结果反馈" - } - }, - { - "path": "inspection/detail", - "style": { - "navigationBarTitleText": "", - "onReachBottonDistance": 50, - "enablePullDownRefresh": true - } - }, - { - "path": "inspection/record", - "style": { - "navigationBarTitleText": "", - "onReachBottonDistance": 50, - "enablePullDownRefresh": true - } - }, - { - "path": "invite/index", - "style": { - "navigationBarTitleText": "我的企业", - "enablePullDownRefresh": true, - "componentPlaceholder": { - "u-modal": "view", - "uni-easyinput": "view" + }, + { + "path": "enterprise/edit", + "style": { + "navigationBarTitleText": "企业填报" } - } - }, - { - "path": "invite/addEnterprise", - "style": { - "navigationBarTitleText": "新增企业", - "componentPlaceholder": {} - } - }, - { - "path": "invite/enterpriseIntroduce", - "style": { - "navigationBarTitleText": "企业简介", - "componentPlaceholder": { - "uni-easyinput": "view" + }, + { + "path": "common/waiting", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path": "enterprise/detail", + "style": { + "navigationBarTitleText": "档案详情", + "componentPlaceholder": { + "u-modal": "view" + } + } + }, + { + "path": "chat/index", + "style": { + "navigationBarTitleText": "智慧生态" + } + }, + { + "path": "task/detail", + "style": { + "navigationBarTitleText": "执法记录", + "onReachBottonDistance": 50, + "enablePullDownRefresh": true, + "usingComponents": { + "van-dropdown-menu": "/wxcomponents/vant/dropdown-menu/index", + "van-dropdown-item": "/wxcomponents/vant/dropdown-item/index" + }, + "componentPlaceholder": { + "u-modal": "view", + "u-sticky": "view" + } + } + }, + { + "path": "task/record", + "style": { + "navigationBarTitleText": "记录详情 ", + "usingComponents": {}, + "componentPlaceholder": {} + } + }, + { + "path": "task/locate", + "style": { + "usingComponents": { + "van-action-sheet": "/wxcomponents/vant/action-sheet/index" + }, + "componentPlaceholder": { + "u-modal": "view" + } + } + }, + { + "path": "task/enforce", + "style": { + "navigationBarTitleText": "结果反馈", + "usingComponents": { + "van-action-sheet": "/wxcomponents/vant/action-sheet/index" + }, + "componentPlaceholder": { + "u-modal": "view", + "uni-easyinput": "view" + } + } + }, + { + "path": "task/log", + "style": { + "navigationBarTitleText": "结果反馈" + } + }, + { + "path": "inspection/detail", + "style": { + "navigationBarTitleText": "", + "onReachBottonDistance": 50, + "enablePullDownRefresh": true + } + }, + { + "path": "inspection/record", + "style": { + "navigationBarTitleText": "", + "onReachBottonDistance": 50, + "enablePullDownRefresh": true + } + }, + { + "path": "invite/index", + "style": { + "navigationBarTitleText": "我的企业", + "enablePullDownRefresh": true, + "componentPlaceholder": { + "u-modal": "view", + "uni-easyinput": "view" + } + } + }, + { + "path": "invite/addEnterprise", + "style": { + "navigationBarTitleText": "新增企业", + "componentPlaceholder": {} + } + }, + { + "path": "invite/enterpriseIntroduce", + "style": { + "navigationBarTitleText": "企业简介", + "componentPlaceholder": { + "uni-easyinput": "view" + } + } + }, + { + "path": "invite/enterpriseTags", + "style": { + "navigationBarTitleText": "行业类别(可多选)" + } + }, + { + "path": "invite/prove", + "style": { + "navigationBarTitleText": "", + "componentPlaceholder": { + "u-switch": "view" + } + } + }, + { + "path": "owner/notic", + "style": { + "navigationBarTitleText": "消息通知", + "disableScroll": true } } - }, - { - "path": "invite/enterpriseTags", - "style": { - "navigationBarTitleText": "行业类别(可多选)" - } - }, - { - "path": "invite/prove", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "owner/notic", - "style": { - "navigationBarTitleText": "消息通知", - "disableScroll": true - } - } - ] - }], + ] + } + ], "tabBar": { - "list": [{ + "list": [ + { "pagePath": "pages/index" }, { @@ -287,6 +300,5 @@ "navigationBarTitleText": "智慧生态", "navigationBarBackgroundColor": "#FFF", "backgroundColor": "#FFF" - } } \ No newline at end of file diff --git a/static/scss/global.scss b/static/scss/global.scss index 95a26bb..3500d6d 100644 --- a/static/scss/global.scss +++ b/static/scss/global.scss @@ -1,50 +1,52 @@ @font-face { - font-family: 'Tahoma'; - src: url('https://hb.jzce.com/Tahoma.ttf') format('truetype'); + font-family: 'Tahoma'; + src: url('https://hb.jzce.com/Tahoma.ttf') + format('truetype'); } page { - background-color: #f9f9f9; - position: relative; - color: #071437; + background-color: #f9f9f9; + position: relative; + color: #071437; } view { - box-sizing: border-box; + box-sizing: border-box; } button { - padding-left: 0; - padding-right: 0; - font-size: 16px; - line-height: inherit; - &::after { - content: ''; - display: none; - } + padding-left: 0; + padding-right: 0; + font-size: 16px; + line-height: inherit; + &::after { + content: ''; + display: none; + } } ::v-deep .uni-calendar__box { - padding-bottom: 32px; + padding-bottom: 32px; } .tagList { - display: flex; - flex-flow: row nowrap; - align-items: center; - gap: 16rpx; - .tag { - display: flex; - padding: 4rpx 12rpx; - justify-content: center; - align-items: center; - border-radius: 4rpx; - background: var(--LightMode-Grey-Grey-100, #f9f9f9); - color: var(--LightMode-Grey-Grey-600, #78829d); - text-align: center; - font-size: 24rpx; - font-style: normal; - font-weight: 400; - line-height: normal; - } + display: flex; + flex-flow: row nowrap; + align-items: center; + gap: 16rpx; + .tag { + display: flex; + padding: 4rpx 12rpx; + justify-content: center; + align-items: center; + border-radius: 4rpx; + background: var(--LightMode-Grey-Grey-100, #f9f9f9); + color: var(--LightMode-Grey-Grey-600, #78829d); + text-align: center; + font-size: 24rpx; + font-style: normal; + font-weight: 400; + line-height: normal; + white-space: nowrap; + } } diff --git a/sub/enterprise/detail.vue b/sub/enterprise/detail.vue index 0a893d1..53526c9 100644 --- a/sub/enterprise/detail.vue +++ b/sub/enterprise/detail.vue @@ -1,394 +1,461 @@ diff --git a/sub/inspection/record.vue b/sub/inspection/record.vue index 3f19289..cd8b40b 100644 --- a/sub/inspection/record.vue +++ b/sub/inspection/record.vue @@ -1,148 +1,167 @@ diff --git a/sub/invite/addEnterprise.vue b/sub/invite/addEnterprise.vue index 4c3a19a..525dbfc 100644 --- a/sub/invite/addEnterprise.vue +++ b/sub/invite/addEnterprise.vue @@ -1,720 +1,827 @@ diff --git a/sub/invite/prove.vue b/sub/invite/prove.vue index 8079eb4..8bee31b 100644 --- a/sub/invite/prove.vue +++ b/sub/invite/prove.vue @@ -1,49 +1,62 @@ diff --git a/sub/task/detail.vue b/sub/task/detail.vue index 0c00c41..8c93742 100644 --- a/sub/task/detail.vue +++ b/sub/task/detail.vue @@ -1,824 +1,915 @@ diff --git a/sub/task/log.vue b/sub/task/log.vue index 760c7cf..24675d0 100644 --- a/sub/task/log.vue +++ b/sub/task/log.vue @@ -1,117 +1,152 @@ diff --git a/sub/task/record.vue b/sub/task/record.vue index 265f290..cf14762 100644 --- a/sub/task/record.vue +++ b/sub/task/record.vue @@ -1,397 +1,492 @@