人人商城

jsauth.html 1.4KB

1234567891011121314151617181920212223242526272829303132333435
  1. {template 'common/header'}
  2. <div class="main">
  3. <form id="form1" action="{php echo url('profile/jsauth')}" method="post" class="form-horizontal form">
  4. <div class="panel panel-default">
  5. <div class="panel-heading">
  6. 借用 JS 分享设置
  7. </div>
  8. <input type="hidden" name="oauth[status]" value="1">
  9. <div class="panel-body">
  10. <div class="form-group" id="account">
  11. <label class="col-xs-12 col-sm-3 col-md-2 control-label">选择公众号</label>
  12. <div class="col-sm-9 col-xs-12">
  13. <select name="jsauth_acid" class="form-control">
  14. <option value="0">不借用任何权限</option>
  15. {loop $accounts $acid $name}
  16. <option value="{$acid}" {if $jsauth_acid == $acid}selected{/if}>{$name}</option>
  17. {/loop}
  18. </select>
  19. <span class="help-block">在系统中使用微信分享接口前,开发者需要先到公众平台网站的【公众号设置】 / 【功能设置】中配置 【JS 接口安全域名】。{if $_W['isfounder']}<a href="http://www.we7.cc/manual/dev:v0.6:qa:jsauth" target="_black">查看详情</a>{/if}</span>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. {if !empty($accounts)}
  25. <div class="form-group col-sm-12">
  26. <input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1 col-sm-2 col-md-2 col-xs-3" />
  27. <input type="hidden" name="token" value="{$_W['token']}" />
  28. </div>
  29. {/if}
  30. </form>
  31. </div>
  32. {template 'common/footer'}