|
@@ -1,10 +1,15 @@
|
|
import React from 'react';
|
|
import React from 'react';
|
|
-
|
|
|
|
|
|
+
|
|
import C from 'rn-class'
|
|
import C from 'rn-class'
|
|
|
|
+
|
|
C.addColor("#d7d7d7", "color-listbg");
|
|
C.addColor("#d7d7d7", "color-listbg");
|
|
|
|
|
|
|
|
|
|
-export default (props)=>{
|
|
|
|
|
|
+export default (props)=>{
|
|
|
|
+ let onClickPlay = (p)=>{
|
|
|
|
+ props.navigation.push('Player');
|
|
|
|
+ }
|
|
|
|
+
|
|
return (
|
|
return (
|
|
<C.View cls="flx1 bgc-color-white">
|
|
<C.View cls="flx1 bgc-color-white">
|
|
<C.View cls="w100% ai-c flx1">
|
|
<C.View cls="w100% ai-c flx1">
|
|
@@ -21,12 +26,12 @@ export default (props)=>{
|
|
</C.View>
|
|
</C.View>
|
|
|
|
|
|
<C.View cls="w100 flx-w jc-c flx-row">
|
|
<C.View cls="w100 flx-w jc-c flx-row">
|
|
- <Imgs></Imgs>
|
|
|
|
- <Imgs></Imgs>
|
|
|
|
- <Imgs></Imgs>
|
|
|
|
- <Imgs></Imgs>
|
|
|
|
- <Imgs></Imgs>
|
|
|
|
- <Imgs></Imgs>
|
|
|
|
|
|
+ <Imgs onClickPlay={onClickPlay} ></Imgs>
|
|
|
|
+ <Imgs onClickPlay={onClickPlay} ></Imgs>
|
|
|
|
+ <Imgs onClickPlay={onClickPlay} ></Imgs>
|
|
|
|
+ <Imgs onClickPlay={onClickPlay} ></Imgs>
|
|
|
|
+ <Imgs onClickPlay={onClickPlay} ></Imgs>
|
|
|
|
+ <Imgs onClickPlay={onClickPlay} ></Imgs>
|
|
</C.View>
|
|
</C.View>
|
|
|
|
|
|
</C.ScrollView>
|
|
</C.ScrollView>
|
|
@@ -39,7 +44,7 @@ export default (props)=>{
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
-const Imgs = ()=>{
|
|
|
|
|
|
+const Imgs = (props)=>{
|
|
return (
|
|
return (
|
|
<C.View cls="w45">
|
|
<C.View cls="w45">
|
|
<C.ImageBackground
|
|
<C.ImageBackground
|
|
@@ -52,7 +57,7 @@ const Imgs = ()=>{
|
|
<C.EL.Icon type="entypo" name="lock" ccls="ma2" {...C.n2cls("color-white")}/>
|
|
<C.EL.Icon type="entypo" name="lock" ccls="ma2" {...C.n2cls("color-white")}/>
|
|
</C.View>
|
|
</C.View>
|
|
<C.View cls="ai-c">
|
|
<C.View cls="ai-c">
|
|
- <C.EL.Icon type="entypo" name="controller-play" ccls="ma2" {...C.n2cls("color-white")} {...C.n2cls("size10")}/>
|
|
|
|
|
|
+ <C.EL.Icon type="entypo" name="controller-play" ccls="ma2" {...C.n2cls("color-white")} {...C.n2cls("size10")} onPress={props.onClickPlay}/>
|
|
</C.View>
|
|
</C.View>
|
|
</C.View>
|
|
</C.View>
|
|
|
|
|