diff --git a/src/app.config.js b/src/app.config.js index 7a5f66f..ce51141 100644 --- a/src/app.config.js +++ b/src/app.config.js @@ -1,37 +1,9 @@ -const config = require('./config/config'); - export default { pages: [ // tab切换 "pages/tabs/home", "pages/tabs/mine", - "pages/login/index", - "pages/common/webview", - // home - "pages/home/pay", - "pages/home/payDetail", - "pages/home/news/index", - "pages/home/owner/index", - - - // mine - "pages/mine/set/index", - "pages/mine/set/contact", - "pages/mine/set/agreement", - "pages/mine/order/index", - "pages/mine/give/index", - "pages/mine/receive", - - ], - subpackages: [ - { - root: "pages_goods/", - pages: [ - // 藏品详情 - "goods/detail", - ] - }, ], plugins: {}, window: { @@ -41,7 +13,6 @@ export default { navigationBarTextStyle: 'white', backgroundColorTop: "#000506", backgroundColorBottom: "#000506", - ...config.app.window, }, tabBar: { list: [ diff --git a/src/app.js b/src/app.js index 300cfa7..df14260 100644 --- a/src/app.js +++ b/src/app.js @@ -2,7 +2,6 @@ import {Component} from 'react' import './app.less' import 'taro-ui/dist/style/index.scss' import Taro from '@tarojs/taro'; -import HttpUtils from "@/https/HttpUtils"; class App extends Component { diff --git a/src/app.less b/src/app.less index 732b370..ab35d88 100644 --- a/src/app.less +++ b/src/app.less @@ -1,13 +1,10 @@ -@import './assets/less/constant.less'; page { color: white; - background-color: @bgColor; font-family: serif; } .primaryColor { - color: @primaryColor; } .empty { @@ -33,7 +30,6 @@ page { } .primaryBtn { - background: @primaryColor; color: white; font-size: 30px; display: flex; @@ -62,5 +58,4 @@ page { .wx-swiper-dot; width: 36px !important; border-radius: 16px !important; - background: linear-gradient(@primaryTopColor, @primaryColor) !important; } diff --git a/src/pages/tabs/home.js b/src/pages/tabs/home.js index a6c1589..25b8b1d 100644 --- a/src/pages/tabs/home.js +++ b/src/pages/tabs/home.js @@ -6,7 +6,6 @@ import GcImage from "@/components/GcImage"; import less from './home.module.less'; import Taro, {usePullDownRefresh, useReachBottom} from '@tarojs/taro' import RouteGo from "@/route/RouteGo"; -import CustomTabBar from "@/components/CustomTabBar"; import PageContainer from "@/components/PageContainer"; export default () => { @@ -101,8 +100,6 @@ export default () => { - - } diff --git a/src/pages/tabs/mine.js b/src/pages/tabs/mine.js index 77022f2..ee7cd0c 100644 --- a/src/pages/tabs/mine.js +++ b/src/pages/tabs/mine.js @@ -2,14 +2,13 @@ import React, {useRef, useState} from "react"; import Flex from "@/components/Flex"; import {Text, View} from "@tarojs/components"; import less from "./mine.module.less"; -import Taro, {usePullDownRefresh, useShareAppMessage, useDidShow} from "@tarojs/taro"; +import Taro, {useDidShow, usePullDownRefresh, useShareAppMessage} from "@tarojs/taro"; import HttpUtils from "@/https/HttpUtils"; import GcImage from "@/components/GcImage"; import RouteGo from "@/route/RouteGo"; import EmptyView from "@/components/EmptyView"; import Common from "@/utils/Common"; import config from "@/config/config"; -import CustomTabBar from "@/components/CustomTabBar"; export default () => { @@ -125,7 +124,5 @@ export default () => { {renderGoods()} - - } diff --git a/src/pages/tabs/mine.module.less b/src/pages/tabs/mine.module.less index 4959e98..7e15701 100644 --- a/src/pages/tabs/mine.module.less +++ b/src/pages/tabs/mine.module.less @@ -1,4 +1,3 @@ -@import "src/assets/less/constant.less"; .mine { width: 100vw; @@ -41,9 +40,6 @@ color: white; margin: 0 11px; - text { - color: @mineGoodsNumColor; - } } .lingqu { @@ -65,7 +61,6 @@ width: calc((100% - 44px) / 2); margin: 22px 11px 0; position: relative; - background: @goodsBg; border-radius: 46px; .picture { @@ -94,10 +89,8 @@ margin-top: 12px; .tagsItem { - background-color: @goodsTagBg; padding: 4px 12px; font-size: 20px; - color: @goodsTagColor; border-radius: 32px; margin-right: 24px; }