Commit e2ad7797 by zhanghaozhe

大咖直播显示当天日期

parents 8d7d45a4 48be893e
......@@ -59,8 +59,8 @@
"blessing-getPrize.js": "/mrstatic/js/blessing-getPrize.9bc17c30.chunk.js",
"blessing-getPrize.js.map": "/mrstatic/js/blessing-getPrize.9bc17c30.chunk.js.map",
"blessing-preheat.css": "/mrstatic/css/blessing-preheat.6fa21d74.chunk.css",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.358053f7.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.358053f7.chunk.js.map",
"blessing-preheat.js": "/mrstatic/js/blessing-preheat.e5b93b6c.chunk.js",
"blessing-preheat.js.map": "/mrstatic/js/blessing-preheat.e5b93b6c.chunk.js.map",
"blessing-rank.css": "/mrstatic/css/blessing-rank.b92d0394.chunk.css",
"blessing-rank.js": "/mrstatic/js/blessing-rank.8ae76462.chunk.js",
"blessing-rank.js.map": "/mrstatic/js/blessing-rank.8ae76462.chunk.js.map",
......@@ -88,8 +88,8 @@
"purchased.css": "/mrstatic/css/purchased.dd7556e0.chunk.css",
"purchased.js": "/mrstatic/js/purchased.6ee9010b.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.6ee9010b.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.9f092085.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.9f092085.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.5b7bd5ee.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.5b7bd5ee.js.map",
"search.css": "/mrstatic/css/search.fab97849.chunk.css",
"search.js": "/mrstatic/js/search.bfac27c7.chunk.js",
"search.js.map": "/mrstatic/js/search.bfac27c7.chunk.js.map",
......@@ -170,6 +170,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.0fa36e925c02ee737795c8e76e240be2.js": "/precache-manifest.0fa36e925c02ee737795c8e76e240be2.js",
"precache-manifest.b48602437ebebad92445d2e32974e4a2.js": "/precache-manifest.b48602437ebebad92445d2e32974e4a2.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
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.
......@@ -156,8 +156,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/38.5791d700.chunk.js"
},
{
"revision": "39566b23a53c020dcd90",
"url": "/mrstatic/js/blessing-preheat.358053f7.chunk.js"
"revision": "b4c7ada0b6ce7113b1f8",
"url": "/mrstatic/js/blessing-preheat.e5b93b6c.chunk.js"
},
{
"revision": "160a7eaadde129ca7246",
......@@ -216,8 +216,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.ce8733b3.chunk.js"
},
{
"revision": "af3e323cbd7d141f4e60",
"url": "/mrstatic/js/runtime~main.9f092085.js"
"revision": "74959402d20eef5b784a",
"url": "/mrstatic/js/runtime~main.5b7bd5ee.js"
},
{
"revision": "5589cba7dc22563d0e88",
......@@ -288,7 +288,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/38.50547718.chunk.css"
},
{
"revision": "39566b23a53c020dcd90",
"revision": "b4c7ada0b6ce7113b1f8",
"url": "/mrstatic/css/blessing-preheat.6fa21d74.chunk.css"
},
{
......@@ -380,7 +380,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.5ed15c7e.chunk.css"
},
{
"revision": "2b297e4fb2855c817dd4c6de3b5e3ca6",
"revision": "7941662326b688f06f601e8fd7ca7005",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.0fa36e925c02ee737795c8e76e240be2.js"
"/precache-manifest.b48602437ebebad92445d2e32974e4a2.js"
);
workbox.clientsClaim();
......
......@@ -137,17 +137,17 @@ class FormalDraw extends Component {
if (status == 3) {
this.draw(id)
} else if (status == 2) {
this.subscribe()
this.subscribe(id)
}
}
subscribe = () => {
subscribe = (id) => {
var _czc = _czc || []
_czc.push(["_trackEvent", '预约抽奖', 'm端双十一正式页-立即预约'])
if (this.subscribePopupInstance) {
return
}
http.get(`${API["base-api"]}/sys/activity/create_pre_qrcode`)
http.get(`${API["base-api"]}/sys/activity/create_pre_qrcode`,{params:{id}})
.then(res => {
const {code, data, msg} = res.data
if (code == 200) {
......
......@@ -131,7 +131,7 @@ class Live extends Component {
}
render() {
const {tabs, lives, today} = this.state
const {tabs, lives, todayIndex} = this.state
return (
<div id={'live'}>
<div className="title">
......@@ -141,14 +141,14 @@ class Live extends Component {
</div>
<div className="live-container">
{
today !== '' &&
todayIndex !== '' &&
<Tabs
tabs={tabs}
tabBarBackgroundColor={'transparent'}
tabBarActiveTextColor={'#5600DF'}
tabBarInactiveTextColor={'#FFF604'}
tabBarUnderlineStyle={{display: 'none'}}
initialPage={today}
initialPage={todayIndex}
swipeable={false}
>
{
......
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