react_hsbc_teller 0.4.9 → 0.5.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.4.9",
3
+ "version": "0.5.3",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
Binary file
@@ -219,7 +219,7 @@ function sendMessage(to, from, type, message) {
219
219
  // 转化为xml
220
220
  websocketsend(json2xml(temp));
221
221
  } else {
222
- alert('请先登录!');
222
+ console.log('请先登录!');
223
223
  }
224
224
  }
225
225
  // 加入群 from---加入群的人的jid,to--群名称
@@ -241,7 +241,7 @@ function joinRoom(from, to) {
241
241
  // 转化为xml
242
242
  websocketsend(json2xml(temp));
243
243
  } else {
244
- alert('请先登录!');
244
+ console.log('请先登录!');
245
245
  }
246
246
  }
247
247
  export {
@@ -11,7 +11,6 @@ import voiceImgOpen from '../../assets/img/icon_Mute.png'
11
11
  import voiceImgCloe from '../../assets/img/icon_MuteOne.png'
12
12
  import cameraImgOpen from '../../assets/img/icon_camera.png'
13
13
  import cameraImgCloe from '../../assets/img/icon_cameraOne.png'
14
- import Background from '../../assets/img/placeholder_bg.png'
15
14
  import { callNimIM } from '../../utils/cell.js'
16
15
  import Modal from "antd/lib/modal";
17
16
  import 'antd/lib/modal/style'
@@ -2809,11 +2808,15 @@ class Video extends Component {
2809
2808
  </div>
2810
2809
  )
2811
2810
  const sectionStyle = this.state.tabTitles.length > 0 ? {
2812
- background: '#f3f3f3',
2811
+ 'z-index': '-1',
2812
+ width:'100%',
2813
+ height:'100%',
2814
+ position: 'absolute'
2813
2815
  } :{
2814
- backgroundImage: `url(${Background})`,
2815
- 'background-repeat': 'no-repeat',
2816
- 'background-size': '100% 100%'
2816
+ 'z-index': '0',
2817
+ width:'100%',
2818
+ height:'100%',
2819
+ position: 'absolute'
2817
2820
  };
2818
2821
  return (
2819
2822
  <div className="all">
@@ -2821,9 +2824,11 @@ class Video extends Component {
2821
2824
  <Header></Header>
2822
2825
  <div className="health">
2823
2826
  <div className="healthVideo">
2824
- <div className="projection" style={sectionStyle}>
2827
+ <div className="projection">
2825
2828
  {tabTitleList}
2829
+ <img style={sectionStyle} src={require("../../assets/img/placeholder_bg.png").default} alt="" />
2826
2830
  <div style={{height: this.state.tabTitles.length > 0 ? 'calc(100% - 33px)' : '100%'}}>
2831
+
2827
2832
  <div className="videoDiv" style={{ display: (this.state.isSelect == 'RMScreen') ? '' : 'none', }}>
2828
2833
  <div className="videoDiv">
2829
2834
  <video
@@ -3306,8 +3311,9 @@ class Video extends Component {
3306
3311
  ]}>
3307
3312
  <div>
3308
3313
  <div className="invitationDiv">
3309
- <span class="modalSpan">员工号:</span><input className="inputClick" placeholder="请输入员工号" value={this.state.employeeNumber} onChange={e => this.handleChange(e)}></input>
3310
- <span className="invitationSpan" onClick={this.queryStaff}>查 询</span>
3314
+ <span class="modalSpan">员工号:</span><input type="number"className="inputClick" placeholder="请输入员工号" value={this.state.employeeNumber} onChange={e => this.handleChange(e)}></input>
3315
+ {/* <span className="invitationSpan" onClick={this.queryStaff}>查 询</span> */}
3316
+ <Button className="invitationSpan" type="primary" danger onClick={this.queryStaff}>查 询</Button>
3311
3317
  </div>
3312
3318
  <div className="invitationDiv">
3313
3319
  <span class="modalSpan">&nbsp;&nbsp;&nbsp;姓名:</span><span>{this.state.employeeName}</span>
@@ -98,13 +98,15 @@
98
98
  border-radius: 6px;
99
99
  }
100
100
  .invitationSpan{
101
- padding: 10px 20px;
102
- height: 44px;
103
- width: 100px;
104
- font-size: 16px;
105
- background: #3E505D;
106
- color: #fff;
107
- margin-left: 20px;
101
+ margin-top: 5px;
102
+ margin-right: 15px;
103
+ float: right;
104
+ height: 37px !important;
105
+ width: 80px !important;
106
+ font-size: 16px !important;
107
+ border: 1px #3E505D solid!important;
108
+ background: #3E505D !important;
109
+ color: #fff!important;
108
110
  }
109
111
  .inputClick{
110
112
  width: 65%;
@@ -122,7 +124,12 @@
122
124
  }
123
125
  .invitationDiv{
124
126
  margin-left: 40px;
125
- margin-bottom: 15px
127
+ margin-bottom: 15px;
128
+ input::-webkit-inner-spin-button {
129
+ -webkit-appearance: none;
130
+ appearance: none;
131
+ margin: 0;
132
+ }
126
133
  }
127
134
  .faceImg{
128
135
  width: 200px;
@@ -144,7 +151,7 @@
144
151
  .projection{
145
152
  width: 80%;
146
153
  position: relative;
147
- // background: rgba(0,0,0,0.65);
154
+ background: #f3f3f3;
148
155
  color: #333;
149
156
  border-radius: 0 4px 4px 4px;
150
157
  // height: ~"calc(100vh - 130px)";
@@ -308,7 +315,7 @@
308
315
  }
309
316
  .endModal{
310
317
  font-size: 16px;
311
- padding: 56px 30px 18px 30px;
318
+ padding: 56px 30px 0px 30px;
312
319
  color: #333333;
313
320
  }
314
321
  .inspection{