人人商城

version-home.html 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {template 'common/header'}
  2. <div class="we7-page-title">首页</div>
  3. <div class="welcome-container" id="js-wxapp-home-welcome" ng-controller="WxappWelcomeCtrl" ng-cloak>
  4. <div class="panel we7-panel wxapp-procedure">
  5. <div class="panel-body">
  6. <div class="procedure-top">
  7. <a href="http://bbs.we7.cc/forum.php?mod=viewthread&tid=24104&fromuid=56310 " class="btn btn-primary pull-right hidden">马上了解</a>
  8. <span class="title-lg">{php echo ACCOUNT_TYPE_NAME}</span>
  9. <span class="title-md">使用流程和开发简述</span>
  10. </div>
  11. <div class="procedure-diagram">
  12. <div class="procedure">
  13. <div>
  14. <div class="icon"><span class="wi wi-shopping-cart"></span></div>
  15. <div>购买{php echo ACCOUNT_TYPE_NAME}应用</div>
  16. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  17. </div>
  18. <div>
  19. <div class="icon"><span class="wi wi-small-routine"></span></div>
  20. <div>新建{php echo ACCOUNT_TYPE_NAME}</div>
  21. {if TYPE_SIGN == WXAPP_TYPE_SIGN}<div><a href="{php echo url('wxapp/post/design_method')}" class="color-default" target="_blank">去新建></a></div>{/if}
  22. {if TYPE_SIGN == ALIAPP_TYPE_SIGN}<div><a href="{php echo url('miniapp/post')}" class="color-default" target="_blank">去新建></a></div>{/if}
  23. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  24. </div>
  25. <div>
  26. <div class="icon"><span class="wi wi-scan"></span></div>
  27. <div>打包下载</div>
  28. <div><a href="{php echo url('wxapp/front-download', array('version_id'=>$version_id))}" class="color-default">去下载></a></div>
  29. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  30. </div>
  31. <div>
  32. <div class="icon"><span class="wi wi-publish"></span></div>
  33. <div>上传版本</div>
  34. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  35. </div>
  36. <div>
  37. <div class="icon"><span class="wi wi-setting-wxapp"></span></div>
  38. <div>{php echo ACCOUNT_TYPE_NAME}设置</div>
  39. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  40. </div>
  41. <div>
  42. <div class="icon"><span class="wi wi-wechat"></span></div>
  43. <div>到{php echo ACCOUNT_TYPE_NAME}提交审核</div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="panel we7-panel">
  50. <div class="panel-heading">
  51. 公告
  52. <a href="./index.php?c=article&a=notice-show" target="_blank" class="pull-right color-default">更多</a>
  53. </div>
  54. <ul class="list-group">
  55. <li class="list-group-item" ng-repeat="notice in notices" ng-if="notices">
  56. <a ng-href="{{notice.url}}" class="text-over" target="_blank" ng-bind="notice.title" ng-style="{'color':notice.style.color, 'font-weight':notice.style.bold ? 'bold' : 'normal'}"></a>
  57. <span class="time pull-right color-gray" ng-bind="notice.createtime"></span>
  58. </li>
  59. <li class="list-group-item text-center" ng-if="!notices">
  60. <span>暂无数据</span>
  61. </li>
  62. </ul>
  63. </div>
  64. </div>
  65. <script>
  66. angular.module('wxApp').value('config', {
  67. notices: {php echo !empty($notices) ? json_encode($notices) : 'null'},
  68. });
  69. angular.bootstrap($('#js-wxapp-home-welcome'), ['wxApp']);
  70. </script>
  71. {template 'common/footer'}