react_hsbc_teller 0.5.9 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "0.5.9",
3
+ "version": "0.6.3",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -54,8 +54,8 @@ export default class foot extends Component {
54
54
  const {clickedOcr,clickedFacial,isTranscribing,img,cameraImg,screenName,suspendName,customerList,menus} = this.props
55
55
  const content = (
56
56
  <div>
57
- {customerList.map((item)=>{
58
- return <div className="customer" onClick={this.customerFaceClick.bind(this,item)}>
57
+ {customerList.map((item,index)=>{
58
+ return <div key={index}className="customer" onClick={this.customerFaceClick.bind(this,item)}>
59
59
  <img className="imgClass" alt="" src={require("../../assets/img/youke.png").default} />
60
60
  <li className="listLi" key={item.customerId}>{item.name}</li>
61
61
  </div>
@@ -144,7 +144,7 @@ export default class foot extends Component {
144
144
  </div>
145
145
  <div className='footHover' onClick={this.inspection.bind(this)}>
146
146
  <div className="one">
147
- <img className="imgClass" src={cameraImg} alt="" />
147
+ <img className="imgClass" src={require("../../assets/img/inspection.png").default} alt="" />
148
148
  <div className="text">
149
149
  设备检测
150
150
  </div>
@@ -1,8 +1,9 @@
1
1
  .foot{
2
2
  background: #fff;
3
- height: 58px;
3
+ height: 60px;
4
4
  display: inline-flex;
5
5
  width: 100%;
6
+ // margin: 10px 0;
6
7
  // position: absolute;
7
8
  // bottom: 0;
8
9
  // left: 0;
@@ -10,8 +11,9 @@ width: 100%;
10
11
  .total{
11
12
  display: inline-flex;
12
13
  width: 33%;
13
-
14
+ height: 100%;
14
15
  align-items: center;
16
+ margin: 10px 0;
15
17
  .one{
16
18
  padding-top: 5px;
17
19
  display: flex;
@@ -46,6 +46,7 @@ class Main extends Component {
46
46
  }
47
47
  Main.defaultProps = {
48
48
  lang: 'zh',
49
+ // baseURL: 'https://zuul.uat.dsp.hsbcfts.com.cn/wealth/zuul/api/leimon-counter-api',
49
50
  baseURL:'https://counter-web.leimondata.cn:18082/api/leimon-counter-api',
50
51
 
51
52
  }