|
@@ -271,11 +271,6 @@ $(function () {
|
|
|
});
|
|
|
|
|
|
initSmartWizard("wizard0");
|
|
|
- $(".buttonFinish").css("display","none");
|
|
|
- $(".buttonNext").html("下一个");
|
|
|
- $(".buttonPrevious").html("上一个");
|
|
|
- //动态设置微元素的高度
|
|
|
- $('<style> #wizard0 a:before,#wizard1 a:before,#wizard2 a:before{top:10px; } </style>').appendTo('head')//这里写body也可以
|
|
|
$(".actionBar").append("<div style='float: left'>金额:<span id='amount0'>61.92元</span></div>");
|
|
|
});
|
|
|
|
|
@@ -323,7 +318,13 @@ function initSmartWizard(id) {
|
|
|
$('.buttonNext').addClass('btn btn-success');
|
|
|
$('.buttonPrevious').addClass('btn btn-primary');
|
|
|
$('.buttonFinish').addClass('btn btn-default');
|
|
|
-
|
|
|
+ $(".stepContainer").css("height","270px");
|
|
|
+ $(".buttonFinish").css("display","none");
|
|
|
+ $(".buttonNext").html("下一个");
|
|
|
+ $(".buttonPrevious").html("上一个");
|
|
|
+ //动态设置微元素的高度
|
|
|
+ $('<style>#'+id+' a:before{top:10px; } </style>').appendTo('head')//这里写body也可以
|
|
|
+ //$('<style> #wizard0 a:before,#wizard1 a:before,#wizard2 a:before{top:10px; } </style>').appendTo('head')//这里写body也可以
|
|
|
};
|
|
|
/**
|
|
|
* 初始化性别下拉选
|
|
@@ -684,11 +685,6 @@ function billItemButtonChange(object,objectIndex) {
|
|
|
var id = "wizard"+index;
|
|
|
$("#"+id).removeClass("hide").addClass("show");
|
|
|
initSmartWizard(id);
|
|
|
- $(".buttonFinish").css("display","none");
|
|
|
- $(".buttonNext").html("下一个");
|
|
|
- $(".buttonPrevious").html("上一个");
|
|
|
- //动态设置微元素的高度
|
|
|
- $('<style> #wizard0 a:before,#wizard1 a:before,#wizard2 a:before{top:10px; } </style>').appendTo('head')//这里写body也可以
|
|
|
var amountId="amount"+index;
|
|
|
if($("#"+amountId).length<=0){
|
|
|
$($(".actionBar")[index]).append("<div style='float: left'>金额:<span id='"+amountId+"'>61.92元</span></div>");
|