diff --git a/api/fetch.js b/api/fetch.js new file mode 100644 index 0000000..848bd68 --- /dev/null +++ b/api/fetch.js @@ -0,0 +1,22 @@ +import api from './api.js' + +const fetch = (key, data = {}, transform = true, loadingTitle) => { + return new Promise(resolve => { + + const callback = (res) => { + if (!transform) { + resolve(res) + return + } + if (res.code == 200) { + resolve(res.result) + } else { + reject(res) + } + } + + api(key, data, callback, loadingTitle) + }) +} + +export default fetch diff --git a/common.scss b/common.scss index 5fd3072..a3d0c98 100644 --- a/common.scss +++ b/common.scss @@ -37,4 +37,43 @@ margin: 0; width: 0; height: 0; +} + + +.flex { + display: flex; + align-items: center; + justify-content: center; +} + +.flex-column { + flex-direction: column; +} + +.page__view { + width: 100vw; + min-height: 100vh; + color: #181818; + background-color: $uni-bg-color-grey; + position: relative; + font-family: PingFang SC; + font-weight: 400; + line-height: 1.4; +} + +.btn { + width: auto; + height: auto; + margin: 0; + padding: 0; + line-height: 1; + border: none; + background: none; +} +.btn:after { + border: none; +} + +/deep/ .uv-modal__content { + padding: 0 !important; } \ No newline at end of file diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index e86c4b1..d817774 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -29,40 +29,12 @@ data() { return { list: [{ - "selectedIconPath": "/static/image/tabbar/home-a.png", + "selectedIconPath": "/static/image/tabbar/home-active.png", "iconPath": "/static/image/tabbar/home.png", "pagePath": "/pages/index/index", "title": "首页", key: 'home', }, - { - "selectedIconPath": "/static/image/tabbar/category-a.png", - "iconPath": "/static/image/tabbar/category.png", - "pagePath": "/pages/index/category", - "title": "商品列表", - key: 'category', - }, - { - "selectedIconPath": "/static/image/tabbar/order-a.png", - "iconPath": "/static/image/tabbar/order.png", - "pagePath": "/pages/index/order", - "title": "订单", - key: 'order', - }, - { - "selectedIconPath": "/static/image/tabbar/cart-a.png", - "iconPath": "/static/image/tabbar/cart.png", - "pagePath": "/pages/index/cart", - "title": "购物车", - key: 'cart', - }, - { - "selectedIconPath": "/static/image/tabbar/center-a.png", - "iconPath": "/static/image/tabbar/center.png", - "pagePath": "/pages/index/center", - "title": "我的", - key: 'center', - } ] }; }, diff --git a/components/home/categoryView.vue b/components/home/categoryView.vue new file mode 100644 index 0000000..6bda73b --- /dev/null +++ b/components/home/categoryView.vue @@ -0,0 +1,111 @@ + + + + + \ No newline at end of file diff --git a/components/home/pictureLiveView.vue b/components/home/pictureLiveView.vue new file mode 100644 index 0000000..3141471 --- /dev/null +++ b/components/home/pictureLiveView.vue @@ -0,0 +1,157 @@ + + + + + \ No newline at end of file diff --git a/components/home/productCard.vue b/components/home/productCard.vue new file mode 100644 index 0000000..6760871 --- /dev/null +++ b/components/home/productCard.vue @@ -0,0 +1,137 @@ + + + + + \ No newline at end of file diff --git a/components/home/productView.vue b/components/home/productView.vue new file mode 100644 index 0000000..37044c2 --- /dev/null +++ b/components/home/productView.vue @@ -0,0 +1,103 @@ + + + + + \ No newline at end of file diff --git a/components/home/recommendView.vue b/components/home/recommendView.vue new file mode 100644 index 0000000..66b58da --- /dev/null +++ b/components/home/recommendView.vue @@ -0,0 +1,90 @@ + + + + + \ No newline at end of file diff --git a/components/home/swiperView.vue b/components/home/swiperView.vue new file mode 100644 index 0000000..967603f --- /dev/null +++ b/components/home/swiperView.vue @@ -0,0 +1,73 @@ + + + + + \ No newline at end of file diff --git a/components/user/productList.vue b/components/user/productList.vue deleted file mode 100644 index ad16f79..0000000 --- a/components/user/productList.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/userShop/userShopCommission.vue b/components/userShop/userShopCommission.vue deleted file mode 100644 index be66e89..0000000 --- a/components/userShop/userShopCommission.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - - - \ No newline at end of file diff --git a/config.js b/config.js index 4175d2b..d8c3365 100644 --- a/config.js +++ b/config.js @@ -1,6 +1,7 @@ import Vue from 'vue' import api from '@/api/api.js' +import fetch from '@/api/fetch.js' import utils from './utils/utils.js' import uvUI from '@/uni_modules/uv-ui-tools' @@ -52,5 +53,6 @@ uni.$uv.setConfig({ Vue.prototype.$config = utils.deepMergeObject(defaultConfig, config[type]) Vue.prototype.$api = api +Vue.prototype.$fetch = fetch export default Vue.prototype.$config \ No newline at end of file diff --git a/manifest.json b/manifest.json index ea42a21..698596b 100644 --- a/manifest.json +++ b/manifest.json @@ -52,7 +52,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxe7ae8cbe1673834c", + "appid" : "wx489ca73503f461be", "setting" : { "urlCheck" : false }, diff --git a/pages.json b/pages.json index 11693b1..a93f57c 100644 --- a/pages.json +++ b/pages.json @@ -1,30 +1,7 @@ { - "pages": [{ - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/index/order", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/index/category", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/index/center", - "style": { - "navigationBarTitleText": "" - } - }, + "pages": [ { - "path": "pages/index/cart", + "path": "pages/index/index", "style": { "navigationBarTitleText": "" } @@ -38,24 +15,7 @@ }, "subPackages": [{ "root": "pages_order", - "pages": [{ - "path": "order/orderDetail" - }, - { - "path": "mine/purse" - }, - { - "path": "mine/runningWater" - }, - { - "path": "mine/address" - }, - { - "path": "product/productDetail" - }, - { - "path": "order/refundsOrExchange" - }, + "pages": [ { "path": "auth/wxLogin" }, @@ -66,16 +26,13 @@ "path": "auth/loginAndRegisterAndForgetPassword" }, { - "path": "mine/help" - }, - { - "path": "mine/promotion" + "path": "product/search" } ] }], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "酒店桌布", + "navigationBarTitleText": "鸿宇研学生", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", "navigationStyle": "custom" diff --git a/pages/index/cart.vue b/pages/index/cart.vue deleted file mode 100644 index 381c5b0..0000000 --- a/pages/index/cart.vue +++ /dev/null @@ -1,260 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/category.vue b/pages/index/category.vue deleted file mode 100644 index a4a64b0..0000000 --- a/pages/index/category.vue +++ /dev/null @@ -1,191 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/center.vue b/pages/index/center.vue deleted file mode 100644 index 4d30c46..0000000 --- a/pages/index/center.vue +++ /dev/null @@ -1,353 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 65effe5..f93b6f2 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,412 +1,305 @@ + + \ No newline at end of file diff --git a/pages/index/order.vue b/pages/index/order.vue deleted file mode 100644 index 24bdbb6..0000000 --- a/pages/index/order.vue +++ /dev/null @@ -1,263 +0,0 @@ - - - - - diff --git a/pages_order/components/address/addressList.vue b/pages_order/components/address/addressList.vue deleted file mode 100644 index b75730b..0000000 --- a/pages_order/components/address/addressList.vue +++ /dev/null @@ -1,244 +0,0 @@ - - - - - diff --git a/pages_order/components/address/redactAddress.vue b/pages_order/components/address/redactAddress.vue deleted file mode 100644 index e11d971..0000000 --- a/pages_order/components/address/redactAddress.vue +++ /dev/null @@ -1,220 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages_order/components/product/submit.vue b/pages_order/components/product/submit.vue deleted file mode 100644 index e874e59..0000000 --- a/pages_order/components/product/submit.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - - - diff --git a/pages_order/components/product/submitUnitSelect.vue b/pages_order/components/product/submitUnitSelect.vue deleted file mode 100644 index 8d228a5..0000000 --- a/pages_order/components/product/submitUnitSelect.vue +++ /dev/null @@ -1,367 +0,0 @@ - - - - - diff --git a/pages_order/mine/address.vue b/pages_order/mine/address.vue deleted file mode 100644 index 65f82d7..0000000 --- a/pages_order/mine/address.vue +++ /dev/null @@ -1,213 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages_order/mine/help.vue b/pages_order/mine/help.vue deleted file mode 100644 index 23dc94a..0000000 --- a/pages_order/mine/help.vue +++ /dev/null @@ -1,172 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages_order/mine/promotion.vue b/pages_order/mine/promotion.vue deleted file mode 100644 index 53cf18a..0000000 --- a/pages_order/mine/promotion.vue +++ /dev/null @@ -1,283 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages_order/mine/purse.vue b/pages_order/mine/purse.vue deleted file mode 100644 index fe7dd19..0000000 --- a/pages_order/mine/purse.vue +++ /dev/null @@ -1,109 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages_order/mine/runningWater.vue b/pages_order/mine/runningWater.vue deleted file mode 100644 index a14a621..0000000 --- a/pages_order/mine/runningWater.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - - diff --git a/pages_order/order/orderDetail.vue b/pages_order/order/orderDetail.vue deleted file mode 100644 index 8ca27b7..0000000 --- a/pages_order/order/orderDetail.vue +++ /dev/null @@ -1,567 +0,0 @@ - - - - - diff --git a/pages_order/order/refundsOrExchange.vue b/pages_order/order/refundsOrExchange.vue deleted file mode 100644 index 9ea20e6..0000000 --- a/pages_order/order/refundsOrExchange.vue +++ /dev/null @@ -1,353 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pages_order/product/productDetail.vue b/pages_order/product/productDetail.vue deleted file mode 100644 index 43d797e..0000000 --- a/pages_order/product/productDetail.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - diff --git a/pages_order/product/search.vue b/pages_order/product/search.vue new file mode 100644 index 0000000..7e80cd3 --- /dev/null +++ b/pages_order/product/search.vue @@ -0,0 +1,264 @@ + + + + + \ No newline at end of file diff --git a/static/image/PrivacyAgreementPoup/icon.png b/static/image/PrivacyAgreementPoup/icon.png deleted file mode 100644 index 5592c61..0000000 Binary files a/static/image/PrivacyAgreementPoup/icon.png and /dev/null differ diff --git a/static/image/bg.png b/static/image/bg.png new file mode 100644 index 0000000..ea021a3 Binary files /dev/null and b/static/image/bg.png differ diff --git a/static/image/cart/1.png b/static/image/cart/1.png deleted file mode 100644 index 9807f34..0000000 Binary files a/static/image/cart/1.png and /dev/null differ diff --git a/static/image/cart/2.png b/static/image/cart/2.png deleted file mode 100644 index 64b1c45..0000000 Binary files a/static/image/cart/2.png and /dev/null differ diff --git a/static/image/center/1.png b/static/image/center/1.png deleted file mode 100644 index 264e553..0000000 Binary files a/static/image/center/1.png and /dev/null differ diff --git a/static/image/center/10.png b/static/image/center/10.png deleted file mode 100644 index 151633f..0000000 Binary files a/static/image/center/10.png and /dev/null differ diff --git a/static/image/center/11.svg b/static/image/center/11.svg deleted file mode 100644 index 99950a8..0000000 --- a/static/image/center/11.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/image/center/2.png b/static/image/center/2.png deleted file mode 100644 index 5e0bedc..0000000 Binary files a/static/image/center/2.png and /dev/null differ diff --git a/static/image/center/3.png b/static/image/center/3.png deleted file mode 100644 index 8b521ac..0000000 Binary files a/static/image/center/3.png and /dev/null differ diff --git a/static/image/center/4.png b/static/image/center/4.png deleted file mode 100644 index 5ad41ea..0000000 Binary files a/static/image/center/4.png and /dev/null differ diff --git a/static/image/center/5.png b/static/image/center/5.png deleted file mode 100644 index 4f4a8ac..0000000 Binary files a/static/image/center/5.png and /dev/null differ diff --git a/static/image/center/6.png b/static/image/center/6.png deleted file mode 100644 index 9208b06..0000000 Binary files a/static/image/center/6.png and /dev/null differ diff --git a/static/image/center/7.png b/static/image/center/7.png deleted file mode 100644 index ea1a427..0000000 Binary files a/static/image/center/7.png and /dev/null differ diff --git a/static/image/center/8.png b/static/image/center/8.png deleted file mode 100644 index 856616c..0000000 Binary files a/static/image/center/8.png and /dev/null differ diff --git a/static/image/center/9.png b/static/image/center/9.png deleted file mode 100644 index 5a4b2bd..0000000 Binary files a/static/image/center/9.png and /dev/null differ diff --git a/static/image/home/0.png b/static/image/home/0.png deleted file mode 100644 index e221211..0000000 Binary files a/static/image/home/0.png and /dev/null differ diff --git a/static/image/home/1.png b/static/image/home/1.png deleted file mode 100644 index 0b7d3dc..0000000 Binary files a/static/image/home/1.png and /dev/null differ diff --git a/static/image/home/2.png b/static/image/home/2.png deleted file mode 100644 index 8ba997f..0000000 Binary files a/static/image/home/2.png and /dev/null differ diff --git a/static/image/home/3.png b/static/image/home/3.png deleted file mode 100644 index a7f85f3..0000000 Binary files a/static/image/home/3.png and /dev/null differ diff --git a/static/image/home/address-icon.png b/static/image/home/address-icon.png deleted file mode 100644 index 51a11d2..0000000 Binary files a/static/image/home/address-icon.png and /dev/null differ diff --git a/static/image/home/arrow-icon.png b/static/image/home/arrow-icon.png deleted file mode 100644 index 9f3431a..0000000 Binary files a/static/image/home/arrow-icon.png and /dev/null differ diff --git a/static/image/home/search-icon.png b/static/image/home/search-icon.png deleted file mode 100644 index 58bde8a..0000000 Binary files a/static/image/home/search-icon.png and /dev/null differ diff --git a/static/image/icon-arrow-right.png b/static/image/icon-arrow-right.png new file mode 100644 index 0000000..5a02878 Binary files /dev/null and b/static/image/icon-arrow-right.png differ diff --git a/static/image/icon-degree.png b/static/image/icon-degree.png new file mode 100644 index 0000000..4079270 Binary files /dev/null and b/static/image/icon-degree.png differ diff --git a/static/image/icon-nav.png b/static/image/icon-nav.png new file mode 100644 index 0000000..f23c83f Binary files /dev/null and b/static/image/icon-nav.png differ diff --git a/static/image/icon-pdf.png b/static/image/icon-pdf.png new file mode 100644 index 0000000..4a2e254 Binary files /dev/null and b/static/image/icon-pdf.png differ diff --git a/static/image/icon-search-dark.png b/static/image/icon-search-dark.png new file mode 100644 index 0000000..405dc29 Binary files /dev/null and b/static/image/icon-search-dark.png differ diff --git a/static/image/icon-search-light.png b/static/image/icon-search-light.png new file mode 100644 index 0000000..06f3114 Binary files /dev/null and b/static/image/icon-search-light.png differ diff --git a/static/image/icon-sort.png b/static/image/icon-sort.png new file mode 100644 index 0000000..43ab2cd Binary files /dev/null and b/static/image/icon-sort.png differ diff --git a/static/image/icon-word.png b/static/image/icon-word.png new file mode 100644 index 0000000..502cd75 Binary files /dev/null and b/static/image/icon-word.png differ diff --git a/static/image/logo.png b/static/image/logo.png new file mode 100644 index 0000000..79583cf Binary files /dev/null and b/static/image/logo.png differ diff --git a/static/image/product/favorable.png b/static/image/product/favorable.png deleted file mode 100644 index edae056..0000000 Binary files a/static/image/product/favorable.png and /dev/null differ diff --git a/static/image/tabbar/cart-a.png b/static/image/tabbar/cart-a.png deleted file mode 100644 index b48261c..0000000 Binary files a/static/image/tabbar/cart-a.png and /dev/null differ diff --git a/static/image/tabbar/cart.png b/static/image/tabbar/cart.png deleted file mode 100644 index d211ea1..0000000 Binary files a/static/image/tabbar/cart.png and /dev/null differ diff --git a/static/image/tabbar/category-a.png b/static/image/tabbar/category-a.png deleted file mode 100644 index 6dd7bc6..0000000 Binary files a/static/image/tabbar/category-a.png and /dev/null differ diff --git a/static/image/tabbar/category-active.png b/static/image/tabbar/category-active.png new file mode 100644 index 0000000..e2a9c4b Binary files /dev/null and b/static/image/tabbar/category-active.png differ diff --git a/static/image/tabbar/category.png b/static/image/tabbar/category.png index f667e88..2b52f85 100644 Binary files a/static/image/tabbar/category.png and b/static/image/tabbar/category.png differ diff --git a/static/image/tabbar/center-a.png b/static/image/tabbar/center-a.png deleted file mode 100644 index 61df5ef..0000000 Binary files a/static/image/tabbar/center-a.png and /dev/null differ diff --git a/static/image/tabbar/center.png b/static/image/tabbar/center.png deleted file mode 100644 index 74f685c..0000000 Binary files a/static/image/tabbar/center.png and /dev/null differ diff --git a/static/image/tabbar/growing-active.png b/static/image/tabbar/growing-active.png new file mode 100644 index 0000000..e049dd3 Binary files /dev/null and b/static/image/tabbar/growing-active.png differ diff --git a/static/image/tabbar/growing.png b/static/image/tabbar/growing.png new file mode 100644 index 0000000..e6d9346 Binary files /dev/null and b/static/image/tabbar/growing.png differ diff --git a/static/image/tabbar/home-a.png b/static/image/tabbar/home-a.png deleted file mode 100644 index 5388253..0000000 Binary files a/static/image/tabbar/home-a.png and /dev/null differ diff --git a/static/image/tabbar/home-active.png b/static/image/tabbar/home-active.png new file mode 100644 index 0000000..ce9c0e1 Binary files /dev/null and b/static/image/tabbar/home-active.png differ diff --git a/static/image/tabbar/home.png b/static/image/tabbar/home.png index 6f7accb..3830311 100644 Binary files a/static/image/tabbar/home.png and b/static/image/tabbar/home.png differ diff --git a/static/image/tabbar/order-a.png b/static/image/tabbar/order-a.png deleted file mode 100644 index 6192093..0000000 Binary files a/static/image/tabbar/order-a.png and /dev/null differ diff --git a/static/image/tabbar/order.png b/static/image/tabbar/order.png deleted file mode 100644 index df9eeb8..0000000 Binary files a/static/image/tabbar/order.png and /dev/null differ diff --git a/static/image/tabbar/partner-active.png b/static/image/tabbar/partner-active.png new file mode 100644 index 0000000..1ffa8c9 Binary files /dev/null and b/static/image/tabbar/partner-active.png differ diff --git a/static/image/tabbar/partner.png b/static/image/tabbar/partner.png new file mode 100644 index 0000000..1878b80 Binary files /dev/null and b/static/image/tabbar/partner.png differ diff --git a/static/image/tabbar/user-center-active.png b/static/image/tabbar/user-center-active.png new file mode 100644 index 0000000..a35e1c0 Binary files /dev/null and b/static/image/tabbar/user-center-active.png differ diff --git a/static/image/tabbar/user-center.png b/static/image/tabbar/user-center.png new file mode 100644 index 0000000..81c5021 Binary files /dev/null and b/static/image/tabbar/user-center.png differ diff --git a/static/image/temp-01.png b/static/image/temp-01.png new file mode 100644 index 0000000..2cffef1 Binary files /dev/null and b/static/image/temp-01.png differ diff --git a/static/image/temp-02.png b/static/image/temp-02.png new file mode 100644 index 0000000..83c9347 Binary files /dev/null and b/static/image/temp-02.png differ diff --git a/static/image/temp-03.png b/static/image/temp-03.png new file mode 100644 index 0000000..d9ca198 Binary files /dev/null and b/static/image/temp-03.png differ diff --git a/static/image/temp-04.png b/static/image/temp-04.png new file mode 100644 index 0000000..d0cfb2d Binary files /dev/null and b/static/image/temp-04.png differ diff --git a/static/image/temp-1.png b/static/image/temp-1.png new file mode 100644 index 0000000..5131145 Binary files /dev/null and b/static/image/temp-1.png differ diff --git a/static/image/temp-10.png b/static/image/temp-10.png new file mode 100644 index 0000000..896db0c Binary files /dev/null and b/static/image/temp-10.png differ diff --git a/static/image/temp-11.png b/static/image/temp-11.png new file mode 100644 index 0000000..0c583b8 Binary files /dev/null and b/static/image/temp-11.png differ diff --git a/static/image/temp-12.png b/static/image/temp-12.png new file mode 100644 index 0000000..303b7a4 Binary files /dev/null and b/static/image/temp-12.png differ diff --git a/static/image/temp-13.png b/static/image/temp-13.png new file mode 100644 index 0000000..04597ed Binary files /dev/null and b/static/image/temp-13.png differ diff --git a/static/image/temp-14.png b/static/image/temp-14.png new file mode 100644 index 0000000..4f45499 Binary files /dev/null and b/static/image/temp-14.png differ diff --git a/static/image/temp-15.png b/static/image/temp-15.png new file mode 100644 index 0000000..ac11467 Binary files /dev/null and b/static/image/temp-15.png differ diff --git a/static/image/temp-16.png b/static/image/temp-16.png new file mode 100644 index 0000000..f54252b Binary files /dev/null and b/static/image/temp-16.png differ diff --git a/static/image/temp-17.png b/static/image/temp-17.png new file mode 100644 index 0000000..2da70e0 Binary files /dev/null and b/static/image/temp-17.png differ diff --git a/static/image/temp-18.png b/static/image/temp-18.png new file mode 100644 index 0000000..ae091bd Binary files /dev/null and b/static/image/temp-18.png differ diff --git a/static/image/temp-19.png b/static/image/temp-19.png new file mode 100644 index 0000000..f968c45 Binary files /dev/null and b/static/image/temp-19.png differ diff --git a/static/image/temp-2.png b/static/image/temp-2.png new file mode 100644 index 0000000..340c991 Binary files /dev/null and b/static/image/temp-2.png differ diff --git a/static/image/temp-20.png b/static/image/temp-20.png new file mode 100644 index 0000000..40ea1c2 Binary files /dev/null and b/static/image/temp-20.png differ diff --git a/static/image/temp-21.png b/static/image/temp-21.png new file mode 100644 index 0000000..a7cf07b Binary files /dev/null and b/static/image/temp-21.png differ diff --git a/static/image/temp-22.png b/static/image/temp-22.png new file mode 100644 index 0000000..4fd1d73 Binary files /dev/null and b/static/image/temp-22.png differ diff --git a/static/image/temp-23.png b/static/image/temp-23.png new file mode 100644 index 0000000..63479e8 Binary files /dev/null and b/static/image/temp-23.png differ diff --git a/static/image/temp-24.png b/static/image/temp-24.png new file mode 100644 index 0000000..a9d5df4 Binary files /dev/null and b/static/image/temp-24.png differ diff --git a/static/image/temp-25.png b/static/image/temp-25.png new file mode 100644 index 0000000..cfb1100 Binary files /dev/null and b/static/image/temp-25.png differ diff --git a/static/image/temp-26.png b/static/image/temp-26.png new file mode 100644 index 0000000..5da22f1 Binary files /dev/null and b/static/image/temp-26.png differ diff --git a/static/image/temp-27.png b/static/image/temp-27.png new file mode 100644 index 0000000..0a2e272 Binary files /dev/null and b/static/image/temp-27.png differ diff --git a/static/image/temp-28.png b/static/image/temp-28.png new file mode 100644 index 0000000..5dfefe3 Binary files /dev/null and b/static/image/temp-28.png differ diff --git a/static/image/temp-3.png b/static/image/temp-3.png new file mode 100644 index 0000000..e25e124 Binary files /dev/null and b/static/image/temp-3.png differ diff --git a/static/image/temp-4.png b/static/image/temp-4.png new file mode 100644 index 0000000..d89c64b Binary files /dev/null and b/static/image/temp-4.png differ diff --git a/static/image/temp-5.png b/static/image/temp-5.png new file mode 100644 index 0000000..94f70cd Binary files /dev/null and b/static/image/temp-5.png differ diff --git a/static/image/temp-6.png b/static/image/temp-6.png new file mode 100644 index 0000000..1da7575 Binary files /dev/null and b/static/image/temp-6.png differ diff --git a/static/image/temp-7.png b/static/image/temp-7.png new file mode 100644 index 0000000..8aede7a Binary files /dev/null and b/static/image/temp-7.png differ diff --git a/static/image/temp-8.png b/static/image/temp-8.png new file mode 100644 index 0000000..50a494f Binary files /dev/null and b/static/image/temp-8.png differ diff --git a/static/image/temp-9.png b/static/image/temp-9.png new file mode 100644 index 0000000..6400db5 Binary files /dev/null and b/static/image/temp-9.png differ diff --git a/static/logo.png b/static/logo.png deleted file mode 100644 index b5771e2..0000000 Binary files a/static/logo.png and /dev/null differ diff --git a/uni.scss b/uni.scss index 5dcc31f..9431c3f 100644 --- a/uni.scss +++ b/uni.scss @@ -12,7 +12,8 @@ * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ -$uni-color: #FD5100; +$uni-color: #00A9FF; +$uni-color-light:#84A73F; /* 行为相关颜色 */ $uni-color-primary: #007aff; @@ -21,15 +22,16 @@ $uni-color-warning: #f0ad4e; $uni-color-error: #dd524d; /* 文字基本颜色 */ -$uni-text-color:#333;//基本色 +$uni-text-color:#86A941;//基本色 $uni-text-color-inverse:#fff;//反色 $uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 $uni-text-color-placeholder: #808080; $uni-text-color-disable:#c0c0c0; /* 背景颜色 */ -$uni-bg-color:#ffffff; -$uni-bg-color-grey:#f8f8f8; +$uni-fg-color:#ffffff; +$uni-bg-color: #E5F2F9; +$uni-bg-color-grey:#F4F4F4; $uni-bg-color-hover:#f1f1f1;//点击状态颜色 $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 @@ -93,4 +95,16 @@ $uni-font-size-paragraph:15px; color: $uni-color; text-align: center; font-size: 28rpx; -} \ No newline at end of file +} + + + +.uni-placeholder { + color: #C7C7C7; + font-size: 30rpx; +} + +$navbar-height: 100rpx; +$tabbar-height: 120rpx; + +$body-height: calc(100vh - #{$tabbar-height} - env(safe-area-inset-bottom) - #{$navbar-height} - var(--status-bar-height) - 20rpx); \ No newline at end of file