|
|
@@ -30,7 +30,7 @@ export default function LogTags(props: { tags: any, scenario: any, showPublish:
|
|
|
<View key={index} className="tag_operate_item h34"
|
|
|
style={{ backgroundColor: MainColorType.white_25 }}
|
|
|
>
|
|
|
- <View className="tag_first_letter h36">{item.title.substring(0, 1).toUpperCase()}</View>
|
|
|
+ <View className="tag_first_letter h44 g01">{item.title.substring(0, 1).toUpperCase()}</View>
|
|
|
{item.title}
|
|
|
<View style={{ flex: 1 }} />
|
|
|
<IconAdd color={MainColorType.g02} width={rpxToPx(36)} />
|
|
|
@@ -38,38 +38,47 @@ export default function LogTags(props: { tags: any, scenario: any, showPublish:
|
|
|
</NewButton>
|
|
|
})
|
|
|
}
|
|
|
- <View className="tag_operate_item h34"
|
|
|
- style={{ backgroundColor: MainColorType.white_25, marginBottom: rpxToPx(100) }}
|
|
|
- onClick={() => {
|
|
|
+ <NewButton type={NewButtonType.custom} onClick={() => {
|
|
|
+ if (!user.isLogin) {
|
|
|
+ jumpPage('/_account/pages/ChooseAuth', 'ChooseAuth')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ props.showPublish(props.scenario, {}, true)
|
|
|
+ // setTitle('')
|
|
|
+ // setChooseTitle('')
|
|
|
+ // setPostCount(1)
|
|
|
+ // setStep(1)
|
|
|
+ }}>
|
|
|
+ <View className="tag_operate_item h34"
|
|
|
+ style={{ backgroundColor: MainColorType.white_25, marginBottom: rpxToPx(100) }}
|
|
|
+ >
|
|
|
+ <View className="tag_first_letter h44 g01">{global.language == 'en' ? 'C' : '自'}</View>
|
|
|
+ {/* <View className="tag_first_letter h44 g01">
|
|
|
+ <Image src={BASE_IMG_URL + 'edit.svg'} style={{ width: rpxToPx(36), height: rpxToPx(36) }} />
|
|
|
+ </View> */}
|
|
|
+ {t('health.custom')}
|
|
|
+ <View style={{ flex: 1 }} />
|
|
|
+ <IconAdd color={MainColorType.g02} width={rpxToPx(36)} /></View>
|
|
|
+ </NewButton>
|
|
|
+
|
|
|
+
|
|
|
+ {
|
|
|
+ props.showMove && props.scenario == 'ACTIVITY' && <NewButton type={NewButtonType.custom} onClick={() => {
|
|
|
if (!user.isLogin) {
|
|
|
jumpPage('/_account/pages/ChooseAuth', 'ChooseAuth')
|
|
|
return
|
|
|
}
|
|
|
- props.showPublish(props.scenario, {}, true)
|
|
|
- // setTitle('')
|
|
|
- // setChooseTitle('')
|
|
|
- // setPostCount(1)
|
|
|
- // setStep(1)
|
|
|
- }}><View className="tag_first_letter h36">
|
|
|
- <Image src={BASE_IMG_URL + 'edit.svg'} style={{ width: rpxToPx(36), height: rpxToPx(36) }} />
|
|
|
- </View>{t('health.custom')}
|
|
|
- <View style={{ flex: 1 }} />
|
|
|
- <IconAdd color={MainColorType.g02} width={rpxToPx(36)} /></View>
|
|
|
- {
|
|
|
- props.showMove && props.scenario == 'ACTIVITY' && <View className="tag_operate_item h34"
|
|
|
- style={{ backgroundColor: MainColorType.white_25, marginBottom: rpxToPx(100), marginTop: -rpxToPx(88) }}
|
|
|
- onClick={() => {
|
|
|
- if (!user.isLogin) {
|
|
|
- jumpPage('/_account/pages/ChooseAuth', 'ChooseAuth')
|
|
|
- return
|
|
|
- }
|
|
|
- jumpPage('/_health/pages/move')
|
|
|
- }}><View className="tag_first_letter h36">
|
|
|
- <Image src={BASE_IMG_URL + 'walk.svg'} style={{ width: rpxToPx(36), height: rpxToPx(36) }} />
|
|
|
- </View>{global.language == 'en' ? 'Steps' : '步数'}
|
|
|
- <View style={{ flex: 1 }} />
|
|
|
- <IconArrow color={MainColorType.g02} width={rpxToPx(36)} />
|
|
|
- </View>
|
|
|
+ jumpPage('/_health/pages/move')
|
|
|
+ }}>
|
|
|
+ <View className="tag_operate_item h34"
|
|
|
+ style={{ backgroundColor: MainColorType.white_25, marginBottom: rpxToPx(100), marginTop: -rpxToPx(74) }}
|
|
|
+ >
|
|
|
+ <View className="tag_first_letter h44 g01">{global.language == 'en' ? 'S' : '步'}</View>
|
|
|
+ {global.language == 'en' ? 'Steps' : '步数'}
|
|
|
+ <View style={{ flex: 1 }} />
|
|
|
+ <IconArrow color={MainColorType.g02} width={rpxToPx(36)} />
|
|
|
+ </View>
|
|
|
+ </NewButton>
|
|
|
}
|
|
|
</View>
|
|
|
}
|