Parcourir la source

admin page update

ayHaru il y a 4 ans
Parent
commit
345e2d68fc
1 fichiers modifiés avec 32 ajouts et 15 suppressions
  1. 32 15
      admin/templates/default/oil.amount.lock.php

+ 32 - 15
admin/templates/default/oil.amount.lock.php

@@ -79,6 +79,23 @@
         top: 54px;
         background-color: #fff;
     }
+    .w70 {
+        width: 70px
+    }
+    .tableContent {
+        display: block;
+        padding-top: 142px;
+    }
+    .tbStatus {
+        position: fixed;
+        top:135px;
+        background-color: #fff;
+    }
+    .trStatus {
+        margin-left: 10px;
+        display: block;
+        margin-bottom: 10px;
+    }
 </style>
 <div class="page">
     <div class="fixed-bar">
@@ -106,10 +123,10 @@
                     </td>
                 </tr>
                 <tr class="noborder">
-                    <table class="spec_table tb-type2" style="width: 800px;">
-                        <tbody style="position: fixed;top:135px;background-color: #fff;display: block;width: 100%;">
-                            <tr style="margin-left: 10px;display: block;margin-bottom: 10px;">
-                                <td colspan="4" style="border-top: none;">
+                    <table class="spec_table tb-type2">
+                        <tbody class="tbStatus">
+                            <tr class="trStatus noborder">
+                                <td colspan="4">
                                     机构油卡金额状态:
                                     <label style="margin-right: 10px;">
                                         <input name="lock_opened" type="radio" value="1" <?php if($output['lock_opened'] === true){ echo 'checked'; }?>/>
@@ -122,28 +139,28 @@
                                 </td>
                             </tr>
                             <tr class="w500">
-                                <th class="align-center" style="width: 105px;">机构号</th>
-                                <th class="align-center"  style="width: 85px;">机构名称</th>
-                                <th class="align-center"  style="width: 70px;">锁定金额</th>
-                                <th class="align-center"  style="width: 70px;">变动金额</th>
+                                <th class="w108 align-center">机构号</th>
+                                <th class="w84 align-center">机构名称</th>
+                                <th class="w70 align-center">锁定金额</th>
+                                <th class="w70 align-center">变动金额</th>
                             </tr>
                         </tbody>
-                        <tbody class="tbody tableContent" style="display: block;padding-top: 142px;">
+                        <tbody class="tbody tableContent">
                             <?php if (!empty($output['data']) && is_array($output['data'])) { ?>
                                 <?php foreach ($output['data'] as $k => $v) { ?>
                                     <tr class="w500 trFlex">
-                                        <td class="w50 align-center" style="width: 105px">
+                                        <td class="w108 align-center">
                                             <?php echo $v['mchid'];?>
                                             <input type="hidden" name="mchid[]" value="<?php echo $v['mchid'];?>">
                                         </td>
-                                        <td class="w50 align-center" style="width: 85px">
+                                        <td class="w84 align-center">
                                             <?php echo $v['company_name'];?>
                                         </td>
-                                        <td class="w50 align-center" style="width:60px">
-                                            <input type="text" readonly value="<?php echo $v['amount'];?>" style="display:block;width:60px;background-color: #eaeaea;">
+                                        <td class="w60 align-center">
+                                            <input type="text" readonly value="<?php echo $v['amount'];?>" class="w60" style="background-color: #eaeaea;">
                                         </td>
-                                        <td class="w50 align-center" style="width:60px">
-                                            <input type="text" name="change[]" value="0" style="display:block;width:60px" class="amountInput">
+                                        <td class="w60 align-center">
+                                            <input type="number" name="change[]" value="0" class="amountInput w60">
                                         </td>
                                     </tr>
                                 <?php } ?>