This commit is contained in:
姜棚 2021-11-28 16:36:50 +08:00
parent bb07818698
commit 40c21370e1
4 changed files with 13 additions and 12 deletions

View File

@ -467,8 +467,8 @@ export default class edittemplate extends React.Component{
</div> </div>
<div className="center" id="center"> <div className="center" id="center">
<img id="center-img" src={this.state.model.images[1]} /> <img id="center-img" src={this.state.model.images[1]} />
<input className="key" maxlength="16" placeholder="请输入key" /> <input className="key" maxlength="16" placeholder="请输入key" style={{"background-color":this.state.model.bg_color}} />
<input className="code" maxlength="6" placeholder="请输入验证码" /> <input className="code" maxlength="6" placeholder="请输入验证码" style={{"background-color":this.state.model.bg_color}} />
<div className="submit"></div> <div className="submit"></div>
</div> </div>
<div className="bottom"> <div className="bottom">

View File

@ -7581,25 +7581,26 @@ body.hide-all-hot-area .xj-hotarea {
.key{ .key{
position: absolute; position: absolute;
top: 38px; top: 38px;
left: 50%; left: 55%;
width:200px; width:200px;
height: 30px; height: 30px;
z-index: 2; z-index: 2;
margin-left: -90px; margin-left: -90px;
background-color: #f3f5f7;
border: none; border: none;
outline: none; outline: none;
font-size: 14px; font-size: 14px;
} }
.code{ .code{
position: absolute; position: absolute;
top:88px; top:90px;
left: 50%; left: 50%;
width: 100px; width: 100px;
height: 36px; height: 30px;
z-index: 2; z-index: 2;
margin-left: -72px; margin-left: -72px;
background-color: #f3f5f7;
border: none; border: none;
outline: none; outline: none;
font-size: 14px; font-size: 14px;

View File

@ -260,8 +260,8 @@ export default class acclist extends React.Component{
</div> </div>
<div className="center" id="preview-center"> <div className="center" id="preview-center">
<img id="preview-center-img" src={this.props.data.images[1]} style={{"position": "absolute","z-index": "1"}}/> <img id="preview-center-img" src={this.props.data.images[1]} style={{"position": "absolute","z-index": "1"}}/>
<input className="key" maxlength="16" placeholder="请输入key" /> <input className="key" maxlength="16" placeholder="请输入key" style={{"background-color":this.props.data.bg_color}}/>
<input className="code" maxlength="6" placeholder="请输入验证码" /> <input className="code" maxlength="6" placeholder="请输入验证码" style={{"background-color":this.props.data.bg_color}}/>
<div className="submit"></div> <div className="submit"></div>
</div> </div>
<div className="bottom"> <div className="bottom">

View File

@ -31,7 +31,7 @@
.key{ .key{
position: absolute; position: absolute;
top: 38px; top: 38px;
left: 50%; left: 55%;
width:200px; width:200px;
height: 30px; height: 30px;
z-index: 2; z-index: 2;
@ -43,10 +43,10 @@
} }
.code{ .code{
position: absolute; position: absolute;
top:88px; top:90px;
left: 50%; left: 50%;
width: 100px; width: 100px;
height: 36px; height: 30px;
z-index: 2; z-index: 2;
margin-left: -72px; margin-left: -72px;
background-color: #f3f5f7; background-color: #f3f5f7;