|
|
@@ -801,6 +801,33 @@
|
|
|
.search-check .check > .operate-btn.more-operate .expander span:hover {
|
|
|
color: #5078cb;
|
|
|
}
|
|
|
+ .wanted_list01 .tab table > tbody > tr.batch-tr {
|
|
|
+ height: 40px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .wanted_list01 .tab table > tbody > tr.batch-tr td {
|
|
|
+ border-bottom: none;
|
|
|
+ }
|
|
|
+ .wanted_list01 .tab table > tbody > tr.batch-tr.active {
|
|
|
+ position: fixed;
|
|
|
+ bottom: 0;
|
|
|
+ z-index: 2000;
|
|
|
+ }
|
|
|
+ .wanted_list01 .tab table > tbody > tr.batch-tr.active td {
|
|
|
+ width: 1029px;
|
|
|
+ border-top: 0;
|
|
|
+ }
|
|
|
+ .wanted_list01 .tab table > tbody > tr.batch-tr td {
|
|
|
+ padding: 0;
|
|
|
+ border-top: #dff3fd 1px solid;
|
|
|
+ }
|
|
|
+ .wanted_list01 .tab table>tbody>tr>td .batch-line {
|
|
|
+ width: 100%;
|
|
|
+ height: 40px;
|
|
|
+ background: #dff3fd;
|
|
|
+ line-height: 40px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
</style>
|
|
|
<div class="user_right fr">
|
|
|
<!--货品管理-->
|
|
|
@@ -928,7 +955,7 @@
|
|
|
<tr class="edit-form" ng-if="!commodity.edit">
|
|
|
<td class="middle padding0 check-input">
|
|
|
<!-- <span><input type="checkbox" id="{{$index+1}}"/><label for="{{$index+1}}"></label><br/></span>-->
|
|
|
- <span><input type="checkbox" ng-checked="commodity.isChoosed" ng-click="chooseOne(commodity)" id="{{$index+1}}"/><label for="{{$index+1}}"></label></span>
|
|
|
+ <span><input type="checkbox" ng-checked="commodity.isChoosed" ng-click="chooseOne(commodity, $event)" id="{{$index+1}}"/><label for="{{$index+1}}"></label></span>
|
|
|
<!--<!–非标产品标志–>-->
|
|
|
<!--<img ng-if="!commodity.uuid" src="static/img/store/common/nonstandard.png" alt="" class="standard"/>-->
|
|
|
<!--<!–标产品标志–>-->
|
|
|
@@ -1288,7 +1315,7 @@
|
|
|
</tbody>
|
|
|
<tbody>
|
|
|
<tr class="no-hover batch-tr" ng-if="(chooseAll || chooseAllPage) && currenctGoods.length != 0">
|
|
|
- <td colspan="7">
|
|
|
+ <td colspan="9">
|
|
|
<div class="batch-line" ng-if="chooseAll && !chooseAllPage">
|
|
|
已选中当前页
|
|
|
<em class="red" ng-bind="goodsAll.numberOfElements"></em>个产品,
|
|
|
@@ -1381,4 +1408,22 @@
|
|
|
position: relative;
|
|
|
top: 7px;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|
|
|
+<script>
|
|
|
+ $(function(){
|
|
|
+ $(document).on('click', function () {
|
|
|
+ if ($(document).scrollTop() + $(window).height() < $('.record-line').offset().top + $('.record-line').height()) {
|
|
|
+ $('.wanted_list01 .tab table>tbody>tr.batch-tr').addClass('active')
|
|
|
+ } else {
|
|
|
+ $('.wanted_list01 .tab table>tbody>tr.batch-tr').removeClass('active')
|
|
|
+ }
|
|
|
+ })
|
|
|
+ $(window).bind("scroll",function() {
|
|
|
+ if ($(document).scrollTop() + $(window).height() < $('.record-line').offset().top + $('.record-line').height()) {
|
|
|
+ $('.wanted_list01 .tab table>tbody>tr.batch-tr').addClass('active')
|
|
|
+ } else {
|
|
|
+ $('.wanted_list01 .tab table>tbody>tr.batch-tr').removeClass('active')
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+</script>
|