diff --git a/App.vue b/App.vue index 6b69387..ef904c8 100644 --- a/App.vue +++ b/App.vue @@ -1,41 +1,63 @@ + + .mb-60 { + margin-bottom: 60rpx; + } + + .mt-60 { + margin-top: 60rpx; + } + + .mt-40 { + margin-top: 40rpx; + } + + .mt-20 { + margin-top: 20vh; + } + + .content-text { + line-height: 50rpx; + font-size: 28rpx; + } + \ No newline at end of file diff --git a/package.json b/package.json index c6ede65..136edbc 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,7 @@ "author": "", "license": "ISC", "dependencies": { - "@dcloudio/uni-ui": "^1.5.6", "ali-oss": "^6.21.0", - "dayjs": "^1.11.12", - "sass": "^1.79.3" + "dayjs": "^1.11.12" } } diff --git a/pages.json b/pages.json index e063b4c..b42e356 100644 --- a/pages.json +++ b/pages.json @@ -1,129 +1,26 @@ { - "pages": [ - { - "path" : "pages/index/home", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/area", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/checkAge", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/fillIn", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/greet", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/greetP1", - "style" : - { - "navigationBarTitleText" : "" + "pages": [{ + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "" } }, { - "path" : "pages/index/greetP2", - "style" : - { - "navigationBarTitleText" : "" + "path": "pages/index/order", + "style": { + "navigationBarTitleText": "" } }, { - "path" : "pages/index/greetP3", - "style" : - { - "navigationBarTitleText" : "" + "path": "pages/index/center", + "style": { + "navigationBarTitleText": "" } }, { - "path" : "pages/index/greetP4", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/greetP5", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/appointment", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/back", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/viewDetail", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/reschedule", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/cancle", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/start", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/comment", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/index/selectAppointment", - "style" : - { - "navigationBarTitleText" : "" + "path": "pages/index/home", + "style": { + "navigationBarTitleText": "" } } ], @@ -163,17 +60,46 @@ "path": "auth/loginAndRegisterAndForgetPassword" }, { - "path" : "auth/takePhoto", - "style" : - { - "navigationBarTitleText" : "" - } + "path": "info/chooseArea" + }, + { + "path": "info/isAdult" + }, + { + "path": "info/fillInfo" + }, + { + "path": "info/greet" + }, + { + "path": "info/startTest" + }, + { + "path": "info/infoPages" + }, + { + "path": "info/appointDate" + }, + { + "path" : "info/feedback" + }, + { + "path" : "info/start" + }, + { + "path" : "info/experience" + }, + { + "path" : "info/comment" + }, + { + "path" : "info/appoint" } ] }], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "答题小程序", + "navigationBarTitleText": "酒店桌布", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", "navigationStyle": "custom" diff --git a/pages/index/home.vue b/pages/index/home.vue index 2372563..e5ac677 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -4,7 +4,7 @@ 您是否有品鉴威士忌的习惯? - + 上一题 @@ -29,9 +29,16 @@ this.isActive = value }, next(){ - uni.navigateTo({ - url:'/pages/index/area' - }) + if(this.isActive!==null){ + uni.navigateTo({ + url:'/pages_order/info/chooseArea' + }) + }else{ + uni.showToast({ + title:'请选择后进行下一题', + icon: 'none' + }) + } } } } diff --git a/pages_order/auth/loginAndRegisterAndForgetPassword.vue b/pages_order/auth/loginAndRegisterAndForgetPassword.vue index cfaaa3a..a9fbf75 100644 --- a/pages_order/auth/loginAndRegisterAndForgetPassword.vue +++ b/pages_order/auth/loginAndRegisterAndForgetPassword.vue @@ -198,7 +198,7 @@ // uni.$uv.toast('倒计时结束'); }, start() { - // uni.`$uv.toast('倒计时开始'); + // uni.$uv.toast('倒计时开始'); } } } diff --git a/pages_order/auth/wxLogin.vue b/pages_order/auth/wxLogin.vue index 8678652..0b21dc6 100644 --- a/pages_order/auth/wxLogin.vue +++ b/pages_order/auth/wxLogin.vue @@ -1,6 +1,6 @@ + + \ No newline at end of file diff --git a/pages_order/info/appointDate.vue b/pages_order/info/appointDate.vue new file mode 100644 index 0000000..02dde70 --- /dev/null +++ b/pages_order/info/appointDate.vue @@ -0,0 +1,191 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/chooseArea.vue b/pages_order/info/chooseArea.vue new file mode 100644 index 0000000..81602eb --- /dev/null +++ b/pages_order/info/chooseArea.vue @@ -0,0 +1,38 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/comment.vue b/pages_order/info/comment.vue new file mode 100644 index 0000000..333bcfe --- /dev/null +++ b/pages_order/info/comment.vue @@ -0,0 +1,34 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/experience.vue b/pages_order/info/experience.vue new file mode 100644 index 0000000..60a4a8e --- /dev/null +++ b/pages_order/info/experience.vue @@ -0,0 +1,104 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/feedback.vue b/pages_order/info/feedback.vue new file mode 100644 index 0000000..7e701f5 --- /dev/null +++ b/pages_order/info/feedback.vue @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/fillInfo.vue b/pages_order/info/fillInfo.vue new file mode 100644 index 0000000..ff09793 --- /dev/null +++ b/pages_order/info/fillInfo.vue @@ -0,0 +1,90 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/greet.vue b/pages_order/info/greet.vue new file mode 100644 index 0000000..4d56807 --- /dev/null +++ b/pages_order/info/greet.vue @@ -0,0 +1,40 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/infoPages.vue b/pages_order/info/infoPages.vue new file mode 100644 index 0000000..ebcac0b --- /dev/null +++ b/pages_order/info/infoPages.vue @@ -0,0 +1,176 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/isAdult.vue b/pages_order/info/isAdult.vue new file mode 100644 index 0000000..626ac72 --- /dev/null +++ b/pages_order/info/isAdult.vue @@ -0,0 +1,89 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/start.vue b/pages_order/info/start.vue new file mode 100644 index 0000000..20da57c --- /dev/null +++ b/pages_order/info/start.vue @@ -0,0 +1,49 @@ + + + + + \ No newline at end of file diff --git a/pages_order/info/startTest.vue b/pages_order/info/startTest.vue new file mode 100644 index 0000000..7b1990d --- /dev/null +++ b/pages_order/info/startTest.vue @@ -0,0 +1,63 @@ + + + + + \ No newline at end of file diff --git a/pages_order/static/info/down.svg b/pages_order/static/info/down.svg new file mode 100644 index 0000000..3cea253 --- /dev/null +++ b/pages_order/static/info/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pages_order/static/info/下拉.png b/pages_order/static/info/下拉.png new file mode 100644 index 0000000..0ba540c Binary files /dev/null and b/pages_order/static/info/下拉.png differ diff --git a/project.config.json b/project.config.json index 9ac7dd5..e235c35 100644 --- a/project.config.json +++ b/project.config.json @@ -2,11 +2,6 @@ "appid": "wx75654b529ae6a8ea", "compileType": "miniprogram", "miniprogramRoot": "unpackage/dist/dev/mp-weixin/", - "libVersion": "3.5.8", - "packOptions": { - "ignore": [], - "include": [] - }, "setting": { "coverView": true, "es6": true, @@ -19,12 +14,18 @@ "ignore": [], "disablePlugins": [], "outputPath": "" - } + }, + "ignoreUploadUnusedFiles": true }, "condition": {}, "editorSetting": { "tabIndent": "insertSpaces", "tabSize": 2 }, - "srcMiniprogramRoot": "unpackage/dist/dev/mp-weixin/" + "srcMiniprogramRoot": "unpackage/dist/dev/mp-weixin/", + "libVersion": "3.5.8", + "packOptions": { + "ignore": [], + "include": [] + } } \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index e0971dc..c372b95 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -3,5 +3,18 @@ "projectname": "drink-answer-wechat-uniapp-24-9-2", "setting": { "compileHotReLoad": true + }, + "condition": { + "miniprogram": { + "list": [ + { + "name": "pages_order/auth/wxUserInfo", + "pathName": "pages_order/auth/wxUserInfo", + "query": "", + "launchMode": "default", + "scene": null + } + ] + } } } \ No newline at end of file diff --git a/uni.scss b/uni.scss index b1bc837..51c0785 100644 --- a/uni.scss +++ b/uni.scss @@ -19,7 +19,8 @@ $uni-color-primary: #007aff; $uni-color-success: #4cd964; $uni-color-warning: #f0ad4e; $uni-color-error: #dd524d; -$uni-color-login-btn: #00bf61; +$uni-wx-color: #07c060; + /* 文字基本颜色 */ $uni-text-color:#333;//基本色 diff --git a/utils/index.js b/utils/index.js index 3532db2..b40f098 100644 --- a/utils/index.js +++ b/utils/index.js @@ -1,3 +1,4 @@ + import Vue from 'vue' import util from './utils.js'