zhoulisen il y a 5 ans
Parent
révision
2c5e3ab758

+ 16
- 16
src/pages/activity/dataRecord/index.jsx Voir le fichier

73
                 <div style={{ display: 'flex', marginBottom: '33px', marginTop: '20px' }}>
73
                 <div style={{ display: 'flex', marginBottom: '33px', marginTop: '20px' }}>
74
                     <div style={{
74
                     <div style={{
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',
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
                     </div>
80
                     </div>
81
                     <div style={{
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
                     </div>
87
                     </div>
88
                     <div style={{
88
                     <div style={{
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',
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
                     </div>
94
                     </div>
95
                     <div style={{
95
                     <div style={{
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',
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
                     </div>
101
                     </div>
102
                     <div style={{
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
                         borderRadius: '12px', width: '32%'
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
                     </div>
108
                     </div>
109
                 </div>
109
                 </div>
110
             </div>
110
             </div>

+ 5
- 5
src/pages/activity/dataRecord/table/shareNum.jsx Voir le fichier

63
           dataIndex: 'sharePersonPhone',
63
           dataIndex: 'sharePersonPhone',
64
           key: 'sharePersonPhone',
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
     function handleReset() {
73
     function handleReset() {

+ 1
- 0
src/pages/house/house/edit/components/house.jsx Voir le fichier

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