Commit 4b5a4a3f authored by lxd's avatar lxd

feat: 订单提升

parent 555a3296
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
routes: [ routes: [
{ {
path: '/', path: '/',
component: './Admin', component: './Admin/Admin',
}, },
{ {
path: '/orderManage/pendingDeliveryOrder', path: '/orderManage/pendingDeliveryOrder',
......
This source diff could not be displayed because it is too large. You can view the blob instead.
import React from 'react';
import { Card, Typography, Alert, Icon } from 'antd';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
export default () => (
<h2>欢迎使用商户管理后台系统</h2>
);
import React from 'react';
import { Row, Col } from 'antd';
// import { PageHeaderWrapper } from '@ant-design/pro-layout';
// eslint-disable-next-line import/no-extraneous-dependencies
import { FileTextOutlined } from '@ant-design/icons';
import style from './styles.less';
const Admin = () => (
<div>
<h2>欢迎使用商户管理后台系统</h2>
<div>
<div>
<span className={style.orderleft}></span>
<span className={style.orderRight}>待办事项</span>
</div>
<div style={{ marginTop: '20px' }}>
<Row className={style.orderContent}>
<Col span={2} className="titleOne">
<div>
<FileTextOutlined />
<p>订单</p>
</div>
</Col>
<Col span={2}>
<strong>9</strong>
<p>待发货</p>
</Col>
<Col span={3}>
<strong>9</strong>
<p>待发货{'>'}48小时</p>
</Col>
<Col span={4}>
<strong>9</strong>
<p>取消订单审核{'<'}24小时</p>
</Col>
</Row>
</div>
</div>
</div>
);
export default Admin;
.orderleft {
display: inline-block;
width: 5px;
height: 30px;
margin: 0 10px;
vertical-align: middle;
background-color: #1890ff;
}
.orderRight {
display: inline-block;
color: #000;
font-weight: bold;
font-size: 18px;
}
.orderContent {
:global {
.ant-col {
padding: 19px 0;
text-align: center;
background-color: #fff;
border: 1px solid #cecece;
border-left: none;
strong {
color: red;
}
}
.titleOne {
padding: 20px 0;
color: #fff;
text-align: center;
background-color: #1890ff;
border: none;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment