pref:移除多余代码
This commit is contained in:
@@ -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: [
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 () => {
|
||||
|
||||
</Flex>
|
||||
|
||||
<CustomTabBar tabIdx={1}/>
|
||||
|
||||
</PageContainer>
|
||||
|
||||
}
|
||||
|
||||
@@ -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()}
|
||||
</Flex>
|
||||
|
||||
<CustomTabBar tabIdx={2}/>
|
||||
|
||||
</Flex>
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user