a9600c675bdd92f5eb72229596d2abba.php 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. <?php /*a:6:{s:100:"/data/web/mall.valimart.net/app/home/view/default/seller/sellergoodsadd/store_goods_list_online.html";i:1660096322;s:71:"/data/web/mall.valimart.net/app/home/view/default/base/base_seller.html";i:1657785114;s:70:"/data/web/mall.valimart.net/app/home/view/default/base/seller_top.html";i:1660125338;s:71:"/data/web/mall.valimart.net/app/home/view/default/base/seller_left.html";i:1657785114;s:72:"/data/web/mall.valimart.net/app/home/view/default/base/seller_items.html";i:1657785114;s:71:"/data/web/mall.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 if(isset($html_title) && $html_title): ?><?php echo htmlentities($html_title); else: ?><?php echo htmlentities(lang('store_callcenter')); ?><?php endif; ?></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. <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/common.css">
  11. <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/seller.css">
  12. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.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. </script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  20. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  21. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  22. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  23. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  24. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/additional-methods.min.js"></script>
  25. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  26. <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/member.js"></script>
  27. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
  28. <script>
  29. jQuery.browser={};(function(){jQuery.browser.msie=false; jQuery.browser.version=0;if(navigator.userAgent.match(/MSIE ([0-9]+)./)){ jQuery.browser.msie=true;jQuery.browser.version=RegExp.$1;}})();
  30. </script>
  31. </head>
  32. <body>
  33. <div id="append_parent"></div>
  34. <div id="ajaxwaitid"></div>
  35. <div class="seller_main">
  36. <div class="seller_left">
  37. <div class="seller_left_1">
  38. <div class="logo">
  39. <a href="<?php echo url('Seller/index'); ?>">
  40. <img src="<?php if(config('ds_config.seller_center_logo') == ''): ?><?php echo htmlentities(BASE_SITE_ROOT); ?>/uploads/home/common/seller_center_logo.png<?php else: ?><?php echo ds_get_pic(ATTACH_COMMON,config('ds_config.seller_center_logo')); ?><?php endif; ?>"/>
  41. </a>
  42. </div>
  43. <div class="sidebar">
  44. <a href="<?php echo url('Store/index',['store_id'=>session('store_id')]); ?>" target="_blank"><i class="iconfont">&#xe6da;</i><?php echo htmlentities(lang('ds_mystroe')); ?></a>
  45. <?php if(config('ds_config.instant_message_open') == '1'): ?>
  46. <a href="javascript:void(0);" id="chat_show_user"><i class="iconfont">&#xe71b;</i><?php echo htmlentities(lang('ds_chat')); ?></a>
  47. <?php endif; if(is_array($seller_menu) || $seller_menu instanceof \think\Collection || $seller_menu instanceof \think\Paginator): if( count($seller_menu)==0 ) : echo "" ;else: foreach($seller_menu as $menu_key=>$menu): ?>
  48. <a href="<?php echo htmlentities($menu['url']); ?>" <?php if($menu_key == $curmenu): ?>class="active"<?php endif; ?>><i class="iconfont"><?php echo $menu['ico']; ?></i><?php echo htmlentities($menu['text']); ?></a>
  49. <?php endforeach; endif; else: echo "" ;endif; ?>
  50. </div>
  51. <div class="mb">
  52. <a href="<?php echo url('Sellerlogin/logout'); ?>"><?php echo htmlentities(lang('exit')); ?></a>
  53. </div>
  54. </div>
  55. <div class="seller_left_2">
  56. <div class="mt">
  57. <?php if(is_array($seller_menu) || $seller_menu instanceof \think\Collection || $seller_menu instanceof \think\Paginator): if( count($seller_menu)==0 ) : echo "" ;else: foreach($seller_menu as $menu_key=>$menu): if($menu_key == $curmenu): ?><?php echo htmlentities($menu['text']); ?><?php endif; ?>
  58. <?php endforeach; endif; else: echo "" ;endif; ?>
  59. </div>
  60. <div class="mc">
  61. <?php if(is_array($seller_menu) || $seller_menu instanceof \think\Collection || $seller_menu instanceof \think\Paginator): if( count($seller_menu)==0 ) : echo "" ;else: foreach($seller_menu as $menu_key=>$menu): if($menu_key == $curmenu): if(is_array($menu['submenu']) || $menu['submenu'] instanceof \think\Collection || $menu['submenu'] instanceof \think\Paginator): if( count($menu['submenu'])==0 ) : echo "" ;else: foreach($menu['submenu'] as $key=>$submenu): ?>
  62. <a href="<?php echo htmlentities($submenu['url']); ?>" <?php if($submenu['name'] == $cursubmenu): ?>class="active"<?php endif; ?>><?php echo htmlentities($submenu['text']); ?></a>
  63. <?php endforeach; endif; else: echo "" ;endif; ?>
  64. <?php endif; ?>
  65. <?php endforeach; endif; else: echo "" ;endif; ?>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="seller_right">
  70. <div class="seller_items">
  71. <?php if(!(empty($seller_item) || (($seller_item instanceof \think\Collection || $seller_item instanceof \think\Paginator ) && $seller_item->isEmpty()))): ?>
  72. <ul>
  73. <?php if(is_array($seller_item) || $seller_item instanceof \think\Collection || $seller_item instanceof \think\Paginator): if( count($seller_item)==0 ) : echo "" ;else: foreach($seller_item as $key=>$item): ?>
  74. <li <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><a href="<?php echo htmlentities($item['url']); ?>"><?php echo htmlentities($item['text']); ?></a></li>
  75. <?php endforeach; endif; else: echo "" ;endif; ?>
  76. </ul>
  77. <?php endif; ?>
  78. <a href="<?php echo url('Sellergoodsadd/index'); ?>" class="dssc-btn dssc-btn-green" title="<?php echo htmlentities(lang('store_goods_index_add_goods')); ?>"> <?php echo htmlentities(lang('store_goods_index_add_goods')); ?></a>
  79. </div>
  80. <div class="p20">
  81. <?php if(isset($store_closed) && $store_closed): ?>
  82. <div class="alert mt10"> <strong><?php echo htmlentities(lang('store_closed_reason')); ?>:<?php echo htmlentities($store_closed); ?>。</strong> <?php echo htmlentities(lang('please_contact_admin')); ?>!</div>
  83. <?php endif; ?>
  84. <form method="get" action="">
  85. <table class="search-form">
  86. <tr>
  87. <td>&nbsp;</td>
  88. <th><?php echo htmlentities(lang('store_goods_index_store_goods_class')); ?></th>
  89. <td class="w160"><select name="storegc_id" class="w150">
  90. <option value="0"><?php echo htmlentities(lang('ds_please_choose')); ?></option>
  91. <?php if(!(empty($store_goods_class) || (($store_goods_class instanceof \think\Collection || $store_goods_class instanceof \think\Paginator ) && $store_goods_class->isEmpty()))): if(is_array($store_goods_class) || $store_goods_class instanceof \think\Collection || $store_goods_class instanceof \think\Paginator): if( count($store_goods_class)==0 ) : echo "" ;else: foreach($store_goods_class as $key=>$val): ?>
  92. <option value="<?php echo htmlentities($val['storegc_id']); ?>" <?php if(app('request')->get('storegc_id') == $val['storegc_id']): ?>selected=selected<?php endif; ?>><?php echo htmlentities($val['storegc_name']); ?></option>
  93. <?php if(isset($val['child']) && count($val['child'])>0): if(is_array($val['child']) || $val['child'] instanceof \think\Collection || $val['child'] instanceof \think\Paginator): if( count($val['child'])==0 ) : echo "" ;else: foreach($val['child'] as $key=>$child_val): ?>
  94. <option value="<?php echo htmlentities($child_val['storegc_id']); ?>" <?php if(app('request')->get('storegc_id') == $child_val['storegc_id']): ?>selected=selected<?php endif; ?>>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo htmlentities($child_val['storegc_name']); ?></option>
  95. <?php endforeach; endif; else: echo "" ;endif; ?>
  96. <?php endif; ?>
  97. <?php endforeach; endif; else: echo "" ;endif; ?>
  98. <?php endif; ?>
  99. </select></td>
  100. <th><?php echo htmlentities(lang('store_goods_index_stock')); ?></th>
  101. <td class="w110">
  102. <select name="stock">
  103. <option value="" <?php if(app('request')->param('stock')): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('ds_please_choose')); ?></option>
  104. <option value="1" <?php if(app('request')->param('stock') == '1'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('store_goods_index_stock_warning')); ?></option>
  105. </select>
  106. </td>
  107. <th> <select name="search_type">
  108. <option value="0" <?php if(app('request')->param('type') == '0'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('store_goods_index_goods_name')); ?></option>
  109. <option value="1" <?php if(app('request')->param('type') == '1'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('store_goods_index_goods_no')); ?></option>
  110. <option value="2" <?php if(app('request')->param('type') == '2'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('platform_article_number')); ?></option>
  111. </select>
  112. </th>
  113. <td class="w160"><input type="text" class="text w150" name="keyword" value="<?php echo htmlentities(app('request')->param('keyword')); ?>"/></td>
  114. <td class="tc w70">
  115. <input type="submit" class="submit" value="<?php echo htmlentities(lang('ds_search')); ?>" />
  116. </td>
  117. </tr>
  118. </table>
  119. </form>
  120. <table class="dssc-default-table">
  121. <thead>
  122. <tr ds_type="table_header">
  123. <th class="w30">&nbsp;</th>
  124. <th class="w50">&nbsp;</th>
  125. <th coltype="editable" column="goods_name" checker="check_required" inputwidth="230px"><?php echo htmlentities(lang('store_goods_index_goods_name')); ?></th>
  126. <th class="w200"><?php echo htmlentities(lang('store_goods_index_price')); ?></th>
  127. <th class="w200"><?php echo htmlentities(lang('store_goods_index_stock')); ?></th>
  128. <th class="w200"><?php echo htmlentities(lang('store_goods_index_add_time')); ?></th>
  129. <th class="w200"><?php echo htmlentities(lang('store_goods_index_sort')); ?></th>
  130. <th class="w220"><?php echo htmlentities(lang('ds_handle')); ?></th>
  131. </tr>
  132. <?php if(!(empty($goods_list) || (($goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator ) && $goods_list->isEmpty()))): ?>
  133. <tr>
  134. <td class="tc"><input type="checkbox" id="all" class="checkall"/></td>
  135. <td colspan="6"><label for="all" ><?php echo htmlentities(lang('ds_select_all')); ?></label>
  136. <a href="javascript:void(0);" class="dssc-btn-mini" ds_type="batchbutton" uri="<?php echo url('Sellergoodsonline/drop_goods'); ?>" name="commonid" confirm="<?php echo htmlentities(lang('ds_ensure_del')); ?>"><i class="iconfont">&#xe725;</i><?php echo htmlentities(lang('ds_del')); ?></a>
  137. <a href="javascript:void(0);" class="dssc-btn-mini" ds_type="batchbutton" uri="<?php echo url('Sellergoodsonline/goods_unshow'); ?>" name="commonid"><?php echo htmlentities(lang('store_goods_index_unshow')); ?></a>
  138. <a href="javascript:void(0);" class="dssc-btn-mini" dstype="batch" data-param="{urls:'<?php echo url('Sellergoodsonline/edit_jingle'); ?>', sign:'jingle'}"><i></i><?php echo htmlentities(lang('advertising')); ?></a>
  139. <a href="javascript:void(0);" class="dssc-btn-mini" dstype="batch" data-param="{urls:'<?php echo url('Sellergoodsonline/edit_plate'); ?>', sign:'plate'}"><i></i><?php echo htmlentities(lang('set_associated_layout')); ?></a>
  140. </td>
  141. </tr>
  142. <?php endif; ?>
  143. </thead>
  144. <tbody>
  145. <?php if(!(empty($goods_list) || (($goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator ) && $goods_list->isEmpty()))): if(is_array($goods_list) || $goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator): if( count($goods_list)==0 ) : echo "" ;else: foreach($goods_list as $key=>$val): ?>
  146. <tr>
  147. <th class="tc"><input type="checkbox" class="checkitem tc" value="<?php echo htmlentities($val['goods_commonid']); ?>"/></th>
  148. <th colspan="20"><?php echo htmlentities(lang('platform_article_number')); ?>:<?php echo htmlentities($val['goods_commonid']); ?></th>
  149. </tr>
  150. <tr>
  151. <td class="trigger"><i class="tip iconfont" dstype="ajaxGoodsList" data-comminid="<?php echo htmlentities($val['goods_commonid']); ?>" title="<?php echo htmlentities(lang('click_check_goods')); ?>">&#xe6db;</i></td>
  152. <td><div class="pic-thumb"><a href="<?php echo url('Goods/index',['goods_id'=>$val['goods_id']]); ?>" target="_blank"><img src="<?php echo goods_thumb($val, 240); ?>"/></a></div></td>
  153. <td class="tl"><dl class="goods-name">
  154. <dt style="max-width: 450px !important;">
  155. <?php if($val['is_virtual'] ==1): ?>
  156. <span class="type-virtual" title="<?php echo htmlentities(lang('virtual_exchange')); ?>"><?php echo htmlentities(lang('virtual')); ?></span>
  157. <?php endif; if($val['is_goodsfcode'] ==1): ?>
  158. <span class="type-fcode" title="<?php echo htmlentities(lang('f_code_priority_goods')); ?>"><?php echo htmlentities(lang('sellergoodsadd_f_code')); ?></span>
  159. <?php endif; if($val['is_appoint'] ==1): ?>
  160. <span class="type-appoint" title="<?php echo htmlentities(lang('book_sales_tips')); ?>"><?php echo htmlentities(lang('sellergoodsadd_make')); ?></span>
  161. <?php endif; ?>
  162. <a href="<?php echo url('Goods/index',['goods_id'=>$val['goods_id']]); ?>" target="_blank"><?php echo htmlentities($val['goods_name']); ?></a></dt>
  163. <dd><?php echo htmlentities(lang('store_goods_index_goods_no')); ?><?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['goods_serial']); ?></dd>
  164. <dd class="serve"> <span class="<?php if($val['goods_commend'] == 1): ?>open<?php endif; ?>" title="<?php echo htmlentities(lang('shop_recommendation')); ?>"><i class="commend"><?php echo htmlentities(lang('commend')); ?></i></span> <span class="<?php if($val['mobile_body'] != ''): ?>open<?php endif; ?>" title="<?php echo htmlentities(lang('details_products_mobile_phones')); ?>"><i class="iconfont">&#xe601;</i></span> <span class="" title="<?php echo htmlentities(lang('product_page_qr_code')); ?>"><i class="iconfont">&#xe72d;</i>
  165. <div class="QRcode"><a target="_blank" href="<?php echo goods_qrcode(array('goods_id' => $val['goods_id'])); ?>"><?php echo htmlentities(lang('download_label')); ?></a>
  166. <p><img src="<?php echo goods_qrcode(array('goods_id' => $val['goods_id'])); ?>"/></p>
  167. </div>
  168. </span>
  169. <?php if($val['is_goodsfcode'] ==1): ?>
  170. <span><a class="dssc-btn-mini dssc-btn-red" href="<?php echo url('Sellergoodsonline/download_f_code_excel',['commonid'=>$val['goods_commonid']]); ?>"><?php echo htmlentities(lang('download_code_f')); ?></a></span>
  171. <?php endif; if(!(empty($val['goods_type_cn']) || (($val['goods_type_cn'] instanceof \think\Collection || $val['goods_type_cn'] instanceof \think\Paginator ) && $val['goods_type_cn']->isEmpty()))): ?>
  172. <em class="sale-type" style="color:#fff"><?php echo htmlentities($val['goods_type_cn']); ?></em>
  173. <?php endif; ?>
  174. </dd>
  175. </dl></td>
  176. <td<?php if($val['goods_lock'] == 0 && $val['virtual_type']==0): ?> class="hover" ds_type="dialog" dialog_width="720" dialog_id="edit_storage" dialog_title="<?php echo htmlentities(lang('edit_storage')); ?>" uri="<?php echo url('Sellergoodsonline/edit_storage',['commonid'=>$val['goods_commonid']]); ?>"<?php endif; ?>><span><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($val['goods_price']); ?></span><i class="iconfont hidden">&#xe731;</i></td>
  177. <td<?php if($val['virtual_type']==0): ?> class="hover" ds_type="dialog" dialog_width="720" dialog_id="edit_storage" dialog_title="<?php echo htmlentities(lang('edit_storage')); ?>" uri="<?php echo url('Sellergoodsonline/edit_storage',['commonid'=>$val['goods_commonid']]); ?>"<?php endif; ?>><span <?php if(isset($val['alarm'])): ?>style="color:red;"<?php endif; ?>><?php echo htmlentities($val['sum']); ?><?php echo htmlentities(lang('piece')); ?></span><i class="iconfont hidden">&#xe731;</i></td>
  178. <td class="goods-time"><?php echo htmlentities(date("Y-m-d",!is_numeric($val['goods_addtime'])? strtotime($val['goods_addtime']) : $val['goods_addtime'])); ?></td>
  179. <td>
  180. <a href="javascript:void(0);" dstype="sort" data-param="{urls:'<?php echo url('Sellergoodsonline/edit_sort',['commonid'=>$val['goods_commonid']]); ?>'}"><?php echo htmlentities($val['goods_sort']); ?><i class="iconfont">&#xe731;</i></a>
  181. </td>
  182. <td class="dscs-table-handle">
  183. <?php if($val['goods_lock'] == 0): ?>
  184. <span><a href="<?php echo url('Sellergoodsonline/edit_goods',['commonid'=>$val['goods_commonid']]); ?>" class="btn-blue"><i class="iconfont">&#xe731;</i>
  185. <p><?php echo htmlentities(lang('ds_edit')); ?></p>
  186. </a></span> <span><a href="javascript:void(0);" onclick="ds_ajaxget_confirm('<?php echo url('Sellergoodsonline/drop_goods',['commonid'=>$val['goods_commonid']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>');" class="btn-red"><i class="iconfont">&#xe725;</i>
  187. <p><?php echo htmlentities(lang('ds_del')); ?></p>
  188. </a></span>
  189. <?php else: ?>
  190. <span class="tip" title="<?php echo htmlentities(lang('participate_activity_operation')); ?>"><a readonly="readonly" class="btn-orange-current"><i class="iconfont">&#xe768;</i>
  191. <p><?php echo htmlentities(lang('lock')); ?></p>
  192. </a></span>
  193. <?php endif; ?>
  194. </td>
  195. </tr>
  196. <tr style="display:none;">
  197. <td colspan="7"><div class="dssc-goods-sku ps-container"></div></td>
  198. </tr>
  199. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  200. <tr>
  201. <td colspan="7" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span><?php echo htmlentities(lang('no_record')); ?></span></div></td>
  202. </tr>
  203. <?php endif; ?>
  204. </tbody>
  205. <tfoot>
  206. <?php if(!(empty($goods_list) || (($goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator ) && $goods_list->isEmpty()))): ?>
  207. <tr>
  208. <th class="tc"><input type="checkbox" id="all2" class="checkall"/></th>
  209. <th colspan="6"><label for="all2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
  210. <a href="javascript:void(0);" ds_type="batchbutton" uri="<?php echo url('Sellergoodsonline/drop_goods'); ?>" name="commonid" confirm="<?php echo htmlentities(lang('ds_ensure_del')); ?>" class="dssc-btn-mini"><i class="iconfont">&#xe725;</i><?php echo htmlentities(lang('ds_del')); ?></a>
  211. <a href="javascript:void(0);" ds_type="batchbutton" uri="<?php echo url('Sellergoodsonline/goods_unshow'); ?>" name="commonid" class="dssc-btn-mini"><?php echo htmlentities(lang('store_goods_index_unshow')); ?></a>
  212. <a href="javascript:void(0);" class="dssc-btn-mini" dstype="batch" data-param="{urls:'<?php echo url('Sellergoodsonline/edit_jingle'); ?>', sign:'jingle'}"><?php echo htmlentities(lang('advertising')); ?></a>
  213. <a href="javascript:void(0);" class="dssc-btn-mini" dstype="batch" data-param="{urls:'<?php echo url('Sellergoodsonline/edit_plate'); ?>', sign:'plate'}"><?php echo htmlentities(lang('set_associated_layout')); ?></a>
  214. </th>
  215. </tr>
  216. <tr>
  217. <td colspan="7"><div class="pagination"> <?php echo $show_page; ?></div></td>
  218. </tr>
  219. <?php endif; ?>
  220. </tfoot>
  221. </table>
  222. <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/store_goods_list.js"></script>
  223. <script>
  224. $(function () {
  225. $('a[dstype="batch"]').click(function () {
  226. if ($('.checkitem:checked').length == 0) { //没有选择
  227. layer.alert('<?php echo htmlentities(lang('select_record_want_operate')); ?>');
  228. return false;
  229. }
  230. var _items = '';
  231. $('.checkitem:checked').each(function () {
  232. _items += $(this).val() + ',';
  233. });
  234. _items = _items.substr(0, (_items.length - 1));
  235. var data_str = '';
  236. eval('data_str = ' + $(this).attr('data-param'));
  237. if (data_str.sign == 'jingle') {
  238. ajax_form('ajax_jingle', '<?php echo htmlentities(lang('advertising')); ?>', data_str.urls + '?commonid=' + _items + '&inajax=1', '480');
  239. } else if (data_str.sign == 'plate') {
  240. ajax_form('ajax_plate', '<?php echo htmlentities(lang('set_associated_layout')); ?>', data_str.urls + '?commonid=' + _items + '&inajax=1', '480');
  241. }
  242. });
  243. });
  244. $(function () {
  245. $('a[dstype="sort"]').click(function () {
  246. var _items = '';
  247. $('.checkitem:checked').each(function () {
  248. _items = $(this).val();
  249. });
  250. _items = _items.substr(0, (_items.length - 1));
  251. var data_str = '';
  252. eval('data_str = ' + $(this).attr('data-param'));
  253. ajax_form('ajax_jingle', '<?php echo htmlentities(lang('set_goods_sort')); ?>', data_str.urls + '&inajax=1', '480');
  254. });
  255. });
  256. </script>
  257. </div>
  258. </div>
  259. </div>
  260. <?php if(config('ds_config.instant_message_open') == '1' && !isset($wait) && request()->controller() != 'Payment' && request()->controller() != 'Showgroupbuy'): ?>
  261. <?php echo get_chat(); ?>
  262. <?php endif; ?>
  263. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  264. <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/compare.js"></script>
  265. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.css">
  266. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  267. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.js"></script>
  268. <link href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css">
  269. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.lazyload.min.js"></script>
  270. <script>
  271. //懒加载
  272. $("img.lazyload").lazyload({
  273. // placeholder : "<?php echo htmlentities(HOME_SITE_ROOT); ?>/images/loading.gif",
  274. effect: "fadeIn",
  275. skip_invisible : false,
  276. threshold : 200,
  277. });
  278. </script>
  279. <div class="footer-info">
  280. <div class="links w1200">
  281. <?php foreach($navs['footer'] as $nav): ?>
  282. <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>|
  283. <?php endforeach; ?>
  284. </div>
  285. <div class="copyright">
  286. <p><a href="http://www.beian.gov.cn/portal/registerSystemInfo" target="_blank"><?php echo htmlentities(config('ds_config.wab_number')); ?></a></p>
  287. <p><a href="https://beian.miit.gov.cn" target="_blank"><?php echo htmlentities(config('ds_config.icp_number')); ?></a></p>
  288. <p><?php echo htmlentities(config('ds_config.flow_static_code')); ?></p>
  289. </div>
  290. </div>