12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- {template '_header'}
- <div class="page-heading"><h2>模板设置</h2></div>
-
- <form action="" method="post" class="form-horizontal form-validate" enctype="multipart/form-data">
-
- <div class="form-group">
- <label class="col-sm-2 control-label">手机端模板</label>
- <div class="col-sm-9 col-xs-12">
- {ifp 'sysset.template.edit'}
- <select class='form-control' name='data[style]'>
- {loop $styles $style}
- <option value='{$style}' {if $style==$data['style']}selected{/if}>{$style}</option>
- {/loop}
- </select>
- {else}
- <input type="hidden" name="data[style]" value="{$set['shop']['style']}"/>
- <div class='form-control-static'>
- {if empty($data['style'])}default{else}{$data['style']}{/if}
- </div>
- {/if}
- </div>
- </div>
-
- <div class="form-group">
- <label class="col-sm-2 control-label">商品详情页模板</label>
- <div class="col-sm-9 col-xs-12">
- {ifp 'sysset.template.edit'}
- <label class="radio-inline"><input type="radio" name="data[detail_temp]" value="0" {if empty($data['detail_temp'])}checked="checked"{/if}> 滑动切换模式</label>
- <label class="radio-inline"><input type="radio" name="data[detail_temp]" value="1" {if !empty($data['detail_temp'])}checked="checked"{/if}> Tab切换模式</label>
- {else}
- <div class='form-control-static'>{if empty($data['detail_temp'])}滑动切换模式{else}Tab切换模式{/if}</div>
- {/if}
- <div class="help-block text-danger">注意: PC端访问WAP强制是Tab切换模式</div>
- </div>
- </div>
-
- <div class="form-group">
- <label class="col-sm-2 control-label"></label>
- <div class="col-sm-9 col-xs-12">
- {ifp 'sysset.template.edit'}
- <input type="submit" value="提交" class="btn btn-primary"/>
- {/if}
- </div>
- </div>
-
- </form>
-
- {template '_footer'}
|