react_hsbc_teller 0.4.9 → 0.5.0

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.0",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -2809,11 +2809,15 @@ class Video extends Component {
2809
2809
  </div>
2810
2810
  )
2811
2811
  const sectionStyle = this.state.tabTitles.length > 0 ? {
2812
- background: '#f3f3f3',
2812
+ 'z-index': '-1',
2813
+ width:'100%',
2814
+ height:'100%',
2815
+ position: 'absolute'
2813
2816
  } :{
2814
- backgroundImage: `url(${Background})`,
2815
- 'background-repeat': 'no-repeat',
2816
- 'background-size': '100% 100%'
2817
+ 'z-index': '0',
2818
+ width:'100%',
2819
+ height:'100%',
2820
+ position: 'absolute'
2817
2821
  };
2818
2822
  return (
2819
2823
  <div className="all">
@@ -2821,9 +2825,11 @@ class Video extends Component {
2821
2825
  <Header></Header>
2822
2826
  <div className="health">
2823
2827
  <div className="healthVideo">
2824
- <div className="projection" style={sectionStyle}>
2828
+ <div className="projection">
2825
2829
  {tabTitleList}
2830
+ <img style={sectionStyle} src={require("../../assets/img/placeholder_bg.png").default} alt="" />
2826
2831
  <div style={{height: this.state.tabTitles.length > 0 ? 'calc(100% - 33px)' : '100%'}}>
2832
+
2827
2833
  <div className="videoDiv" style={{ display: (this.state.isSelect == 'RMScreen') ? '' : 'none', }}>
2828
2834
  <div className="videoDiv">
2829
2835
  <video
@@ -144,7 +144,7 @@
144
144
  .projection{
145
145
  width: 80%;
146
146
  position: relative;
147
- // background: rgba(0,0,0,0.65);
147
+ background: #f3f3f3;
148
148
  color: #333;
149
149
  border-radius: 0 4px 4px 4px;
150
150
  // height: ~"calc(100vh - 130px)";