Your Name 3 vuotta sitten
vanhempi
commit
a7d6fcc257
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5
    2
      src/pages/index/components/Header.jsx

+ 5
- 2
src/pages/index/components/Header.jsx Näytä tiedosto

@@ -1,6 +1,6 @@
1 1
 import { useMemo } from 'react';
2 2
 import { View } from '@tarojs/components'
3
-import { Row, Col } from "@antmjs/vantui";
3
+import { Row, Col, Icon } from "@antmjs/vantui";
4 4
 import './style.less'
5 5
 
6 6
 export default (props) => {
@@ -18,7 +18,10 @@ export default (props) => {
18 18
           <View className='index-person-name'>{title}</View>
19 19
         </Col>
20 20
         <Col span='8' onClick={onEdit}>          
21
-          <View className='index-edit-btn'>修改信息</View>
21
+          <View className='index-edit-btn'>
22
+            <View style={{ display: 'inline-block', marginRight: '8px' }}>修改信息</View>
23
+            <Icon name='edit' color='#fff' size='1.1em' />
24
+          </View>
22 25
         </Col>
23 26
       </Row>
24 27
       <Row gutter='24'>