diff --git a/App.js b/App.js
index cd9065c..c2cd9d8 100644
--- a/App.js
+++ b/App.js
@@ -288,17 +288,21 @@ getContentViewItem(contentItem, annomation) {
-
+ {/* 列表 */}
+ {/* 券的title */}
{contentItem.target.title}
+ {/* 你好世界你好你是你好宿舍熟话说术后 */}
{/* {contentItem.target.remark} */}
+ {/* 售价 */}
¥
{contentItem.target.salePriceStr}
+ {/* 面额 */}
¥{contentItem.target.priceStr}
@@ -306,17 +310,14 @@ getContentViewItem(contentItem, annomation) {
-
+ {/* 优惠券底部商户名称 */}
{merchantName}
{actionText}
-
-
{this.getContentViewItemUplayer(contentItem)}
-
)
}
@@ -354,21 +355,20 @@ render() {
return (
-
+ {/* 头部title二维码开始 */}
-
-
+ {/* 券列表展示列表开始 */}
{this.getContentView()}
-
+ {/* 底部商场信息展示开始 */}
@@ -383,7 +383,6 @@ render() {
{this.state.versionInfo}
-
);
}
@@ -610,8 +609,8 @@ render() {
flex: 6,
width:'100%',
height:'100%',
- paddingLeft: 27/PixelRatio.get(),
- paddingRight: 79/PixelRatio.get(),
+ paddingLeft: 20/PixelRatio.get(),
+ paddingRight: 20/PixelRatio.get(),
alignItems: 'center',
backgroundColor:'transparent'
},
@@ -629,6 +628,7 @@ render() {
width:'100%',
height:'100%',
alignItems: 'center',
+ color:"black",
backgroundColor:'transparent',
textAlign :'center',
textAlignVertical:'center',
@@ -657,28 +657,33 @@ render() {
color: 'darkgray'
},
- //layer content item top detail
+ // 券的title
contentItemTopDetailTitle:{
flex: 2,
+ // height:'100%',
width:'100%',
- height:'100%',
+ marginTop:"2%",
+ // borderStyle:"solid",
+ // borderWidth:1,
+ // borderColor:"red",
backgroundColor:'transparent',
textAlign :'left',
+ color:"black",
textAlignVertical:'center',
fontSize: 53/PixelRatio.get(),
},
-/*
- contentItemTopDetailRemark:{
- flex: 1,
- width:'100%',
- height:'100%',
- backgroundColor:'transparent',
- textAlign :'left',
- textAlignVertical:'center',
- fontSize: 27/PixelRatio.get(),
- color : 'gray'
- },
-*/
+ /*
+ contentItemTopDetailRemark:{
+ flex: 1,
+ width:'100%',
+ height:'100%',
+ backgroundColor:'transparent',
+ textAlign :'left',
+ textAlignVertical:'center',
+ fontSize: 27/PixelRatio.get(),
+ color : 'gray'
+ },
+ */
contentItemTopDetailPrice:{
flex: 2,
width:'100%',
@@ -687,6 +692,7 @@ render() {
flexDirection: 'row',
},
+ // 售价的样式
contentItemTopDetailCurPrice:{
flex: 3,
width:'100%',
@@ -713,11 +719,14 @@ render() {
fontSize: 48/PixelRatio.get(),
color : 'red'
},
-
+ // 面额的样式
contentItemTopDetailSalePrice:{
- flex: 1,
+ position:"absolute",
+ bottom:0,
+ left:0,
+ // flex: 1,
width:'100%',
- height:'100%',
+ height:'30%',
backgroundColor:'transparent',
},