人人商城

contact.html 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {template '_header'}
  2. <script type="text/javascript" src="../addons/ewei_shopv2/static/js/dist/area/cascade.js"></script>
  3. <div class="page-heading"> <h2>联系方式</h2> </div>
  4. <form action="" method="post" class="form-horizontal form-validate" enctype="multipart/form-data" >
  5. <div class="form-group">
  6. <label class="col-sm-2 control-label">客服电话</label>
  7. <div class="col-sm-9 col-xs-12">
  8. {ifp 'sysset.contact.edit'}
  9. <input type="text" name="data[phone]" class="form-control" value="{$data['phone']}" />
  10. {else}
  11. <input type="hidden" name="data[phone]" value="{$data['phone']}" />
  12. <div class='form-control-static'>{$data['phone']}</div>
  13. {/if}
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label class="col-sm-2 control-label">所在城市</label>
  18. <div class="col-sm-9 col-xs-12">
  19. {ifp 'sysset.shop.edit'}
  20. <select id="sel-provance" name='data[province]' onchange="selectCity();" class="form-control" style='width:200px;display: inline-block' >
  21. <option value="" selected="true">省/直辖市</option>
  22. </select>
  23. <select id="sel-city" name='data[city]' onchange="selectcounty(0)" class="form-control" style='width:200px;display: inline-block' >
  24. <option value="" selected="true">请选择</option>
  25. </select>
  26. <script language='javascript'>
  27. cascdeInit("{php echo $new_area}","0","{$data['province']}","{$data['city']}","0");
  28. </script>
  29. {else}
  30. <textarea name="data[description]" class="form-control richtext" cols="70" style="display:none">{$data['description']}</textarea>
  31. <div class='form-control-static'>{$data['description']}</div>
  32. {/if}
  33. </div>
  34. </div>
  35. <div class="form-group">
  36. <label class="col-sm-2 control-label">所在地址</label>
  37. <div class="col-sm-9 col-xs-12">
  38. {ifp 'sysset.contact.edit'}
  39. <input type="text" name="data[address]" class="form-control" value="{$data['address']}" />
  40. {else}
  41. <input type="hidden" name="data[address]" value="{$data['address']}" />
  42. <div class='form-control-static'>{$data['address']}</div>
  43. {/if}
  44. </div>
  45. </div>
  46. <div class="form-group">
  47. <label class="col-sm-2 control-label"></label>
  48. <div class="col-sm-9 col-xs-12">
  49. {ifp 'sysset.contact.edit'}
  50. <input type="submit" value="提交" class="btn btn-primary" />
  51. {/if}
  52. </div>
  53. </div>
  54. </form>
  55. {template '_footer'}