version-home.html 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {template 'common/header'}
  2. <div class="welcome-container" id="js-wxapp-home-welcome" ng-controller="WxappWelcomeCtrl" ng-cloak>
  3. <div class="panel we7-panel wxapp-procedure {if $_W['account']['type_sign'] == 'phoneapp'}hidden{/if}">
  4. <div class="panel-body">
  5. <div class="procedure-top">
  6. <a href="https://bbs.5g-yun.com/forum.php?mod=viewthread&tid=24104&fromuid=56310 " class="btn btn-primary pull-right hidden">马上了解</a>
  7. <span class="title-lg">{php echo ACCOUNT_TYPE_NAME}</span>
  8. <span class="title-md">使用流程和开发简述</span>
  9. </div>
  10. <div class="procedure-diagram">
  11. <div class="procedure">
  12. <div>
  13. <div class="icon"><span class="wi wi-shopping-cart"></span></div>
  14. <div>购买{php echo ACCOUNT_TYPE_NAME}应用</div>
  15. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  16. </div>
  17. <div>
  18. <div class="icon"><span class="wi wi-small-routine"></span></div>
  19. <div>新建{php echo ACCOUNT_TYPE_NAME}</div>
  20. {if TYPE_SIGN == WXAPP_TYPE_SIGN}<div><a href="{php echo url('wxapp/post/design_method')}" class="color-default" target="_blank">去新建></a></div>{/if}
  21. {if TYPE_SIGN == ALIAPP_TYPE_SIGN}<div><a href="{php echo url('miniapp/post')}" class="color-default" target="_blank">去新建></a></div>{/if}
  22. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  23. </div>
  24. <!-- <div>
  25. <div class="icon"><span class="wi wi-scan"></span></div>
  26. <div>打包下载</div>
  27. <div><a href="{php echo url('wxapp/front-download', array('version_id'=>$version_id))}" class="color-default">去下载></a></div>
  28. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  29. </div> -->
  30. <div>
  31. <div class="icon"><span class="wi wi-publish"></span></div>
  32. <div>上传版本</div>
  33. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  34. </div>
  35. <div>
  36. <div class="icon"><span class="wi wi-setting-wxapp"></span></div>
  37. <div>{php echo ACCOUNT_TYPE_NAME}设置</div>
  38. <div class="arrow"><span class="wi wi-step-arrows"></span></div>
  39. </div>
  40. <div>
  41. <div class="icon"><span class="wi wi-account"></span></div>
  42. <div>到{php echo ACCOUNT_TYPE_NAME}提交审核</div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. <!-- 公告 start -->
  49. <div class="panel we7-panel">
  50. <div class="panel-heading">
  51. <h4>公告</h4>
  52. <ul class="nav nav-tabs" role="tablist">
  53. <li role="presentation" class="active">
  54. <a href="#notice" aria-controls="notice" role="tab" data-toggle="tab" >系统公告</a>
  55. </li>
  56. </ul>
  57. <a href="./index.php?c=article&a=notice" class="color-default more">更多</a>
  58. </div>
  59. <div class="panel-body">
  60. <div class="tab-content" >
  61. <div class="tab-pane active" id="notice">
  62. <ul class="list-group notice-statistics">
  63. <li class="list-group-item" ng-repeat="notice in notices" ng-if="notices && notices.length">
  64. <a ng-href="{{notice.url}}" class="text-over" target="_blank" ng-style="{'color': notice.style.color, 'font-weight': notice.style.bold ? 'bold' : 'normal'}" ng-bind="notice.title"></a>
  65. <span class="pull-right color-gray" ng-bind="notice.createtime"></span>
  66. </li>
  67. <div class="we7-empty-block" ng-if="!notices.length">
  68. 暂无公告
  69. </div>
  70. </ul>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <!-- 公告 end -->
  76. </div>
  77. <script>
  78. angular.module('wxApp').value('config', {
  79. family: "{php echo IMS_FAMILY}",
  80. notices: {php echo !empty($notices) ? json_encode($notices) : 'null'},
  81. 'apiLink': '//api.w7.cc',
  82. });
  83. angular.bootstrap($('#js-wxapp-home-welcome'), ['wxApp']);
  84. </script>
  85. {template 'common/footer'}