zhoulisen 5 lat temu
rodzic
commit
2c5e3ab758

+ 16
- 16
src/pages/activity/dataRecord/index.jsx Wyświetl plik

@@ -73,38 +73,38 @@ const DataRecord = props => {
73 73
                 <div style={{ display: 'flex', marginBottom: '33px', marginTop: '20px' }}>
74 74
                     <div style={{
75 75
                         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(241,43,62,1) 0%,rgba(254,144,155,1) 100%)', height: '100px',
76
-                        borderRadius: '12px', width: '32%', marginRight: '2%'
76
+                        borderRadius: '12px', width: '32%', marginRight: '15px'
77 77
                     }}>
78
-                        <span style={{ fontSize: '24px', color: '#fff' }}>访问总人数 </span>
79
-                        <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.visitPersons || '0'}</span>
78
+                        <span style={{ fontSize: '20px', color: '#fff' }}>访问总人数 </span>
79
+                        <span style={{ fontSize: '46px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.visitPersons || '0'}</span>
80 80
                     </div>
81 81
                     <div style={{
82
-                        textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: '#FFC6AA', height: '100px',
83
-                        borderRadius: '12px', width: '32%', marginRight: '2%'
82
+                        textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(255,126,74,1) 0%,rgba(255,196,168,1) 100%)', height: '100px',
83
+                        borderRadius: '12px', width: '32%', marginRight: '15px'
84 84
                     }}>
85
-                        <span style={{ fontSize: '24px', color: '#fff' }}>访问总次数 </span>
86
-                        <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.visitNum || '0'}</span>
85
+                        <span style={{ fontSize: '20px', color: '#fff' }}>访问总次数 </span>
86
+                        <span style={{ fontSize: '46px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.visitNum || '0'}</span>
87 87
                     </div>
88 88
                     <div style={{
89 89
                         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(137deg,rgba(107,130,230,1) 0%,rgba(152,175,251,1) 100%)', height: '100px',
90
-                        borderRadius: '12px', width: '32%', marginRight: '2%'
90
+                        borderRadius: '12px', width: '32%', marginRight: '15px'
91 91
                     }}>
92
-                        <span style={{ fontSize: '24px', color: '#fff' }}>新增注册用户 </span>
93
-                        <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.newPersons || '0'}</span>
92
+                        <span style={{ fontSize: '20px', color: '#fff' }}>新增注册用户 </span>
93
+                        <span style={{ fontSize: '46px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.newPersons || '0'}</span>
94 94
                     </div>
95 95
                     <div style={{
96 96
                         textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(137deg,rgba(150,83,215,1) 0%,rgba(208,160,255,1) 100%)', height: '100px',
97
-                        borderRadius: '12px', width: '32%', marginRight: '2%'
97
+                        borderRadius: '12px', width: '32%', marginRight: '15px'
98 98
                     }}>
99
-                        <span style={{ fontSize: '24px', color: '#fff' }}>分享总人数 </span>
100
-                        <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.sharePersons || '0'}</span>
99
+                        <span style={{ fontSize: '20px', color: '#fff' }}>分享总人数 </span>
100
+                        <span style={{ fontSize: '46px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.sharePersons || '0'}</span>
101 101
                     </div>
102 102
                     <div style={{
103
-                        textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(137deg,rgba(150,83,215,1) 0%,rgba(208,160,255,1) 100%)', height: '100px',
103
+                        textAlign: 'center', display: 'flex', justifyContent: 'center', lineHeight: '100px', background: 'linear-gradient(144deg,rgba(0,175,141,1) 0%,rgba(115,132,209,1) 100%)', height: '100px',
104 104
                         borderRadius: '12px', width: '32%'
105 105
                     }}>
106
-                        <span style={{ fontSize: '24px', color: '#fff' }}>分享总次数 </span>
107
-                        <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.shareNum || '0'}</span>
106
+                        <span style={{ fontSize: '20px', color: '#fff' }}>分享总次数 </span>
107
+                        <span style={{ fontSize: '46px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy' }}>{data.shareNum || '0'}</span>
108 108
                     </div>
109 109
                 </div>
110 110
             </div>

+ 5
- 5
src/pages/activity/dataRecord/table/shareNum.jsx Wyświetl plik

@@ -63,11 +63,11 @@ const date = {
63 63
           dataIndex: 'sharePersonPhone',
64 64
           key: 'sharePersonPhone',
65 65
         },
66
-        {
67
-          title: '访问人数',
68
-          dataIndex: 'visitPersonNum',
69
-          key: 'visitPersonNum',
70
-        },
66
+        // {
67
+        //   title: '访问人数',
68
+        //   dataIndex: 'visitPersonNum',
69
+        //   key: 'visitPersonNum',
70
+        // },
71 71
       ]
72 72
 
73 73
     function handleReset() {

+ 1
- 0
src/pages/house/house/edit/components/house.jsx Wyświetl plik

@@ -108,6 +108,7 @@ function House(props) {
108 108
           request({ ...apis.house.changeApartment, data: { apartmentId: values.apartmentIdSelected, houseIdList } }).then(res => {
109 109
             setViable(false)
110 110
             setSelectedRowKeys([])
111
+            setHouseIdList([])
111 112
             getList({ pageNumber: data.current, pageSize: 10 })
112 113
             openNotificationWithIcon('success', '操作成功')
113 114
           }).catch(err => {