Commit 1972d9a3 by wangshuo

新人福利弹框下架

parent 5fbcbc13
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "515c9b55ff5ab96c8e6cafd695cb9a5d",
"url": "/index.html"
},
{
"revision": "a130ea6b5638eb2dd3d7",
"url": "/mrstaticcss/2.a8093ac8.chunk.css"
},
{
"revision": "c0f06a643e6f9f6d532c",
"url": "/mrstaticcss/4.12adad2f.chunk.css"
},
{
"revision": "c9fdf415da09975530d7",
"url": "/mrstaticcss/51.372673c7.chunk.css"
},
{
"revision": "151068c61c8d6cd8edd8",
"url": "/mrstaticcss/52.88d05595.chunk.css"
},
{
"revision": "6aa650cdd1143247536d",
"url": "/mrstaticcss/53.57d78346.chunk.css"
},
{
"revision": "ff4bd227e1e72d2771bf",
"url": "/mrstaticcss/54.3a2118d1.chunk.css"
},
{
"revision": "a77dfc3bf75329f0b2a0",
"url": "/mrstaticcss/55.fd586a31.chunk.css"
},
{
"revision": "9d2bc35de9fb1f8ef1b6",
"url": "/mrstaticcss/56.eb83ce8f.chunk.css"
},
{
"revision": "bd39471a6b15117f5686",
"url": "/mrstaticcss/58.43ca9308.chunk.css"
},
{
"revision": "20d640e820d25bca12da",
"url": "/mrstaticcss/59.9579bd7f.chunk.css"
},
{
"revision": "0b31df58059838fd3b4c",
"url": "/mrstaticcss/60.66d53fdf.chunk.css"
},
{
"revision": "d0230eca5a12f20c66af",
"url": "/mrstaticcss/61.5b85e1ca.chunk.css"
},
{
"revision": "37324b8fc47be68349a9",
"url": "/mrstaticcss/62.759eaf89.chunk.css"
},
{
"revision": "0b5816b0ea3628731f59",
"url": "/mrstaticcss/63.85966b23.chunk.css"
},
{
"revision": "9856ff8125c8014c23b4",
"url": "/mrstaticcss/65.20148eea.chunk.css"
},
{
"revision": "1417594be9659f50de68",
"url": "/mrstaticcss/66.d9f2aa2e.chunk.css"
},
{
"revision": "0198c1cbf84a3361b462",
"url": "/mrstaticcss/67.cd23e3e8.chunk.css"
},
{
"revision": "804efa99b566933c84d5",
"url": "/mrstaticcss/68.8033ddf3.chunk.css"
},
{
"revision": "ac9d865bebae876a8f15",
"url": "/mrstaticcss/69.189a32e3.chunk.css"
},
{
"revision": "267d9e24ae58c51640a5",
"url": "/mrstaticcss/70.e3593a7f.chunk.css"
},
{
"revision": "ef071d109df5e52544b8",
"url": "/mrstaticcss/Activity.e9767f60.chunk.css"
},
{
"revision": "ab8e8a944f69d2f76652",
"url": "/mrstaticcss/BargainMiddlePage.5ee1d6e1.chunk.css"
},
{
"revision": "1a96af4f4eb40a1c7522",
"url": "/mrstaticcss/Classify.57594e29.chunk.css"
},
{
"revision": "469f623a8b716a75d77c",
"url": "/mrstaticcss/Country.5ef34577.chunk.css"
},
{
"revision": "433edff440c28db68376",
"url": "/mrstaticcss/CourseList.9b780fed.chunk.css"
},
{
"revision": "514e16dc918926121432",
"url": "/mrstaticcss/DrawDocument.3cc126d9.chunk.css"
},
{
"revision": "2d9b18029fe54b6aeb13",
"url": "/mrstaticcss/Examination.518811a3.chunk.css"
},
{
"revision": "4a8e005fea92b75b0889",
"url": "/mrstaticcss/Invite.548b0f37.chunk.css"
},
{
"revision": "cde4564baf04e9582cee",
"url": "/mrstaticcss/Order.cca38ea8.chunk.css"
},
{
"revision": "af56c271541f6f680bf9",
"url": "/mrstaticcss/PayOrder.9a7dd551.chunk.css"
},
{
"revision": "99d6da2c75228cb5c80a",
"url": "/mrstaticcss/Preferential.33d43fb8.chunk.css"
},
{
"revision": "9363cb9ac7ba92e07e45",
"url": "/mrstaticcss/SearchResult.e3287f19.chunk.css"
},
{
"revision": "effe6c912e6425fca465",
"url": "/mrstaticcss/ShareCourse.6b98763f.chunk.css"
},
{
"revision": "84492bccc7d17ba49629",
"url": "/mrstaticcss/ShopCart.7c8e45b2.chunk.css"
},
{
"revision": "31e4d206ce09da8a26ce",
"url": "/mrstaticcss/ai-test.d8b50e44.chunk.css"
},
{
"revision": "8aa9be7c0f7798b710ae",
"url": "/mrstaticcss/aist-share.b381992a.chunk.css"
},
{
"revision": "42c0975dc917b488dd54",
"url": "/mrstaticcss/blessing-getPrize.705fbdff.chunk.css"
},
{
"revision": "e3b623e05beb19e98e82",
"url": "/mrstaticcss/blessing-preheat.a865ec19.chunk.css"
},
{
"revision": "5f72794ee17cb0047dc5",
"url": "/mrstaticcss/blessing-rank.e7302964.chunk.css"
},
{
"revision": "628db6205d4c0dfb253f",
"url": "/mrstaticcss/coupons.57bfd543.chunk.css"
},
{
"revision": "5f3c0a5e3c89fdfb4894",
"url": "/mrstaticcss/deposit-order.8fd632ad.chunk.css"
},
{
"revision": "dd9130499ee2b254d475",
"url": "/mrstaticcss/deposit-pay-order.0a2ca945.chunk.css"
},
{
"revision": "11e7428bef426684505a",
"url": "/mrstaticcss/detail.588d0f20.chunk.css"
},
{
"revision": "ae7d1a3d75eff9c6ae15",
"url": "/mrstaticcss/intelligent-recommend.19b3a957.chunk.css"
},
{
"revision": "d428859a7d759400969b",
"url": "/mrstaticcss/main.7128af8a.chunk.css"
},
{
"revision": "ab3c061a4eeb34bfbdf5",
"url": "/mrstaticcss/ml.dda6fec9.chunk.css"
},
{
"revision": "faa7993c8fc57e72d85b",
"url": "/mrstaticcss/mlShare.0f4048d9.chunk.css"
},
{
"revision": "8e5f7e7d24fc767a3a6f",
"url": "/mrstaticcss/myorders.3f7aa8e1.chunk.css"
},
{
"revision": "1e072f4b5aa53dde5e7a",
"url": "/mrstaticcss/newyear-2019-landing.988e197e.chunk.css"
},
{
"revision": "bed286746b943aab4aea",
"url": "/mrstaticcss/newyear-yearIndex.1522802f.chunk.css"
},
{
"revision": "c77830f9f7c56736b8a8",
"url": "/mrstaticcss/prize-winner-list.36ad341a.chunk.css"
},
{
"revision": "f80689f3330832887d07",
"url": "/mrstaticcss/purchased.2986ee39.chunk.css"
},
{
"revision": "677a1c18f9ca94b3aa85",
"url": "/mrstaticcss/python-class.02d22ffa.chunk.css"
},
{
"revision": "44fe75a5f7df24dda96e",
"url": "/mrstaticcss/search.fa8cf4f5.chunk.css"
},
{
"revision": "eaf8315c43a7c5922afd",
"url": "/mrstaticcss/shareposter.64932116.chunk.css"
},
{
"revision": "432b827fb7ad92c9f61d",
"url": "/mrstaticcss/study.02238d82.chunk.css"
},
{
"revision": "26debcda64fed62186fb",
"url": "/mrstaticcss/system-notices.d1089545.chunk.css"
},
{
"revision": "037a25320fbab1c45bdc",
"url": "/mrstaticcss/togroup.149f8b8a.chunk.css"
},
{
"revision": "d06b44f91e62f3077717",
"url": "/mrstaticcss/treasure-box-home.c4601a33.chunk.css"
},
{
"revision": "21d3becb527d084764fc",
"url": "/mrstaticcss/treasure-box-mybox.61392b97.chunk.css"
},
{
"revision": "a6c9e323bd5c2edce3fd",
"url": "/mrstaticcss/video.75eaa4bf.chunk.css"
},
{
"revision": "b11bc94fe64014f093d5",
"url": "/mrstaticjs/0.0450a8cd.chunk.js"
},
{
"revision": "455f9f3ae849b1b7c9d5b5f2d351830a",
"url": "/mrstaticjs/0.0450a8cd.chunk.js.LICENSE.txt"
},
{
"revision": "97a6dc06e3bf85e038da",
"url": "/mrstaticjs/1.50a40d90.chunk.js"
},
{
"revision": "a130ea6b5638eb2dd3d7",
"url": "/mrstaticjs/2.bfa7ed94.chunk.js"
},
{
"revision": "a22f997e88ab8927f583",
"url": "/mrstaticjs/3.589ae226.chunk.js"
},
{
"revision": "c0f06a643e6f9f6d532c",
"url": "/mrstaticjs/4.7a59d659.chunk.js"
},
{
"revision": "dce93a24b368129b32d1",
"url": "/mrstaticjs/50.d7c58a65.chunk.js"
},
{
"revision": "c9fdf415da09975530d7",
"url": "/mrstaticjs/51.f4da565b.chunk.js"
},
{
"revision": "161c95f265033c06f5f77f2c3d69621c",
"url": "/mrstaticjs/51.f4da565b.chunk.js.LICENSE.txt"
},
{
"revision": "151068c61c8d6cd8edd8",
"url": "/mrstaticjs/52.528594bb.chunk.js"
},
{
"revision": "1dc5a13b02e9e4bc7bcd0c0c7ab5a4da",
"url": "/mrstaticjs/52.528594bb.chunk.js.LICENSE.txt"
},
{
"revision": "6aa650cdd1143247536d",
"url": "/mrstaticjs/53.4aa35320.chunk.js"
},
{
"revision": "ff4bd227e1e72d2771bf",
"url": "/mrstaticjs/54.28be25ba.chunk.js"
},
{
"revision": "a77dfc3bf75329f0b2a0",
"url": "/mrstaticjs/55.6d155bb5.chunk.js"
},
{
"revision": "9d2bc35de9fb1f8ef1b6",
"url": "/mrstaticjs/56.4dd42cbe.chunk.js"
},
{
"revision": "9ecfe679912463299d62",
"url": "/mrstaticjs/57.03d692c0.chunk.js"
},
{
"revision": "4ccbc9bc4b9754b13a6ada1ebf3bf27a",
"url": "/mrstaticjs/57.03d692c0.chunk.js.LICENSE.txt"
},
{
"revision": "bd39471a6b15117f5686",
"url": "/mrstaticjs/58.4a52b649.chunk.js"
},
{
"revision": "97636669c8193ace9a3b4f1548fc4d0b",
"url": "/mrstaticjs/58.4a52b649.chunk.js.LICENSE.txt"
},
{
"revision": "20d640e820d25bca12da",
"url": "/mrstaticjs/59.93e67c3f.chunk.js"
},
{
"revision": "0b31df58059838fd3b4c",
"url": "/mrstaticjs/60.e4ad8336.chunk.js"
},
{
"revision": "d0230eca5a12f20c66af",
"url": "/mrstaticjs/61.87e12d3f.chunk.js"
},
{
"revision": "37324b8fc47be68349a9",
"url": "/mrstaticjs/62.941f7dc5.chunk.js"
},
{
"revision": "0b5816b0ea3628731f59",
"url": "/mrstaticjs/63.df1838a7.chunk.js"
},
{
"revision": "930d50b4e558079f0a14",
"url": "/mrstaticjs/64.67aa85e7.chunk.js"
},
{
"revision": "9856ff8125c8014c23b4",
"url": "/mrstaticjs/65.3c0d4290.chunk.js"
},
{
"revision": "1417594be9659f50de68",
"url": "/mrstaticjs/66.644edabd.chunk.js"
},
{
"revision": "0198c1cbf84a3361b462",
"url": "/mrstaticjs/67.af2f5c1e.chunk.js"
},
{
"revision": "804efa99b566933c84d5",
"url": "/mrstaticjs/68.6883c8ae.chunk.js"
},
{
"revision": "ac9d865bebae876a8f15",
"url": "/mrstaticjs/69.d66ecfcb.chunk.js"
},
{
"revision": "267d9e24ae58c51640a5",
"url": "/mrstaticjs/70.fccaa9eb.chunk.js"
},
{
"revision": "ef071d109df5e52544b8",
"url": "/mrstaticjs/Activity.5b5992d7.chunk.js"
},
{
"revision": "ab8e8a944f69d2f76652",
"url": "/mrstaticjs/BargainMiddlePage.2afb2e4e.chunk.js"
},
{
"revision": "1a96af4f4eb40a1c7522",
"url": "/mrstaticjs/Classify.94ec61f7.chunk.js"
},
{
"revision": "469f623a8b716a75d77c",
"url": "/mrstaticjs/Country.c244571c.chunk.js"
},
{
"revision": "433edff440c28db68376",
"url": "/mrstaticjs/CourseList.6553077d.chunk.js"
},
{
"revision": "514e16dc918926121432",
"url": "/mrstaticjs/DrawDocument.74d4f764.chunk.js"
},
{
"revision": "2d9b18029fe54b6aeb13",
"url": "/mrstaticjs/Examination.0e946a27.chunk.js"
},
{
"revision": "4a8e005fea92b75b0889",
"url": "/mrstaticjs/Invite.edf3c75f.chunk.js"
},
{
"revision": "13582f001c549d965488",
"url": "/mrstaticjs/MyEdit.af2cec40.chunk.js"
},
{
"revision": "cde4564baf04e9582cee",
"url": "/mrstaticjs/Order.34dbd481.chunk.js"
},
{
"revision": "aa29ff6942d7b72e252e",
"url": "/mrstaticjs/Orderinfo.1c95be4d.chunk.js"
},
{
"revision": "af56c271541f6f680bf9",
"url": "/mrstaticjs/PayOrder.64487602.chunk.js"
},
{
"revision": "99d6da2c75228cb5c80a",
"url": "/mrstaticjs/Preferential.0785931c.chunk.js"
},
{
"revision": "9363cb9ac7ba92e07e45",
"url": "/mrstaticjs/SearchResult.1d8faf6a.chunk.js"
},
{
"revision": "effe6c912e6425fca465",
"url": "/mrstaticjs/ShareCourse.504f83cd.chunk.js"
},
{
"revision": "84492bccc7d17ba49629",
"url": "/mrstaticjs/ShopCart.13ed2a0e.chunk.js"
},
{
"revision": "31e4d206ce09da8a26ce",
"url": "/mrstaticjs/ai-test.4186f2c6.chunk.js"
},
{
"revision": "8aa9be7c0f7798b710ae",
"url": "/mrstaticjs/aist-share.4cc2741f.chunk.js"
},
{
"revision": "42c0975dc917b488dd54",
"url": "/mrstaticjs/blessing-getPrize.b44cbca7.chunk.js"
},
{
"revision": "e3b623e05beb19e98e82",
"url": "/mrstaticjs/blessing-preheat.775b0cb8.chunk.js"
},
{
"revision": "5f72794ee17cb0047dc5",
"url": "/mrstaticjs/blessing-rank.eab76e98.chunk.js"
},
{
"revision": "628db6205d4c0dfb253f",
"url": "/mrstaticjs/coupons.7a47886b.chunk.js"
},
{
"revision": "5f3c0a5e3c89fdfb4894",
"url": "/mrstaticjs/deposit-order.cf638587.chunk.js"
},
{
"revision": "dd9130499ee2b254d475",
"url": "/mrstaticjs/deposit-pay-order.299df304.chunk.js"
},
{
"revision": "11e7428bef426684505a",
"url": "/mrstaticjs/detail.4e3e66ae.chunk.js"
},
{
"revision": "ae7d1a3d75eff9c6ae15",
"url": "/mrstaticjs/intelligent-recommend.1fe881e4.chunk.js"
},
{
"revision": "d428859a7d759400969b",
"url": "/mrstaticjs/main.d1cb07ff.chunk.js"
},
{
"revision": "ab3c061a4eeb34bfbdf5",
"url": "/mrstaticjs/ml.44b128c8.chunk.js"
},
{
"revision": "faa7993c8fc57e72d85b",
"url": "/mrstaticjs/mlShare.c9e4438e.chunk.js"
},
{
"revision": "8e5f7e7d24fc767a3a6f",
"url": "/mrstaticjs/myorders.f217208a.chunk.js"
},
{
"revision": "1e072f4b5aa53dde5e7a",
"url": "/mrstaticjs/newyear-2019-landing.8fe8c9fd.chunk.js"
},
{
"revision": "bed286746b943aab4aea",
"url": "/mrstaticjs/newyear-yearIndex.093ba072.chunk.js"
},
{
"revision": "c77830f9f7c56736b8a8",
"url": "/mrstaticjs/prize-winner-list.9d9be2ce.chunk.js"
},
{
"revision": "f80689f3330832887d07",
"url": "/mrstaticjs/purchased.26f9b2e7.chunk.js"
},
{
"revision": "677a1c18f9ca94b3aa85",
"url": "/mrstaticjs/python-class.271cf264.chunk.js"
},
{
"revision": "6fc40b3f08bdd6eb5777",
"url": "/mrstaticjs/runtime-main.b6f3a981.js"
},
{
"revision": "44fe75a5f7df24dda96e",
"url": "/mrstaticjs/search.797ec134.chunk.js"
},
{
"revision": "eaf8315c43a7c5922afd",
"url": "/mrstaticjs/shareposter.b1772050.chunk.js"
},
{
"revision": "432b827fb7ad92c9f61d",
"url": "/mrstaticjs/study.b5170371.chunk.js"
},
{
"revision": "26debcda64fed62186fb",
"url": "/mrstaticjs/system-notices.f86fe38f.chunk.js"
},
{
"revision": "037a25320fbab1c45bdc",
"url": "/mrstaticjs/togroup.00f306ba.chunk.js"
},
{
"revision": "d06b44f91e62f3077717",
"url": "/mrstaticjs/treasure-box-home.48183f17.chunk.js"
},
{
"revision": "21d3becb527d084764fc",
"url": "/mrstaticjs/treasure-box-mybox.c48de2f1.chunk.js"
},
{
"revision": "b93da0620e026efab16e",
"url": "/mrstaticjs/ts-test.a8130fa4.chunk.js"
},
{
"revision": "a6c9e323bd5c2edce3fd",
"url": "/mrstaticjs/video.0faaa6ef.chunk.js"
},
{
"revision": "9ab091267ae7c83bd30d0f5ad018a8c9",
"url": "/mrstaticmedia/dalibao_bj.9ab09126.png"
},
{
"revision": "d76ebce726bdf3459fa14e96d84c5b9a",
"url": "/mrstaticmedia/formal-banner.d76ebce7.png"
},
{
"revision": "79139f6aad350256e151f9f73c226348",
"url": "/mrstaticmedia/hb_bj.79139f6a.png"
},
{
"revision": "6ed096ee71dfbbc5119fbe5f2d119405",
"url": "/mrstaticmedia/iconfont.6ed096ee.ttf"
},
{
"revision": "79b1bcef110d207965b1fd27d3c8d75f",
"url": "/mrstaticmedia/iconfont.79b1bcef.woff"
},
{
"revision": "af531ca288efc408e941cfbc5f9826f4",
"url": "/mrstaticmedia/iconfont.af531ca2.eot"
},
{
"revision": "d9c813a4f320507aeb1cb47893195314",
"url": "/mrstaticmedia/iconfont.d9c813a4.svg"
},
{
"revision": "81a489ac63f2f2df5ab412e0782bd54c",
"url": "/mrstaticmedia/kanjia_cg_icon.81a489ac.png"
},
{
"revision": "80011994e30adf599e5f47fcc81bc06d",
"url": "/mrstaticmedia/progress-share-bg.80011994.png"
},
{
"revision": "8edaf2ff2566ed17e2dd22cf4f8ad7ae",
"url": "/mrstaticmedia/redb_chai_bj@2x.8edaf2ff.png"
},
{
"revision": "c79abf5cb7ae8a82009cf68fe44d1078",
"url": "/mrstaticmedia/redb_money_bj@2x.c79abf5c.png"
},
{
"revision": "6902434f8f18a23319d57d0ac8aaea8c",
"url": "/mrstaticmedia/redb_sp_bj@2x.6902434f.png"
}
]);
\ No newline at end of file
...@@ -13,7 +13,8 @@ import { connect } from "react-redux" ...@@ -13,7 +13,8 @@ import { connect } from "react-redux"
import TopSwiper from "./TopSwiper" import TopSwiper from "./TopSwiper"
// import ExpandActiveToast from './expandActiveToast' // import ExpandActiveToast from './expandActiveToast'
import AllCourseNavigation from "./all-course" import AllCourseNavigation from "./all-course"
import { UserGift } from "src/common" //tan框
// import { UserGift } from "src/common"
// const animateTypes = Swiper.animateTypes // const animateTypes = Swiper.animateTypes
...@@ -67,7 +68,7 @@ class Index extends Component { ...@@ -67,7 +68,7 @@ class Index extends Component {
} }
componentWillMount() { componentWillMount() {
this.showUserGiftFun() // this.showUserGiftFun()
} }
userStatus = () => { userStatus = () => {
...@@ -79,7 +80,7 @@ class Index extends Component { ...@@ -79,7 +80,7 @@ class Index extends Component {
this.setState({ this.setState({
isShowUserGift: false, isShowUserGift: false,
}) })
Toast.info("新人大礼包已领取成功!", 2) // Toast.info("新人大礼包已领取成功!", 2)
} else { } else {
this.setState({ this.setState({
isShowUserGift: false, isShowUserGift: false,
...@@ -89,31 +90,31 @@ class Index extends Component { ...@@ -89,31 +90,31 @@ class Index extends Component {
}) })
} }
showUserGiftFun = () => { // showUserGiftFun = () => {
let newer_last_time = localStorage.getItem("newer_last_time") // 获取用户关闭大礼包的时间 // let newer_last_time = localStorage.getItem("newer_last_time") // 获取用户关闭大礼包的时间
let now_time = new Date().valueOf() // let now_time = new Date().valueOf()
if (!newer_last_time || now_time - newer_last_time > 86400000) { // if (!newer_last_time || now_time - newer_last_time > 86400000) {
this.setState({ // this.setState({
isShowUserGift: true, // isShowUserGift: true,
}) // })
} else { // } else {
this.setState({ // this.setState({
isShowUserGift: false, // isShowUserGift: false,
}) // })
} // }
} // }
close = () => { // close = () => {
this.setState({ // this.setState({
isShowUserGift: false, // isShowUserGift: false,
}) // })
let now_time = new Date().valueOf() // 获取当前时间 // let now_time = new Date().valueOf() // 获取当前时间
localStorage.setItem("newer_last_time", now_time) // 存储关闭时间 // localStorage.setItem("newer_last_time", now_time) // 存储关闭时间
} // }
get_newerModal = () => { // get_newerModal = () => {
this.close() // this.close()
this.props.history.push("/passport/login") // this.props.history.push("/passport/login")
} // }
// 首页课程 // 首页课程
getIndexData = () => { getIndexData = () => {
...@@ -250,9 +251,9 @@ class Index extends Component { ...@@ -250,9 +251,9 @@ class Index extends Component {
/> />
)} )}
{this.state.isShowUserGift && ( {/* {this.state.isShowUserGift && (
<UserGift close={this.close} get_newerModal={this.get_newerModal} /> <UserGift close={this.close} get_newerModal={this.get_newerModal} />
)} )} */}
</div> </div>
) )
} }
......
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