e62b38d6a46a5b3341267303ea589376.php 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. <?php /*a:7:{s:78:"/data/web/pl.valimart.net/app/home/view/default/store/default/store/index.html";i:1657785122;s:68:"/data/web/pl.valimart.net/app/home/view/default/base/base_store.html";i:1657785114;s:66:"/data/web/pl.valimart.net/app/home/view/default/base/mall_top.html";i:1660791884;s:70:"/data/web/pl.valimart.net/app/home/view/default/base/store_header.html";i:1657785114;s:83:"/data/web/pl.valimart.net/app/home/view/default/store/default/store/store_info.html";i:1657785122;s:69:"/data/web/pl.valimart.net/app/home/view/default/base/mall_server.html";i:1657785114;s:69:"/data/web/pl.valimart.net/app/home/view/default/base/mall_footer.html";i:1657785114;}*/ ?>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  6. <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?></title>
  7. <meta name="renderer" content="webkit|ie-comp|ie-stand" />
  8. <meta name="keywords" content="<?php echo htmlentities((isset($seo_keywords) && ($seo_keywords !== '')?$seo_keywords:'')); ?>" />
  9. <meta name="description" content="<?php echo htmlentities((isset($seo_description) && ($seo_description !== '')?$seo_description:'')); ?>" />
  10. <?php echo token_meta(); ?>
  11. <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/common.css">
  12. <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/home_header.css">
  13. <script>
  14. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  15. var HOMESITEROOT = "<?php echo htmlentities(HOME_SITE_ROOT); ?>";
  16. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  17. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  18. var TIMESTAMP = "<?php echo htmlentities(TIMESTAMP); ?>";
  19. </script>
  20. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  21. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  22. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  23. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  24. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  25. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/additional-methods.min.js"></script>
  26. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  27. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
  28. </head>
  29. <body>
  30. <div id="append_parent"></div>
  31. <div id="ajaxwaitid"></div>
  32. <?php if($adv_top): ?>
  33. <div style="background:<?php echo htmlentities((isset($adv_top['adv_bgcolor']) && ($adv_top['adv_bgcolor'] !== '')?$adv_top['adv_bgcolor']:'')); ?>;">
  34. <div class="w1200">
  35. <a href="<?php echo url('Advclick/Advclick',['adv_id'=>$adv_top['adv_id']]); ?>" target="_blank" title="<?php echo htmlentities($adv_top['adv_title']); ?>"><img src="<?php echo ds_get_pic(ATTACH_ADV,$adv_top['adv_code']); ?>" width="1200"/></a>
  36. </div>
  37. </div>
  38. <?php endif; ?>
  39. <div class="public-top">
  40. <div class="w1200">
  41. <span class="top-link">
  42. <?php echo htmlentities(lang('welcome_to')); ?> <em><?php echo htmlentities(config('ds_config.site_name')); ?></em>
  43. </span>
  44. <ul class="login-regin">
  45. <?php if(session('member_id')): ?>
  46. <li class="line"> <a href="<?php echo url('Member/index'); ?>"><?php echo session('member_nickname'); ?></a></li>
  47. <li> <a href="<?php echo url('Login/Logout'); ?>"><?php echo htmlentities(lang('exit')); ?></a></li>
  48. <?php else: ?>
  49. <li class="line"> <a href="<?php echo url('Login/login'); ?>"><?php echo htmlentities(lang('please_log')); ?></a></li>
  50. <?php if(config('ds_config.member_normal_register')==1 || config('ds_config.sms_register')==1): ?>
  51. <li> <a href="<?php echo url('Login/register'); ?>"><?php echo htmlentities(lang('free_registration')); ?></a></li>
  52. <?php endif; ?>
  53. <?php endif; ?>
  54. </ul>
  55. <span class="top-link">
  56. <strong style="margin-left:30px;"><?php echo htmlentities(lang('ds_attention')); ?><a href="https://www.valimart.net/" target="_blank">www.csdeshang.com</a> <?php echo htmlentities(lang('ds_continuous_update')); ?></strong>&nbsp;
  57. <?php echo htmlentities(lang('ds_purchase_authorization')); ?>:<a target="_blank" href="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/msgrd?v=3&uin=858761000&site=qq&menu=yes"><img border="0" src="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/pa?p=2:858761000:51" alt="<?php echo htmlentities(lang('click_here_send_message')); ?>" title="<?php echo htmlentities(lang('click_here_send_message')); ?>"/></a>
  58. </span>
  59. <ul class="quick_list">
  60. <li>
  61. <span class="outline"></span>
  62. <span class="blank"></span>
  63. <a href="<?php echo url('Member/index'); ?>"><?php echo htmlentities(lang('ds_user_center')); ?><b></b></a>
  64. <div class="dropdown-menu">
  65. <ol>
  66. <li><a href="<?php echo url('Memberorder/index'); ?>"><?php echo htmlentities(lang('ds_buying_goods')); ?></a></li>
  67. <li><a href="<?php echo url('Memberfavorites/fglist'); ?>"><?php echo htmlentities(lang('ds_care_about')); ?></a></li>
  68. <li><a href="<?php echo url('Memberfavorites/fslist'); ?>"><?php echo htmlentities(lang('ds_the_shop')); ?></a></li>
  69. </ol>
  70. </div>
  71. </li>
  72. <li>
  73. <span class="outline"></span>
  74. <span class="blank"></span>
  75. <a href="<?php echo url('Seller/index'); ?>"><?php echo htmlentities(lang('business_center')); ?><b></b></a>
  76. <div class="dropdown-menu">
  77. <ol>
  78. <?php if(session('seller_id')): ?>
  79. <li><a href="<?php echo url('Seller/index'); ?>"><?php echo htmlentities(lang('ds_shop_overview')); ?></a></li>
  80. <li><a href="<?php echo url('Sellerorder/index'); ?>"><?php echo htmlentities(lang('ds_member_path_store_order')); ?></a></li>
  81. <li><a href="<?php echo url('Sellergoodsonline/index'); ?>"><?php echo htmlentities(lang('promotion_goods_manage')); ?></a></li>
  82. <?php else: if(config('ds_config.store_joinin_open')!=0): ?>
  83. <li><a href="<?php echo url('Showjoinin/index'); ?>"><?php echo htmlentities(lang('tenants')); ?></a></li>
  84. <?php endif; ?>
  85. <li><a href="<?php echo url('Sellerlogin/login'); ?>"><?php echo htmlentities(lang('merchant_login')); ?></a></li>
  86. <?php endif; ?>
  87. </ol>
  88. </div>
  89. </li>
  90. <li>
  91. <span class="outline"></span>
  92. <span class="blank"></span>
  93. <a href="<?php echo url('Memberfavorites/fglist'); ?>"><?php echo htmlentities(lang('ds_favorites')); ?><b></b></a>
  94. <div class="dropdown-menu">
  95. <ol>
  96. <li><a href="<?php echo url('Memberfavorites/fglist'); ?>"><?php echo htmlentities(lang('ds_merchandise_collection')); ?></a></li>
  97. <li><a href="<?php echo url('Memberfavorites/fslist'); ?>"><?php echo htmlentities(lang('ds_store_collect')); ?></a></li>
  98. </ol>
  99. </div>
  100. </li>
  101. <li>
  102. <span class="outline"></span>
  103. <span class="blank"></span>
  104. <a href="javascript:void(0)"><?php echo htmlentities(lang('ds_fast_nav')); ?><b></b></a>
  105. <div class="dropdown-menu">
  106. <ol>
  107. <?php foreach($navs['header'] as $nav): ?>
  108. <li>
  109. <a href="<?php echo htmlentities($nav['nav_url']); ?>" <?php if($nav['nav_new_open'] == 1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($nav['nav_title']); ?></a>
  110. </li>
  111. <?php endforeach; ?>
  112. </ol>
  113. </div>
  114. </li>
  115. <li class="moblie-qrcode">
  116. <span class="outline"></span>
  117. <span class="blank"></span>
  118. <a href="javascript:void(0)"><?php echo htmlentities(lang('wechat_end')); ?></a>
  119. <div class="dropdown-menu">
  120. <img src="<?php echo ds_get_pic(ATTACH_COMMON,config('ds_config.site_logowx')); ?>" width="90" height="90" />
  121. </div>
  122. </li>
  123. <!--
  124. <li class="app-qrcode">
  125. <span class="outline"></span>
  126. <span class="blank"></span>
  127. <a href="javascript:void(0)">APP</a>
  128. <div class="dropdown-menu">
  129. <img width="90" height="90" src="<?php echo ds_get_pic(ATTACH_COMMON,config('ds_config.site_logowx')); ?>" />
  130. <h3>扫描二维码</h3>
  131. <p>下载手机客户端</p>
  132. </div>
  133. </li>
  134. -->
  135. </ul>
  136. </div>
  137. </div>
  138. <!--左侧导航栏-->
  139. <div class="ds-appbar">
  140. <div class="ds-appbar-tabs" id="appBarTabs">
  141. <?php if(session('is_login')): ?>
  142. <div class="user" dstype="a-barUserInfo">
  143. <div class="avatar"><img src="<?php echo get_member_avatar(session('avatar')); ?>?<?php echo htmlentities(TIMESTAMP); ?>"/></div>
  144. <p><?php echo htmlentities(lang('sns_me')); ?></p>
  145. </div>
  146. <div class="user-info" dstype="barUserInfo" style="display:none;"><i class="arrow"></i>
  147. <div class="avatar"><img src="<?php echo get_member_avatar(session('avatar')); ?>?<?php echo htmlentities(TIMESTAMP); ?>"/></div>
  148. <dl>
  149. <dt>Hi, <?php echo session('member_nickname'); ?></dt>
  150. <dd><?php echo htmlentities(lang('ds_current_level')); ?>:<strong dstype="barMemberGrade"><?php echo session('level_name'); ?></strong></dd>
  151. <dd><?php echo htmlentities(lang('ds_current_experience')); ?>:<strong dstype="barMemberExp"><?php echo session('member_exppoints'); ?></strong></dd>
  152. </dl>
  153. </div>
  154. <?php else: ?>
  155. <div class="user TA_delay" dstype="a-barLoginBox">
  156. <div class="avatar TA"><img src="<?php echo get_member_avatar(session('avatar')); ?>?<?php echo htmlentities(TIMESTAMP); ?>"/></div>
  157. <p class="TA"><?php echo htmlentities(lang('login_notlogged')); ?></p>
  158. </div>
  159. <?php endif; ?>
  160. <ul class="tools">
  161. <?php if(config('ds_config.instant_message_open') == '1'): ?>
  162. <li><a href="javascript:void(0);" id="chat_show_user" class="chat TA_delay"><span class="iconfont">&#xe71b;</span><span class="tit"><?php echo htmlentities(lang('ds_chat')); ?></span><i id="new_msg" class="new_msg" style="display:none;"></i></a></li>
  163. <?php endif; ?>
  164. <li><a href="javascript:void(0);" onclick="toglle_bar('rtoolbar_cart')" id="rtoolbar_cart" class="cart TA_delay"><span class="iconfont">&#xe69a;</span><span class="tit"><?php echo htmlentities(lang('ds_cart')); ?></span><i id="rtoobar_cart_count" class="new_msg" style="display:none;"></i></a></li>
  165. <li><a href="javascript:void(0);" onclick="toglle_bar('compare')" id="compare" class="compare TA_delay"><span class="iconfont">&#xe74a;</span><span class="tit"><?php echo htmlentities(lang('ds_comparison')); ?></span></a></li>
  166. <li>
  167. <a href="javascript:void(0);" id="qrcode" class="qrcode TA_delay"><span class="iconfont">&#xe72d;</span>
  168. <span class="tit-box">
  169. <?php echo htmlentities(lang('ds_mobile_shopping_better')); ?><br>
  170. <img src="<?php echo htmlentities(HOME_SITE_URL); ?>/qrcode?url=<?php echo htmlentities(config('ds_config.h5_site_url')); ?>" width="110" height="110" />
  171. <em class="tips_arrow"></em>
  172. </span>
  173. </a>
  174. </li>
  175. <li><a href="javascript:void(0);" onclick="$('html,body').animate({scrollTop: '0px'}, 500)" id="gotop" class="gotop TA_delay" style="position: fixed;bottom: 0"><span class="iconfont">&#xe724;</span><span class="tit"><?php echo htmlentities(lang('ds_top')); ?></span></a></li>
  176. </ul>
  177. <div class="content-box" id="content-compare">
  178. <div class="top">
  179. <h3><?php echo htmlentities(lang('ds_comparison')); ?></h3>
  180. <a href="javascript:void(0);" class="close iconfont" title="<?php echo htmlentities(lang('ds_hidden')); ?>">&#xe73d;</a></div>
  181. <div id="comparelist"></div>
  182. </div>
  183. <div class="content-box" id="content-cart">
  184. <div class="top">
  185. <h3><?php echo htmlentities(lang('ds_my_shopping_cart')); ?></h3>
  186. <a href="javascript:void(0);" class="close iconfont" title="<?php echo htmlentities(lang('ds_hidden')); ?>">&#xe73d;</a></div>
  187. <div id="rtoolbar_cartlist"></div>
  188. </div>
  189. </div>
  190. </div>
  191. <script type="text/javascript">
  192. //动画显示边条内容区域
  193. $(function() {
  194. $(".close").click(function(){
  195. close_bar();
  196. });
  197. // 右侧bar用户信息
  198. $('div[dstype="a-barUserInfo"]').click(function(){
  199. $('div[dstype="barUserInfo"]').toggle();
  200. });
  201. // 右侧bar登录
  202. $('div[dstype="a-barLoginBox"]').click(function(){
  203. login_dialog();
  204. });
  205. <?php if($cart_goods_num > 0): ?>
  206. $('#rtoobar_cart_count').html(<?php echo htmlentities($cart_goods_num); ?>).show();
  207. <?php endif; ?>
  208. });
  209. function toglle_bar(item){
  210. var member_id = "<?php echo session('member_id'); ?>";
  211. if(member_id == ''){
  212. login_dialog();
  213. return;
  214. }
  215. //判断侧边栏是否已拉出
  216. if(parseInt($('.ds-appbar').css('width')) == 36){
  217. $('.ds-appbar').css('width','306px');
  218. }
  219. //判断选中项是否已显示
  220. if(!$("#"+item).hasClass('active')){
  221. $('.tools li > a').removeClass('active');
  222. $("#"+item).addClass('active');
  223. $('.content-box').removeClass('active');
  224. switch(item){
  225. case 'rtoolbar_cart':
  226. $("#rtoolbar_cartlist").load("<?php echo url('Cart/ajax_load',['type'=>'html']); ?>");
  227. $("#content-cart").addClass('active');
  228. break;
  229. case 'compare':
  230. loadCompare(false);
  231. $("#content-compare").addClass('active');
  232. break;
  233. }
  234. }else{
  235. //关闭
  236. close_bar();
  237. $(".chat-list").css("display",'none');
  238. }
  239. }
  240. function close_bar(){
  241. $('.tools li > a').removeClass('active');
  242. $('.content-box').removeClass('active');
  243. $('.ds-appbar').css('width','36px');
  244. }
  245. </script>
  246. <link rel="stylesheet" href="<?php echo htmlentities(BASE_SITE_ROOT); ?>/static/home/default/store/styles/default/css/base.css">
  247. <link rel="stylesheet" href="<?php echo htmlentities(BASE_SITE_ROOT); ?>/static/home/default/store/styles/default/css/shop.css">
  248. <div class="header">
  249. <div class="w1200">
  250. <div class="logo store_logo_wrap">
  251. <a href="<?php echo url('Index/index'); ?>">
  252. <img src="<?php echo ds_get_pic(ATTACH_COMMON,config('ds_config.site_logo')); ?>"/>
  253. </a>
  254. <a class="store_logo" href="<?php echo url('Store/index',['store_id'=>$store_info['store_id']]); ?>">
  255. <img src="<?php echo get_store_logo($store_info['store_avatar'],'store_avatar'); ?>" alt="<?php echo htmlentities($store_info['store_name']); ?>" title="<?php echo htmlentities($store_info['store_name']); ?>" />
  256. </a>
  257. <div class="shop_info">
  258. <div class="shop_name"><?php echo htmlentities($store_info['store_name']); ?></div>
  259. <div class="shop_main">
  260. <ul >
  261. <?php if(!(empty($store_info['store_credit']) || (($store_info['store_credit'] instanceof \think\Collection || $store_info['store_credit'] instanceof \think\Paginator ) && $store_info['store_credit']->isEmpty()))): if(is_array($store_info['store_credit']) || $store_info['store_credit'] instanceof \think\Collection || $store_info['store_credit'] instanceof \think\Paginator): if( count($store_info['store_credit'])==0 ) : echo "" ;else: foreach($store_info['store_credit'] as $key=>$value): ?>
  262. <li>
  263. <p><?php echo htmlentities($value['text']); ?></p><span class="credit"><?php echo htmlentities($value['credit']); ?> <?php echo htmlentities(lang('credit_unit')); ?></span>
  264. </li>
  265. <?php endforeach; endif; else: echo "" ;endif; ?>
  266. <?php endif; ?>
  267. </ul>
  268. </div>
  269. <div class="triangle"><i></i></div>
  270. <div class="extra-info clearfix">
  271. <div class="left">
  272. <div class="shop-collect">
  273. <div class="shop_logo"> <img src="<?php echo get_store_logo($store_info['store_avatar'],'store_avatar'); ?>" alt="<?php echo htmlentities($store_info['store_name']); ?>" title="<?php echo htmlentities($store_info['store_name']); ?>" /></div>
  274. <a class="collect-btn" href="javascript:collect_store('<?php echo htmlentities($store_info['store_id']); ?>','count','store_collect')" ><?php echo htmlentities(lang('ds_collect')); ?></a>
  275. </div>
  276. <div class="shop-qr-code">
  277. <img src="<?php echo htmlentities(HOME_SITE_URL); ?>/qrcode?url=<?php echo htmlentities(config('ds_config.h5_site_url')); ?>/home/storedetail?id=<?php echo htmlentities($store_info['store_id']); ?>">
  278. </div>
  279. </div>
  280. <div class="right">
  281. <div class="dss-detail-rate">
  282. <h4><?php echo htmlentities(lang('ds_dynamic_evaluation')); ?></h4>
  283. <ul>
  284. <?php if(!(empty($store_info['store_credit']) || (($store_info['store_credit'] instanceof \think\Collection || $store_info['store_credit'] instanceof \think\Paginator ) && $store_info['store_credit']->isEmpty()))): if(is_array($store_info['store_credit']) || $store_info['store_credit'] instanceof \think\Collection || $store_info['store_credit'] instanceof \think\Paginator): if( count($store_info['store_credit'])==0 ) : echo "" ;else: foreach($store_info['store_credit'] as $key=>$value): ?>
  285. <li> <?php echo htmlentities($value['text']); ?>:<span class="credit"><?php echo htmlentities($value['credit']); ?> <?php echo htmlentities(lang('credit_unit')); ?></span>
  286. <?php endforeach; endif; else: echo "" ;endif; ?>
  287. <?php endif; ?>
  288. </ul>
  289. </div>
  290. <div class="extend ">
  291. <h4><?php echo htmlentities(lang('shop_service')); ?></h4>
  292. <dl class="no-border">
  293. <dt class="fl"><span class="t_adjust"><?php echo htmlentities(lang('seller_name')); ?></span><span>:</span></dt>
  294. <dd class="fl"><?php echo htmlentities($store_info['seller_name']); ?></dd>
  295. </dl>
  296. <dl class="no-border">
  297. <dt class="fl"><span class="t_adjust"><?php echo htmlentities(lang('company_name')); ?></span><span>:</span></dt>
  298. <dd class="fl"><?php echo htmlentities($store_info['store_company_name']); ?></dd>
  299. </dl>
  300. <dl class="no-border">
  301. <dt class="fl"><span class="t_adjust"><?php echo htmlentities(lang('ds_srore_location')); ?></span><span>:</span></dt>
  302. <dd class="fl"><?php echo htmlentities($store_info['area_info']); ?></dd>
  303. </dl>
  304. <?php if(!(empty($store_info['store_phone']) || (($store_info['store_phone'] instanceof \think\Collection || $store_info['store_phone'] instanceof \think\Paginator ) && $store_info['store_phone']->isEmpty()))): ?>
  305. <dl class="no-border">
  306. <dt class="fl"><span class="t_adjust"><?php echo htmlentities(lang('phone_space')); ?></span><span>:</span></dt>
  307. <dd class="fl"><?php echo htmlentities($store_info['store_phone']); ?></dd>
  308. </dl>
  309. <?php endif; ?>
  310. <dl>
  311. <dt class="fl"><span class="t_adjust"><?php echo htmlentities(lang('business_licence_number_electronic')); ?></span><span>:</span></dt>
  312. <dd class="fl">
  313. <?php if(!$store_info['is_platform_store']): if($store_info['business_licence_number_electronic']): ?>
  314. <a href="<?php echo htmlentities($store_info['business_licence_number_electronic']); ?>" target="_blank"><?php echo htmlentities(lang('ds_view')); ?></a>
  315. <?php endif; else: if(config('ds_config.business_licence')): ?>
  316. <a href="<?php echo ds_get_pic(ATTACH_COMMON,config('ds_config.business_licence')); ?>" target="_blank"><?php echo htmlentities(lang('ds_view')); ?></a>
  317. <?php endif; ?>
  318. <?php endif; ?>
  319. </dd>
  320. </dl>
  321. </div>
  322. </div>
  323. </div>
  324. </div>
  325. </div>
  326. <div id="search" class="head-search-bar">
  327. <form class="search-form" id="store_search_form" method="get" action="<?php echo url('Store/goods_all'); ?>">
  328. <input type="hidden" value="<?php echo htmlentities(app('request')->param('store_id')); ?>" name="store_id">
  329. <input placeholder="<?php echo htmlentities(lang('search_merchandise_keywords')); ?>" name="inkeyword" id="keyword" type="text" class="input-text" value="<?php echo htmlentities(app('request')->param('inkeyword')); ?>" maxlength="60" />
  330. <a href="javascript:$('#store_search_form').submit()" class="input-submit shop"><?php echo htmlentities(lang('search_shop')); ?></a>
  331. <a href="javascript:void(0)" class="input-submit all"><?php echo htmlentities(lang('search_all')); ?></a>
  332. </form>
  333. </div>
  334. </div>
  335. </div>
  336. <div class="banner" style="background-image: url(<?php if($store_info['store_banner']): ?><?php echo get_store_logo($store_info['store_banner'],'store_banner'); else: ?><?php echo htmlentities(BASE_SITE_ROOT); ?>/static/home/default/store/styles/default/images/header.jpg<?php endif; ?>)">
  337. <div class="w1200"></div>
  338. </div>
  339. <div class="dss-nav">
  340. <div class="w1200">
  341. <ul>
  342. <li><a href="<?php echo url('Store/index',['store_id'=>$store_info['store_id']]); ?>"><span><?php echo htmlentities(lang('ds_store_index')); ?><i></i></span></a></li>
  343. <li><a href="<?php echo url('Store/goods_all',['store_id'=>$store_info['store_id']]); ?>"><span><?php echo htmlentities(lang('ds_whole_goods')); ?><i></i></span></a></li>
  344. <li><a href="<?php echo url('Storesnshome/index',['sid'=>$store_info['store_id']]); ?>"><span><?php echo htmlentities(lang('ds_store_the_dynamic')); ?><i></i></span></a></li>
  345. <?php if(!(empty($store_navigation_list) || (($store_navigation_list instanceof \think\Collection || $store_navigation_list instanceof \think\Paginator ) && $store_navigation_list->isEmpty()))): if(is_array($store_navigation_list) || $store_navigation_list instanceof \think\Collection || $store_navigation_list instanceof \think\Paginator): if( count($store_navigation_list)==0 ) : echo "" ;else: foreach($store_navigation_list as $key=>$value): if($value['storenav_url'] != ''): ?>
  346. <li class=""><a href="<?php echo htmlentities($value['storenav_url']); ?>"><span><?php echo htmlentities($value['storenav_title']); ?><i></i></span></a></li>
  347. <?php else: ?>
  348. <li class=""><a href="<?php echo url('Store/article',['store_id'=>$store_info['store_id'],'storenav_id'=>$value['storenav_id']]); ?>"><span><?php echo htmlentities($value['storenav_title']); ?><i></i></span></a></li>
  349. <?php endif; ?>
  350. <?php endforeach; endif; else: echo "" ;endif; ?>
  351. <?php endif; ?>
  352. </ul>
  353. </div>
  354. </div>
  355. <!--面包屑导航 BEGIN-->
  356. <?php if(!(empty($nav_link_list) || (($nav_link_list instanceof \think\Collection || $nav_link_list instanceof \think\Paginator ) && $nav_link_list->isEmpty()))): ?>
  357. <div class="dsh-breadcrumb-layout">
  358. <div class="dsh-breadcrumb w1200"><i class="iconfont">&#xe6ff;</i>
  359. <?php foreach($nav_link_list as $nav_link): if(empty($nav_link['link']) || (($nav_link['link'] instanceof \think\Collection || $nav_link['link'] instanceof \think\Paginator ) && $nav_link['link']->isEmpty())): ?>
  360. <span><?php echo htmlentities($nav_link['title']); ?></span>
  361. <?php else: ?>
  362. <span><a href="<?php echo htmlentities($nav_link['link']); ?>"><?php echo htmlentities($nav_link['title']); ?></a></span><span class="arrow">></span>
  363. <?php endif; ?>
  364. <?php endforeach; ?>
  365. </div>
  366. </div>
  367. <?php endif; ?>
  368. <!--面包屑导航 END-->
  369. <script>
  370. $(".head-search-bar .all").click(function(){
  371. var url = HOMESITEURL+"/Search/index";
  372. $("#store_search_form").attr('action',url);
  373. $("#store_search_form").submit();
  374. })
  375. </script>
  376. <?php if(!isset($editable_page)): ?>
  377. <div class="w1200 mt20">
  378. <div class="ds_side">
  379. <div class="dss-info">
  380. <div class="title">
  381. <h4><?php if($store_info['is_platform_store']): ?><em><?php echo htmlentities(lang('platform_store')); ?></em><?php else: ?><img src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/images/store_grade/<?php echo htmlentities($store_info['grade_id']); ?>.png" class="pngFix"><?php endif; ?>&nbsp;<a href="<?php echo url('Store/index',['store_id'=>$store_info['store_id']]); ?>" ><?php echo htmlentities($store_info['store_name']); ?></a>
  382. <span member_id="<?php echo htmlentities($store_info['member_id']); ?>"></span>
  383. <?php if(isset($store_info['member_id']) || !empty($store_info['store_qq']) || !empty($store_info['store_ww'])): if(!(empty($store_info['store_qq']) || (($store_info['store_qq'] instanceof \think\Collection || $store_info['store_qq'] instanceof \think\Paginator ) && $store_info['store_qq']->isEmpty()))): ?>
  384. <a target="_blank" href="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/msgrd?v=3&uin=<?php echo htmlentities($store_info['store_qq']); ?>&site=qq&menu=yes" title="QQ: <?php echo htmlentities($store_info['store_qq']); ?>"><img border="0" src="<?php echo htmlentities(HTTP_TYPE); ?>wpa.qq.com/pa?p=2:<?php echo htmlentities($store_info['store_qq']); ?>:52" style=" vertical-align: middle;"/></a>
  385. <?php endif; if(!(empty($store_info['store_ww']) || (($store_info['store_ww'] instanceof \think\Collection || $store_info['store_ww'] instanceof \think\Paginator ) && $store_info['store_ww']->isEmpty()))): ?>
  386. <a target="_blank" href="http://amos.im.alisoft.com/msg.aw?v=2&amp;uid=<?php echo htmlentities($store_info['store_ww']); ?>&site=cntaobao&s=1" ><img border="0" src="http://amos.im.alisoft.com/online.aw?v=2&uid=<?php echo htmlentities($store_info['store_ww']); ?>&site=cntaobao&s=2" alt="<?php echo htmlentities(lang('ds_message_me')); ?>" style=" vertical-align: middle;"/></a>
  387. <?php endif; ?>
  388. <?php endif; ?>
  389. </h4>
  390. </div>
  391. <div class="content">
  392. <dl class="all-rate">
  393. <dt><span class="t_adjust"><?php echo htmlentities(lang('comprehensive_score')); ?></span><span>:</span></dt>
  394. <dd>
  395. <div class="rating"><span style="width: <?php echo htmlentities($store_info['store_credit_percent']); ?>%"></span></div>
  396. <em><?php echo htmlentities($store_info['store_credit_average']); ?></em><?php echo htmlentities(lang('credit_unit')); ?></dd>
  397. </dl>
  398. <div class="dss-detail-rate">
  399. <h5><?php echo htmlentities(lang('ds_dynamic_evaluation')); ?>:</h5>
  400. <ul>
  401. <?php if(!(empty($store_info['store_credit']) || (($store_info['store_credit'] instanceof \think\Collection || $store_info['store_credit'] instanceof \think\Paginator ) && $store_info['store_credit']->isEmpty()))): if(is_array($store_info['store_credit']) || $store_info['store_credit'] instanceof \think\Collection || $store_info['store_credit'] instanceof \think\Paginator): if( count($store_info['store_credit'])==0 ) : echo "" ;else: foreach($store_info['store_credit'] as $key=>$value): ?>
  402. <li> <?php echo htmlentities($value['text']); ?><span class="credit"><?php echo htmlentities($value['credit']); ?> <?php echo htmlentities(lang('credit_unit')); ?></span>
  403. <?php if(isset($value['percent_class'])): ?>
  404. <span class="<?php echo htmlentities($value['percent_class']); ?>"><i></i><?php echo htmlentities($value['percent_text']); ?><em><?php echo htmlentities($value['percent']); ?></em></span> </li>
  405. <?php endif; ?>
  406. <?php endforeach; endif; else: echo "" ;endif; ?>
  407. <?php endif; ?>
  408. </ul>
  409. </div>
  410. <!--只有实名认证实体店认证后才显示保障体系-->
  411. <?php if($store_info['store_baozh']): ?>
  412. <dl class="messenger">
  413. <dt><span class="t_adjust"><?php echo htmlentities(lang('merchant_guarantee')); ?></span><span>:</span></dt>
  414. <dd>
  415. <!--新加的保障-->
  416. <?php if($store_info['store_shiti']): ?>
  417. <span id="certMatershiti" class="text-hidden fl ml5" title="<?php echo htmlentities(lang('physical_certification')); ?>"></span>
  418. <?php endif; if($store_info['store_qtian']): ?>
  419. <span id="certMaterqtian" class="text-hidden fl ml5" title="<?php echo htmlentities(lang('physical_filming')); ?>"></span>
  420. <?php endif; if($store_info['store_zhping']): ?>
  421. <span id="certMaterzhping" class="text-hidden fl ml5" title="<?php echo htmlentities(lang('genuine_protection')); ?>"></span>
  422. <?php endif; if($store_info['store_erxiaoshi']): ?>
  423. <span id="certMatererxiaoshi" class="text-hidden fl ml5" title="<?php echo htmlentities(lang('delivery_within_hours')); ?>"></span>
  424. <?php endif; if($store_info['store_tuihuo']): ?>
  425. <span id="certMatertuihuo" class="text-hidden fl ml5" title="<?php echo htmlentities(lang('return_commitment')); ?>"></span>
  426. <?php endif; if($store_info['store_shiyong']): ?>
  427. <span id="certMatershiyong" class="text-hidden fl ml5" title="<?php echo htmlentities(lang('trial_center')); ?>"></span>
  428. <?php endif; if($store_info['store_xiaoxie']): ?>
  429. <span id="certMaterxiaoxie" class="text-hidden fl ml5" title="<?php echo htmlentities(lang('consumer_protection')); ?>"></span>
  430. <?php endif; if($store_info['store_huodaofk']): ?>
  431. <span id="certMaterhuodaofk" class="text-hidden fl ml5" title="<?php echo htmlentities(lang('support_cash_delivery')); ?>"></span>
  432. <?php endif; ?>
  433. <!--新加的保障-->
  434. </dd>
  435. </dl>
  436. <?php endif; ?>
  437. <!--保证金金额-->
  438. <?php if($store_info['store_avaliable_deposit'] > 0): ?>
  439. <dl class="messenger">
  440. <dt><span class="t_adjust"><?php echo htmlentities(lang('guaranteed_amount')); ?></span><span>:</span></dt>
  441. <dd style="width: 100px;"><?php echo htmlentities($store_info['store_avaliable_deposit']); ?>
  442. </dd>
  443. </dl>
  444. <?php endif; ?>
  445. <dl class="no-border">
  446. <dt><span class="t_adjust"><?php echo htmlentities(lang('company_name')); ?></span><span>:</span></dt>
  447. <dd><?php echo htmlentities($store_info['store_company_name']); ?></dd>
  448. </dl>
  449. <dl class="no-border">
  450. <dt><span class="t_adjust"><?php echo htmlentities(lang('ds_srore_location')); ?></span><span>:</span></dt>
  451. <dd><?php echo htmlentities($store_info['area_info']); ?></dd>
  452. </dl>
  453. <?php if(!(empty($store_info['store_phone']) || (($store_info['store_phone'] instanceof \think\Collection || $store_info['store_phone'] instanceof \think\Paginator ) && $store_info['store_phone']->isEmpty()))): ?>
  454. <dl class="no-border">
  455. <dt><span class="t_adjust"><?php echo htmlentities(lang('phone_space')); ?></span><span>:</span></dt>
  456. <dd><?php echo htmlentities($store_info['store_phone']); ?></dd>
  457. </dl>
  458. <?php endif; ?>
  459. <dl>
  460. <dt><span class="t_adjust"><?php echo htmlentities(lang('business_licence_number_electronic')); ?></span><span>:</span></dt>
  461. <dd>
  462. <?php if(!$store_info['is_platform_store']): if($store_info['business_licence_number_electronic']): ?>
  463. <a href="<?php echo htmlentities($store_info['business_licence_number_electronic']); ?>" target="_blank"><?php echo htmlentities(lang('ds_view')); ?></a>
  464. <?php endif; else: if(config('ds_config.business_licence')): ?>
  465. <a href="<?php echo ds_get_pic(ATTACH_COMMON,config('ds_config.business_licence')); ?>" target="_blank"><?php echo htmlentities(lang('ds_view')); ?></a>
  466. <?php endif; ?>
  467. <?php endif; ?>
  468. </dd>
  469. </dl>
  470. <div class="shop-other" id="shop-other">
  471. <div class="goto">
  472. <a href="javascript:collect_store('<?php echo htmlentities($store_info['store_id']); ?>','count','store_collect')" ><i class="iconfont">&#xe6e4;</i><?php echo htmlentities(lang('ds_collect')); ?></a>
  473. <a href="<?php echo url('Storesnshome/index',['sid'=>$store_info['store_id']]); ?>" ><i class="iconfont">&#xe635;</i><?php echo htmlentities(lang('ds_dynamics')); ?></a>
  474. </div>
  475. <div class="shop_btn">
  476. <?php if($store_info['store_longitude'] != ""): ?>
  477. <div class="dss-info-btn-map iconfont">&#xe720;
  478. <div class="dss-info-map" id="map_container" style="width:208px;height:208px;"></div>
  479. </div>
  480. <?php endif; ?>
  481. <div class="dss-info-btn-qrcode iconfont" >&#xe72d;
  482. <div class="dss-info-qrcode"><img src="<?php echo store_qrcode($store_info['store_id']); ?>" title="<?php echo htmlentities(lang('shop_primitive')); ?><?php echo url('Store/goods_all',['store_id'=>$store_info['store_id']]); ?>" style="width:208px;height:208px"></div>
  483. </div>
  484. </div>
  485. </div>
  486. </div>
  487. </div>
  488. <!--店铺基本信息 E-->
  489. <script type="text/javascript">
  490. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  491. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  492. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  493. var cityName = "<?php echo htmlentities($store_info['store_address']); ?>";
  494. var address = "<?php echo htmlentities($store_info['area_info']); ?>";
  495. var store_name = "<?php echo htmlentities($store_info['store_company_name']); ?>";
  496. var store_longitude = "<?php echo htmlentities($store_info['store_longitude']); ?>";
  497. var store_latitude = "<?php echo htmlentities($store_info['store_latitude']); ?>"
  498. function initialize() {
  499. var map = new BMap.Map("map_container"); // 创建地图实例
  500. if(store_longitude != "" && store_latitude != ""){
  501. var point = new BMap.Point(store_longitude,store_latitude); // 创建点坐标
  502. map.centerAndZoom(point, 15);
  503. map.enableScrollWheelZoom(true);
  504. map.clearOverlays();
  505. var new_point = new BMap.Point(store_longitude,store_latitude);
  506. var marker = new BMap.Marker(new_point);
  507. map.addOverlay(marker);
  508. map.panTo(new_point);
  509. }
  510. }
  511. function loadScript() {
  512. var script = document.createElement("script");
  513. script.src = "<?php echo htmlentities(HTTP_TYPE); ?>api.map.baidu.com/api?v=2.0&callback=initialize";
  514. document.body.appendChild(script);
  515. }
  516. // 当鼠标放在店铺地图上再加载百度地图。
  517. $(function(){
  518. $('.dss-info-btn-map').one('mouseover',function(){
  519. loadScript();
  520. });
  521. $('.dss-info-btn-map').one('click',function(){
  522. loadScript();
  523. });
  524. });
  525. </script>
  526. <script>
  527. $(function(){
  528. var store_id = "<?php echo htmlentities($store_info['store_id']); ?>";
  529. var goods_id = "<?php echo htmlentities(app('request')->param('goods_id')); ?>";
  530. var controller = "<?php echo htmlentities(app('request')->controller()); ?>";
  531. var action = "<?php echo app('request')->action()?app('request')->action() : 'index'; ?>";
  532. $.getJSON("<?php echo url('Store/ajax_flowstat_record'); ?>",{store_id:store_id,goods_id:goods_id,controller_param:controller,action_param:action});
  533. });
  534. </script>
  535. <div class="common_module dss-search">
  536. <div class="common_title">
  537. <h2><?php echo htmlentities(lang('ds_goods_class')); ?></h2>
  538. </div>
  539. <ul class="dss-submenu">
  540. <li><span class="ico-none"></span><a href="<?php echo url('Store/goods_all',['store_id'=>$store_info['store_id']]); ?>"><?php echo htmlentities(lang('ds_whole_goods')); ?></a></li>
  541. <?php if(!(empty($goods_class_list) || (($goods_class_list instanceof \think\Collection || $goods_class_list instanceof \think\Paginator ) && $goods_class_list->isEmpty()))): if(is_array($goods_class_list) || $goods_class_list instanceof \think\Collection || $goods_class_list instanceof \think\Paginator): if( count($goods_class_list)==0 ) : echo "" ;else: foreach($goods_class_list as $key=>$value): if(!(empty($value['children']) || (($value['children'] instanceof \think\Collection || $value['children'] instanceof \think\Paginator ) && $value['children']->isEmpty()))): ?>
  542. <li><span class="ico-none" onclick="class_list(this);" span_id="<?php echo htmlentities($value['storegc_id']); ?>" style="cursor: pointer;"></span><a href="<?php echo url('Store/goods_all',['store_id'=>$store_info['store_id'],'storegc_id'=>$value['storegc_id']]); ?>"><?php echo htmlentities($value['storegc_name']); ?></a>
  543. <ul id="stc_<?php echo htmlentities($value['storegc_id']); ?>" class="class_child">
  544. <?php if(is_array($value['children']) || $value['children'] instanceof \think\Collection || $value['children'] instanceof \think\Paginator): if( count($value['children'])==0 ) : echo "" ;else: foreach($value['children'] as $key=>$value1): ?>
  545. <li><a href="<?php echo url('Store/goods_all',['store_id'=>$store_info['store_id'],'storegc_id'=>$value1['storegc_id']]); ?>"><?php echo htmlentities($value1['storegc_name']); ?></a></li>
  546. <?php endforeach; endif; else: echo "" ;endif; ?>
  547. </ul>
  548. </li>
  549. <?php else: ?>
  550. <li> <span class="ico-none"></span><a href="<?php echo url('Store/goods_all',['store_id'=>$store_info['store_id'],'storegc_id'=>$value['storegc_id']]); ?>"><?php echo htmlentities($value['storegc_name']); ?></a></li>
  551. <?php endif; ?>
  552. <?php endforeach; endif; else: echo "" ;endif; ?>
  553. <?php endif; ?>
  554. </ul>
  555. </div>
  556. <div class="common_module">
  557. <div class="common_title">
  558. <h2><?php echo htmlentities(lang('commodity_ranking')); ?></h2>
  559. </div>
  560. <div class="common_content">
  561. <ul>
  562. <?php if(is_array($hot_sales) || $hot_sales instanceof \think\Collection || $hot_sales instanceof \think\Paginator): if( count($hot_sales)==0 ) : echo "" ;else: foreach($hot_sales as $key=>$val): ?>
  563. <li>
  564. <div class="p_img">
  565. <a href="<?php echo url('Goods/index',['goods_id'=>$val['goods_id']]); ?>"><img src="<?php echo goods_thumb($val, 240); ?>" width="85" height="85"></a>
  566. </div>
  567. <div class="p_num <?php if($key < 3): ?>active<?php endif; ?>"><?php echo $key+1; ?></div>
  568. <div class="p_info">
  569. <div class="p_name">
  570. <a href="<?php echo url('Goods/index',['goods_id'=>$val['goods_id']]); ?>"><?php echo htmlentities($val['goods_name']); ?></a>
  571. </div>
  572. <div class="p_price"><?php echo htmlentities(lang('currency')); ?><em><?php echo htmlentities($val['goods_promotion_price']); ?></em></div>
  573. <div class="p_sales"><?php echo htmlentities(lang('ds_sell_out')); ?><strong><?php echo htmlentities($val['goods_salenum']); ?></strong><?php echo htmlentities(lang('ds_bi')); ?></div>
  574. </div>
  575. </li>
  576. <?php endforeach; endif; else: echo "" ;endif; ?>
  577. </ul>
  578. </div>
  579. </div>
  580. <div class="common_module">
  581. <div class="common_title">
  582. <h2><?php echo htmlentities(lang('merchandise_collection')); ?></h2>
  583. </div>
  584. <div class="common_content">
  585. <ul>
  586. <?php if(is_array($hot_collect) || $hot_collect instanceof \think\Collection || $hot_collect instanceof \think\Paginator): if( count($hot_collect)==0 ) : echo "" ;else: foreach($hot_collect as $key=>$val): ?>
  587. <li>
  588. <div class="p_img">
  589. <a href="<?php echo url('Goods/index',['goods_id'=>$val['goods_id']]); ?>"><img src="<?php echo goods_thumb($val, 240); ?>" width="85" height="85"></a>
  590. </div>
  591. <div class="p_num <?php if($key < 3): ?>active<?php endif; ?>"><?php echo $key+1; ?></div>
  592. <div class="p_info">
  593. <div class="p_name">
  594. <a href="<?php echo url('Goods/index',['goods_id'=>$val['goods_id']]); ?>"><?php echo htmlentities($val['goods_name']); ?></a>
  595. </div>
  596. <div class="p_price"><?php echo htmlentities(lang('currency')); ?><em><?php echo htmlentities($val['goods_promotion_price']); ?></em></div>
  597. <div class="p_sales"><?php echo htmlentities(lang('ds_collection_popularity')); ?><?php echo htmlentities(lang('ds_colon')); ?><strong><?php echo htmlentities($val['goods_collect']); ?></strong></div>
  598. </div>
  599. </li>
  600. <?php endforeach; endif; else: echo "" ;endif; ?>
  601. </ul>
  602. </div>
  603. </div>
  604. </div>
  605. <div class="ds_main">
  606. <?php if(!(empty($store_slide) || (($store_slide instanceof \think\Collection || $store_slide instanceof \think\Paginator ) && $store_slide->isEmpty()))): ?>
  607. <div class="storeslider">
  608. <ul class="slides">
  609. <?php $__FOR_START_856877972__=0;$__FOR_END_856877972__=5;for($i=$__FOR_START_856877972__;$i < $__FOR_END_856877972__;$i+=1){ if(!(empty($store_slide[$i]) || (($store_slide[$i] instanceof \think\Collection || $store_slide[$i] instanceof \think\Paginator ) && $store_slide[$i]->isEmpty()))): ?>
  610. <li><a href="<?php echo htmlentities($store_slide_url[$i]); ?>"><img src="<?php echo ds_get_pic(ATTACH_SLIDE,$store_slide[$i]); ?>" width="940" height="400"></a></li>
  611. <?php endif; } ?>
  612. </ul>
  613. <a class="ctrl prev" href="javascript:void(0)">&lt;</a>
  614. <a class="ctrl next" href="javascript:void(0)">&gt;</a>
  615. </div>
  616. <?php endif; ?>
  617. <div class="recommend-goods">
  618. <div class="dss-grid-list">
  619. <?php if(!(empty($recommended_goods_list) || (($recommended_goods_list instanceof \think\Collection || $recommended_goods_list instanceof \think\Paginator ) && $recommended_goods_list->isEmpty()))): ?>
  620. <ul>
  621. <?php if(is_array($recommended_goods_list) || $recommended_goods_list instanceof \think\Collection || $recommended_goods_list instanceof \think\Paginator): if( count($recommended_goods_list)==0 ) : echo "" ;else: foreach($recommended_goods_list as $key=>$value): ?>
  622. <li class="grid-items">
  623. <a class="thumb" href="<?php echo url('Goods/index',['goods_id'=>$value['goods_id']]); ?>" target="_blank">
  624. <p class="grid-img">
  625. <img alt="<?php echo htmlentities($value['goods_name']); ?>" src="<?php echo goods_thumb($value, 240); ?>">
  626. </p>
  627. <div class="grid-title"><?php echo htmlentities($value['goods_name']); ?></div>
  628. <p class="grid-desc"><?php echo htmlentities($value['goods_advword']); ?></p>
  629. <p class="grid-price"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($value['goods_promotion_price']); ?></p>
  630. <p class="grid-tips">
  631. <em class="thumb"><span><?php echo htmlentities(lang('show_store_index_recommend')); ?></span></em>
  632. </p>
  633. </a>
  634. </li>
  635. <?php endforeach; endif; else: echo "" ;endif; ?>
  636. </ul>
  637. <div class="clear"></div>
  638. <?php endif; ?>
  639. </div>
  640. </div>
  641. <div class="new-goods">
  642. <div class="dss-grid-list">
  643. <?php if(!(empty($new_goods_list) || (($new_goods_list instanceof \think\Collection || $new_goods_list instanceof \think\Paginator ) && $new_goods_list->isEmpty()))): ?>
  644. <ul>
  645. <?php if(is_array($new_goods_list) || $new_goods_list instanceof \think\Collection || $new_goods_list instanceof \think\Paginator): if( count($new_goods_list)==0 ) : echo "" ;else: foreach($new_goods_list as $key=>$value): ?>
  646. <li class="grid-items">
  647. <a class="thumb" href="<?php echo url('Goods/index',['goods_id'=>$value['goods_id']]); ?>" target="_blank">
  648. <p class="grid-img">
  649. <img alt="<?php echo htmlentities($value['goods_name']); ?>" src="<?php echo goods_thumb($value, 240); ?>">
  650. </p>
  651. <div class="grid-title"><?php echo htmlentities($value['goods_name']); ?></div>
  652. <p class="grid-desc"><?php echo htmlentities($value['goods_advword']); ?></p>
  653. <p class="grid-price"><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($value['goods_promotion_price']); ?></p>
  654. <p class="grid-tips">
  655. <em class="thumb"><span><?php echo htmlentities(lang('show_store_index_new_goods')); ?></span></em>
  656. </p>
  657. </a>
  658. </li>
  659. <?php endforeach; endif; else: echo "" ;endif; ?>
  660. </ul>
  661. <?php endif; ?>
  662. </div>
  663. </div>
  664. </div>
  665. </div>
  666. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.SuperSlide.2.1.1.js"></script>
  667. <script>
  668. jQuery(".storeslider").slide({mainCell: ".slides ", autoPlay: true, delayTime: 3000});
  669. </script>
  670. <?php else: ?>
  671. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.SuperSlide.2.1.1.js"></script>
  672. <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/editable_page.css">
  673. <?php if(is_array($config_list) || $config_list instanceof \think\Collection || $config_list instanceof \think\Paginator): if( count($config_list)==0 ) : echo "" ;else: foreach($config_list as $key=>$item): ?>
  674. <div data-type="html" data-id="<?php echo htmlentities($key+1); ?>"><?php echo $item['html']; ?></div>
  675. <?php endforeach; endif; else: echo "" ;endif; ?>
  676. <script>
  677. <?php if(is_array($config_list) || $config_list instanceof \think\Collection || $config_list instanceof \think\Paginator): if( count($config_list)==0 ) : echo "" ;else: foreach($config_list as $key=>$item): ?>
  678. if(typeof(window['loadHtml<?php echo htmlentities($item['val']['editable_page_model_id']); ?>'])!='undefined'){
  679. window['loadHtml<?php echo htmlentities($item['val']['editable_page_model_id']); ?>']($('*[data-type="html"][data-id=<?php echo htmlentities($key+1); ?>]'))
  680. }
  681. <?php endforeach; endif; else: echo "" ;endif; ?>
  682. </script>
  683. <?php endif; ?>
  684. <div class="server">
  685. <div class="ensure">
  686. <a href="#"></a>
  687. <a href="#"></a>
  688. <a href="#"></a>
  689. <a href="#"></a>
  690. </div>
  691. <div class="mall_desc">
  692. <?php if(!(empty($article_list) || (($article_list instanceof \think\Collection || $article_list instanceof \think\Paginator ) && $article_list->isEmpty()))): if(is_array($article_list) || $article_list instanceof \think\Collection || $article_list instanceof \think\Paginator): $_6444fe99ee473 = is_array($article_list) ? array_slice($article_list,0,4, true) : $article_list->slice(0,4, true); if( count($_6444fe99ee473)==0 ) : echo "" ;else: foreach($_6444fe99ee473 as $key=>$art): ?>
  693. <dl>
  694. <dt><?php echo htmlentities($art['ac_name']); ?></dt>
  695. <dd>
  696. <?php if(!(empty($art['list']) || (($art['list'] instanceof \think\Collection || $art['list'] instanceof \think\Paginator ) && $art['list']->isEmpty()))): if(is_array($art['list']) || $art['list'] instanceof \think\Collection || $art['list'] instanceof \think\Paginator): if( count($art['list'])==0 ) : echo "" ;else: foreach($art['list'] as $key=>$list): ?>
  697. <a href="<?php if($list['article_url'] !=''): ?><?php echo htmlentities($list['article_url']); else: ?><?php echo url('Article/show',['article_id'=>$list['article_id']]); ?><?php endif; ?>"><?php echo htmlentities($list['article_title']); ?></a>
  698. <?php endforeach; endif; else: echo "" ;endif; ?>
  699. <?php endif; ?>
  700. </dd>
  701. </dl>
  702. <?php endforeach; endif; else: echo "" ;endif; ?>
  703. <?php endif; ?>
  704. <dl class="mall_mobile">
  705. <dt><?php echo htmlentities(lang('ds_mobile_mall')); ?></dt>
  706. <dd>
  707. <a href="#" class="join">
  708. <img src="<?php echo htmlentities(HOME_SITE_URL); ?>/qrcode?url=<?php echo htmlentities(config('ds_config.h5_site_url')); ?>" width="105" height="105" >
  709. </a>
  710. </dd>
  711. </dl>
  712. </div>
  713. </div>
  714. <?php if(config('ds_config.instant_message_open') == '1' && !isset($wait) && request()->controller() != 'Payment' && request()->controller() != 'Showgroupbuy'): ?>
  715. <?php echo get_chat(); ?>
  716. <?php endif; ?>
  717. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  718. <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/compare.js"></script>
  719. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.css">
  720. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  721. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.js"></script>
  722. <link href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css">
  723. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.lazyload.min.js"></script>
  724. <script>
  725. //懒加载
  726. $("img.lazyload").lazyload({
  727. // placeholder : "<?php echo htmlentities(HOME_SITE_ROOT); ?>/images/loading.gif",
  728. effect: "fadeIn",
  729. skip_invisible : false,
  730. threshold : 200,
  731. });
  732. </script>
  733. <div class="footer-info">
  734. <div class="links w1200">
  735. <?php foreach($navs['footer'] as $nav): ?>
  736. <a href="<?php echo htmlentities($nav['nav_url']); ?>" <?php if($nav['nav_new_open'] == 1): ?>target="_blank"<?php endif; ?>><?php echo htmlentities($nav['nav_title']); ?></a>|
  737. <?php endforeach; ?>
  738. </div>
  739. <div class="copyright">
  740. <p><a href="http://www.beian.gov.cn/portal/registerSystemInfo" target="_blank"><?php echo htmlentities(config('ds_config.wab_number')); ?></a></p>
  741. <p><a href="https://beian.miit.gov.cn" target="_blank"><?php echo htmlentities(config('ds_config.icp_number')); ?></a></p>
  742. <p><?php echo htmlentities(config('ds_config.flow_static_code')); ?></p>
  743. </div>
  744. </div>