From 3ff426f33fc63bc84b0c4af06206874705ab9e56 Mon Sep 17 00:00:00 2001 From: hupeng Date: Mon, 4 Mar 2019 12:28:16 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=A0=B7=E5=BC=8F][=E6=96=B0=E5=A2=9E]:?= =?UTF-8?q?=E7=A0=8D=E4=BB=B7=E8=A7=92=E6=A0=87=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.js | 95 ++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 59 insertions(+), 36 deletions(-) diff --git a/App.js b/App.js index 0d4fbec..c4c9786 100644 --- a/App.js +++ b/App.js @@ -192,38 +192,42 @@ render() { - - - - - - - {this.state.contentItem1.target.title} - {this.state.contentItem1.target.remark} - - - {this.state.contentItem1.target.priceStr} - - - - {this.state.contentItem1.target.salePriceStr}元 - - - - - - - - - 肯德基 - - 扫码领取 - - - + - + + + + + + {this.state.contentItem1.target.title} + {this.state.contentItem1.target.remark} + + + {this.state.contentItem1.target.priceStr} + + + + {this.state.contentItem1.target.salePriceStr}元 + + + + + + + + 肯德基 + + 扫码领取 + + + + + + + + + @@ -252,9 +256,11 @@ render() { + + - - + + @@ -283,6 +289,8 @@ render() { + + @@ -360,12 +368,12 @@ render() { }, titleQrcodePlacehold: { - flex: 2, - backgroundColor:'blue' + flex: 5, + backgroundColor:'transparent' }, titleQrcode: { - flex: 2, + flex: 6, width:'100%', height:'100%', backgroundColor:'transparent' @@ -412,10 +420,25 @@ render() { width:'100%', height:'100%', flexDirection: 'column', + backgroundColor:'transparent' + }, + + contentItemDownLayer:{ + position:'absolute', + width:'100%', + height:'100%', + flexDirection: 'column', alignItems: 'center', backgroundColor:'transparent' }, + contentItemUpLayer:{ + width:80, + height:60, + position:'absolute', + backgroundColor:'transparent' + }, + contentItemTop:{ flex: 3, width:'100%', @@ -503,7 +526,7 @@ render() { textAlign :'left', textAlignVertical:'center', fontSize: 24, - color: 'black' + color: 'darkgray' }, contentItemTopDetailRemark:{