Commit fac43759 by 万亚飞

fix

parent 9a407488
......@@ -33,8 +33,11 @@ class App extends React.Component {
search = search.substr(1).split('&');
let obj = {};
search.forEach(item => {
if (item) {
console.log(item);
let it = item.match(/(.+)=(.+)/);
obj[it[1]] = it[2];
}
});
return obj;
}
......
import React, { Component } from 'react';
import Layout from '../../Components/static/Layout/Layout';
import { List, Icon, Button, Toast } from 'antd-mobile';
import app from '../../static/js/native';
import fetch from '../../api/fetch';
......@@ -185,7 +184,6 @@ export default class DepositPay extends Component {
</div>
);
return (
<Layout title={title} border="true">
<div className="bg-grey-bj deposit-wrap">
{isQualityType ? (
<div>
......@@ -209,7 +207,6 @@ export default class DepositPay extends Component {
</div>
{/* <div className={"h100"}/> */}
</div>
</Layout>
);
}
}
import React, { Component } from 'react';
import Layout from '../../Components/static/Layout/Layout';
import { List, Icon, Toast } from 'antd-mobile';
import app from '../../static/js/native';
import Tips from '../../Components/common/Tips/Tips';
......@@ -68,7 +67,6 @@ export default class DepositPay extends Component {
render() {
let { depositMoney, qualityDepositMoney, depositList, depositAmountNeedPay } = this.state;
return (
<Layout title="我的保证金" border="true">
<div className={'deposit-user'}>
<Tips money={depositAmountNeedPay} />
<div className="pt10 box-c tal">
......@@ -151,7 +149,6 @@ export default class DepositPay extends Component {
})}
</List>
</div>
</Layout>
);
}
}
......@@ -4,7 +4,6 @@ import { List, DatePicker, Toast, Modal } from 'antd-mobile';
import moment from 'moment';
import classNames from 'classnames';
import app from '../../static/js/native';
import Layout from '../../Components/static/Layout/Layout';
import UpLoad from '../../Components/common/Upload/Upload';
import { getParam, getImgNaturalDimensions } from '@/utils/tools';
import { getParameterByName } from '../../utils/common';
......@@ -187,7 +186,6 @@ class Train extends Component {
render() {
const { startTime, endTime, backgroundArea, certificateFiles, viewImages } = this.state;
return (
<Layout title="受训背景">
<div className="train-warp">
<List className={classNames({ startActive: startTime, endActive: endTime })}>
<DatePicker mode="month" minDate={min} maxDate={now} value={startTime} extra="开始时间" title="开始时间" format={this.formatShowDate} onChange={date => this.changeTime('startTime', date)}>
......@@ -218,7 +216,6 @@ class Train extends Component {
</button>
</div>
</div>
</Layout>
);
}
}
......
......@@ -3,7 +3,6 @@ import { Link } from 'react-router-dom';
import { Modal, Toast } from 'antd-mobile';
import { linkTo } from '@/utils/tools';
import Layout from '../../Components/static/Layout/Layout';
import TrainItem from '../../Components/page/user/TrainItem';
import app from '../../static/js/native';
......@@ -65,7 +64,6 @@ class TrainList extends Component {
render() {
const { trainList, delDialogObj } = this.state;
return (
<Layout title="受训背景">
<div className="train-warp">
{trainList.length ? (
<div className="train-list">
......@@ -120,7 +118,6 @@ class TrainList extends Component {
</a>
)}
</div>
</Layout>
);
}
}
......
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