react_hsbc_teller 0.3.2 → 0.3.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/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +9 -6
package/package.json
CHANGED
|
@@ -1137,7 +1137,7 @@ class Video extends Component {
|
|
|
1137
1137
|
let result = await API.getRoomStatus({
|
|
1138
1138
|
sessionId: data.sessionId
|
|
1139
1139
|
});
|
|
1140
|
-
if (result.code == 200 && result.data.
|
|
1140
|
+
if (result.code == 200 && result.data.roomStatus == 1) {
|
|
1141
1141
|
this.addToScript()
|
|
1142
1142
|
} else {
|
|
1143
1143
|
message.success('当前房间状态异常')
|
|
@@ -1733,14 +1733,14 @@ class Video extends Component {
|
|
|
1733
1733
|
<div
|
|
1734
1734
|
className={`itemed ${this.state.isBigVideo == 'video1' ? 'item1' : ""}`}
|
|
1735
1735
|
// className="itemed item1"
|
|
1736
|
-
style={{ position: "relative" }}
|
|
1736
|
+
style={{ position: "relative",'margin-right': '5px', }}
|
|
1737
1737
|
onClick={this.enlargeClick.bind(this, 'isLangVideo1')}
|
|
1738
1738
|
>
|
|
1739
1739
|
{
|
|
1740
1740
|
this.state.customAudioed && <img
|
|
1741
1741
|
alt=""
|
|
1742
1742
|
src={require("../../assets/img/yingpin.png").default}
|
|
1743
|
-
style={{ width: "100%", height: "100%"
|
|
1743
|
+
style={{ width: "100%", height: "100%",}}
|
|
1744
1744
|
></img>
|
|
1745
1745
|
}
|
|
1746
1746
|
<div className="video1Div" style={{ display: (!this.state.customAudioed) ? '' : 'none', }}>
|
|
@@ -1797,7 +1797,7 @@ class Video extends Component {
|
|
|
1797
1797
|
</div>
|
|
1798
1798
|
|
|
1799
1799
|
</div>
|
|
1800
|
-
<div className={`itemed ${this.state.isBigVideo == 'video2' ? 'item1' : ""}`} onClick={this.enlargeClick.bind(this, 'isLangVideo2')}>
|
|
1800
|
+
<div className={`itemed ${this.state.isBigVideo == 'video2' ? 'item1' : ""}`} style={{'margin-top': '5px', }} onClick={this.enlargeClick.bind(this, 'isLangVideo2')}>
|
|
1801
1801
|
<video
|
|
1802
1802
|
id="video2"
|
|
1803
1803
|
autoPlay
|
|
@@ -1810,6 +1810,7 @@ class Video extends Component {
|
|
|
1810
1810
|
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView2" width="40" height="70"></canvas>
|
|
1811
1811
|
</div>
|
|
1812
1812
|
<div className={`itemed ${this.state.isBigVideo == 'video3' ? 'item1' : ""}`}
|
|
1813
|
+
style={{'margin-top': '5px', }}
|
|
1813
1814
|
onClick={this.enlargeClick.bind(this, 'isLangVideo3')}>
|
|
1814
1815
|
<video
|
|
1815
1816
|
id="video3"
|
|
@@ -1823,6 +1824,7 @@ class Video extends Component {
|
|
|
1823
1824
|
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView3" width="40" height="70"></canvas>
|
|
1824
1825
|
</div>
|
|
1825
1826
|
<div className={`itemed ${this.state.isBigVideo == 'video4' ? 'item1' : ""}`}
|
|
1827
|
+
style={{'margin-right': '5px', }}
|
|
1826
1828
|
onClick={this.enlargeClick.bind(this, 'isLangVideo4')}>
|
|
1827
1829
|
<video
|
|
1828
1830
|
id="video4"
|
|
@@ -1836,6 +1838,7 @@ class Video extends Component {
|
|
|
1836
1838
|
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView4" width="40" height="70"></canvas>
|
|
1837
1839
|
</div>
|
|
1838
1840
|
<div className={`itemed ${this.state.isBigVideo == 'video5' ? 'item1' : ""}`}
|
|
1841
|
+
style={{'margin-top': '5px', }}
|
|
1839
1842
|
onClick={this.enlargeClick.bind(this, 'isLangVideo5')}>
|
|
1840
1843
|
<video
|
|
1841
1844
|
id="video5"
|
|
@@ -1848,11 +1851,11 @@ class Video extends Component {
|
|
|
1848
1851
|
{/* <div style={{ display: (this.state.isCustomer) ? '' : 'none', }} className='customerTitle'>客户</div> */}
|
|
1849
1852
|
<canvas style={{ display: (this.state.isCustomer) ? '' : 'none', }} className="canvasClassOne" id="subscribe_volumeView5" width="40" height="70"></canvas>
|
|
1850
1853
|
</div>
|
|
1851
|
-
<div onClick={this.enlargeClick.bind(this, 'isLangVideo6')} className={`${this.state.isBigVideo == 'video6' ? 'item1' : "itemed"}`}>
|
|
1854
|
+
<div onClick={this.enlargeClick.bind(this, 'isLangVideo6')} style={{'margin-top': '5px', }} className={`${this.state.isBigVideo == 'video6' ? 'item1' : "itemed"}`}>
|
|
1852
1855
|
<video
|
|
1853
1856
|
id="video6"
|
|
1854
1857
|
autoPlay
|
|
1855
|
-
muted={true}
|
|
1858
|
+
muted={true}
|
|
1856
1859
|
className="video"
|
|
1857
1860
|
/>
|
|
1858
1861
|
<audio id="audio6" autoPlay />
|