新增邀请码页面,新增添加好友功能

Change-Id: Ifa0a5c355ab3693eecfe919de06fa9bef8171695
diff --git a/react-ui/src/pages/Reward/index.tsx b/react-ui/src/pages/Reward/index.tsx
index e55cfc1..42a9bac 100644
--- a/react-ui/src/pages/Reward/index.tsx
+++ b/react-ui/src/pages/Reward/index.tsx
@@ -1,4 +1,4 @@
-import { ExclamationCircleOutlined, PlusOutlined, DeleteOutlined, UploadOutlined } from '@ant-design/icons';
+import { ExclamationCircleOutlined, PlusOutlined, DeleteOutlined, UploadOutlined, TrophyOutlined } from '@ant-design/icons';
 import { Button, message, Modal, Switch, Upload, Form } from 'antd';
 import React, { useRef, useState, useEffect } from 'react';
 import { FormattedMessage, useIntl } from 'umi';
@@ -223,10 +223,21 @@
             valueType: 'text',
         },
         {
-            title: '悬赏金额',
+            title: (
+                <span>
+                    <TrophyOutlined style={{ marginRight: 4, color: '#faad14' }} />
+                    悬赏积分
+                </span>
+            ),
             dataIndex: 'amount',
-            valueType: 'money',
+            valueType: 'digit',
             hideInSearch: true,
+            render: (_, record) => (
+                <span style={{ color: '#faad14', fontWeight: 'bold' }}>
+                    <TrophyOutlined style={{ marginRight: 4 }} />
+                    {record.amount}
+                </span>
+            ),
         },
         // {
         //     title: '悬赏状态',
@@ -283,6 +294,7 @@
                     size="small"
                     key="accept"
                     style={{ color: '#52c41a' }}
+                    icon={<TrophyOutlined />}
                     onClick={() => {
                         setCurrentAcceptReward(record);
                         setAcceptModalVisible(true);
@@ -468,7 +480,12 @@
 
             {/* 接悬赏模态框 */}
             <Modal
-                title={`接悬赏 - ${currentAcceptReward?.title || ''}`}
+                title={
+                    <span>
+                        <TrophyOutlined style={{ color: '#faad14', marginRight: 8 }} />
+                        接悬赏 - {currentAcceptReward?.title || ''}
+                    </span>
+                }
                 open={acceptModalVisible}
                 onOk={handleAcceptSubmit}
                 onCancel={() => {
@@ -482,7 +499,13 @@
             >
                 <div style={{ marginBottom: 16 }}>
                     <p><strong>悬赏标题:</strong>{currentAcceptReward?.title}</p>
-                    <p><strong>悬赏金额:</strong>¥{currentAcceptReward?.amount}</p>
+                    <p>
+                        <strong>悬赏积分:</strong>
+                        <span style={{ color: '#faad14', fontWeight: 'bold' }}>
+                            <TrophyOutlined style={{ marginRight: 4 }} />
+                            {currentAcceptReward?.amount}
+                        </span>
+                    </p>
                     <p><strong>备注:</strong>{currentAcceptReward?.remark || '无'}</p>
                 </div>