From 70e6d9837880e92952fca94fba301e2efd0e75aa Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 7 Dec 2021 17:50:06 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AiTopFixed.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/AiTopFixed.vue b/src/components/AiTopFixed.vue index 5c801794..6e4581ec 100644 --- a/src/components/AiTopFixed.vue +++ b/src/components/AiTopFixed.vue @@ -39,10 +39,8 @@ export default { } .fixed { - display: flex; - align-items: center; width: 100%; - height: 100rpx; + min-height: 100px; top: 0; position: fixed; z-index: 9; @@ -54,11 +52,8 @@ export default { } .content { - display: flex; - align-items: center; - width: 100%; - height: 100rpx; - padding: 0 32px; + min-height: 100px; + padding: 20px 32px; box-sizing: border-box; } From 7002ca561ed49f5d71104bedd87a94e977fc073e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E6=9C=89=E6=B8=85=E9=A6=99=E6=9C=88=E6=9C=89?= =?UTF-8?q?=E9=98=B4?= <185154740@qq.com> Date: Tue, 7 Dec 2021 18:18:14 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=B5=B0=E8=AE=BF=E6=85=B0=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - src/apps/AppWalkask/AppWalkask.vue | 51 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 src/apps/AppWalkask/AppWalkask.vue diff --git a/package.json b/package.json index fea1f5f6..348ca233 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,6 @@ "miniprogram-api-typings": "^3.3.2", "node-sass": "npm:dart-sass@^1.25.0", "postcss-comment": "^2.0.0", - "sass-loader": "^7.1.0", "uview-ui": "^1.8.4", "vue-template-compiler": "^2.6.11" }, diff --git a/src/apps/AppWalkask/AppWalkask.vue b/src/apps/AppWalkask/AppWalkask.vue new file mode 100644 index 00000000..b82a00ad --- /dev/null +++ b/src/apps/AppWalkask/AppWalkask.vue @@ -0,0 +1,51 @@ + + + + + From 54ef536bf0fdce37639294300c7e9ae3c6b4583e Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 7 Dec 2021 20:38:13 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=BF=87=E6=B8=A1?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppAskForm/AppForm.vue | 10 +++++++--- src/components/AiResult.vue | 3 +++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/apps/AppAskForm/AppForm.vue b/src/apps/AppAskForm/AppForm.vue index 36c488bf..1dee8ce4 100644 --- a/src/apps/AppAskForm/AppForm.vue +++ b/src/apps/AppAskForm/AppForm.vue @@ -3,7 +3,7 @@ - + @@ -29,7 +29,11 @@ export default { return !!this.$route.query?.id && this.access }, errMsg() { - return this.err || (this.access ? "表单不存在" : "无法获取用户信息") + this.access && (this.err = "表单不存在") + return this.err || "数据读取中..." + }, + errStatus() { + return !!this.err ? "error" : "loading" }, isPreview() { return !!this.$route.query?.preview @@ -64,7 +68,7 @@ export default { }, created() { this.checkAccess() - document.title = "调查问卷" + document.title = "问卷调查" } } diff --git a/src/components/AiResult.vue b/src/components/AiResult.vue index f634921e..fe5bf54e 100644 --- a/src/components/AiResult.vue +++ b/src/components/AiResult.vue @@ -30,6 +30,9 @@ export default { if (this.status == "error") { obj.image = this.$cdn + "result/fail.png" obj.tips = this.tips || "提交失败!" + } else if (this.status == "loading") { + obj.image = "https://cdn.cunwuyun.cn/wxAdmin/img/message.png" + obj.tips = this.tips || "数据读取中..." } return obj }