welcome.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. {template 'common/header-base'}
  2. <link rel="stylesheet" href="./resource/css/welcome.css">
  3. <div class="home">
  4. <div class="content clearfix">
  5. <div id="head">
  6. <div class="logo">
  7. <img src="{if !empty($_W['setting']['copyright']['slide_logo'])}{php echo tomedia($_W['setting']['copyright']['slide_logo'])}{else}./resource/images/logo/logo-219.png{/if}" width="220px" height="50px">
  8. </div>
  9. <div class="advertisement">
  10. {if !empty($copyright['notice'])}
  11. {$copyright['notice']}
  12. {else}
  13. 再小的品牌,也有自己的微擎
  14. {/if}
  15. </div>
  16. <div class="btns">
  17. <a href="{url 'user/login'}" class="btn btn-primary btn-lg"><i class="fa fa-user"></i> 立即登录</a>
  18. {if !empty($settings['register']['open'])}
  19. <a href="{url 'user/register'}" class="btn btn-primary btn-lg"><i class="fa fa-user-plus"></i> 我要加入</a>
  20. {/if}
  21. </div>
  22. </div>
  23. <div id="banner" class="carousel slide" data-ride="carousel">
  24. <div class="carousel-indicators"><i class="fa fa-angle-double-down"></i></div>
  25. <div class="carousel-inner" role="listbox">
  26. {if !empty($copyright['slides'])}
  27. {php $i = 1;}
  28. {loop $copyright['slides'] $slide}
  29. <div class="item {if $i == 1}active{/if}"><img src="{php echo tomedia($slide);}" alt="" style="width:100%;"></div>
  30. {php $i++;}
  31. {/loop}
  32. {/if}
  33. </div>
  34. </div>
  35. <div class="con container">
  36. <div class="panel panel-default">
  37. <h4>系统功能介绍</h4>
  38. <div class="panel-body">
  39. <div class="row system-info">
  40. <div class="col-xs-3">
  41. <div class="icon"><i class="fa fa-tablet"></i></div>
  42. <h6>微网站、微场景</h6>
  43. </div>
  44. <div class="col-xs-3">
  45. <div class="icon"><i class="fa fa-bullseye"></i></div>
  46. <h6>微信营销解决方案</h6>
  47. </div>
  48. <div class="col-xs-3">
  49. <div class="icon"><i class="fa fa-life-ring"></i></div>
  50. <h6>微信账号集中一站管理</h6>
  51. </div>
  52. <div class="col-xs-3">
  53. <div class="icon"><i class="fa fa-sitemap"></i></div>
  54. <h6>强大的商家运营管理平台</h6>
  55. </div>
  56. </div>
  57. </div>
  58. </div>
  59. {if !empty($news) || !empty($notices)}
  60. <div class="panel panel-default">
  61. <h4>系统公告</h4>
  62. <div class="panel-body">
  63. <div class="row system-announcement">
  64. <div class="col-xs-6">
  65. <ul class="list-unstyled">
  66. {loop $news $new}
  67. <li><span class="style-1">新闻</span><a href="{php echo url('article/news-show/detail', array('id' => $new['id']));}">{$new['title']}</a></li>
  68. {/loop}
  69. </ul>
  70. </div>
  71. <div class="col-xs-6">
  72. <ul class="list-unstyled">
  73. {loop $notices $notice}
  74. <li><span class="style-2">公告</span><a href="{php echo url('article/notice-show/detail', array('id' => $notice['id']));}" style="{if !empty($notice['style'])}{if !empty($notice['style']['color'])}color: {php echo $notice['style']['color']};{/if}{if !empty($notice['style']['bold'])}font-weight:bold;{/if}{/if}">{$notice['title']}</a></li>
  75. {/loop}
  76. </ul>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. {/if}
  82. <div class="panel panel-default">
  83. <h4>功能模块介绍</h4>
  84. <div class="panel-body">
  85. <div class="row module-info">
  86. <div class="col-xs-2">
  87. <div class="icon">
  88. <img src="resource/images/module/01.png">
  89. </div>
  90. <h6>微现场</h6>
  91. </div>
  92. <div class="col-xs-2">
  93. <div class="icon">
  94. <img src="resource/images/module/02.png">
  95. </div>
  96. <h6>微旅游</h6>
  97. </div>
  98. <div class="col-xs-2">
  99. <div class="icon">
  100. <img src="resource/images/module/03.png">
  101. </div>
  102. <h6>微外卖</h6>
  103. </div>
  104. <div class="col-xs-2">
  105. <div class="icon">
  106. <img src="resource/images/module/04.png">
  107. </div>
  108. <h6>微商城</h6>
  109. </div>
  110. <div class="col-xs-2">
  111. <div class="icon">
  112. <img src="resource/images/module/05.png">
  113. </div>
  114. <h6>微汽车</h6>
  115. </div>
  116. <div class="col-xs-2">
  117. <div class="icon">
  118. <img src="resource/images/module/06.png">
  119. </div>
  120. <h6>微房产</h6>
  121. </div>
  122. <div class="col-xs-2">
  123. <div class="icon">
  124. <img src="resource/images/module/08.png">
  125. </div>
  126. <h6>微点菜</h6>
  127. </div>
  128. <div class="col-xs-2">
  129. <div class="icon">
  130. <img src="resource/images/module/09.png">
  131. </div>
  132. <h6>微喜帖</h6>
  133. </div>
  134. <div class="col-xs-2">
  135. <div class="icon">
  136. <img src="resource/images/module/11.png">
  137. </div>
  138. <h6>微网站</h6>
  139. </div>
  140. <div class="col-xs-2">
  141. <div class="icon">
  142. <img src="resource/images/module/12.png">
  143. </div>
  144. <h6>微投票</h6>
  145. </div>
  146. <div class="col-xs-2">
  147. <div class="icon">
  148. <img src="resource/images/module/13.png">
  149. </div>
  150. <h6>微信自定义菜单</h6>
  151. </div>
  152. <div class="col-xs-2">
  153. <div class="icon">
  154. <img src="resource/images/module/14.png">
  155. </div>
  156. <h6>微信会员卡</h6>
  157. </div>
  158. <div class="col-xs-2">
  159. <div class="icon">
  160. <img src="resource/images/module/15.png">
  161. </div>
  162. <h6>微信营销活动</h6>
  163. </div>
  164. <div class="col-xs-2">
  165. <div class="icon">
  166. <img src="resource/images/module/17.png">
  167. </div>
  168. <h6>微信优惠券活动</h6>
  169. </div>
  170. <div class="col-xs-2">
  171. <div class="icon">
  172. <img src="resource/images/module/18.png">
  173. </div>
  174. <h6>微信LBS位置回复</h6>
  175. </div>
  176. <div class="col-xs-2">
  177. <div class="icon">
  178. <img src="resource/images/module/19.png">
  179. </div>
  180. <h6>微相册</h6>
  181. </div>
  182. <div class="col-xs-2">
  183. <div class="icon">
  184. <img src="resource/images/module/20.png">
  185. </div>
  186. <h6>微订单</h6>
  187. </div>
  188. <div class="col-xs-2">
  189. <div class="icon">
  190. <img src="resource/images/module/21.png">
  191. </div>
  192. <h6>微统计</h6>
  193. </div>
  194. </div>
  195. </div>
  196. </div>
  197. <div class="contact panel panel-default">
  198. <h4>联系我们</h4>
  199. <div class="panel-body">
  200. <div class="map col-xs-5" style="height:150px;">
  201. <div class="img" style="width:100%; height:150px; border:#ccc solid 1px;" id="baidumap"></div>
  202. </div>
  203. <div class="info col-xs-7">
  204. <p>联系人:{$copyright['person']}</p>
  205. <p>Q&nbsp;&nbsp;&nbsp;&nbsp; Q:{$copyright['qq']}</p>
  206. <p>手&nbsp;&nbsp;&nbsp;机:{$copyright['phone']}</p>
  207. <p>公&nbsp;&nbsp;&nbsp;司:{$copyright['company']}</p>
  208. <p>地&nbsp;&nbsp;&nbsp;址:{$copyright['address']}</p>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. </div>
  214. <div class="center-block footer" role="footer">
  215. <div class="text-center">
  216. {if empty($copyright['footerright'])}<a href="http://www.w7.cc">关于微擎</a>&nbsp;&nbsp;<a href="https://bbs.5g-yun.com">微擎论坛</a>&nbsp;&nbsp;<a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzkzODAwMzEzOV8xNzEwOTZfNDAwMDgyODUwMl8yXw">联系客服</a>{else}{$copyright['footerright']}{/if} &nbsp; &nbsp; {if !empty($copyright['statcode'])}{$copyright['statcode']}{/if}
  217. </div>
  218. <div class="text-center">
  219. {if empty($copyright['footerleft'])}Powered by <a href="http://www.w7.cc"><b>微擎</b></a> v{IMS_VERSION} &copy; 2014-2015 <a href="http://www.w7.cc">www.w7.cc</a>{else}{$copyright['footerleft']}{/if}
  220. </div>
  221. </div>
  222. </div>
  223. <script type="text/javascript" src="//api.map.baidu.com/api?v=1.4"></script>
  224. <script>
  225. var bmap = {
  226. 'option' : {
  227. 'lock' : false,
  228. 'container' : 'baidumap',
  229. 'infoWindow' : {'width' : 250, 'height' : 100, 'title' : ''},
  230. 'point' : {'lng' : '{$copyright['baidumap']['lng']}', 'lat' : '{$copyright['baidumap']['lat']}'}
  231. },
  232. 'init' : function(option) {
  233. var $this = this;
  234. $this.option = $.extend({},$this.option,option);
  235. $this.option.defaultPoint = new BMap.Point($this.option.point.lng, $this.option.point.lat);
  236. $this.bgeo = new BMap.Geocoder();
  237. $this.bmap = new BMap.Map($this.option.container);
  238. $this.bmap.centerAndZoom($this.option.defaultPoint, 15);
  239. $this.bmap.enableScrollWheelZoom();
  240. $this.bmap.enableDragging();
  241. $this.bmap.enableContinuousZoom();
  242. $this.bmap.addControl(new BMap.NavigationControl());
  243. $this.bmap.addControl(new BMap.OverviewMapControl());
  244. //添加标注
  245. $this.marker = new BMap.Marker($this.option.defaultPoint);
  246. $this.marker.enableDragging();
  247. $this.bmap.addOverlay($this.marker);
  248. $this.marker.setAnimation(BMAP_ANIMATION_BOUNCE);
  249. },
  250. 'setMarkerCenter' : function() {
  251. var $this = this;
  252. var center = $this.bmap.getCenter();
  253. $this.marker.setPosition(new BMap.Point(center.lng, center.lat));
  254. $this.showPointValue();
  255. $this.showAddress();
  256. }
  257. };
  258. $(function(){
  259. var option = {};
  260. option = {'point' : {'lng' : '{$copyright['baidumap']['lng']}', 'lat' : '{$copyright['baidumap']['lat']}'}}
  261. bmap.init(option);
  262. //banner
  263. $('#banner, #banner .item').height($(window).height());
  264. });
  265. </script>
  266. </body>
  267. </html>