xuguohong

update sdk icon

10.4 KB | W: | H:

81 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
......@@ -551,7 +551,8 @@ function initMatching(){
}
if ($obj[0].tagName == "FORM") {
$obj[0].disabled = false;
$obj.find("input, button").attr('disabled', null);
$obj.find("input[type='text'], button").attr('disabled', null);
var $but_input = $obj.find('[type=submit]');
if ($but_input.is('button')) {
$but_input.html(temp);
......
......@@ -397,6 +397,10 @@
if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){
window.android.screenShot();
}
$(this).attr("disabled",true);
$(this).css({"background":"#999"});
$(this).parent("li").css({"background":"#999"});
Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that);
}
return false;
......@@ -419,6 +423,9 @@
that.$c.find('[name="old_usernmae"]').val(random_name)
that.$c.find('[name="password"]').val(random_passwd)
that.$c.find('[name="type"]').val(-1)
that.$c.find("input#btn-regist").attr('disabled', null);
that.$c.find('.submit').css({"background":"#00beef"});
that.$c.find('.submit').parent("li").css({"background":"#00beef"});
}
Register.prototype.cache = Login.prototype.cache;
......@@ -431,6 +438,10 @@
this.cache();
Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台');
Core.updateMod('home');
this.$c.find("input#btn-regist").attr('disabled', null);
this.$c.find('.submit').css({"background":"#00beef"});
this.$c.find('.submit').parent("li").css({"background":"#00beef"});
}
Register.prototype.show_after = function() {
this.set_random();
......
......@@ -158,7 +158,7 @@
<input type="hidden" name="type" value="-1">
<ul class="inline-btn">
<li><a class="btn btn_pri_block btn-orange" href="#home">返回</a></li>
<li><a class="submit btn larg " >确定注册</a></li>
<li><input type="button" class="submit btn larg" id="btn-regist" value="确定注册"></li>
</ul>
</form>
</div>
......
......@@ -122,7 +122,6 @@ body{
height:53px;
}
.new-sdk-container .new-sdk-logo img{
display: none;
width: 210px;
margin: 0 auto;
padding: 15px 0 0 0;
......