Your Name 3 年之前
父節點
當前提交
a7d6fcc257
共有 1 個檔案被更改,包括 5 行新增2 行删除
  1. 5
    2
      src/pages/index/components/Header.jsx

+ 5
- 2
src/pages/index/components/Header.jsx 查看文件

@@ -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'>