Commit 4e3b96d6 by wangshuo

合并

parents afe68393 26f7c733
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -14,7 +14,11 @@ ...@@ -14,7 +14,11 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
<<<<<<< HEAD
"/precache-manifest.acbdf032cb9971436ba49864a715c835.js" "/precache-manifest.acbdf032cb9971436ba49864a715c835.js"
=======
"/precache-manifest.89806a8078d7e2e3c273482d014de26d.js"
>>>>>>> 26f7c73380d6305ee14a9bdd86aa3bfa84682065
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
...@@ -64,7 +64,7 @@ class Banner extends Component { ...@@ -64,7 +64,7 @@ class Banner extends Component {
// } else { // } else {
// !nav.classList.contains('fixed') && nav.classList.add('fixed') // !nav.classList.contains('fixed') && nav.classList.add('fixed')
// } // }
// if (swipeDirection === 'up') { // if (swipeDirection === 'up') {
// if (y + 30 + 30 >= top) { // if (y + 30 + 30 >= top) {
// this.setState({ // this.setState({
...@@ -80,7 +80,7 @@ class Banner extends Component { ...@@ -80,7 +80,7 @@ class Banner extends Component {
// } // }
// this.prevY = y // this.prevY = y
// } // }
// } // }
// toSection = (i, e) => { // toSection = (i, e) => {
...@@ -100,7 +100,7 @@ class Banner extends Component { ...@@ -100,7 +100,7 @@ class Banner extends Component {
const { toSection, navs, index, isFormal } = this.props; const { toSection, navs, index, isFormal } = this.props;
return ( return (
<div id={'main-banner'}> <div id={'main-banner'}>
<div className={`banner ${isFormal?'formal_banner':''}`}></div> <div className={`banner ${isFormal ? 'formal_banner' : ''}`}></div>
<nav id={'main-nav'}> <nav id={'main-nav'}>
<ul> <ul>
{ {
......
...@@ -97,7 +97,7 @@ class BlessingPreheat extends Component { ...@@ -97,7 +97,7 @@ class BlessingPreheat extends Component {
} }
componentDidMount() { componentDidMount() {
document.title = `11.11-11.13 AI充电节,预热来袭!积福气享1折秒课,海量奖品来就送-七月在线`; document.title = '11.11-11.13 AI充电节,预热来袭!积福气享1折秒课,海量奖品来就送-七月在线';
this.fetchUserBlessing() this.fetchUserBlessing()
this.setInitialNavActiveStatus() this.setInitialNavActiveStatus()
window.addEventListener('scroll', throttle(this.calcNavActive, 100)) window.addEventListener('scroll', throttle(this.calcNavActive, 100))
...@@ -614,7 +614,7 @@ class BlessingPreheat extends Component { ...@@ -614,7 +614,7 @@ class BlessingPreheat extends Component {
} }
{ {
showRecordList && showRecordList &&
<RecordPopup <RecordPopup
history={this.props.history} history={this.props.history}
handleToHide={() => this.handleToHide('showRecordList')} handleToHide={() => this.handleToHide('showRecordList')}
/> />
......
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