许静 il y a 5 ans
Parent
révision
94d3133a5a

+ 2
- 2
src/global.less Voir le fichier

@@ -108,8 +108,8 @@ ol {
108 108
   padding: 0;
109 109
 }
110 110
 .antd-pro-pages-index-echarts-styles-pie,.antd-pro-pages-index-echarts-styles-bar{
111
-  padding: 26px;
112
-  margin-bottom: 25px;
111
+  padding: 40px;
112
+  margin-bottom: 40px;
113 113
 }
114 114
 .ant-breadcrumb{
115 115
   font-size: 0.1rem;

+ 1
- 1
src/pages/Welcome.jsx Voir le fichier

@@ -38,7 +38,7 @@ const Welcome = (props) => {
38 38
 
39 39
   return (
40 40
     <>
41
-      <div style={{ display: 'flex', marginBottom: '28px' }}>
41
+      <div style={{ display: 'flex', marginBottom: '33px' }}>
42 42
         <div style={{
43 43
           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',
44 44
           boxShadow: '0px  0.11rem 14px -15px rgba(241,43,62,1)',

+ 3
- 3
src/pages/charts/CityNums.jsx Voir le fichier

@@ -6,8 +6,8 @@ const geoOptions = {
6 6
   backgroundColor: '#fff',
7 7
   title: {
8 8
     text: '城市分布',
9
-    left: 20,
10
-    top: 20
9
+    left: 40,
10
+    top: 40
11 11
   },
12 12
   tooltip : {
13 13
       trigger: 'item',
@@ -128,7 +128,7 @@ const CityNums = (props) => {
128 128
   }
129 129
 
130 130
   return (
131
-    <div style={{ margin: ' 0 0 20px  0', width: '100%', borderRadius: '12px', boxShadow: '0px 0px 9px 1px rgba(0,0,0,0.12)', overflow: 'hidden' }}>
131
+    <div style={{ marginBottom:'40px', width: '100%', borderRadius: '12px', boxShadow: '0px 0px 9px 1px rgba(0,0,0,0.12)', overflow: 'hidden' }}>
132 132
       <Echart options={options} style={{ width: '100%', height: '600px' }} ></Echart>
133 133
     </div>
134 134
   )

+ 1
- 1
src/pages/indexEcharts/components/UserSourcepie.jsx Voir le fichier

@@ -54,7 +54,7 @@ const UserSource = (props) => {
54 54
     series: [
55 55
       {
56 56
         type: 'pie',
57
-        center: ['44%', '65%'],
57
+        center: ['40%', '65%'],
58 58
         radius: ['34%', '52%'],
59 59
       },
60 60
     ],

+ 3
- 3
src/pages/indexEcharts/styles.less Voir le fichier

@@ -23,8 +23,8 @@
23 23
   background: rgba(255, 255, 255, 1);
24 24
   box-shadow: 0px 0px 16px 2px rgba(0, 0, 0, 0.12);
25 25
   border-radius: 12px;
26
-  margin-bottom: 25px;
27
-  padding: 26px;
26
+  margin-bottom: 40px;
27
+  padding: 40px;
28 28
 }
29 29
 
30 30
 .customers {
@@ -33,5 +33,5 @@
33 33
   background: rgba(255, 255, 255, 1);
34 34
   box-shadow: 0px 0px 16px 2px rgba(0, 0, 0, 0.12);
35 35
   border-radius: 12px 12px 0px 0px;
36
-  padding: 26px;
36
+  padding: 40px;
37 37
 }

+ 1
- 7
src/pages/indexEcharts/userBehavior.jsx Voir le fichier

@@ -157,13 +157,7 @@ function getUserBehaviorSummary(params) {
157 157
   const dataSource = []
158 158
 
159 159
   return (<>
160
-    <div style={{
161
-      backgroundColor: '#fff',
162
-      padding: '32PX 28px',
163
-      boxShadow: '0px 0px 16px 2px rgba(0,0,0,0.12)',
164
-      borderRadius: '12px',
165
-      minHeight: '60vh'
166
-    }}>
160
+    <div>
167 161
       <div>
168 162
         <Radio.Group buttonStyle="solid" defaultValue="a">
169 163
           <Radio.Button value="a" onClick={getDataOf(7)}>最近7天</Radio.Button>