123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <style>
- .short{width: 100px;}
- .col-sm-4{min-width: 500px;}
- #form{
- margin-left: 20px;
- }
- .control-label{
- padding-top: 4px!important;
- }
- </style>
- <link rel="stylesheet" href="/assets/css/backend.css"/>
- <form class="form-horizontal" id="form" role="form" data-toggle="validator" method="POST" action="">
- {:token()}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><h3>空运设置</h3></label>
- </div>
- <!-- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">起步价:</label>
- <div class="col-xs-12 col-sm-4">
- <input type="text" name="air[start_amount]" class="short" value="{$price.air.start_amount|default=''}"/>元
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">第二只起出港费比例:</label>
- <div class="col-xs-12 col-sm-4">
- <input type="text" name="air[out_one_per]" class="short" value="{$price.air.out_one_per|default=''}"/>%
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">上门接送:</label>
- <div class="col-xs-12 col-sm-4">
- 起步价<input type="text" name="air[pickup][start_distance]" class="short" value="{$price.air.pickup.start_distance}"/>公里
- <input type="text" name="air[pickup][start_amount]" class="short" value="{$price.air.pickup.start_amount}"/>元
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-4">
- 每公里<input type="text" name="air[pickup][every_kilo_amount]" class="short" value="{$price.air.pickup.every_kilo_amount}"/>元,
- <input type="text" name="air[pickup][out_kilo_num]" class="short" value="{$price.air.pickup.out_kilo_num}"/>公里上限
- <p style="margin-top: 10px;">
- 超出上限每公里<input type="text" name="air[pickup][out_kilo_amount]" class="short" value="{$price.air.pickup.out_kilo_amount}"/>元
- </p>
- </div>
- </div>
- <!-- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">送宠上门</label>
- <div class="col-xs-12 col-sm-4">
- 默认代提费<input type="text" name="air[send][default_amount]" class="short" value="{$price.air.send.default_amount|default=''}"/>元
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">重量设置</label>
- <div class="col-xs-12 col-sm-4">
- 基础重量<input type="text" name="air[weight][base_weight]" class="short" value="{$price.air.weight.base_weight}"/>KG,超出后每公斤
- <input type="text" name="air[weight][out_amount]" class="short" value="{$price.air.weight.out_amount}"/>元
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><h3>快车设置</h3></label>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">快车起步价:</label>
- <div class="col-xs-12 col-sm-4">
- <input type="text" name="fast[start_kilo]" class="short" value="{$price.fast.start_kilo}"/>公里
- <input type="text" name="fast[start_amount]" class="short" value="{$price.fast.start_amount}"/>元
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">第二件起运价比例:</label>
- <div class="col-xs-12 col-sm-4">
- <input type="text" name="fast[out_one_per]" class="short" value="{$price.fast.out_one_per|default=''}"/>%
- </div>
- </div>
- {for start="0" end='5' name='a'}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:$a==0?'快车详细设置':''}</label>
- <div class="col-xs-24">
- <input type="text" name="fast[detail][{$a}][start_kilo]" class="short" value="{$price.fast.detail[$a]['start_kilo']}"/>公里 -
- <input type="text" name="fast[detail][{$a}][end_kilo]" class="short" value="{$price.fast.detail[$a]['end_kilo']}"/>公里,计算公式
- <input type="text" name="fast[detail][{$a}][amount]" style="width: 300px;" value="{$price.fast.detail[$a]['amount']}"/><span style="color: red;">请勿中文输入法下输入</span>
- </div>
- </div>
- {/for}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"><h3>专车设置</h3></label>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">起步价:</label>
- <div class="col-xs-12 col-sm-4">
- <input type="text" name="special[start_kilo]" class="short" value="{$price.special.start_kilo}"/>公里
- <input type="text" name="special[start_amount]" class="short" value="{$price.special.start_amount}"/>元,
- 超出后每公里<input type="text" name="special[out_amount]" class="short" value="{$price.special.out_amount}"/>元
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-4">
- </div>
- </div>
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" id="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|