|
@@ -6,7 +6,7 @@ import List from './_7_List';
|
|
|
import TabBar from '../components/TabBar';
|
|
|
import Player from "../components/Player";
|
|
|
//import Player from "./PlayerGesture";
|
|
|
-
|
|
|
+import { PlayerConextProvider } from '../components/PlayerReducer'
|
|
|
C.addColor("#d7d7d7", "color-listbg");
|
|
|
|
|
|
const BTNS = [
|
|
@@ -66,10 +66,9 @@ export default (props)=>{
|
|
|
<C.View cls="flx1 bgc-color-white">
|
|
|
<C.Comp.Header {...props}/>
|
|
|
<Page {...props} Pages={sel_idx == -1 ? {} : BTNS[targetIdx][sel_idx]} startPlay={startPlay} bPlay={bPlay}/>
|
|
|
-
|
|
|
- {bPlay ? <Player {...props} Pages={curPlayInfo} tabPosition={tabPosition} closePlayer={()=>setbPlay(false)}/> : null}
|
|
|
- {/* {bPlay ? <C.View cls="flx0.1"/> : null} */}
|
|
|
-
|
|
|
+ <PlayerConextProvider>
|
|
|
+ {bPlay ? <Player {...props} Pages={curPlayInfo} tabPosition={tabPosition} closePlayer={()=>setbPlay(false)}/> : null}
|
|
|
+ </PlayerConextProvider>
|
|
|
<TabBar setTabPosition={setTabPosition} onTabPress={onTabPress} BTNS={BTNS}/>
|
|
|
</C.View>
|
|
|
)
|