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:{