From cbc280e02331940d3b78b94877dcc091a9db0e8d Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 22 Oct 2024 18:22:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=A4=B4=E9=83=A8=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E5=9B=BE=E7=89=87=E4=BF=AE=E6=94=B9=20=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E8=85=BE=E8=AE=AF=E5=9C=B0=E5=9B=BE=E9=80=89=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 + main.js | 4 +- manifest.json | 66 +++- package.json | 37 +- pages.json | 2 + pages/mine/mine.vue | 2 +- subpages/OCRCard/pages/index/index.vue | 4 +- subpages/addResi/pages/editResi/editResi.vue | 8 +- subpages/addhouse/pages/addhouse/addhouse.vue | 4 +- .../pages/synthesis/synthesis.vue | 8 +- .../dissatisfied/demandCheck/demandCheck.vue | 67 +--- .../safetyinspection/safetyinspection.vue | 336 +++++++++--------- wxcomponents/vant/cascader/index.d.ts | 1 + wxcomponents/vant/cascader/index.js | 222 ++++++++++++ wxcomponents/vant/cascader/index.json | 8 + wxcomponents/vant/cascader/index.wxml | 53 +++ wxcomponents/vant/cascader/index.wxs | 24 ++ wxcomponents/vant/cascader/index.wxss | 1 + 18 files changed, 586 insertions(+), 266 deletions(-) create mode 100644 .gitignore create mode 100644 wxcomponents/vant/cascader/index.d.ts create mode 100644 wxcomponents/vant/cascader/index.js create mode 100644 wxcomponents/vant/cascader/index.json create mode 100644 wxcomponents/vant/cascader/index.wxml create mode 100644 wxcomponents/vant/cascader/index.wxs create mode 100644 wxcomponents/vant/cascader/index.wxss diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5bab9b4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +**/.idea +.idea +/node_modules/ +project.config.json +project.private.config.json \ No newline at end of file diff --git a/main.js b/main.js index 5016b80..e7d3d67 100644 --- a/main.js +++ b/main.js @@ -5,11 +5,11 @@ import zpMixins from '@/uni_modules/zp-mixins/index.js'; // #ifndef VUE3 import Vue from 'vue'; - Vue.use(zpMixins); - Vue.config.productionTip = false; App.mpType = 'app'; +// import Vant from 'vant'; +// Vue.use(Vant); const app = new Vue({ ...App }); diff --git a/manifest.json b/manifest.json index 432f912..06ef38e 100644 --- a/manifest.json +++ b/manifest.json @@ -38,6 +38,9 @@ }, "ios" : {}, "sdkConfigs" : {} + }, + "uniStatistics" : { + "enable" : false } }, "quickapp" : {}, @@ -65,16 +68,28 @@ "version" : "0.3.6", "provider" : "wx069ba97219f66d99" } + }, + "uniStatistics" : { + "enable" : false } }, "mp-alipay" : { - "usingComponents" : true + "usingComponents" : true, + "uniStatistics" : { + "enable" : false + } }, "mp-baidu" : { - "usingComponents" : true + "usingComponents" : true, + "uniStatistics" : { + "enable" : false + } }, "mp-toutiao" : { - "usingComponents" : true + "usingComponents" : true, + "uniStatistics" : { + "enable" : false + } }, "uniStatistics" : { "enable" : false @@ -82,5 +97,48 @@ "vueVersion" : "2", "networkTimeout" : { "request" : 60000 - } + }, + "h5" : { + "uniStatistics" : { + "enable" : false + }, + "sdkConfigs" : { + "maps" : { + "qqmap" : { + "key" : "UDOBZ-KWRKZ-XCZXE-ZFSTS-QPNKV-VKBK7" + } + } + } + }, + "mp-jd" : { + "uniStatistics" : { + "enable" : false + } + }, + "mp-kuaishou" : { + "uniStatistics" : { + "enable" : false + } + }, + "mp-lark" : { + "uniStatistics" : { + "enable" : false + } + }, + "mp-qq" : { + "uniStatistics" : { + "enable" : false + } + }, + "quickapp-webview-huawei" : { + "uniStatistics" : { + "enable" : false + } + }, + "quickapp-webview-union" : { + "uniStatistics" : { + "enable" : false + } + }, + "fallbackLocale" : "zh-Hans" } diff --git a/package.json b/package.json index a6ba5fd..c46397e 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,20 @@ { - "name": "epmet-work-mp", - "version": "1.0.0", - "description": "{\r \"pagePath\": \"pages/information/information\",\r \"text\": \"数据\",\r \"iconPath\": \"images/home/information.png\",\r \"selectedIconPath\": \"images/home/informationSelected.png\"\r },", - "main": ".eslintrc.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "dependencies": { - "@vant/weapp": "^1.11.4" - }, - "license": "ISC", - "devDependencies": {}, - "repository": { - "type": "git", - "url": "http://120.46.222.128:10021/elink-star/epmet-work-mp.git" - } -} \ No newline at end of file + "name": "epmet-work-mp", + "version": "1.0.0", + "description": "{\r \"pagePath\": \"pages/information/information\",\r \"text\": \"数据\",\r \"iconPath\": \"images/home/information.png\",\r \"selectedIconPath\": \"images/home/informationSelected.png\"\r },", + "main": ".eslintrc.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "", + "dependencies": { + "@vant/weapp": "^1.11.4", + "vant": "^4.9.8" + }, + "license": "ISC", + "devDependencies": {}, + "repository": { + "type": "git", + "url": "http://120.46.222.128:10021/elink-star/epmet-work-mp.git" + } +} diff --git a/pages.json b/pages.json index ef10853..31e5e55 100644 --- a/pages.json +++ b/pages.json @@ -591,6 +591,7 @@ "navigationBarTitleText": "WeChat", "navigationBarTextStyle": "black", "usingComponents": { + "wuxDatePicker":"/wxcomponents/dist/date-picker/index", "van-action-sheet": "/wxcomponents/vant/action-sheet/index", "van-area": "/wxcomponents/vant/area/index", "van-button": "/wxcomponents/vant/button/index", @@ -615,6 +616,7 @@ "van-notify": "/wxcomponents/vant/notify/index", "van-panel": "/wxcomponents/vant/panel/index", "van-popup": "/wxcomponents/vant/popup/index", + "van-cascader": "/wxcomponents/vant/cascader/index", "van-progress": "/wxcomponents/vant/progress/index", "van-radio": "/wxcomponents/vant/radio/index", "van-radio-group": "/wxcomponents/vant/radio-group/index", diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index e97a460..003add5 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -3,7 +3,7 @@ - 我的 + diff --git a/subpages/OCRCard/pages/index/index.vue b/subpages/OCRCard/pages/index/index.vue index 90e57db..20a5fa0 100644 --- a/subpages/OCRCard/pages/index/index.vue +++ b/subpages/OCRCard/pages/index/index.vue @@ -2,7 +2,7 @@ - + 身份证识别 @@ -137,6 +137,8 @@ page { width: 100%; height: 550rpx; overflow: hidden; + background-image: url('/static/subpages/OCRCard/image/headerBg.png'); + background-size: 100% 100%; } .blue { color: #3a80e7; diff --git a/subpages/addResi/pages/editResi/editResi.vue b/subpages/addResi/pages/editResi/editResi.vue index d4ba84f..b52296f 100644 --- a/subpages/addResi/pages/editResi/editResi.vue +++ b/subpages/addResi/pages/editResi/editResi.vue @@ -3,7 +3,7 @@ - + {{ formType == 'edit' ? '修改人口信息' : '新增人口信息' }} @@ -1992,10 +1992,8 @@ page { width: 100%; height: 444rpx; overflow: hidden; - /* position: fixed; - top: 0; - left: 0; - z-index: 1000; */ + background-image: url('/static/subpages/addResi/pages/images/header.png'); + background-size: 100% 100%; } .header .header-bg { width: 100%; diff --git a/subpages/addhouse/pages/addhouse/addhouse.vue b/subpages/addhouse/pages/addhouse/addhouse.vue index 438435e..2d1b366 100644 --- a/subpages/addhouse/pages/addhouse/addhouse.vue +++ b/subpages/addhouse/pages/addhouse/addhouse.vue @@ -3,7 +3,7 @@ - + {{ formType == 'edit' ? '修改房屋信息' : '新增房屋信息' }} @@ -897,6 +897,8 @@ page { width: 100%; height: 444rpx; overflow: hidden; + background-image: url('/static/subpages/addhouse/pages/images/header.png'); + background-size: 100% 100%; } .header .header-bg { width: 100%; diff --git a/subpages/communitySelfInsp/pages/synthesis/synthesis.vue b/subpages/communitySelfInsp/pages/synthesis/synthesis.vue index ff2ef72..63d2f67 100644 --- a/subpages/communitySelfInsp/pages/synthesis/synthesis.vue +++ b/subpages/communitySelfInsp/pages/synthesis/synthesis.vue @@ -1,7 +1,7 @@