Commit 186034f2 authored by 熊成伟's avatar 熊成伟

debug

parent b475f9de
This diff is collapsed.
...@@ -3,7 +3,7 @@ import './index.less' ...@@ -3,7 +3,7 @@ import './index.less'
const Index = (props) => { const Index = (props) => {
return ( return (
<div className="todo-card" onClick={props.onCLick}> <div className="todo-card" onClick={props.onClick}>
<div className="todo-title pos-aline"> <div className="todo-title pos-aline">
<div className="pos-aline"> <div className="pos-aline">
<div className="todo-tag pos-aline"> <div className="todo-tag pos-aline">
......
import React from 'react';
import {Steps, Icon} from 'antd-mobile'
const Step = Steps.Step;
// const data = [{}, {current: true}, {}]
const Index = (props) => {
return (
<Steps direction={props.direction} current={3}>
<Step icon={<Icon type="check-circle" size="xxs"/>} />
<Step icon={<Icon type="check-circle" size="xxs"/>}/>
<Step status="error" icon={<Icon type="check-circle" size="xxs"/>}/>
{/*<Step icon={<div style={{width: 17, height: 17, borderRadius: '50%', background: 'gray'}}/>}/>*/}
</Steps>
);
};
export default Index;
.step_success{
width: 16.7px;
height: 16.7px;
border-radius: 50%;
}
import React, {Component} from 'react'; import React, {Component} from 'react';
import {WhiteSpace, WingBlank, ActivityIndicator} from 'antd-mobile' import {WhiteSpace, WingBlank, ActivityIndicator} from 'antd-mobile'
import TodoCard from '../../components/TodoCard' import TodoCard from '../../components/LogCard'
import TopSearch from '../../components/TopSearch' import TopSearch from '../../components/TopSearch'
class Index extends Component { class Index extends Component {
...@@ -11,7 +11,7 @@ class Index extends Component { ...@@ -11,7 +11,7 @@ class Index extends Component {
}; };
}; };
checkLog = () => { checkLog = () => {
this.props.history.push(`/blank/example/1`) this.props.history.push(`/blank/info/example/1`)
} }
render() { render() {
const {loading} = this.state; const {loading} = this.state;
...@@ -28,7 +28,7 @@ class Index extends Component { ...@@ -28,7 +28,7 @@ class Index extends Component {
[{},{},{},{},{},{}].map((item, index) => ( [{},{},{},{},{},{}].map((item, index) => (
<div key={index}> <div key={index}>
<WhiteSpace/> <WhiteSpace/>
<TodoCard data={item} onCLick={this.checkLog}/> <TodoCard data={item} onClick={this.checkLog}/>
</div> </div>
)) ))
......
import React, {Component} from 'react'; import React, {Component} from 'react';
import {WingBlank, WhiteSpace, ActionSheet, ActivityIndicator} from 'antd-mobile' import {WingBlank, WhiteSpace, ActionSheet, ActivityIndicator} from 'antd-mobile'
import './index.less' import './index.less'
import TopTabs from '../../components/TopTabs' import TopTabs from '../../components/BlankTabs'
import Basic from './Basic' import Basic from './Basic'
import Adjunct from './Adjunct' import Adjunct from './Adjunct'
import Flow from './Flow'; import Flow from './Flow';
......
import React, {Component} from 'react'; import React, {Component} from 'react';
import {ActivityIndicator, WhiteSpace, WingBlank} from 'antd-mobile' import {ActivityIndicator, WhiteSpace, WingBlank} from 'antd-mobile'
import TodoCard from '../../components/TodoCard' import TodoCard from '../../components/LogCard'
import TopNotice from '../../components/TopNotice' import TopNotice from '../../components/NoticeTab'
......
...@@ -30,7 +30,7 @@ const ReactRouter = () => { ...@@ -30,7 +30,7 @@ const ReactRouter = () => {
}/> }/>
<Route path="/blank" component={() => <Route path="/blank" component={() =>
<BlankLayout> <BlankLayout>
<Route path="/blank/:name/:id" component={Process}/> <Route path="/blank/info/:name/:id" component={Process}/>
</BlankLayout> </BlankLayout>
}/> }/>
<Route component={NoFound}/> <Route component={NoFound}/>
......
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