|
|
@@ -18,6 +18,7 @@ import { setWXFollow } from '@/store/permission';
|
|
|
import CircadianDetailPopup from './CircadianDetailPopup';
|
|
|
import showAlert from '@/components/basic/Alert';
|
|
|
import CheckAccess from './CheckAccess';
|
|
|
+import { ColorType } from '@/context/themes/color';
|
|
|
|
|
|
let useNavigation;
|
|
|
|
|
|
@@ -785,7 +786,7 @@ export default function IndexConsole(props: { record: any, count: number }) {
|
|
|
{
|
|
|
status == 'WAIT_FOR_START' &&
|
|
|
<View onClick={tapStartFast} className='console_btn'>
|
|
|
- <Text style={{ fontWeight: 'bold' }}>{t('feature.track_time_duration.common.start_fast')}</Text>
|
|
|
+ <Text style={{ fontWeight: 'bold',color:ColorType.black }}>{t('feature.track_time_duration.common.start_fast')}</Text>
|
|
|
</View>
|
|
|
}
|
|
|
{/* {
|
|
|
@@ -793,7 +794,7 @@ export default function IndexConsole(props: { record: any, count: number }) {
|
|
|
} */}
|
|
|
{
|
|
|
status == 'ONGOING' && <View onClick={tapEndFast} className={status == 'ONGOING' ? 'console_btn' : 'console_btn btn_disable'}>
|
|
|
- <Text style={{ fontWeight: 'bold' }}>{t('feature.track_time_duration.common.end_fast')}</Text>
|
|
|
+ <Text style={{ fontWeight: 'bold',color:ColorType.black }}>{t('feature.track_time_duration.common.end_fast')}</Text>
|
|
|
</View>
|
|
|
}
|
|
|
{
|
|
|
@@ -832,7 +833,7 @@ export default function IndexConsole(props: { record: any, count: number }) {
|
|
|
{
|
|
|
status == 'WAIT_FOR_START' ?
|
|
|
<View onClick={tapStartFast} className='console_btn'>
|
|
|
- <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32) }}>{t('feature.track_time_duration.common.start_fast')}</Text>
|
|
|
+ <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32),color:ColorType.black }}>{t('feature.track_time_duration.common.start_fast')}</Text>
|
|
|
</View> :
|
|
|
<View onClick={() => { tapStage(0) }} className='stage_btn'>
|
|
|
<Text style={{ flex: 1, color: '#fff' }}>{t('feature.track_time_duration.stage.a')}</Text>
|
|
|
@@ -851,7 +852,7 @@ export default function IndexConsole(props: { record: any, count: number }) {
|
|
|
{
|
|
|
status != 'ONGOING1' && <Image className='lock' src={require('@assets/images/lock.png')} />
|
|
|
}
|
|
|
- <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32) }}>{t('feature.track_time_duration.common.start_sleep')}</Text>
|
|
|
+ <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32),color:ColorType.black }}>{t('feature.track_time_duration.common.start_sleep')}</Text>
|
|
|
</View>
|
|
|
}
|
|
|
{
|
|
|
@@ -873,7 +874,7 @@ export default function IndexConsole(props: { record: any, count: number }) {
|
|
|
{
|
|
|
status != 'ONGOING2' && <Image className='lock' src={require('@assets/images/lock.png')} />
|
|
|
}
|
|
|
- <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32) }}>{t('feature.track_time_duration.common.end_sleep')}</Text>
|
|
|
+ <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32),color:ColorType.black }}>{t('feature.track_time_duration.common.end_sleep')}</Text>
|
|
|
</View>
|
|
|
}
|
|
|
{
|
|
|
@@ -890,7 +891,7 @@ export default function IndexConsole(props: { record: any, count: number }) {
|
|
|
{
|
|
|
status == 'WAIT_FOR_START' && <Image className='lock' src={require('@assets/images/lock.png')} />
|
|
|
}
|
|
|
- <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32) }}>{t('feature.track_time_duration.common.end_fast')}</Text>
|
|
|
+ <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32),color:ColorType.black }}>{t('feature.track_time_duration.common.end_fast')}</Text>
|
|
|
</View>
|
|
|
}
|
|
|
{
|