xiaoyu 2 years ago
parent
commit
3bb4e6490b
1 changed files with 16 additions and 10 deletions
  1. 16 10
      admin/templates/default/refill.merchant.channel.cfg.php

+ 16 - 10
admin/templates/default/refill.merchant.channel.cfg.php

@@ -196,16 +196,6 @@
                                     </th>
                                 <?php } ?>
                             </tr>
-                            <!-- <tr>
-                                <th class="align-center w120 mw120" style="height:16px">
-                                    </td>
-                                    <?php foreach ($output['provider_list'] as $k => $provider) { ?>
-                                <th class="batch-td">
-                                    
-                                </th>
-                            <?php } ?>
-
-                            </tr> -->
                             <?php foreach ($output['merchant_list'] as $k => $merchant) { ?>
                                 <tr class="w500 trFlex">
                                     <td style="width: 130px;min-width:130px;white-space: nowrap;display: flex;align-items: center;" class="tbFlex">
@@ -421,6 +411,22 @@
 
         })
 
+        $('.batch-td').mouseenter(function() {
+            const index = $(this).index() - 1;
+            for (let i = 0; i < $('.trFlex').length; i++) {
+                $('.trFlex').eq(i).find('.batch-td').eq(index).css('background', '#cbe9f3')
+            }
+        })
+
+        $('.batch-td').mouseleave(function() {
+            const index = $(this).index() - 1;
+            for (let i = 0; i < $('.trFlex').length; i++) {
+                $('.trFlex').eq(i).find('.batch-td').eq(index).css('background', '')
+            }
+        })
+
+
+
         $('.checkAllRow').click(function() {
             if ($(this).is(':checked')) {
                 $(this).parent().siblings('td').find('.cellCheckBox').attr('checked', true)