Commit cd2a52dd authored by wangjiangze's avatar wangjiangze

功能优化修复

parent ae4a43ac
......@@ -142,12 +142,12 @@ function enable(status){
}
}
function add(){
pop('80%',700,true,'dg','datagrid','/Inject/Inject/add/')
pop(950,720,true,'dg','datagrid','/Inject/Inject/add/')
}
function lists(){
var row = $('#dg').datagrid('getSelected');
if (row){
pop('80%',500,true,'dg','datagrid','/Inject/Inject/lists/id/'+row.id)
pop(950,500,true,'dg','datagrid','/Inject/Inject/lists/id/'+row.id)
}else{
$.messager.alert('提示', '请选择要操作的记录!','info');
}
......
......@@ -141,12 +141,12 @@ function enable(status){
}
}
function add(){
pop('80%',700,true,'dg','datagrid','/PlayCtrl/PlayCtrl/add/')
pop(950,750,true,'dg','datagrid','/PlayCtrl/PlayCtrl/add/')
}
function lists(){
var row = $('#dg').datagrid('getSelected');
if (row){
pop('80%',550,true,'dg','datagrid','/PlayCtrl/PlayCtrl/lists/id/'+row.id)
pop(950,550,true,'dg','datagrid','/PlayCtrl/PlayCtrl/lists/id/'+row.id)
}else{
$.messager.alert('提示', '请选择要操作的记录!','info');
}
......@@ -154,7 +154,7 @@ function lists(){
function edit(){
var row = $('#dg').datagrid('getSelected');
if (row){
pop('80%',700,true,'dg','datagrid','/PlayCtrl/PlayCtrl/add/id/'+row.id);
pop(950,750,true,'dg','datagrid','/PlayCtrl/PlayCtrl/add/id/'+row.id);
}else{
$.messager.alert('提示', '请选择要操作的记录!','info');
}
......
......@@ -34,7 +34,7 @@
tit=tit.replace(/<\/?i[^>]*>/ig,"");//
//console.log(tit)
//alert("title:"+title+"\nurl:"+url+"\n tit:"+tit +"\n div[0].innerText:"+div[0].innerText);
var strTabTitles = div[0].innerText;
var strTabTitles = div[0].innerText.replace(/[\r\n]/g, "");
var arrTabTitles = strTabTitles.split("");
//if(div[0].innerText.indexOf(tit) >= 0 )
//alert(tit);
......
......@@ -86,18 +86,18 @@
<form id="f" action="{:U('Login/loginGa')}" method="POST">
<div class="inputWrap">
<img src="__PUBLIC__/newVsdn/images/user.png" />
<input id="username" name="username" type="text" placeholder="用户名" onclick="Focus(this);" onblur="Blur(this);" class="input">
<input id="username" name="username" type="text" placeholder="用户名" value="用户名" onclick="Focus(this);" onblur="Blur(this);" class="input" />
</div>
<div class="inputWrap">
<img src="__PUBLIC__/newVsdn/images/password.png"/>
<input id="password" name="password" type="password" placeholder="密码" onclick="Focus(this);" onblur="Blur(this);" class="input">
<input id="password" name="password" type="password" placeholder="密码" value="密码" onclick="Focus(this);" onblur="Blur(this);" class="input" />
</div>
<div class="inputWrap">
<img src="__PUBLIC__/newVsdn/images/password.png"/>
<input name="code" type="text" placeholder="请输入6位数字认证码" class="input">
<input name="code" type="text" placeholder="请输入6位数字认证码" value="请输入6位数字认证码" onclick="Focus(this);" onblur="Blur(this);" class="input" />
</div>
<div class="loginBtn">
<input type="button" onclick="login()" value="登录">
<input type="button" onclick="login()" value="登录" />
</div>
<div class="other clearfix">
<!--<div class="checkBox">-->
......
......@@ -90,20 +90,20 @@
<form id="f" action="{:U('Login/loginDo')}" method="POST">
<div class="inputWrap">
<img src="__PUBLIC__/newVsdn/images/user.png" />
<input id="username" name="username" type="text" placeholder="用户名" onclick="Focus(this);" onblur="Blur(this);" class="input">
<input id="username" name="username" type="text" placeholder="用户名" value="用户名" onclick="Focus(this);" onblur="Blur(this);" class="input" />
</div>
<div class="inputWrap">
<img src="__PUBLIC__/newVsdn/images/password.png"/>
<input id="password" name="password" type="password" placeholder="密码" onclick="Focus(this);" onblur="Blur(this);" class="input">
<input id="password" name="password" type="password" placeholder="密码" value="密码" onclick="Focus(this);" onblur="Blur(this);" class="input" />
</div>
<div class="inputWrap">
<img src="__PUBLIC__/newVsdn/images/password.png"/>
<input name="code" placeholder="验证码" class="input_code">
<input name="code" placeholder="验证码" class="input_code" />
<img title="看不清,点击换一张!" onclick="javascript:void(changeCode(this))" id="code" src="{:U('/login/verify')}"/>
<!--<a href="javascript:void(changeCode(this))">看不清,换一张!</a>-->
</div>
<div class="loginBtn">
<input type="button" onclick="login()" value="登录">
<input type="button" onclick="login()" value="登录" />
</div>
<div class="other clearfix">
<!--<div class="checkBox">-->
......
......@@ -29,7 +29,7 @@ a{ text-decoration:none;}
.loginBox .inputWrap{width:100%; height:40px;border:1px solid #c0c0c0; border-radius:3px; color:#8b8b8b; font-size:16px; margin-bottom:18px; overflow: hidden;}
.loginBox .inputWrap img{ float: left; vertical-align: middle; margin: 13px 10px 0;}
.loginBox .input{ width:243px; float:left; line-height:34px; padding:3px 5px 0; color:#afafaf; font-size:16px; border: none;outline: none}
.loginBox .input{ width:243px; float:left; line-height:34px; height: 34px; padding:3px 5px 0; color:#afafaf; font-size:16px; border: none;outline: none}
.loginBox .input_code{ width:150px; float:left; line-height:34px; padding:3px 5px 0; color:#afafaf; font-size:16px; border: none;outline: none}
.loginBtn{ padding-top: 5px;}
.loginBox .userBox .loginBtn input[type="button"]{ width:100%; height:42px;border-radius:3px; background:#ff5a3a; border:none; font-size:16px; color:#FFF; cursor:pointer;box-shadow:-3px -3px 0px rgba(232,38,0,.36) inset;}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment