From 42680539fa3f5f8a67a7db9bfc0e952acf41ee44 Mon Sep 17 00:00:00 2001 From: miko <136057505@qq.com> Date: Wed, 29 Jun 2022 15:33:51 +0800 Subject: [PATCH] aa --- project.config.json | 28 +- src/app.wpy | 5 +- src/assets/cameraU.png | Bin 10790 -> 0 bytes src/assets/close.png | Bin 1385 -> 0 bytes src/assets/cs.png | Bin 3109 -> 0 bytes src/assets/edit.png | Bin 1575 -> 0 bytes src/assets/hint.png | Bin 359459 -> 0 bytes src/assets/home.png | Bin 3484 -> 0 bytes src/assets/kd.png | Bin 1611 -> 0 bytes src/assets/logo.png | Bin 19032 -> 0 bytes src/assets/main-logo.png | Bin 19200 -> 0 bytes src/assets/mall.png | Bin 40816 -> 0 bytes src/assets/pic.png | Bin 567 -> 0 bytes src/assets/question.png | Bin 1453 -> 0 bytes src/assets/r1.png | Bin 3507 -> 0 bytes src/assets/r2.png | Bin 4429 -> 0 bytes src/assets/r3.png | Bin 3625 -> 0 bytes src/assets/r4.png | Bin 4300 -> 0 bytes src/assets/r5.png | Bin 3550 -> 0 bytes src/assets/return.png | Bin 2006 -> 0 bytes src/assets/scan.png | Bin 0 -> 20879 bytes src/assets/tab1.png | Bin 1885 -> 0 bytes src/assets/tab1s.png | Bin 1594 -> 0 bytes src/assets/tab2.png | Bin 1909 -> 0 bytes src/assets/tab2s.png | Bin 1676 -> 0 bytes src/assets/ty.png | Bin 2284 -> 0 bytes src/common/http.js | 16 +- src/pages/approvePreview.wpy | 317 ++++++++ src/pages/index.wpy | 1405 ++++------------------------------ src/pages/progress.wpy | 17 +- 30 files changed, 492 insertions(+), 1296 deletions(-) create mode 100644 src/assets/scan.png create mode 100644 src/pages/approvePreview.wpy diff --git a/project.config.json b/project.config.json index 06614f3..0f4b7f2 100644 --- a/project.config.json +++ b/project.config.json @@ -3,7 +3,9 @@ "setting": { "urlCheck": true, "es6": true, + "enhance": false, "postcss": false, + "preloadBackgroundData": false, "minified": false, "newFeature": true, "coverView": true, @@ -11,6 +13,7 @@ "autoAudits": false, "showShadowRootInWxmlPanel": true, "scopeDataCheck": false, + "uglifyFileName": false, "checkInvalidKey": true, "checkSiteMap": true, "uploadWithSourceMap": true, @@ -22,6 +25,7 @@ "disablePlugins": [], "outputPath": "" }, + "enableEngineNative": false, "useIsolateContext": true, "useCompilerModule": false, "userConfirmedUseCompilerModuleSwitch": false, @@ -30,10 +34,30 @@ "minifyWXSS": true }, "compileType": "miniprogram", - "appid": "wx5cda879d33846e26", + "appid": "wxf362e74c32546fca", "projectname": "mpshaodai", "miniprogramRoot": "weapp/", "simulatorType": "wechat", "simulatorPluginLibVersion": {}, - "condition": {} + "condition": { + "plugin": { + "list": [] + }, + "game": { + "list": [] + }, + "gamePlugin": { + "list": [] + }, + "miniprogram": { + "list": [ + { + "name": "pages/approvePreview", + "pathName": "pages/approvePreview", + "query": "schoolId=4114", + "scene": null + } + ] + } + } } \ No newline at end of file diff --git a/src/app.wpy b/src/app.wpy index 6ba9f87..9c2bdf7 100644 --- a/src/app.wpy +++ b/src/app.wpy @@ -1,5 +1,6 @@ + + + + + + + + + + + + + + + +{ +navigationBarTextStyle: "white", +navigationBarBackgroundColor: "#45C9C3", +navigationBarTitleText: '小树懒捎带', +usingComponents: { +"van-card": "module:@vant/weapp/lib/card/index", +"van-icon": "module:@vant/weapp/lib/icon/index", +"van-overlay": "module:@vant/weapp/lib/overlay/index", +"van-cell": "module:@vant/weapp/lib/cell/index", +"van-cell-group": "module:@vant/weapp/lib/cell-group/index", +"van-search": "module:@vant/weapp/lib/search/index", +"van-image": "module:@vant/weapp/lib/image/index", +"van-dialog": "module:@vant/weapp/lib/dialog/index", +header: '~@/components/header', +"van-picker": "module:@vant/weapp/lib/picker/index", +"van-popup": "module:@vant/weapp/lib/popup/index", +'van-button': 'module:@vant/weapp/lib/button', +"van-action-sheet": "module:@vant/weapp/lib/action-sheet/index", +"van-tabbar": "module:@vant/weapp/lib/tabbar/index", +"van-tabbar-item": "module:@vant/weapp/lib/tabbar-item/index" +} +} + diff --git a/src/pages/index.wpy b/src/pages/index.wpy index 3b3bcbf..b3b0eb1 100644 --- a/src/pages/index.wpy +++ b/src/pages/index.wpy @@ -4,7 +4,6 @@ color: black; } - .main { margin-bottom: 100rpx; box-sizing: border-box; @@ -58,417 +57,11 @@ .van-image{ display: block!important; } - - -.message { - border: 1px solid white; - border-radius: 7px; - background: #FFFFFFDB; - min-height: 228rpx; - width: 678rpx; - margin-left: 36rpx; - margin-top: -80rpx; - - .inner { - border-radius: 7px; - box-sizing: border-box; - background: white; - margin-top: 80rpx; - display: flex; - flex-direction: column; - min-height: 148rpx; - - .inner-top { - min-height: 148rpx; - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; - padding-right: 24rpx; - - .scroll-container { - position: relative; - display: flex; - flex-direction: row; - align-items: center; - overflow-y: scroll; - min-height: 148rpx; - max-height: 152rpx; - } - } - - .parse-result { - box-sizing: border-box; - justify-content: space-between; - border-top: 1px solid #EBEBEB; - display: flex; - flex-direction: row; - align-items: center; - margin: 0 24rpx; - height: 90rpx; - } - - image { - height: 36rpx; - width: 36rpx - } - } - - .input-null { - font-size: 33rpx; - margin-left: 25rpx; - width: 553rpx; - border: none - } - - .placeholder { - color: #45C9C3 !important; - } - - .input-notnull { - min-height: 148rpx; - max-height: 170rpx; - padding: 15rpx 13rpx; - align-self: flex-start; - font-size: 28rpx; - height: 33rpx; - width: 553rpx; - border: none - } -} - -.bt-submit { - margin-bottom: 40rpx; - margin-left: 214rpx; - color: white !important; - margin-top: 43rpx; - height: 91rpx !important; - width: 322rpx; -} - -.bt-submit-d { - margin-left: 214rpx; - color: white !important; - margin-top: 13rpx; - margin-bottom: 30rpx; - height: 91rpx !important; - width: 322rpx; -} - -.bt-update { - color: white !important; - margin-top: 33rpx; - height: 91rpx !important; - width: 322rpx; -} - -.address { - margin-left: 36rpx; - - box-sizing: border-box; - display: flex; - flex-direction: column; - margin-top: 22rpx; - border-radius: 7px; - background: #FFFFFFDB; - min-height: 240rpx; - width: 678rpx; - padding: 25rpx 24rpx 5rpx 24rpx; - - .top { - border-bottom: 1px solid #EDEDED; - height: 65rpx; - } - - .bottom { - box-sizing: border-box; - display: flex; - flex: auto; - flex-direction: row; - align-items: center; - justify-content: space-between; - - .address-text { - letter-spacing:2rpx; - font-size: 29rpx; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: #6C6565; - line-height: 40px; - } - - image { - width: 36rpx; - height: 36rpx; - } - } -} - -.remark { - margin-left: 36rpx; +.item{ + margin-top: 10rpx; + padding-left: 20rpx;background: white;height: 150rpx;width: 100%; box-sizing: border-box; - display: flex; - flex-direction: column; - margin-top: 22rpx; - border-radius: 7px; - background: #FFFFFFDB; - min-height: 422rpx; - width: 678rpx; - padding: 25rpx 24rpx 5rpx 24rpx; - - .top { - border-bottom: 1px solid #EDEDED; - height: 65rpx; - } - - .middle { - padding-top: 17rpx; - display: flex; - align-content: flex-start; - flex-direction: row; - flex-wrap: wrap; - box-sizing: border-box; - height: 203rpx; - width: 100%; - - .tag-uncheck { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - margin: 12rpx 24rpx 10rpx 0; - box-sizing: border-box; - height: 72rpx; - padding: 0rpx 31rpx; - font-size: 29rpx; - color: #606060; - border-radius: 34rpx; - background: #F7F7F7; - } - - .tag-checked { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; - border: 1px solid #45C9C2; - margin: 12rpx 24rpx 10rpx 0; - box-sizing: border-box; - height: 72rpx; - padding: 0rpx 31rpx; - font-size: 29rpx; - color: #45C9C2; - border-radius: 34rpx; - background: #F7F7F7; - } - } - - .bottom { - box-sizing: border-box; - display: flex; - flex: auto; - flex-direction: row; - align-items: center; - - input { - margin-left: 15rpx; - color: #636363; - width: 558rpx; - font-size: 29rpx; - } - - image { - width: 40rpx; - height: 40rpx; - } - } -} - -.address-sheet { - --action-sheet-header-font-size: 36rpx; - --action-sheet-header-height: 108rpx; - --font-weight-bold: 400; - --popup-round-border-radius: 15rpx; - - .container { - box-sizing: border-box; - display: flex; - flex-direction: column; - align-items: center; - background: white; - height: 880rpx; - width: 100%; - } - - .item-container { - margin-top: 42rpx; - margin-bottom: 22rpx; - - box-sizing: border-box; - width: 100%; - display: flex; - flex-direction: column; - height: 132rpx; - padding: 0rpx 44rpx; - - .top { - display: flex; - flex-direction: row; - width: 100%; - height: 66rpx; - align-items: flex-end; - - label { - font-weight: 600; - font-size: 34rpx - } - - .right { - align-items: flex-end; - margin-left: 46rpx; - flex: 1; - display: flex; - flex-direction: row; - - input { - margin-bottom: 2rpx; - font-size: 33rpx; - width: 83rpx; - margin-right: 10rpx; - } - - label { - margin-right: 30rpx; - font-weight: 600; - font-size: 34rpx - } - } - - } - - .bottom { - color: #858585; - display: flex; - flex-direction: row; - width: 100%; - height: 66rpx; - align-items: flex-end; - label { - letter-spacing:1px; - font-size: 24rpx; - margin-left: 26rpx - } - - - } - } -} -.pop-icon{ - height: 162rpx;width: 162rpx;border-radius: 50%;background: white;margin-top: -74rpx;display: flex;flex-direction: column;align-items: center;justify-content: center -} - -.pop-item{ - margin-top: 22rpx; - display: flex; - flex-direction: row; - align-items: center; - width: 484rpx; - height: 82rpx; - background: rgba(4, 104, 195, 0.08); - border-radius: 46px; - image{ - height: 44rpx; - width: 44rpx; - } - label{ - font-size: 29rpx; - font-weight: 400; - color: #45C9C3; - line-height: 40rpx; - } -} - -.pop-button{ - display: flex; - align-items: center; - flex-direction: row; - justify-content:center; - margin-top: 64rpx; - - font-size: 33rpx; - font-weight: 500; - color: #FFFFFF; - line-height: 46rpx; - letter-spacing: 2rpx; - width: 651rpx; - height: 91rpx; - background: #45C9C3; - border-radius: 46rpx; -} - -.cellChecked{ - background-color: #07c1604C!important; - color: #969799!important; -} -.bt-service{ - --button-normal-font-size: 30rpx!important; - background: white!important; - box-shadow:0px 0px 20px 10px #EAEAEA; - border-radius: 43rpx!important; - position: fixed!important; - --button-default-height: 88rpx; - width: 200rpx; - right: -30rpx!important; -} -.pay-sheet-container{ - align-items: center; - height: 800rpx; - width: 100%; - padding: 10rpx 55rpx 0 55rpx; - box-sizing: border-box; - display: flex; - flex-direction: column; - .choose-container{ - width: 100%;height: 150rpx;display: flex;flex-direction: row;justify-content: space-between;margin-top: 20rpx; - .item{ - width: 311rpx;display: flex;flex-direction: column;align-items: center;justify-content: center;border: 1rpx solid #6F7270;border-radius: 8rpx;color: #6F7270; - } - } - .bt-pay{ - margin-top: 30rpx;height: 84rpx;border-radius: 42rpx;width: 294rpx;background: #5BD0C7;display: flex;flex-direction: row;align-items: center;justify-content: center;font-size: 33rpx;color: white - } - - .choose{ - border: 1rpx solid #6FCAC2!important; - background: #ECFCF6!important; - color: #6FCAC2!important; - } - -} - -.sheet-title { - line-height: 52rpx; - height: 52rpx; - width: 100%; - font-size: 32rpx; - font-weight: 600; -} -.van-action-sheet__header{ - --action-sheet-header-font-size: 43rpx!important; - --font-weight-bold: 400!important; - --action-sheet-header-height: 120rpx!important; -} -.auto-get{ - width: 250rpx;font-size: 30rpx;background: white;border: 0px;font-weight: 500;letter-spacing: 1px;color: #0F8BFC; -} -.auto-get::after { - border: none; -} -movable-view { - pointer-events: auto; -} -movable-area { - pointer-events: none; + display: flex;flex-direction: row;align-items: center } @@ -485,399 +78,16 @@ movable-area {