feat: about page

main
Dawn1Ocean 2024-03-29 21:14:40 +08:00
parent e19b4ccabd
commit 4ab1d5c89a
2 changed files with 13 additions and 7 deletions

View File

@ -2,6 +2,7 @@ import { Component, ReactNode } from 'react';
import { Image, View } from '@tarojs/components';
import Taro from '@tarojs/taro';
import pt from '@/plain-text';
import PageFooter from '@/components/PageFooter/PageFooter';
import './about.scss';
export default class AboutPage extends Component {
@ -14,7 +15,10 @@ export default class AboutPage extends Component {
return (
<View>
<View
style={{ marginTop: '60rpx', marginBottom: '60rpx' }}
style={{
marginTop: '200rpx',
marginBottom: '60rpx',
}}
className='at-row at-row__align--start'
>
<View className='at-col at-col-1 at-col--auto'>
@ -40,13 +44,13 @@ export default class AboutPage extends Component {
</View>
</View>
<View
style={{ marginTop: '60rpx', marginBottom: '60rpx' }}
style={{ marginTop: '100rpx', marginBottom: '60rpx' }}
className='at-row at-row__align--start'
>
<View className='at-col at-col-1 at-col--auto'>
<Image
style='width: 240rpx; height: 240rpx; margin-left: 60rpx; margin-right: 30rpx; margin-top: 30rpx; border-radius: 120rpx'
src='https://wiki.zjueva.net/images/1/10/%E5%A4%B4%E5%83%8F.jpg?20240319171222'
src='https://static.fracher21.top/head.jpg'
mode='aspectFit'
/>
</View>
@ -65,6 +69,8 @@ export default class AboutPage extends Component {
</View>
</View>
</View>
<View style={{ height: '200rpx' }}></View>
<PageFooter />
</View>
);
}

View File

@ -23,8 +23,8 @@ export const aboutPageZhCn: AboutPageText = {
fracher: {
nickname: '宇航员',
username: '@ FrozenArcher',
status: 'Ate 总设计, Eta 合作贡献者',
note: '6~',
status: 'Ate 总设计, 项目合作贡献者',
note: 'React 真是太有意思了',
},
};
@ -38,7 +38,7 @@ export const aboutPageEnUs: AboutPageText = {
fracher: {
nickname: 'Fracher',
username: '@ FrozenArcher',
status: "Ate's General Designer, Eta's Contributor",
note: '6~',
status: "Ate's General Designer, Project's Contributor",
note: 'React is so fun',
},
};