mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
增加日记本说明
This commit is contained in:
parent
7ba58507b7
commit
4a45614695
1 changed files with 19 additions and 5 deletions
|
@ -173,6 +173,20 @@ export default class NotebookEditPage extends Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
const tip = this.props.notebook ? (
|
||||
<View style={{padding: 15}}>
|
||||
<Text style={localStyle.tip}>提示:写过的日记本不能被删除</Text>
|
||||
</View>
|
||||
) : (
|
||||
<View style={{padding: 15}}>
|
||||
<Text style={[localStyle.tip, { paddingBottom: 3 }]}>什么是胶囊日记?</Text>
|
||||
<Text style={localStyle.tip}>胶囊日记是一个记录生活的日记本。</Text>
|
||||
<Text style={localStyle.tip}>
|
||||
首先你需要建立一个胶囊日记本,公开或是私密,并为它设定一个期限,这个期限决定了这个日记本的“厚度”,然后你就可以开始写日记了。 你可以在上面记录喜悦,悲伤,发牢骚,流水账,甚至只是一张相片,一条电话号码。 之后你会发现,一觉醒来,前一天你和所有人的日记都不见了,放心,它们并没有被删除,只是存放在你建好的日记本里, 等到日记本“写满”那天,你所有的日记就都可以再次被浏览。
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
|
||||
return (
|
||||
<View style={localStyle.wrap}>
|
||||
<Loading visible={this.state.uploading}></Loading>
|
||||
|
@ -234,10 +248,10 @@ export default class NotebookEditPage extends Component {
|
|||
<Text style={localStyle.delete}>删除</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
<Text style={localStyle.tip}>提示:写过的日记本不能被删除</Text>
|
||||
</View>
|
||||
) : null
|
||||
}
|
||||
{tip}
|
||||
|
||||
</View>
|
||||
);
|
||||
|
@ -298,10 +312,10 @@ const localStyle = StyleSheet.create({
|
|||
},
|
||||
tip: {
|
||||
fontSize: 12,
|
||||
padding: 10,
|
||||
paddingTop: 8,
|
||||
color: Color.inactiveText
|
||||
}
|
||||
color: '#89A',
|
||||
lineHeight: 18,
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
const customDatePickerStyle = StyleSheet.create({
|
||||
|
|
Loading…
Reference in a new issue