dingxin il y a 5 ans
Parent
révision
a87886f2e4

+ 5
- 0
config/config.js Voir le fichier

@@ -218,6 +218,11 @@ export default {
218 218
                   name: '',
219 219
                   component: './channel/addChannel',
220 220
                 },
221
+                {
222
+                  path: '/channel/editChannel',
223
+                  name: '',
224
+                  component: './channel/editChannel',
225
+                },
221 226
                 {
222 227
                   path: '/channel/brokerList',
223 228
                   name: '经纪人',

+ 1
- 2
src/pages/channel/brokerList.jsx Voir le fichier

@@ -162,10 +162,9 @@ return (
162 162
         <Input onChange = { onInputChangePhone } style ={{ width: 150 }} />
163 163
         <span className={ channels.selectName }>电话</span>
164 164
         <Input onChange = { onInputChangeName } style ={{ width: 150 }} />
165
-        <Input value={handleClick} style ={{ width: 150 }} />
166 165
       </div>
167 166
       <div>
168
-      <Button className={channels.about} onClick={() => queryList() }>查询</Button>
167
+      <Button type="primary" className={channels.about} onClick={() => queryList() }>查询</Button>
169 168
       <Button onClick={() => refurbishList() }>重置</Button>
170 169
     </div>
171 170
     </div>

+ 2
- 2
src/pages/channel/channelList.jsx Voir le fichier

@@ -168,11 +168,11 @@ const header = props => {
168 168
           </Select>
169 169
         </dvi>
170 170
         <div >
171
-        <Button style ={{ backgroundColor: '#00bfff' } } onClick={() => queryList() }>查询</Button>
171
+        <Button type="primary" onClick={() => queryList() }>查询</Button>
172 172
         <Button onClick={() => reset() }>重置</Button>
173 173
         </div>
174 174
       </div>
175
-      <Button className={channels.addBtn} onClick={toAdd}>新增</Button>
175
+      <Button type="danger" onClick={toAdd}>新增</Button>
176 176
       <Table dataSource={data.result.records} columns={columns} pagination={{ pageSize: 10, total: data.result.total, onChange }} />
177 177
   </>
178 178
   )

+ 1
- 1
src/pages/channel/channelList.less Voir le fichier

@@ -32,7 +32,7 @@
32 32
 .about {
33 33
   padding: 0 30px;
34 34
   height: 36px;
35
-  background-color: #00bfff;
35
+  background-color:rgba(255,255,255,1);
36 36
   color: #fff;
37 37
   margin: 30px 0;
38 38
 }