fix: mainpage avatar & layout
parent
3242b16e3d
commit
04e616c477
|
|
@ -20,7 +20,7 @@ export default class TitleCard extends React.Component {
|
||||||
<View className='at-row at-row__align--center at-row__justify--start'>
|
<View className='at-row at-row__align--center at-row__justify--start'>
|
||||||
<View className='at-col at-col-1 at-col--auto'>
|
<View className='at-col at-col-1 at-col--auto'>
|
||||||
<Image
|
<Image
|
||||||
style='width: 100rpx; height: 100rpx; margin-left: 30rpx;'
|
style='width: 100rpx; height: 100rpx; margin-left: 30rpx; border-radius: 50rpx'
|
||||||
src={wechatUser.getAccess() ? wechatUser.getInfo().avatar : logo}
|
src={wechatUser.getAccess() ? wechatUser.getInfo().avatar : logo}
|
||||||
mode='aspectFit'
|
mode='aspectFit'
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@ export default class ReportPage extends Component {
|
||||||
<AtMessage />
|
<AtMessage />
|
||||||
<AtTextarea
|
<AtTextarea
|
||||||
value={this.state.report}
|
value={this.state.report}
|
||||||
|
height={400}
|
||||||
onChange={this.handleChange.bind(this)}
|
onChange={this.handleChange.bind(this)}
|
||||||
maxLength={200}
|
maxLength={200}
|
||||||
placeholder={pt.get().reportPage.placeHolderText}
|
placeholder={pt.get().reportPage.placeHolderText}
|
||||||
|
|
@ -74,7 +75,6 @@ export default class ReportPage extends Component {
|
||||||
style={{
|
style={{
|
||||||
marginTop: '30rpx',
|
marginTop: '30rpx',
|
||||||
marginRight: '10rpx',
|
marginRight: '10rpx',
|
||||||
marginLeft: '10rpx',
|
|
||||||
width: '50%',
|
width: '50%',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
@ -86,7 +86,6 @@ export default class ReportPage extends Component {
|
||||||
className='at-col'
|
className='at-col'
|
||||||
style={{
|
style={{
|
||||||
marginTop: '30rpx',
|
marginTop: '30rpx',
|
||||||
marginRight: '10rpx',
|
|
||||||
marginLeft: '10rpx',
|
marginLeft: '10rpx',
|
||||||
width: '50%',
|
width: '50%',
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue