From caa835bb700c6531fb9e47b1992b5b28346d2650 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Sun, 14 Dec 2025 19:29:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=AE=A1=E7=90=86=E5=A5=97?= =?UTF-8?q?=E9=A4=90=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bundle/setmeal/add.vue | 115 +++++++++++++++++--- src/manifest.json | 210 +++++++++++++++++++++++-------------- src/pages.json | 8 ++ 3 files changed, 237 insertions(+), 96 deletions(-) diff --git a/src/bundle/setmeal/add.vue b/src/bundle/setmeal/add.vue index 87412ad..ed6af59 100644 --- a/src/bundle/setmeal/add.vue +++ b/src/bundle/setmeal/add.vue @@ -6,7 +6,7 @@ } @@ -301,6 +366,10 @@ // 团购有效期 const showExpireTimePooup = ref(false) + const chekcedType = ref(1) + const exprireDay = ref(1) + const startTime = ref(Date.now()) + const endTime = ref(Date.now()) onLoad((args) => { // TODO 如果是编辑页面咋额 @@ -325,6 +394,22 @@ handleUploadFile: (event: any) => { fileList.value = event.fileList }, + + /** + * 有效期天数 + */ + handleChangeExpirseDay: () => { + + }, + + /** + * 选择范围指定日期 + */ + handleConfirmRangeTime: (date: {value: number[]}) => { + console.log("🚀 ~ date:", date) + startTime.value = date.value[0] + endTime.value = date.value[1] + } } diff --git a/src/manifest.json b/src/manifest.json index fa783d9..09cbe33 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,6 @@ { - "name": "茶址", - "appid": "__UNI__D1E5001", + "name": "", + "appid": "", "description": "", "versionName": "1.0.0", "versionCode": "100", @@ -18,93 +18,22 @@ "modules": {}, "distribute": { "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "minSdkVersion": 30, - "targetSdkVersion": 30, - "abiFilters": [ - "armeabi-v7a", - "arm64-v8a" - ] + "permissions": [] }, "ios": {}, - "sdkConfigs": {}, - "icons": { - "android": { - "hdpi": "static/app/icons/72x72.png", - "xhdpi": "static/app/icons/96x96.png", - "xxhdpi": "static/app/icons/144x144.png", - "xxxhdpi": "static/app/icons/192x192.png" - }, - "ios": { - "appstore": "static/app/icons/1024x1024.png", - "ipad": { - "app": "static/app/icons/76x76.png", - "app@2x": "static/app/icons/152x152.png", - "notification": "static/app/icons/20x20.png", - "notification@2x": "static/app/icons/40x40.png", - "proapp@2x": "static/app/icons/167x167.png", - "settings": "static/app/icons/29x29.png", - "settings@2x": "static/app/icons/58x58.png", - "spotlight": "static/app/icons/40x40.png", - "spotlight@2x": "static/app/icons/80x80.png" - }, - "iphone": { - "app@2x": "static/app/icons/120x120.png", - "app@3x": "static/app/icons/180x180.png", - "notification@2x": "static/app/icons/40x40.png", - "notification@3x": "static/app/icons/60x60.png", - "settings@2x": "static/app/icons/58x58.png", - "settings@3x": "static/app/icons/87x87.png", - "spotlight@2x": "static/app/icons/80x80.png", - "spotlight@3x": "static/app/icons/120x120.png" - } - } - } - }, - "compatible": { - "ignoreVersion": true + "sdkConfigs": {} } }, "quickapp": {}, "mp-weixin": { - "appid": "wx63e106209b842919", + "appid": "", "setting": { - "urlCheck": false, - "es6": true, - "minified": true + "urlCheck": false }, - "usingComponents": true, - "requiredPrivateInfos": [ - "getLocation" - ], - "optimization": { - "subPackages": true - }, - "permission": { - "scope.userLocation": { - "desc": "我们需要获取您的位置,以方便推荐附近茶室给您" - } - } + "usingComponents": true }, "mp-alipay": { - "usingComponents": true, - "styleIsolation": "shared" + "usingComponents": true }, "mp-baidu": { "usingComponents": true @@ -116,7 +45,126 @@ "enable": false }, "vueVersion": "3", - "h5": { - "router": {} + "default": { + "name": "茶址", + "appid": "__UNI__D1E5001", + "description": "", + "versionName": "1.0.0", + "versionCode": "100", + "transformPx": false, + "h5": { + "router": {} + }, + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "compatible": { + "ignoreVersion": true + }, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + "modules": {}, + "distribute": { + "android": { + "minSdkVersion": 30, + "targetSdkVersion": 30, + "abiFilters": [ + "armeabi-v7a", + "arm64-v8a" + ], + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + "ios": {}, + "sdkConfigs": {}, + "icons": { + "android": { + "hdpi": "static/app/icons/72x72.png", + "xhdpi": "static/app/icons/96x96.png", + "xxhdpi": "static/app/icons/144x144.png", + "xxxhdpi": "static/app/icons/192x192.png" + }, + "ios": { + "appstore": "static/app/icons/1024x1024.png", + "ipad": { + "app": "static/app/icons/76x76.png", + "app@2x": "static/app/icons/152x152.png", + "notification": "static/app/icons/20x20.png", + "notification@2x": "static/app/icons/40x40.png", + "proapp@2x": "static/app/icons/167x167.png", + "settings": "static/app/icons/29x29.png", + "settings@2x": "static/app/icons/58x58.png", + "spotlight": "static/app/icons/40x40.png", + "spotlight@2x": "static/app/icons/80x80.png" + }, + "iphone": { + "app@2x": "static/app/icons/120x120.png", + "app@3x": "static/app/icons/180x180.png", + "notification@2x": "static/app/icons/40x40.png", + "notification@3x": "static/app/icons/60x60.png", + "settings@2x": "static/app/icons/58x58.png", + "settings@3x": "static/app/icons/87x87.png", + "spotlight@2x": "static/app/icons/80x80.png", + "spotlight@3x": "static/app/icons/120x120.png" + } + } + } + } + }, + "quickapp": {}, + "mp-weixin": { + "appid": "wx63e106209b842919", + "setting": { + "urlCheck": false, + "es6": true, + "minified": true + }, + "requiredPrivateInfos": [ + "getLocation" + ], + "optimization": { + "subPackages": true + }, + "usingComponents": true, + "permission": { + "scope.userLocation": { + "desc": "我们需要获取您的位置,以方便推荐附近茶室给您" + } + } + }, + "mp-alipay": { + "usingComponents": true, + "styleIsolation": "shared" + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "3" } } \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index 5d03374..0a0a7d2 100644 --- a/src/pages.json +++ b/src/pages.json @@ -275,6 +275,14 @@ "navigationStyle": "custom" } }, + { + "path": "setmeal/add", + "type": "page", + "layout": "default", + "style": { + "navigationStyle": "custom" + } + }, { "path": "setmeal/setmeal", "type": "page",