Skip to content

Commit 8767cbc

Browse files
committed
修改样式调用顺序
1 parent 428b988 commit 8767cbc

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

example/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ html,body{margin: 0; padding: 0;}
22
li{font-size: 20px; width: 100%;list-style: none;}
33
img{width: 100%;}
44
div, .test-ul, p{margin: 0; padding: 0;}
5-
.block{position: absolute; height: 100%;box-sizing: border-box;}
5+
.block{position: absolute; top:0; left:0; box-sizing: border-box; height: 100%;box-sizing: border-box;}
66

77
button{
88
display: inline-block;

example/App1.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import React, { Component, PureComponent, PropTypes } from 'react'
33
import { render } from 'react-dom'
44
import ReactPullLoad,{STATS} from 'index.js'
5-
import './App.css'
65
import '../src/ReactPullLoad.less'
6+
import './App.css'
77

88

99
const defaultStyle ={
@@ -42,7 +42,7 @@ export class App extends Component{
4242
if(action === this.state.action ||
4343
action === STATS.refreshing && this.state.action === STATS.loading ||
4444
action === STATS.loading && this.state.action === STATS.refreshing){
45-
console.info("It's same action or on loading or on refreshing ",action, this.state.action,action === this.state.action);
45+
// console.info("It's same action or on loading or on refreshing ",action, this.state.action,action === this.state.action);
4646
return false
4747
}
4848

example/App2.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import React, { Component, PureComponent, PropTypes } from 'react'
33
import { render } from 'react-dom'
44
import ReactPullLoad,{STATS} from 'index.js'
5-
import './App.css'
65
import '../src/ReactPullLoad.less'
6+
import './App.css'
77

88
const defaultStyle ={
99
width: "100%",

example/App3.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import React, { Component, PureComponent, PropTypes } from 'react'
33
import { render } from 'react-dom'
44
import ReactPullLoad,{STATS} from 'index.js'
5-
import './App.css'
65
import '../src/ReactPullLoad.less'
6+
import './App.css'
77

88
const defaultStyle ={
99
width: "100%",

example/App4.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import React, { Component, PureComponent, PropTypes } from 'react'
33
import { render } from 'react-dom'
44
import ReactPullLoad,{STATS} from 'index.js'
5-
import './App.css'
65
import '../src/ReactPullLoad.less'
6+
import './App.css'
77

88
const defaultStyle ={
99
width: "100%",

0 commit comments

Comments
 (0)