ソースを参照

Merge branch 'master' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager

魏熙美 5 年 前
コミット
53c150871a

+ 3
- 0
config/config.js ファイルの表示

@@ -94,6 +94,9 @@ export default {
94 94
     'btn-primary-bg': '#EF273A',
95 95
     'table-row-hover-bg': '#eee',
96 96
     'btn-danger-bg': '#FF7E48',
97
+    'radio-button-hover-color': '#FF7E48',
98
+    'radio-button-active-color': 'red',
99
+    
97 100
 
98 101
   },
99 102
   define: {

+ 8
- 0
src/global.less ファイルの表示

@@ -97,10 +97,18 @@ ol {
97 97
   color: #fff;
98 98
   background: #FF7E48;
99 99
   border-color: #FF7E48;
100
+  box-shadow: none;
100 101
 }
101 102
 .ant-radio-button-wrapper:not(:first-child)::before{
102 103
   background: #FF7E48;
103 104
 }
105
+.ant-radio-button-wrapper:first-child {
106
+  border-left: 1px solid #FF7E48;
107
+}
108
+.ant-radio-button-wrapper:hover{
109
+  border-color: #FF7E48;
110
+  color: #FF7E48; ;
111
+}
104 112
 .ant-row.ant-form-item .ant-form-item-label.ant-col-sm-3{
105 113
   min-width: 100px;
106 114
 }

+ 1
- 2
src/layouts/BasicLayout.jsx ファイルの表示

@@ -84,8 +84,7 @@ const BasicLayout = props => {
84 84
       menuItemRender={(menuItemProps, defaultDom) => {
85 85
         if (menuItemProps.isUrl) {
86 86
           return defaultDom;
87
-        }
88
-
87
+        }        
89 88
         return <Link to={menuItemProps.path}>{defaultDom}</Link>;
90 89
       }}
91 90
       breadcrumbRender={(routers = []) => [

+ 1
- 1
src/pages/Welcome.jsx ファイルの表示

@@ -48,7 +48,7 @@ const welcome = (props) => {
48 48
           boxShadow: '0px  0.11rem 14px -15px rgba(107,130,230,1)',
49 49
           borderRadius: '12px', width: '32%',
50 50
         }}>
51
-          <span style={{ fontSize: '24px', color: '#fff', borderBottom: '1px solid #fff', margin: '30px 0' }}>最近7天新增 </span>
51
+          <span style={{ fontSize: '24px', color: '#fff', borderBottom: '1px solid #fff', margin: '30px 0',cursor: 'pointer' }}>最近7天新增 </span>
52 52
           <span style={{ fontSize: '52px', color: '#fff', marginLeft: '26px', fontFamily: 'fantasy', lineHeight: '100px' }}>{data.selectRecentlyCount || '0'}</span>
53 53
         </div>
54 54
       </div>

+ 1
- 1
src/pages/building/list/add/components/poster.jsx ファイルの表示

@@ -103,7 +103,7 @@ const Poster = props => {
103 103
             WebkitBoxOrient: 'vertical',
104 104
             overflow: 'hidden',
105 105
             textOverflow: 'ellipsis',
106
-          }}>{building.buildingName || '楼盘标题'}</p>
106
+          }}>{inputValue || building.buildingName}</p>
107 107
           <p style={{ color: '#999',padding:' 0 20px' }}>约<span style={{ color: '#fd0d0c', fontSize: '24px',marginLeft:'6px' }}>{ building.price }</span><span style={{ color: '#fd0d0c', fontSize: '20px' }}>元/m²</span></p>
108 108
 
109 109
           <img src={yinhao} style={{ width: '30px', marginLeft: '22px' }} alt="" />

+ 2
- 2
src/pages/indexEcharts/components/NewUsers.jsx ファイルの表示

@@ -92,9 +92,9 @@ const NewUsers = (props) => {
92 92
     <>
93 93
       <div>
94 94
         <div >
95
-          <p onClick={()=>router.push('/indexEcharts/newUsers')}><span style={{borderBottom:'1px solid #f02d40',fontSize:'0.12rem',fontWeight:'600'}}>新增用户</span> {!props.BuildSelectHide && <span style={{ fontSize: '0.09rem', color: '#888', marginLeft: '0.06rem' }}>最近七天</span>}</p>
95
+          <p onClick={()=>router.push('/indexEcharts/newUsers')}><span style={{borderBottom:'1px solid #f02d40',cursor: 'pointer',fontSize:'0.12rem',fontWeight:'600'}}>新增用户</span> {!props.BuildSelectHide && <span style={{ fontSize: '0.09rem', color: '#888', marginLeft: '0.06rem' }}>最近七天</span>}</p>
96 96
        </div>
97
-        <EChart options={options} style={piestyles} onClick={()=>router.push('/indexEcharts/newUsers')} />
97
+        <EChart options={options} style={piestyles}  />
98 98
       </div>
99 99
     </>
100 100
   )

+ 2
- 2
src/pages/indexEcharts/components/UserBehavior.jsx ファイルの表示

@@ -260,14 +260,14 @@ const UserBehavior = props => {
260 260
   return (
261 261
     <>
262 262
       <div>
263
-        <p onClick={() => router.push('/indexEcharts/userBehavior')}>
263
+        <p onClick={() => router.push('/indexEcharts/userBehavior')} style={{cursor: 'pointer'}}>
264 264
           <span style={{ borderBottom: '1px solid #f02d40', color: '#333', fontSize: '0.12rem', fontWeight: '600' }}>用户行为</span>
265 265
           {!props.BuildSelectHide && <span style={{ fontSize: '0.09rem', color: '#888', marginLeft: '0.06rem' }}>最近七天</span>}
266 266
         </p>
267 267
         <div style={{ float: 'right', marginTop: '-40px', marginBottom: '20px' }}>
268 268
           {!props.BuildSelectHide && <BuildSelect slot="action" onChange={(e => handleBuildingChange(e))}></BuildSelect>}
269 269
         </div>
270
-        <EChart onClick={() => router.push('/indexEcharts/userBehavior')} options={options} style={style} />
270
+        <EChart options={options} style={style} />
271 271
         {props.tableShow &&
272 272
           <Table rowKey="UserBehaviorTwo" dataSource={recordList} columns={columns} pagination={false} rowKey="userbehavior" scroll={{ y: 500 }} />
273 273
         }

+ 2
- 2
src/pages/indexEcharts/components/UserSource.jsx ファイルの表示

@@ -104,9 +104,9 @@ const UserSource = (props) => {
104 104
   return (
105 105
     <>
106 106
       <div>
107
-      <p onClick={()=>router.push('/indexEcharts/userSource')}><span style={{borderBottom:'1px solid #f02d40',color:'#333',fontSize:'0.12rem',fontWeight:'600'}}>用户来源</span> {!props.BuildSelectHide && <span style={{ fontSize: '0.09rem', color: '#888', marginLeft: '0.06rem' }}>最近七天</span>}</p>
107
+      <p onClick={()=>router.push('/indexEcharts/userSource')}><span style={{borderBottom:'1px solid #f02d40',cursor: 'pointer',color:'#333',fontSize:'0.12rem',fontWeight:'600'}}>用户来源</span> {!props.BuildSelectHide && <span style={{ fontSize: '0.09rem', color: '#888', marginLeft: '0.06rem' }}>最近七天</span>}</p>
108 108
 
109
-        <EChart onClick={() => router.push('/indexEcharts/userSource')} options={baroptions} style={barstyle} />
109
+        <EChart options={baroptions} style={barstyle} />
110 110
 
111 111
       </div>
112 112