Browse Source

admin update and refill ini update

ayHaru 4 years ago
parent
commit
1d33e3e449

+ 1 - 1
admin/templates/default/css/recharge.css

@@ -61,7 +61,7 @@
 .provider_amount_control #tableHread th,
 .provider_amount_control #tableHread td{ background-color: #fff;}
 .provider_amount_control #tableHread  { position: fixed;top:138px;left:20px;background-color: #fff;z-index:999;width: 96.5%;}
-.provider_amount_control .batch-td { text-align: center;width: 150px;min-width:150px;padding-right: 10px;}
+.provider_amount_control .batch-td { text-align: center;width: 160px;min-width:160px;padding-right: 10px;}
 .provider_amount_control .batch-td .listNum { width: 51px;display:inline-block;}
 .provider_amount_control .batch-td .priority { width: 45px;display:inline-block;}
 /* 提示边框 */

+ 8 - 5
admin/templates/default/provider.successful.php

@@ -76,11 +76,10 @@
             </tr>
         </table>
     </form>
-    <div style="height:800px">
+    <div>
         <iframe
-            src=""
-            scrolling="No"  noresize="noresize" frameborder="0"
-            width="100%" height="100%"></iframe>
+            src="" width="100%" height="100%"
+            scrolling="no" id="Iframe" frameborder="0"></iframe>
     </div>
 </div>
 <script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/laydate/laydate.js"></script>
@@ -92,6 +91,10 @@
       href="<?php echo RESOURCE_SITE_URL; ?>/js/jquery-ui/themes/ui-lightness/jquery.ui.css"/>
 <script type="text/javascript">
     $(function () {
+        $("#Iframe").load(function(){
+            $(this).css("min-height", '900px')
+            $(this).css("min-width", '1650px')
+        });
         $('#timeSelect').change(function () {
             let val = $(this).val()
             // console.log('val', val);
@@ -163,7 +166,7 @@
             if (!amount) {
                 src = src.replace("&amount=", "")
             }
-            // console.log(1, $('iframe').attr('src'));
+            // $('iframe').attr('src',src)
             // console.log('src',src);
             $.get(src, function (data){
                 if (!data) {

+ 9 - 9
data/config/xyz/refill.ini.php

@@ -506,16 +506,16 @@ $afandfs_phone = ['name' => 'afandfs', 'store_id' => 41, 'qualitys' => '1',
     ],
     'official_sn' => true, 'refill_type' => 'api'];
 
-$yunlingfs_phone = ['name' => 'yunlingfs', 'store_id' => 40, 'qualitys' => '1',
+$yunlingfs_phone = ['name' => 'yunlingfs', 'store_id' => 42, 'qualitys' => '1',
     'amount' => [
-        10 => [['goods_id' => 6472, 'price' => 9.4, 'quality' => 1, 'card_type' => 'chinamobile']],
-        20 => [['goods_id' => 6473, 'price' => 18.8, 'quality' => 1, 'card_type' => 'chinamobile']],
-        30 => [['goods_id' => 6474, 'price' => 28.2, 'quality' => 1, 'card_type' => 'chinamobile']],
-        50 => [['goods_id' => 6475, 'price' => 47, 'quality' => 1, 'card_type' => 'chinamobile']],
-        100 => [['goods_id' => 6476, 'price' => 94, 'quality' => 1, 'card_type' => 'chinamobile']],
-        200 => [['goods_id' => 6477, 'price' => 188, 'quality' => 1, 'card_type' => 'chinamobile']],
-        300 => [['goods_id' => 6478, 'price' => 282, 'quality' => 1, 'card_type' => 'chinamobile']],
-        500 => [['goods_id' => 6479, 'price' => 470, 'quality' => 1, 'card_type' => 'chinamobile']]
+        10 => [['goods_id' => 6488, 'price' => 9.56, 'quality' => 1, 'card_type' => 'chinamobile']],
+        20 => [['goods_id' => 6489, 'price' => 19.12, 'quality' => 1, 'card_type' => 'chinamobile']],
+        30 => [['goods_id' => 6490, 'price' => 28.68, 'quality' => 1, 'card_type' => 'chinamobile']],
+        50 => [['goods_id' => 6491, 'price' => 47.8, 'quality' => 1, 'card_type' => 'chinamobile']],
+        100 => [['goods_id' => 6492, 'price' => 95.6, 'quality' => 1, 'card_type' => 'chinamobile']],
+        200 => [['goods_id' => 6493, 'price' => 191.2, 'quality' => 1, 'card_type' => 'chinamobile']],
+        300 => [['goods_id' => 6494, 'price' => 286.8, 'quality' => 1, 'card_type' => 'chinamobile']],
+        500 => [['goods_id' => 6495, 'price' => 478, 'quality' => 1, 'card_type' => 'chinamobile']]
     ],
     'official_sn' => true, 'refill_type' => 'api'];