diff --git a/App.vue b/App.vue index 651fe9f..dbd4d59 100644 --- a/App.vue +++ b/App.vue @@ -14,7 +14,7 @@ @import url("common.scss"); /*每个页面公共css */ body{ - background-color: #f7f7f7; + background-color: #FFFFFF; font-size: 30rpx; } .page{ diff --git a/api/fetch.js b/api/fetch.js index 848bd68..87ed77c 100644 --- a/api/fetch.js +++ b/api/fetch.js @@ -1,7 +1,7 @@ import api from './api.js' const fetch = (key, data = {}, transform = true, loadingTitle) => { - return new Promise(resolve => { + return new Promise((resolve, reject) => { const callback = (res) => { if (!transform) { diff --git a/common.scss b/common.scss index bf93253..a7c80b9 100644 --- a/common.scss +++ b/common.scss @@ -42,7 +42,6 @@ .page__view { width: 100vw; min-height: 100vh; - background-color: #FAFBFC; position: relative; font-family: PingFang SC; font-weight: 400; diff --git a/components/base/navbar.vue b/components/base/navbar.vue index 34d6fee..1563659 100644 --- a/components/base/navbar.vue +++ b/components/base/navbar.vue @@ -1,40 +1,48 @@