From e8b31e43515b48566663684a249682051a348bf8 Mon Sep 17 00:00:00 2001 From: lisl <1223762861@qq.com> Date: Sat, 9 Oct 2021 15:28:40 +0800 Subject: [PATCH 1/2] =?UTF-8?q?update:=E4=B8=8B=E6=8B=89=E5=88=B7=E6=96=B0?= =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontCode2/sunshine_levy/src/App.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FrontCode2/sunshine_levy/src/App.vue b/FrontCode2/sunshine_levy/src/App.vue index 5c4affd..05d1add 100644 --- a/FrontCode2/sunshine_levy/src/App.vue +++ b/FrontCode2/sunshine_levy/src/App.vue @@ -23,7 +23,10 @@ export default { }; document.body.ontouchend = function(e) { this.endValue = e.changedTouches[0].pageY; - if (this.endValue - this.startValue > 0) { + if ( + this.endValue - this.startValue > 0 && + e.changedTouches[0].pageY === e.changedTouches[0].clientY + ) { window.location.reload(); } }; From cb92d52b949b2216bf8ceb8c5cf2b15f07c31f28 Mon Sep 17 00:00:00 2001 From: lisl <1223762861@qq.com> Date: Mon, 11 Oct 2021 10:09:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update:=E6=9B=B4=E6=96=B0=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontCode2/sunshine_levy/src/App.vue | 4 +++- FrontCode2/sunshine_levy/src/elementui/index.js | 13 +++++++++++-- FrontCode2/sunshine_levy/src/views/home.css | 3 ++- FrontCode2/sunshine_levy/src/views/index.vue | 13 +++++++++---- .../sunshine_levy/src/views/report/evaluatePage.vue | 6 ++---- .../sunshine_levy/src/views/report/evalute.vue | 1 + 6 files changed, 28 insertions(+), 12 deletions(-) diff --git a/FrontCode2/sunshine_levy/src/App.vue b/FrontCode2/sunshine_levy/src/App.vue index 05d1add..cc72a93 100644 --- a/FrontCode2/sunshine_levy/src/App.vue +++ b/FrontCode2/sunshine_levy/src/App.vue @@ -24,7 +24,7 @@ export default { document.body.ontouchend = function(e) { this.endValue = e.changedTouches[0].pageY; if ( - this.endValue - this.startValue > 0 && + this.endValue - this.startValue > 50 && e.changedTouches[0].pageY === e.changedTouches[0].clientY ) { window.location.reload(); @@ -41,6 +41,7 @@ export default { padding-bottom: 48px; position: relative; box-sizing: border-box; + background: #f6f7f8; .bottomContent { position: absolute; bottom: 10px; @@ -49,6 +50,7 @@ export default { font-size: 10px; p { margin: 0; + line-height: 14px; } b { color: #5d8cbc; diff --git a/FrontCode2/sunshine_levy/src/elementui/index.js b/FrontCode2/sunshine_levy/src/elementui/index.js index 6494891..3192962 100644 --- a/FrontCode2/sunshine_levy/src/elementui/index.js +++ b/FrontCode2/sunshine_levy/src/elementui/index.js @@ -1,6 +1,14 @@ import Vue from "vue"; -import { Form, FormItem, Button, Card, Loading, Message } from "element-ui"; +import { + Form, + FormItem, + Button, + Card, + Loading, + Message, + Notification +} from "element-ui"; Vue.use(Form); Vue.use(FormItem); @@ -8,4 +16,5 @@ Vue.use(Button); Vue.use(Card); Vue.use(Loading); -Vue.component(Message); \ No newline at end of file +Vue.component(Message); +Vue.component(Notification); \ No newline at end of file diff --git a/FrontCode2/sunshine_levy/src/views/home.css b/FrontCode2/sunshine_levy/src/views/home.css index b6590ff..23f6b51 100644 --- a/FrontCode2/sunshine_levy/src/views/home.css +++ b/FrontCode2/sunshine_levy/src/views/home.css @@ -1,6 +1,7 @@ .page { border-radius: 6px; - background: #f2fbfd; + /* background: #f2fbfd; */ + background: #f6f7f8; } .topBox { diff --git a/FrontCode2/sunshine_levy/src/views/index.vue b/FrontCode2/sunshine_levy/src/views/index.vue index a39b8f6..dba3b11 100644 --- a/FrontCode2/sunshine_levy/src/views/index.vue +++ b/FrontCode2/sunshine_levy/src/views/index.vue @@ -4,6 +4,7 @@ v-loading="loading" element-loading-text="拼命加载中" element-loading-spinner="el-icon-loading" + element-loading-background=" rgba(118,118,118)" >