加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

react_app 项目开发 (7)_/src/App/Admin/Header

发布时间:2020-12-15 20:35:48 所属栏目:百科 来源:网络整理
导读:/src/App/Admin/Header 布局 import {Row,Col} from "antd" div className="header_box" Row className="header_top" span欢迎/span a退出/a /Row Row className="header_bottom" Col span={4}/Col Col span={20} span className="weather_time"时间/span sp

/src/App/Admin/Header

布局 import {Row,Col} from "antd"

<div className="header_box">

<Row className="header_top">

<span>欢迎</span>

<a>退出</a>

</Row>

<Row className="header_bottom">

<Col span={4}></Col>

<Col span={20}>

<span className="weather_time">时间</span>

<span?className="weather_img">图片</span>

<span?className="weather_detail">晴天</span>

</Col>

</Row>

</div>

sysTime = Date.now() / DidMount 中计时器 时间动态显示

5

天气接口 - jsonp 解决跨域

import jsonp from jsonp;

MyTools.weather(city){

return new Promise((resolve,reject)=>{

0

})

}

exitLogin

根据 path 获取到 breadcrumb_title 和 父菜单

分类列表 - 增加分类 - 修改分类 ---- 熟练对 API 的运用能力

antd 界面 ---- Button、Icon、Card、Table(包含分页)

5

5

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读