|
|
@@ -124,6 +124,12 @@ export default function Page() {
|
|
|
}
|
|
|
|
|
|
useEffect(() => {
|
|
|
+ if (process.env.TARO_ENV=='weapp'){
|
|
|
+ showAlert({
|
|
|
+ title:'date',
|
|
|
+ content:new Date().toString()
|
|
|
+ })
|
|
|
+ }
|
|
|
dispatch(staticResources() as any);
|
|
|
timer = setInterval(() => {
|
|
|
var now = new Date()
|
|
|
@@ -882,17 +888,6 @@ export default function Page() {
|
|
|
|
|
|
{
|
|
|
process.env.TARO_ENV == 'rn' && <DayNightSwiper count={count} />
|
|
|
- // <Swiper
|
|
|
- // className="rn_swiper"
|
|
|
- // indicatorDots indicatorColor='#333'
|
|
|
- // indicatorActiveColor='#999'>
|
|
|
- // <SwiperItem>
|
|
|
- // <DayNightCard isNight={true} count={count} />
|
|
|
- // </SwiperItem>
|
|
|
- // <SwiperItem>
|
|
|
- // <DayNightCard isNight={false} count={count} />
|
|
|
- // </SwiperItem>
|
|
|
- // </Swiper>
|
|
|
}
|
|
|
|
|
|
{
|
|
|
@@ -927,9 +922,6 @@ export default function Page() {
|
|
|
<ChooseScenarioBtn title={t('feature.auth.login.login_now')} background={ColorType.fast} onClick={tapLogin} />
|
|
|
</View>
|
|
|
}
|
|
|
- {/* {
|
|
|
- showErrorPage && <NoData refresh={() => { getCheckData() }} />
|
|
|
- } */}
|
|
|
|
|
|
{
|
|
|
user.isLogin && !showErrorPage && <View style={{ marginTop: rpxToPx(60), display: 'flex', flexDirection: 'column' }}>
|