修改
This commit is contained in:
parent
1bfd80e57d
commit
01e0891fa8
@ -93,7 +93,7 @@ type FieldType = {
|
|||||||
// },
|
// },
|
||||||
// ];
|
// ];
|
||||||
|
|
||||||
import { DownOutlined, UserOutlined, QuestionCircleOutlined, BellOutlined, KeyOutlined, LogoutOutlined, GiftOutlined, AccountBookOutlined, ContainerOutlined, MenuFoldOutlined, UsergroupAddOutlined,TableOutlined } from "@ant-design/icons";
|
import { DownOutlined, UserOutlined, QuestionCircleOutlined, BellOutlined, KeyOutlined, LogoutOutlined, GiftOutlined, AccountBookOutlined, ContainerOutlined, MenuFoldOutlined, UsergroupAddOutlined, TableOutlined } from "@ant-design/icons";
|
||||||
import { useContext, useEffect, useState } from "react";
|
import { useContext, useEffect, useState } from "react";
|
||||||
import {
|
import {
|
||||||
put, get,
|
put, get,
|
||||||
@ -125,7 +125,7 @@ export default function Head() {
|
|||||||
const [packPage, setPackPage] = useState(1) //服务包分页
|
const [packPage, setPackPage] = useState(1) //服务包分页
|
||||||
const [packTotal, setPackTotal] = useState(0) //服务包总数
|
const [packTotal, setPackTotal] = useState(0) //服务包总数
|
||||||
// 获取我得服务包信息
|
// 获取我得服务包信息
|
||||||
const getPickList = (page:number) => {
|
const getPickList = (page: number) => {
|
||||||
|
|
||||||
get<any>({
|
get<any>({
|
||||||
messageApi,
|
messageApi,
|
||||||
@ -648,14 +648,24 @@ export default function Head() {
|
|||||||
// packageType
|
// packageType
|
||||||
{
|
{
|
||||||
title: '套餐类型',
|
title: '套餐类型',
|
||||||
dataIndex: 'packageType',
|
dataIndex: 'packageInfoAppDTO',
|
||||||
key: 'packageOrderId',
|
key: 'packageOrderId',
|
||||||
// 居中显示
|
// 居中显示
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (text) => {
|
render: (text) => {
|
||||||
return <div>{text=="ALL"?'全托管':'写材料'} </div>
|
return <div>{text.packageType == "ALL" ? '全托管' : '写材料'} </div>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// title: '套餐类型',
|
||||||
|
// dataIndex: 'packageInfoAppDTO',
|
||||||
|
// key: 'packageOrderId',
|
||||||
|
// // 居中显示
|
||||||
|
// align: 'center',
|
||||||
|
// render: (text) => {
|
||||||
|
// return <div>{text} </div>
|
||||||
|
// }
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
title: '价格',
|
title: '价格',
|
||||||
dataIndex: 'packageTotalMoney',
|
dataIndex: 'packageTotalMoney',
|
||||||
@ -663,11 +673,11 @@ export default function Head() {
|
|||||||
// 居中显示
|
// 居中显示
|
||||||
align: 'center',
|
align: 'center',
|
||||||
render: (text) => {
|
render: (text) => {
|
||||||
return <div>{text/100}元</div>
|
return <div>{text / 100}元</div>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '当前剩余次数',
|
title: '剩余次数',
|
||||||
dataIndex: 'packageTotalSurplusCount',
|
dataIndex: 'packageTotalSurplusCount',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'packageOrderId',
|
key: 'packageOrderId',
|
||||||
@ -675,6 +685,15 @@ export default function Head() {
|
|||||||
return <div>{text} </div>
|
return <div>{text} </div>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '总次数',
|
||||||
|
dataIndex: 'packageTotalCount',
|
||||||
|
align: 'center',
|
||||||
|
key: 'packageOrderId',
|
||||||
|
render: (text: any) => {
|
||||||
|
return <div>{text} </div>
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '下单时间',
|
title: '下单时间',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
@ -887,6 +906,30 @@ export default function Head() {
|
|||||||
{/* <div className="right" style={{backgroundImage: `url(${headRightBg})`}}> */}
|
{/* <div className="right" style={{backgroundImage: `url(${headRightBg})`}}> */}
|
||||||
|
|
||||||
<div className="right">
|
<div className="right">
|
||||||
|
{/* <div className='kf' onClick={()=>{
|
||||||
|
setPackageModal(true)
|
||||||
|
setPackPage(1);
|
||||||
|
getPickList(1)
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<div style={{
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center',
|
||||||
|
|
||||||
|
}}>
|
||||||
|
<div className='kfText '>套餐包</div>
|
||||||
|
<div style={{
|
||||||
|
marginTop:10,
|
||||||
|
fontWeight: 700,
|
||||||
|
}}>
|
||||||
|
<span>全托管:100件</span>
|
||||||
|
<span style={{marginLeft:10}}>写材料:100件</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> */}
|
||||||
|
{/* <div className='headLine'></div> */}
|
||||||
<div className='kf' onClick={() => {
|
<div className='kf' onClick={() => {
|
||||||
setkfModal(true)
|
setkfModal(true)
|
||||||
}}>
|
}}>
|
||||||
@ -1201,8 +1244,9 @@ export default function Head() {
|
|||||||
</div>
|
</div>
|
||||||
<div className='invitation-box'>
|
<div className='invitation-box'>
|
||||||
<div className='invBox-top'>
|
<div className='invBox-top'>
|
||||||
<div className='invBox-title' style={{ fontSize: '24px',
|
<div className='invBox-title' style={{
|
||||||
width: bindingInvNum?264:362,
|
fontSize: '24px',
|
||||||
|
width: bindingInvNum ? 264 : 362,
|
||||||
}}>
|
}}>
|
||||||
他人邀请码
|
他人邀请码
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user