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 @@
}
-
+
@@ -17,17 +17,33 @@
团购有效期
-
-
- 指定天数内有效
-
-
- 指定时间段内有效
-
-
+
+
+
+ 指定天数内有效
+
+
+ 用户购买
+
+
+
+ 天内有效
+
+
+
+
+
+
+
+
+ 指定时间段内有效
+
+
+
+
+
-
确定
@@ -228,6 +244,7 @@
购买须知
+
@@ -252,18 +269,66 @@
-
-
- 其他说明
+
+
+
+ 适用包间
+
+
+
+
+
+
+
+
+
+
+ 适用时长
+
+
+
+
+
+
+ 小时
+
+
+
+
+
+
+
+ 使用人数
+
+
+
+
+
+
+
+
+
+
+ 退改说明
+
+
+
+ custom-textarea-class='!bg-[#F8F9FA]'/>
-
+
+
+ 发布
+
+
@@ -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",