Commit 9b006b60 authored by rainbowmorel@163.com's avatar rainbowmorel@163.com

添加 wailwind.config.js

parent 516aec1f
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
"@linkseeks/design-react-web": "^1.0.0", "@linkseeks/design-react-web": "^1.0.0",
"@linkseeks/design-ui": "^1.0.12", "@linkseeks/design-ui": "^1.0.12",
"@linkseeks/god": "^1.0.0", "@linkseeks/god": "^1.0.0",
"@linkseeks/umi-plugin-yapi": "1.0.1",
"@turf/turf": "^6.4.0", "@turf/turf": "^6.4.0",
"@types/crypto-js": "^4.0.1", "@types/crypto-js": "^4.0.1",
"@types/js-cookie": "^2.2.6", "@types/js-cookie": "^2.2.6",
...@@ -153,6 +154,7 @@ ...@@ -153,6 +154,7 @@
"ora": "^4.0.4", "ora": "^4.0.4",
"scp2": "^0.1.0-b1", "scp2": "^0.1.0-b1",
"ssh2": "^0.8.9", "ssh2": "^0.8.9",
"umi-plugin-tailwindcss": "^3.2.1",
"util": "^0.12.3" "util": "^0.12.3"
} }
} }
import PageHeader from "./PageHeader";
export {
PageHeader
}
\ No newline at end of file
...@@ -3,23 +3,18 @@ ...@@ -3,23 +3,18 @@
* @author: Gavin * @author: Gavin
* @description: * @description:
*/ */
import React, { useState } from 'react' import React, { useState } from 'react'
import { PageHeaderWrapper } from '@ant-design/pro-layout' import { PageHeader } from '@/components/PageHeader'
import { history } from 'umi'
import ReutrnEle from '@/components/ReturnEle' const DeliveryNoteDetails: React.FC = () => {
const DeliveryNoteDetails: React.FC = () => { return (
const [details, setDetails] = useState<any>({}) <PageHeader
title="2014-07-01 进口头层黄牛皮荔枝纹送货单|FH2014070100001"
return ( >
<PageHeaderWrapper <div>收货单 - 送货单详情</div>
title={details?.name} </PageHeader>
onBack={() => history.goBack()} )
backIcon={<ReutrnEle />} }
>
<div>收货单 - 送货单详情</div> export default DeliveryNoteDetails
</PageHeaderWrapper> \ No newline at end of file
)
}
export default DeliveryNoteDetails
\ No newline at end of file
module.exports = {
// mode: 'jit',
// jit document: https://tailwindcss.com/docs/just-in-time-mode
purge: ['./src/**/*.html', './src/**/*.tsx', './src/**/*.ts'],
darkMode: false, // or 'media' or 'class'
theme: {},
variants: {
extend: {},
},
plugins: [],
};
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