react_hsbc_teller 0.2.2 → 0.2.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.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -84,6 +84,12 @@ export default class foot extends Component {
84
84
  </div>
85
85
  </div>
86
86
  <div className="total totalTwo">
87
+ <div className="one" onClick={this.switchExternal.bind(this)}>
88
+ <img src={require("../../assets/img/huazhonghua.png").default} alt="" />
89
+ <div className="text">
90
+ 切换到RM白板
91
+ </div>
92
+ </div>
87
93
  {
88
94
  isTranscribing &&
89
95
  <div className="one" onClick={this.transcribingClick.bind(this)}>
@@ -135,12 +141,7 @@ export default class foot extends Component {
135
141
  画中画
136
142
  </div>
137
143
  </div>
138
- <div className="one" onClick={this.switchExternal.bind(this)}>
139
- <img src={require("../../assets/img/huazhonghua.png").default} alt="" />
140
- <div className="text">
141
- 切换外部
142
- </div>
143
- </div>
144
+
144
145
  </div>
145
146
  <div className="total totalThree">
146
147
  <button className="buttonClass" onClick={this.endSession.bind(this)}>
@@ -1542,9 +1542,18 @@ class Video extends Component {
1542
1542
  })
1543
1543
  }
1544
1544
  switchExternal=()=>{
1545
- this.setState({
1546
- isPDF: true
1547
- })
1545
+ if(this.state.isPDF){
1546
+ this.setState({
1547
+ isPDF: false,
1548
+ isBigVideo: 'video1'
1549
+ })
1550
+ } else{
1551
+ this.setState({
1552
+ isPDF: true,
1553
+ isBigVideo: 'video6'
1554
+ })
1555
+ }
1556
+
1548
1557
  }
1549
1558
  render() {
1550
1559
  const pdfChildren = React.cloneElement(this.props.children,{width: 100, height: 100, id: 12})