删减模版中心CSS样式多余引入,订单模块入口调整
This commit is contained in:
parent
867e8a13cd
commit
fb97d83dcb
File diff suppressed because one or more lines are too long
|
@ -1,10 +1,7 @@
|
||||||
import ReactDOM from 'react-dom';
|
import React from 'react';
|
||||||
import React, { Component } from 'react';
|
|
||||||
import { HashRouter as Router, Route, Link } from "react-router-dom";
|
|
||||||
import "./add.less"
|
import "./add.less"
|
||||||
import { Card,Button } from 'zent';
|
import { Card,Button } from 'zent';
|
||||||
import "../../../assets/comm.css"
|
import "../../../assets/comm.css"
|
||||||
import Ipt from "../../../components/input/main"
|
|
||||||
import Orderaddform from "../orderaddform/orderaddform"
|
import Orderaddform from "../orderaddform/orderaddform"
|
||||||
export default class orderadd extends React.Component{
|
export default class orderadd extends React.Component{
|
||||||
constructor(props){
|
constructor(props){
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
import ReactDOM from 'react-dom';
|
|
||||||
import React, { Component } from 'react';
|
|
||||||
import { HashRouter as Router, Route, Link } from "react-router-dom";
|
|
||||||
import "./main.less"
|
|
||||||
import "../../../assets/comm.css"
|
|
||||||
export default class order extends React.Component{
|
|
||||||
constructor(props){
|
|
||||||
super(props)
|
|
||||||
this.state={}
|
|
||||||
}
|
|
||||||
render(){
|
|
||||||
return(
|
|
||||||
<div id="order">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,4 +1,3 @@
|
||||||
import ReactDOM from 'react-dom';
|
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import "./orderaddform.less"
|
import "./orderaddform.less"
|
||||||
import Ipt from "../../../components/input/main"
|
import Ipt from "../../../components/input/main"
|
||||||
|
|
|
@ -7,7 +7,6 @@ import ExchangeCodeEdit from '@/pages/exchangecode/edit/edit'
|
||||||
import ExchangeCommodity from '@/pages/exchangecode/commodity/commodity'
|
import ExchangeCommodity from '@/pages/exchangecode/commodity/commodity'
|
||||||
import ProductEdit from '@/pages/exchangecode/commodity/goodedit.js'
|
import ProductEdit from '@/pages/exchangecode/commodity/goodedit.js'
|
||||||
import ExchangePage from '@/pages/exchangepage/main/main'
|
import ExchangePage from '@/pages/exchangepage/main/main'
|
||||||
import Order from '@/pages/order/main/main'
|
|
||||||
import OrderList from '@/pages/order/list/list'
|
import OrderList from '@/pages/order/list/list'
|
||||||
import OrderDetails from '@/pages/order/more/more'
|
import OrderDetails from '@/pages/order/more/more'
|
||||||
import OrderAdd from '@/pages/order/add/add'
|
import OrderAdd from '@/pages/order/add/add'
|
||||||
|
@ -73,11 +72,6 @@ const router = [
|
||||||
component: MyExChangeTemplate,
|
component: MyExChangeTemplate,
|
||||||
meta: { exact: true }
|
meta: { exact: true }
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/home/order',
|
|
||||||
component: Order,
|
|
||||||
meta: { exact: true }
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/home/order-list',
|
path: '/home/order-list',
|
||||||
component: OrderList,
|
component: OrderList,
|
||||||
|
|
Loading…
Reference in New Issue