人人商城

index.html 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {template '_header'}
  2. <link href="{php echo EWEI_SHOPV2_LOCAL}static/css/plugingrant.css" rel="stylesheet">
  3. <div class="page-heading">
  4. <!--<span class='pull-right'>
  5. <a class='btn btn-default btn-sm' href="{php echo webUrl('plugins')}">返回我的应用</a>
  6. </span>-->
  7. <h2>授权应用中心</h2>
  8. </div>
  9. <div class="plugingrant-container">
  10. <div class="plugingrant-container-adv">
  11. <div id="myCarousel" class="grant-banner carousel slide" data-ride="carousel">
  12. <!-- 轮播(Carousel)指标 -->
  13. <ol class="carousel-indicators">
  14. {loop $adv $index $a}
  15. <li data-target="#myCarousel" data-slide-to="{$index}" class="{if $index==0}active{/if}"></li>
  16. {/loop}
  17. </ol>
  18. <!-- 轮播(Carousel)项目 -->
  19. <div class="carousel-inner" role="listbox">
  20. {loop $adv $index $a}
  21. <div class="item {if $index==0}active{/if}">
  22. <a href="{$a['link']}"><img src="{php echo tomedia($a['thumb'])}" width="100%" alt="{$a['advname']}"></a>
  23. </div>
  24. {/loop}
  25. </div>
  26. </div>
  27. </div>
  28. {if $package}
  29. <div class="plugingrant-container-package">
  30. <div class="plugingrant-container-package-head row">
  31. <span class="col-lg-6 col-md-6 col-sm-6 col-xs-6 plugin-package-head-left">超值套餐</span>
  32. <span class="col-lg-6 col-md-6 col-sm-6 col-xs-6 plugin-package-head-right">
  33. <!--<a href="javascript:void(0);" class="active">更多套餐>></a>-->
  34. </span>
  35. </div>
  36. <div class="plugingrant-container-package-list">
  37. <ul class="row plugin-package-ul">
  38. {loop $package $row}
  39. <li class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
  40. <div class="plugin-package-list">
  41. <h3>{$row['text']}</h3>
  42. <p>{$row['desc']}</p>
  43. <div class="plugin-package-list-plugin row">
  44. {loop $row['package'] $r}
  45. <span class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
  46. <i>
  47. <img onerror="this.src='{EWEI_SHOPV2_LOCAL}static/images/plugin.png'" src="{php echo empty($r['thumb'])?'../addons/ewei_shopv2/static/images/plugin.png': tomedia($r['thumb'])}" alt="{$r['name']}">
  48. </i>
  49. </span>
  50. {/loop}
  51. </div>
  52. <div class="plugin-package-list-buy">
  53. 价格:<span>&yen;{$row['data'][0]['price']}</span><a href="{php echo webUrl('plugingrant/detail',array('id'=>$row['id'],'type'=>'package'))}">立即购买</a>
  54. </div>
  55. </div>
  56. </li>
  57. {/loop}
  58. </ul>
  59. </div>
  60. </div>
  61. {/if}
  62. {if count($list)>0}
  63. <div class="plugingrant-container-plugin" name="sort">
  64. <div class="plugingrant-container-package-head row">
  65. <span class="col-lg-2 col-md-2 col-sm-2 col-xs-2 plugin-package-head-left">全部插件</span>
  66. <span class="col-lg-10 col-md-10 col-sm-10 col-xs-10 plugin-package-head-right">
  67. <form action="./index.php" method="get" class="form-horizontal table-search" role="form">
  68. <input type="hidden" name="c" value="site" />
  69. <input type="hidden" name="a" value="entry" />
  70. <input type="hidden" name="m" value="ewei_shopv2" />
  71. <input type="hidden" name="do" value="web" />
  72. <input type="hidden" name="r" value="plugingrant" />
  73. 排序:<a href="{php echo webUrl('plugingrant',array('sort'=>'time'))}#sort" name="sort" class="{if $_GPC['sort']=='time'}active{/if}">按时间</a><a href="{php echo webUrl('plugingrant',array('sort'=>'sale'))}#sort" name="sort" class="{if $_GPC['sort']=='sale'}active{/if}">按销量</a>
  74. <label class="grant-screen-right-label">
  75. <input type="search" placeholder="输入您需要的应用名称" name="keyword" value="{$_GPC['keyword']}">
  76. <button type="submit" class="glyphicon glyphicon-search" id="search"></button>
  77. </label>
  78. </form>
  79. </span>
  80. </div>
  81. <div class="plugingrant-container-plugin-list">
  82. <ul class="plugingrant-plugin-list-ul row">
  83. {loop $list $row}
  84. <li class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
  85. <a href="{php echo webUrl('plugingrant/detail',array('id'=>$row['id'],'type'=>'plugin'))}" class="plugingrant-plugin-list">
  86. <img src="{php echo empty($row['thumb'])?'../addons/ewei_shopv2/static/images/plugin.png': tomedia($row['thumb'])}" alt="{$row['name']}">
  87. <h3>{if !empty($row['name'])}{$row['name']}{else}{$row['pname']}{/if}</h3>
  88. <div class="plugingrant-plugin-list-price">
  89. 价格:<span>&yen;{$row['data'][0]['price']}</span>
  90. </div>
  91. </a>
  92. </li>
  93. {/loop}
  94. </ul>
  95. </div>
  96. </div>
  97. {/if}
  98. </div>
  99. {template '_footer'}