|
@@ -2,7 +2,7 @@ import '../css/bootstrap.less';
|
|
|
import 'bootstrap/dist/js/bootstrap.js';
|
|
|
import '../css/public.css';
|
|
|
import '../css/register.css';
|
|
|
-import './public.js'
|
|
|
+import './public.js';
|
|
|
$(function(){
|
|
|
//查看技淘网协议
|
|
|
var hht=$(window).height();
|
|
@@ -34,7 +34,6 @@ $(function(){
|
|
|
$(".businessName").css("display","block");
|
|
|
$(".linkmanName").css("display","block");
|
|
|
$(".zhuangjiaName").css("display","none");
|
|
|
-
|
|
|
}
|
|
|
});
|
|
|
$("#zhuangjia").click(function(){
|
|
@@ -51,33 +50,29 @@ $(function(){
|
|
|
$("#photo").css("color","#ccc");
|
|
|
});
|
|
|
//修改单选框的样式
|
|
|
- //$('.leibie input').css("display","none");
|
|
|
- $("#qiye").prop('checked',true);
|
|
|
- $(".qiye_lab").css({"background":"url(../img/check_lo.png) no-repeat center left","background-size":"13px 13px"});
|
|
|
- $(".zhuangjia_lab").css({"background":"url(../img/check_lono.png) no-repeat center left","background-size":"13px 13px"});
|
|
|
- $(".protocol_lab").css({"background":"url(../img/check_lono.png) no-repeat center left","background-size":"13px 13px"});
|
|
|
+ $("#qiye").prop('checked',true);
|
|
|
$('#qiye').click(function(){
|
|
|
var Cheack=$(this).prop('checked')
|
|
|
if(Cheack){
|
|
|
- $(this).parent().css({"background":"url(../img/check_lo.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
+ $(this).parent().addClass('cheackeds').removeClass('cheackeds_no');
|
|
|
$('#zhuangjia').prop('checked',false)
|
|
|
- $('#zhuangjia').parent().css({"background":"url(../img/check_lono.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
+ $('#zhuangjia').parent().addClass('cheackeds_no').removeClass('cheackeds');
|
|
|
}else{
|
|
|
$('#zhuangjia').prop('checked',true)
|
|
|
- $('#zhuangjia').parent().css({"background":"url(../img/check_lo.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
- $(this).parent().css({"background":"url(../img/check_lono.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
+ $('#zhuangjia').parent().addClass('cheackeds').removeClass('cheackeds_no');
|
|
|
+ $(this).parent().addClass('cheackeds_no').removeClass('cheackeds');
|
|
|
}
|
|
|
})
|
|
|
$('#zhuangjia').click(function(){
|
|
|
var Cheack_no=$(this).prop('checked')
|
|
|
if(Cheack_no){
|
|
|
- $(this).parent().css({"background":"url(../img/check_lo.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
+ $(this).parent().addClass('cheackeds').removeClass('cheackeds_no');
|
|
|
$('#qiye').prop('checked',false)
|
|
|
- $('#qiye').parent().css({"background":"url(../img/check_lono.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
+ $('#qiye').parent().addClass('cheackeds_no').removeClass('cheackeds');
|
|
|
}else{
|
|
|
$('#qiye').prop('checked',true)
|
|
|
- $('#qiye').parent().css({"background":"url(../img/check_lo.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
- $(this).parent().css({"background":"url(../img/check_lono.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
+ $('#qiye').parent().addClass('cheackeds').removeClass('cheackeds_no');
|
|
|
+ $(this).parent().removeClass('cheackeds').addClass('cheackeds_no');
|
|
|
}
|
|
|
})
|
|
|
var xieyi=$('#protocol').prop("checked",false);
|
|
@@ -85,13 +80,13 @@ $(function(){
|
|
|
$('.sub').css({background: '#CCCCCC',border: 'none'})
|
|
|
$('#protocol').click(function(){
|
|
|
var Cheack_no=$(this).prop('checked')
|
|
|
- if(Cheack_no){
|
|
|
- $(this).parent().css({"background":"url(../img/check_lo.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
+ if(Cheack_no){
|
|
|
+ $(this).parent().removeClass('cheackeds_no').addClass('cheackeds');
|
|
|
$('.sub').attr('disabled', false);
|
|
|
$('.sub').css({background: '#F18101',border: 'none'})
|
|
|
}else{
|
|
|
$(this).prop('checked',false)
|
|
|
- $(this).parent().css({"background":"url(../img/check_lono.png) no-repeat center left","background-size":"13px 13px"})
|
|
|
+ $(this).parent().addClass('cheackeds_no').removeClass('cheackeds');
|
|
|
$('.sub').attr('disabled', true)
|
|
|
$('.sub').css({background: '#CCCCCC',border: 'none'})
|
|
|
}
|