Skip to content

Commit c50504d

Browse files
committed
update: ui
1 parent 05a4106 commit c50504d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/pages/home/index.scss

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
padding-left: 20px;
4545
padding-right: 20px;
4646
background-color: #ffffff;
47+
&-input {
48+
flex: 1;
49+
margin-right: 50px;
50+
font-size: $font-size-xl;
51+
}
4752
&-icon {
4853
height: 40px;
4954
width: 40px;

src/pages/home/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @Author: iChengbo
33
* @Date: 2021-07-19 14:37:08
44
* @LastEditors: iChengbo
5-
* @LastEditTime: 2021-08-12 17:25:51
5+
* @LastEditTime: 2021-08-12 17:49:04
66
* @FilePath: /taro-react-native/src/pages/home/index.tsx
77
*/
88
import { Component, Fragment } from 'react';
@@ -136,7 +136,7 @@ export default class Index extends Component<any, any> {
136136
placeholder='请输入IP:8081'
137137
value={inputValue}
138138
onInput={this._onInputChange}
139-
style={{ height: 50, fontSize: 18, flex: 1 }}
139+
className='load-header-input'
140140
></Input>
141141
<Image
142142
src={require('../../assets/common/icon_scan.png')}

0 commit comments

Comments
 (0)