改弹窗样式

webUi
赵桐华 5 years ago
parent adc299e8e6
commit 168e47693c
  1. 13
      frontend/views/finance/ticheng-jisuan.php
  2. 16
      frontend/views/gift/gift-use.php

@ -130,8 +130,8 @@ use \common\libs\MyLib;
<hr> <hr>
</form> </form>
<div class="row"> <div class="row">
<div class="col-md-12 custom-table"> <div class="col-md-12">
<table id="listTable" class = "table table-bordered"> <table id="listTable">
<thead class="bg-warning"> <thead class="bg-warning">
<tr> <tr>
<th data-field="state" data-checkbox="true"></th> <th data-field="state" data-checkbox="true"></th>
@ -234,12 +234,11 @@ use \common\libs\MyLib;
}, 'json'); }, 'json');
}); });
var a=$(".gray-bg").height(); //使得table有一定的高度,出现滚动条
var b=$('#searchFrm').height(); var a=$(".gray-bg").height(); //获取body高度
var c=$('.ibox-title').height() var b=$('#searchFrm').height(); //获取条件选择高度
var c=$('.ibox-title').height() //获取标题高度
var d=a-b-c-100; var d=a-b-c-100;
console.log("body:"+a+"条件选择:"+b+"标题"+c);
console.log(d);
$('.fixed-table-body').css({'height': d}); $('.fixed-table-body').css({'height': d});
}); });
</script> </script>

@ -21,19 +21,19 @@ use \common\libs\MyLib;
<label for="code">礼品编号</label> <label for="code">礼品编号</label>
<input type="text" id="code" name="code" class="form-control"> <input type="text" id="code" name="code" class="form-control">
</div> </div>
<div class="form-group" style="margin-bottom: 8px;"> <div class="form-group" style="margin-bottom: 8px;margin-left: 20px;">
<label for="car_no">车牌</label> <label for="car_no">车牌</label>
<input type="text" id="car_no" name="car_no" class="form-control"> <input type="text" id="car_no" name="car_no" class="form-control">
</div> </div>
<div class="form-group" style="margin-bottom: 8px;"> <div class="form-group" style="margin-bottom: 8px;margin-left: 20px;">
<label for="frame_no">车架号</label> <label for="frame_no">车架号</label>
<input type="text" id="frame_no" name="frame_no" class="form-control"> <input type="text" id="frame_no" name="frame_no" class="form-control">
</div> </div>
<div class="form-group" style="margin-bottom: 8px;"> <div class="form-group" style="margin-bottom: 8px;margin-left: 20px;">
<label for="engine_no">发动机号</label> <label for="engine_no">发动机号</label>
<input type="text" id="engine_no" name="engine_no" class="form-control"> <input type="text" id="engine_no" name="engine_no" class="form-control">
</div> </div>
<div class="form-group" style="margin-bottom: 8px;"> <div class="form-group" style="margin-bottom: 8px;margin-left: 20px;">
<label for="status">状态</label> <label for="status">状态</label>
<select name="status" id="status" class="form-control"> <select name="status" id="status" class="form-control">
<option value="0" >全部</option> <option value="0" >全部</option>
@ -54,11 +54,11 @@ use \common\libs\MyLib;
?> ?>
</select> </select>
</div> </div>
<div class="form-group" style="margin-bottom: 8px;"> <div class="form-group" style="margin-bottom: 8px;margin-left: 20px;">
<label for="username">业务工号</label> <label for="username">业务工号</label>
<input type="text" id="username" name="username" class="form-control"> <input type="text" id="username" name="username" class="form-control">
</div> </div>
<div class="form-group" style="margin-bottom: 8px;"> <div class="form-group" style="margin-bottom: 8px;margin-left: 20px;">
<label for="insurer1_no">商业保单号</label> <label for="insurer1_no">商业保单号</label>
<input type="text" id="insurer1_no" name="insurer1_no" class="form-control"> <input type="text" id="insurer1_no" name="insurer1_no" class="form-control">
</div> </div>
@ -70,7 +70,7 @@ use \common\libs\MyLib;
<input type="text" class="input-sm form-control" id="s_end_date" name="s_end_date" autocomplete="off" value="" /> <input type="text" class="input-sm form-control" id="s_end_date" name="s_end_date" autocomplete="off" value="" />
</div> </div>
</div> </div>
<div class="form-group" style="margin-bottom: 8px;"> <div class="form-group" style="margin-bottom: 8px;margin-left: 20px;">
<label for="datepicker2">正本日期</label> <label for="datepicker2">正本日期</label>
<div class="input-daterange input-group" id="datepicker2"> <div class="input-daterange input-group" id="datepicker2">
<input type="text" class="input-sm form-control" id="p_start_date" name="p_start_date" autocomplete="off" value="" /> <input type="text" class="input-sm form-control" id="p_start_date" name="p_start_date" autocomplete="off" value="" />
@ -83,7 +83,7 @@ use \common\libs\MyLib;
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<table id="listTable"> <table id="listTable">
<thead> <thead class="bg-warning">
<tr> <tr>
<th width="50" data-field="id">ID</th> <th width="50" data-field="id">ID</th>
<th data-field="code">礼品编号</th> <th data-field="code">礼品编号</th>

Loading…
Cancel
Save