- 博客(5)
- 收藏
- 关注
原创 修改input框中placeholder内容的样式
input::-webkit-input-placeholder { /* WebKit browsers /color: #80848F;}input:-moz-placeholder { / Mozilla Firefox 4 to 18 /color: #80848F;}input::-moz-placeholder { / Mozilla Firefox 19+ /color...
2018-12-24 17:13:41 663
原创 hightCharts 常用图表api
这里写自定义目录标题1. 面积图配置1. 面积图配置this.config = { chart: { height: 280, backgroundColor: '#191F28' }, title: { text: '' }, legend: { enabled: tr...
2018-12-22 16:43:39 299
原创 highChart自定义y轴内容以及样式
效果图如下:代码:$(function () { $('#container').highcharts({ xAxis:{ type: 'category', categories: ['Foo', 'Bar', 'Foobar'], labels : { formatter: function () { if (this.value === 'Fo...
2018-12-17 20:28:18 2024
原创 react-infinite-scroller组件滚动分页加载
// 部分代码片段import InfiniteScroll from 'react-infinite-scroller';import {Scrollbars} from 'react-custom-scrollbars';//初始的state的状态this.state = { loading: true, hasMore: true, pageNum: 1, pageSize...
2018-12-15 15:59:17 12199
原创 React 路由报错 You should not use <Route> or withRouter() outside a <Router>
App.js在中的代码import React, {Component , Fragment} from 'react';import {withRouter , Route , Switch , Redirect} from 'react-router-dom';import './App.css';import 'antd/dist/antd.css'import Home from...
2018-12-03 11:48:01 16909 4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人