From 679515ca6dee3aea706068cb277cc8d836a1ac21 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Thu, 21 Mar 2019 19:37:19 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=88=B8][=E5=A2=9E=E5=8A=A0]:[=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=A5=BC=E5=B1=82=E6=A5=BC=E5=BA=A7]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/App.js b/App.js index 0d5b582..4052313 100644 --- a/App.js +++ b/App.js @@ -50,21 +50,25 @@ var errorMsg = { ERR_HEARTBEAT:'设备心跳数据错误' } var animationThemes = [ + // 滑入 { first:"slideInDown", second:"slideInLeft", third:"slideInRight" }, + // 放大 { first:"zoomInDown", second:"zoomInLeft", third:"zoomInRight" }, + // 翻转 { - first:"fadeIn", - second:"fadeIn", - third:"fadeIn" + first:"flipInX", + second:"flipInY", + third:"flipInX" }, + // 弹出 { first:"bounceInDown", second:"bounceInLeft", @@ -287,11 +291,9 @@ startAd() { pageChangeCount =this.state.heartConfig.pageChangeInterval; setInterval(()=>{ - hbRequestCount -=1000; getAdDataCount -=1000; pageChangeCount -=1000; - if (pageChangeCount <= 0) { //页面切换间隔 if (this.state.contentDisplayStatus) { this.setState({ contentDisplayStatus: false}) @@ -352,7 +354,6 @@ getContentViewItemMerchantName(contentItem) { return '多商户通用'; else return contentItem.target.merchantVoList[0].merchantName; - } } @@ -376,7 +377,6 @@ getContentViewItem(contentItem, annomation) { {/* 券的title */} {contentItem.target.title} - {/* {contentItem.target.remark} */} {/* 售价 */} @@ -394,7 +394,7 @@ getContentViewItem(contentItem, annomation) { {/* 优惠券底部商户名称 */} {merchantName} - + {contentItem.target.merchantVoList[0].buildingName}{contentItem.target.merchantVoList[0].floorName} {actionText} @@ -464,7 +464,6 @@ render() { {this.state.versionInfo} {/* {this.state.heartConfig} */} - ); @@ -725,6 +724,8 @@ render() { paddingRight: 79/PixelRatio.get(), width:'100%', height:'100%', + color:"black", + marginTop:10, backgroundColor:'transparent', },