提交 ee249e16 authored 作者: 曾美红's avatar 曾美红

提交图片

上级 c219a75f
import React from 'react';
import './index.less';
import { TabBarIcon, TabBarLabel } from 'react-weui';
import { Link } from 'react-router-dom';
export default class MyTabIcon extends React.Component {
componentWillMount() {
}
componentDidMount() {
}
render() {
return (
<div>
<Link to={this.props.url}>
<TabBarIcon>
<img src={this.props.imgUrl} alt="" />
</TabBarIcon>
<TabBarLabel>{this.props.label}</TabBarLabel>
</Link>
</div>
);
}
};
{
"name": "index",
"version": "1.0.0",
"private": true,
"main": "./index.js"
}
import React from 'react';
import './index.less';
import Footer from '../../components/Footer';
import Myimg from '../../../public/images/mine.png';
export default class My extends React.Component {
componentWillMount() {
window.HWH5.navTitle({ title: '我的信息' });
}
componentDidMount() {
}
render() {
return (
<div>
<div className="Myimg">
<img src={Myimg} alt="" />
</div>
<Footer tab="3" />
</div>
);
}
};
*{
background: #F8F8F8;
}
.Myimg img{
width: 100%;
height: auto;
}
\ No newline at end of file
{
"name": "index.js",
"version": "1.0.0",
"private": true,
"main": "./index.js"
}
import React from 'react';
import { Link } from 'react-router-dom';
import './index.less';
import Pickimg from '../../../public/images/pick.png';
export default class Pick extends React.Component {
componentWillMount() {
}
componentDidMount() {
}
render() {
return (
<div>
<div className="Pickimg">
<Link to="./desc">
<img src={Pickimg} alt="" />
</Link>
</div>
</div>
);
}
};
*{
background: #F8F8F8;
}
.Pickimg img{
width: 100%;
height: auto;
}
\ No newline at end of file
{
"name": "index.js",
"version": "1.0.0",
"private": true,
"main": "./index.js"
}
import React from 'react';
import './index.less';
import Footer from '../../components/Footer';
import Scheduleimg from '../../../public/images/Schedule.png';
export default class Schedule extends React.Component {
componentWillMount() {
window.HWH5.navTitle({ title: '我的日程' });
}
componentDidMount() {
}
render() {
return (
<div>
<div className="Scheduleimg">
<img src={Scheduleimg} alt="" />
</div>
<Footer tab="2" />
</div>
);
}
};
*{
background: #F8F8F8;
}
.Scheduleimg img{
width: 100%;
height: auto;
}
\ No newline at end of file
{
"name": "index.js",
"version": "1.0.0",
"private": true,
"main": "./index.js"
}
import React from 'react';
import './index.less';
import { SearchBar } from 'react-weui';
export default class Seach extends React.Component {
// state={
// searchText: 'a'
// };
componentWillMount() {
}
componentDidMount() {
}
render() {
return (
<div className="search">
<SearchBar
// onChange={this.handleChange.bind(this)}
// defaultValue={this.state.searchText}
placeholder="请输入会议室名称"
// lang={{
// cancel: 'Cancel'
// }}
/>
</div>
);
}
};
*{
background: #F8F8F8;
}
.search{
width: 60%;
height: 40px;
border: 1px solid #ccc;
}
\ No newline at end of file
{
"name": "index.js",
"version": "1.0.0",
"private": true,
"main": "./index.js"
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论