fast.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <style>
  2. .short{width: 100px;}
  3. .col-sm-4{min-width: 500px;}
  4. #form{
  5. margin-left: 20px;
  6. }
  7. .control-label{
  8. padding-top: 4px!important;
  9. }
  10. </style>
  11. <link rel="stylesheet" href="/assets/css/backend.css"/>
  12. <form class="form-horizontal" id="form" role="form" data-toggle="validator" method="POST" action="">
  13. {:token()}
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2"><h3>空运设置</h3></label>
  16. </div>
  17. <!-- <div class="form-group">
  18. <label class="control-label col-xs-12 col-sm-2">起步价:</label>
  19. <div class="col-xs-12 col-sm-4">
  20. <input type="text" name="air[start_amount]" class="short" value="{$price.air.start_amount|default=''}"/>元
  21. </div>
  22. </div>-->
  23. <div class="form-group">
  24. <label class="control-label col-xs-12 col-sm-2">第二只起出港费比例:</label>
  25. <div class="col-xs-12 col-sm-4">
  26. <input type="text" name="air[out_one_per]" class="short" value="{$price.air.out_one_per|default=''}"/>%
  27. </div>
  28. </div>
  29. <div class="form-group">
  30. <label class="control-label col-xs-12 col-sm-2">上门接送:</label>
  31. <div class="col-xs-12 col-sm-4">
  32. 起步价<input type="text" name="air[pickup][start_distance]" class="short" value="{$price.air.pickup.start_distance}"/>公里
  33. <input type="text" name="air[pickup][start_amount]" class="short" value="{$price.air.pickup.start_amount}"/>元
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="control-label col-xs-12 col-sm-2"></label>
  38. <div class="col-xs-12 col-sm-4">
  39. 每公里<input type="text" name="air[pickup][every_kilo_amount]" class="short" value="{$price.air.pickup.every_kilo_amount}"/>元,
  40. <input type="text" name="air[pickup][out_kilo_num]" class="short" value="{$price.air.pickup.out_kilo_num}"/>公里上限
  41. <p style="margin-top: 10px;">
  42. 超出上限每公里<input type="text" name="air[pickup][out_kilo_amount]" class="short" value="{$price.air.pickup.out_kilo_amount}"/>元
  43. </p>
  44. </div>
  45. </div>
  46. <!-- <div class="form-group">
  47. <label class="control-label col-xs-12 col-sm-2">送宠上门</label>
  48. <div class="col-xs-12 col-sm-4">
  49. 默认代提费<input type="text" name="air[send][default_amount]" class="short" value="{$price.air.send.default_amount|default=''}"/>元
  50. </div>
  51. </div>-->
  52. <div class="form-group">
  53. <label class="control-label col-xs-12 col-sm-2">重量设置</label>
  54. <div class="col-xs-12 col-sm-4">
  55. 基础重量<input type="text" name="air[weight][base_weight]" class="short" value="{$price.air.weight.base_weight}"/>KG,超出后每公斤
  56. <input type="text" name="air[weight][out_amount]" class="short" value="{$price.air.weight.out_amount}"/>元
  57. </div>
  58. </div>
  59. <div class="form-group">
  60. <label class="control-label col-xs-12 col-sm-2"><h3>快车设置</h3></label>
  61. </div>
  62. <div class="form-group">
  63. <label class="control-label col-xs-12 col-sm-2">快车起步价:</label>
  64. <div class="col-xs-12 col-sm-4">
  65. <input type="text" name="fast[start_kilo]" class="short" value="{$price.fast.start_kilo}"/>公里
  66. <input type="text" name="fast[start_amount]" class="short" value="{$price.fast.start_amount}"/>元
  67. </div>
  68. </div>
  69. <div class="form-group">
  70. <label class="control-label col-xs-12 col-sm-2">第二件起运价比例:</label>
  71. <div class="col-xs-12 col-sm-4">
  72. <input type="text" name="fast[out_one_per]" class="short" value="{$price.fast.out_one_per|default=''}"/>%
  73. </div>
  74. </div>
  75. {for start="0" end='5' name='a'}
  76. <div class="form-group">
  77. <label class="control-label col-xs-12 col-sm-2">{:$a==0?'快车详细设置':''}</label>
  78. <div class="col-xs-24">
  79. <input type="text" name="fast[detail][{$a}][start_kilo]" class="short" value="{$price.fast.detail[$a]['start_kilo']}"/>公里 -
  80. <input type="text" name="fast[detail][{$a}][end_kilo]" class="short" value="{$price.fast.detail[$a]['end_kilo']}"/>公里,计算公式
  81. <input type="text" name="fast[detail][{$a}][amount]" style="width: 300px;" value="{$price.fast.detail[$a]['amount']}"/><span style="color: red;">请勿中文输入法下输入</span>
  82. </div>
  83. </div>
  84. {/for}
  85. <div class="form-group">
  86. <label class="control-label col-xs-12 col-sm-2"><h3>专车设置</h3></label>
  87. </div>
  88. <div class="form-group">
  89. <label class="control-label col-xs-12 col-sm-2">起步价:</label>
  90. <div class="col-xs-12 col-sm-4">
  91. <input type="text" name="special[start_kilo]" class="short" value="{$price.special.start_kilo}"/>公里
  92. <input type="text" name="special[start_amount]" class="short" value="{$price.special.start_amount}"/>元,
  93. 超出后每公里<input type="text" name="special[out_amount]" class="short" value="{$price.special.out_amount}"/>元
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <label class="control-label col-xs-12 col-sm-2"></label>
  98. <div class="col-xs-12 col-sm-4">
  99. </div>
  100. </div>
  101. <div class="form-group layer-footer">
  102. <label class="control-label col-xs-12 col-sm-2"></label>
  103. <div class="col-xs-12 col-sm-8">
  104. <button type="submit" id="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
  105. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  106. </div>
  107. </div>
  108. </form>