react_hsbc_teller 0.4.5 → 0.4.9

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.4.5",
3
+ "version": "0.4.9",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
Binary file
Binary file
Binary file
@@ -47,6 +47,9 @@ export default class foot extends Component {
47
47
  console.log(visible)
48
48
  this.props.ocrHandleVisibleChange(visible)
49
49
  };
50
+ inspection = ()=>{
51
+ this.props.inspection()
52
+ }
50
53
  render() {
51
54
  const {clickedOcr,clickedFacial,isTranscribing,img,cameraImg,screenName,suspendName,customerList,menus} = this.props
52
55
  const content = (
@@ -65,7 +68,7 @@ export default class foot extends Component {
65
68
  <div className="total totalTwo">
66
69
  {
67
70
  menus.map((item)=>{
68
- return <span>
71
+ return <div className='footHover'>
69
72
  {
70
73
  isTranscribing &&
71
74
  <div className="one" onClick={this.transcribingClick.bind(this)}>
@@ -121,7 +124,7 @@ export default class foot extends Component {
121
124
  </div>
122
125
  </div>
123
126
  }
124
- </span>
127
+ </div>
125
128
 
126
129
  })
127
130
  }
@@ -130,18 +133,23 @@ export default class foot extends Component {
130
133
  return (
131
134
  <div className="foot">
132
135
  <div className="total">
133
- <div className="one" onClick={this.voice.bind(this)}>
136
+ <div className='footHover' onClick={this.voice.bind(this)}>
137
+ <div className="one">
134
138
  <img className="imgClass" src={img} alt="" />
135
139
  <div className="text">
136
140
  静音
137
141
  </div>
142
+ </div>
143
+
138
144
  </div>
139
- {/* <div className="one" onClick={this.cameraClick.bind(this)}>
145
+ <div className='footHover' onClick={this.inspection.bind(this)}>
146
+ <div className="one">
140
147
  <img className="imgClass" src={cameraImg} alt="" />
141
148
  <div className="text">
142
- 摄像头
149
+ 设备检测
143
150
  </div>
144
- </div> */}
151
+ </div>
152
+ </div>
145
153
  </div>
146
154
  {defaultList}
147
155
 
@@ -13,21 +13,27 @@ width: 100%;
13
13
 
14
14
  align-items: center;
15
15
  .one{
16
+ padding-top: 5px;
16
17
  display: flex;
17
- height: 32px;
18
+ line-height: 32px;
18
19
  flex-direction: column;
19
20
  align-items: center;
20
21
  flex-wrap: nowrap;
21
22
  }
23
+ .footHover :hover{
24
+ background: #F3F3F3;
25
+ border-radius: 8px;
26
+ }
22
27
  .text{
23
- margin-top: 2px;
28
+ margin-top: 10px;
29
+ padding-bottom: 10px;
24
30
  text-align: center;
25
31
  width: 80px;
26
32
  height: 11px;
27
- font-size: 13px;
33
+ font-size: 14px;
28
34
  font-family: PingFangSC-Regular, PingFang SC;
29
35
  font-weight: 400;
30
- color: #666666;
36
+ color: #333333;
31
37
  line-height: 11px;
32
38
  }
33
39
  }
@@ -39,19 +45,21 @@ line-height: 11px;
39
45
  justify-content: flex-end;
40
46
  }
41
47
  .buttonClass{
42
- width: 103px;
43
- height: 36px;
44
- background: #DB0011;
45
- border-radius: 4px;
46
- border: 1px #DB0011 solid;
48
+ font-size: 16px;
49
+ color: #ffffff;
50
+ width: 70px;
51
+ height: 32px;
52
+ background: #B70000;
53
+ border-radius: 6px;
54
+ border: 1px #B70000 solid;
47
55
  }
48
56
  .spanClass{
49
57
  font-size: 16px;
50
58
  color: #FFFFFF;
51
59
  }
52
60
  .imgClass{
53
- width: 30px;
54
- height: 30px;
61
+ width: 25px;
62
+ height: 25px;
55
63
  }
56
64
  .listLi{
57
65
  margin-top: 4px;
@@ -16,7 +16,7 @@
16
16
  font-size: 16px;
17
17
  font-family: PingFangSC-Regular, PingFang SC;
18
18
  font-weight: 400;
19
- color: #666666;
19
+ color: #333333;
20
20
  }
21
21
  }
22
22
  .right-header {