a00e6b5c032b1b738b3e5b5b313c6c15.php 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <?php /*a:6:{s:101:"/data/web/mall.valimart.net/app/home/view/default/seller/sellergoodsadd/store_goods_list_offline.html";i:1660026612;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. </div>
  79. <div class="p20">
  80. <?php if(isset($store_closed) && $store_closed): ?>
  81. <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>
  82. <?php endif; ?>
  83. <form method="get" action="">
  84. <table class="search-form">
  85. <tr>
  86. <td>&nbsp;</td>
  87. <th><?php echo htmlentities(lang('store_goods_index_store_goods_class')); ?></th>
  88. <td class="w160"><select name="storegc_id" class="w150">
  89. <option value="0"><?php echo htmlentities(lang('ds_please_choose')); ?></option>
  90. <?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): ?>
  91. <option value="<?php echo htmlentities($val['storegc_id']); ?>" <?php if(app('request')->param('storegc_id') == $val['storegc_id']): ?>selected="selected"<?php endif; ?>><?php echo htmlentities($val['storegc_name']); ?></option>
  92. <?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): ?>
  93. <option value="<?php echo htmlentities($child_val['storegc_id']); ?>" <?php if(app('request')->param('storegc_id') == $child_val['storegc_id']): ?>selected="selected"<?php endif; ?>>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo htmlentities($child_val['storegc_name']); ?></option>
  94. <?php endforeach; endif; else: echo "" ;endif; ?>
  95. <?php endif; ?>
  96. <?php endforeach; endif; else: echo "" ;endif; ?>
  97. <?php endif; ?>
  98. </select></td>
  99. <th>
  100. <select name="search_type">
  101. <option value="0" <?php if(app('request')->param('type') == '0'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('store_goods_index_goods_name')); ?></option>
  102. <option value="1" <?php if(app('request')->param('type') == '1'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('store_goods_index_goods_no')); ?></option>
  103. <option value="2" <?php if(app('request')->param('type') == '2'): ?>selected="selected"<?php endif; ?>><?php echo htmlentities(lang('platform_article_number')); ?></option>
  104. </select>
  105. </th>
  106. <td class="w160"><input type="text" class="text" name="keyword" value="<?php echo htmlentities(app('request')->param('keyword')); ?>"/></td>
  107. <td class="tc w70">
  108. <input type="submit" class="submit" value="<?php echo htmlentities(lang('ds_search')); ?>" />
  109. </td>
  110. </tr>
  111. </table>
  112. </form>
  113. <table class="dssc-default-table">
  114. <thead>
  115. <tr ds_type="table_header">
  116. <th class="w100"></th>
  117. <th class="w50"></th>
  118. <th><?php echo htmlentities(lang('store_goods_index_goods_name')); ?></th>
  119. <th class="w200"><?php echo htmlentities(lang('store_goods_index_price')); ?></th>
  120. <th class="w200"><?php echo htmlentities(lang('store_goods_index_stock')); ?></th>
  121. <th class="w300"><?php echo htmlentities(lang('store_goods_index_show')); ?></th>
  122. <th class="w200"><?php echo htmlentities(lang('ds_handle')); ?></th>
  123. </tr>
  124. <?php if(!empty($goods_list)): ?>
  125. <tr>
  126. <td class="tc"><input type="checkbox" id="all" class="checkall"/></td>
  127. <td colspan="10"><label for="all"><?php echo htmlentities(lang('ds_select_all')); ?></label>
  128. <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>
  129. <a href="javascript:void(0);" class="dssc-btn-mini" ds_type="batchbutton" uri="<?php echo url('Sellergoodsoffline/goods_show'); ?>" name="commonid"><?php echo htmlentities(lang('store_goods_index_show')); ?></a>
  130. </tr>
  131. <?php endif; ?>
  132. </thead>
  133. <tbody>
  134. <?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): ?>
  135. <tr>
  136. <th class="tc"><input type="checkbox" class="checkitem tc" value="<?php echo htmlentities($val['goods_commonid']); ?>"/></th>
  137. <th colspan="20"><?php echo htmlentities(lang('platform_article_number')); ?>:<?php echo htmlentities($val['goods_commonid']); ?></th>
  138. </tr>
  139. <tr>
  140. <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>
  141. <td>
  142. <div class="pic-thumb">
  143. <a href="<?php echo url('Goods/index',['goods_id'=>$storage_array[$val['goods_commonid']]['goods_id']]); ?>" target="_blank"><img src="<?php echo goods_thumb($val, 240); ?>"/></a>
  144. </div>
  145. </td>
  146. <td class="tl"><dl class="goods-name">
  147. <dt style="max-width: 450px !important;">
  148. <?php if($val['is_virtual'] ==1): ?>
  149. <span class="type-virtual" title="<?php echo htmlentities(lang('virtual_exchange')); ?>"><?php echo htmlentities(lang('virtual')); ?></span>
  150. <?php endif; if($val['is_goodsfcode'] ==1): ?>
  151. <span class="type-fcode" title="<?php echo htmlentities(lang('f_code_priority_goods')); ?>"><?php echo htmlentities(lang('sellergoodsadd_f_code')); ?></span>
  152. <?php endif; if($val['is_appoint'] ==1): ?>
  153. <span class="type-appoint" title="<?php echo htmlentities(lang('book_sales_tips')); ?>"><?php echo htmlentities(lang('sellergoodsadd_make')); ?></span>
  154. <?php endif; ?>
  155. <a href="<?php echo url('Goods/index',['goods_id'=>$storage_array[$val['goods_commonid']]['goods_id']]); ?>" target="_blank"><?php echo htmlentities($val['goods_name']); ?></a></dt>
  156. <dd><?php echo htmlentities(lang('store_goods_index_goods_no')); ?><?php echo htmlentities(lang('ds_colon')); ?><?php echo htmlentities($val['goods_serial']); ?></dd>
  157. <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>
  158. <div class="QRcode"><a target="_blank" href="<?php echo goods_qrcode(array('goods_id' => $storage_array[$val['goods_commonid']]['goods_id'])); ?>"><?php echo htmlentities(lang('download_label')); ?></a>
  159. <p><img src="<?php echo goods_qrcode(array('goods_id' => $storage_array[$val['goods_commonid']]['goods_id'])); ?>"/></p>
  160. </div>
  161. </span> </dd>
  162. </dl></td>
  163. <td><span><?php echo htmlentities(lang('currency')); ?><?php echo htmlentities($val['goods_price']); ?></span></td>
  164. <td><span><?php echo htmlentities($storage_array[$val['goods_commonid']]['sum']); ?><?php echo htmlentities(lang('piece')); ?></span></td>
  165. <td><a href="javascript:void(0)" onclick="ds_ajaxget_confirm('<?php echo url('Sellergoodsoffline/goods_show',['commonid'=>$val['goods_commonid']]); ?>','')" class="dssc-btn"><?php echo htmlentities(lang('store_goods_index_show')); ?></a></td>
  166. <td class="dscs-table-handle"><span><a href="<?php echo url('Sellergoodsonline/edit_goods',['commonid'=>$val['goods_commonid']]); ?>" class="btn-blue"><i class="iconfont">&#xe731;</i><p><?php echo htmlentities(lang('ds_edit')); ?></p></a></span>
  167. <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><p><?php echo htmlentities(lang('ds_del')); ?></p></a></span></td>
  168. </tr>
  169. <tr style="display:none;"><td colspan="20"><div class="dssc-goods-sku ps-container"></div></td></tr>
  170. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  171. <tr>
  172. <td colspan="20" class="norecord"><div class="warning-option"><i class="iconfont">&#xe64c;</i><span><?php echo htmlentities(lang('no_record')); ?></span></div></td>
  173. </tr>
  174. <?php endif; ?>
  175. </tbody>
  176. <?php if(!(empty($goods_list) || (($goods_list instanceof \think\Collection || $goods_list instanceof \think\Paginator ) && $goods_list->isEmpty()))): ?>
  177. <tfoot>
  178. <tr>
  179. <th class="tc"><input type="checkbox" id="all2" class="checkall"/></th>
  180. <th colspan="10"><label for="all2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
  181. <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>
  182. <a href="javascript:void(0);" class="dssc-btn-mini" ds_type="batchbutton" uri="<?php echo url('Sellergoodsoffline/goods_show'); ?>" name="commonid"><?php echo htmlentities(lang('store_goods_index_show')); ?></a></th>
  183. </tr>
  184. <tr>
  185. <td colspan="20"><div class="pagination"><?php echo $show_page; ?></div></td>
  186. </tr>
  187. </tfoot>
  188. <?php endif; ?>
  189. </table>
  190. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.poshytip.min.js"></script>
  191. <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/store_goods_list.js"></script>
  192. <script>
  193. $(function(){
  194. //Ajax提示
  195. $('.tip').poshytip({
  196. className: 'tip-yellowsimple',
  197. showTimeout: 1,
  198. alignTo: 'target',
  199. alignX: 'center',
  200. alignY: 'top',
  201. offsetY: 5,
  202. allowTipHover: false
  203. });
  204. });
  205. </script>
  206. </div>
  207. </div>
  208. </div>
  209. <?php if(config('ds_config.instant_message_open') == '1' && !isset($wait) && request()->controller() != 'Payment' && request()->controller() != 'Showgroupbuy'): ?>
  210. <?php echo get_chat(); ?>
  211. <?php endif; ?>
  212. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  213. <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/compare.js"></script>
  214. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.css">
  215. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  216. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.js"></script>
  217. <link href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css">
  218. <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.lazyload.min.js"></script>
  219. <script>
  220. //懒加载
  221. $("img.lazyload").lazyload({
  222. // placeholder : "<?php echo htmlentities(HOME_SITE_ROOT); ?>/images/loading.gif",
  223. effect: "fadeIn",
  224. skip_invisible : false,
  225. threshold : 200,
  226. });
  227. </script>
  228. <div class="footer-info">
  229. <div class="links w1200">
  230. <?php foreach($navs['footer'] as $nav): ?>
  231. <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>|
  232. <?php endforeach; ?>
  233. </div>
  234. <div class="copyright">
  235. <p><a href="http://www.beian.gov.cn/portal/registerSystemInfo" target="_blank"><?php echo htmlentities(config('ds_config.wab_number')); ?></a></p>
  236. <p><a href="https://beian.miit.gov.cn" target="_blank"><?php echo htmlentities(config('ds_config.icp_number')); ?></a></p>
  237. <p><?php echo htmlentities(config('ds_config.flow_static_code')); ?></p>
  238. </div>
  239. </div>