version-display.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {template 'common/header'}
  2. <style>
  3. .account-rank img{width:20px; height:20px;}
  4. .alert{color:#666;padding:10px}
  5. .text-strong{font-size:14px;font-weight:bold;}
  6. .popover{max-width: 450px}
  7. .popover-content{padding-top: 0;line-height: 30px}
  8. .popover-content h5{padding-bottom: 5px}
  9. </style>
  10. <ol class="breadcrumb we7-breadcrumb">
  11. <li><a href="javascript:;" onclick="history.go(-1)"><i class="wi wi-back-circle"></i>{$_W['account']['name']}</a></li>
  12. <li>版本列表</li>
  13. </ol>
  14. <div class="panel panel-cut">
  15. <div class="panel-body">
  16. <div class="user-head-info">
  17. <img src="{$_W['account']['logo']}" class="account-img we7-margin-right-sm" alt="">
  18. <div class="info">
  19. <h3 class="title">{$_W['account']['name']}</h3>
  20. <i class="wi wi-{$_W['account']['type_sign']}"></i>{php echo $_W['account']->typeName}
  21. </div>
  22. {if $_W['account']['type_sign'] == 'phoneapp'}
  23. <a href="{php echo url('phoneapp/manage/create_display', array('uniacid' => $_W['uniacid']))}" class="btn btn-primary">新建版本</a>
  24. {else}
  25. <a href="{php echo url('miniapp/post', array('uniacid' => $_W['uniacid'], 'type' => ACCOUNT_TYPE))}" class="btn btn-primary">新建版本</a>
  26. {/if}
  27. </div>
  28. <ul class="wxapp-cut-list">
  29. {loop $version_list $key $list}
  30. <li class="wxapp-cut-item">
  31. {if $_W['account']['type_sign'] == 'phoneapp'}
  32. <a href="{php echo url('phoneapp/version/home', array('uniacid' => $_W['uniacid'], 'version_id' => $list['id']))}" class="box">
  33. {else}
  34. <a href="{php echo url('miniapp/version/home', array('version_id' => $list['id']))}" class="box">
  35. {/if}
  36. <div class="left">
  37. <div class="version {if $_W['account']['type_sign'] == 'wxapp' && $key == 0 && !empty($list['upload_time'])}new{/if}">{$list['version']}</div>
  38. <div class="desc">{$list['description']}</div>
  39. <div class="info">
  40. <img src="{$list['module']['logo']}" class="module-img" alt="">
  41. <div class="">
  42. <div class="app-title">{$list['module']['title']}</div>
  43. <div class="support-list app-version">版本: {$list['module']['version']}</div>
  44. </div>
  45. </div>
  46. </div>
  47. <div class="right">
  48. <i class="wi wi-angle-right"></i>
  49. </div>
  50. </a>
  51. </li>
  52. {/loop}
  53. </ul>
  54. </div>
  55. </div>
  56. </div>
  57. {template 'common/footer'}