123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267 |
- <?php /*a:6:{s:78:"/data/web/mall.valimart.net/app/home/view/default/seller/sellerspec/index.html";i:1657785122;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;}*/ ?>
- <!doctype html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><?php if(isset($html_title) && $html_title): ?><?php echo htmlentities($html_title); else: ?><?php echo htmlentities(lang('store_callcenter')); ?><?php endif; ?></title>
- <meta name="renderer" content="webkit|ie-comp|ie-stand">
- <meta name="keywords" content="<?php echo htmlentities((isset($seo_keywords) && ($seo_keywords !== '')?$seo_keywords:'')); ?>" />
- <meta name="description" content="<?php echo htmlentities((isset($seo_description) && ($seo_description !== '')?$seo_description:'')); ?>" />
- <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/common.css">
- <link rel="stylesheet" href="<?php echo htmlentities(HOME_SITE_ROOT); ?>/css/seller.css">
- <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
- <script>
- var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
- var HOMESITEROOT = "<?php echo htmlentities(HOME_SITE_ROOT); ?>";
- var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
- var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
- </script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/additional-methods.min.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
- <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/member.js"></script>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
- <script>
- 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;}})();
- </script>
- </head>
- <body>
- <div id="append_parent"></div>
- <div id="ajaxwaitid"></div>
-
- <div class="seller_main">
- <div class="seller_left">
- <div class="seller_left_1">
- <div class="logo">
- <a href="<?php echo url('Seller/index'); ?>">
- <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; ?>"/>
- </a>
- </div>
- <div class="sidebar">
- <a href="<?php echo url('Store/index',['store_id'=>session('store_id')]); ?>" target="_blank"><i class="iconfont"></i><?php echo htmlentities(lang('ds_mystroe')); ?></a>
- <?php if(config('ds_config.instant_message_open') == '1'): ?>
- <a href="javascript:void(0);" id="chat_show_user"><i class="iconfont"></i><?php echo htmlentities(lang('ds_chat')); ?></a>
- <?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): ?>
- <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>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </div>
- <div class="mb">
- <a href="<?php echo url('Sellerlogin/logout'); ?>"><?php echo htmlentities(lang('exit')); ?></a>
- </div>
- </div>
- <div class="seller_left_2">
- <div class="mt">
- <?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; ?>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </div>
- <div class="mc">
- <?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): ?>
- <a href="<?php echo htmlentities($submenu['url']); ?>" <?php if($submenu['name'] == $cursubmenu): ?>class="active"<?php endif; ?>><?php echo htmlentities($submenu['text']); ?></a>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- <?php endif; ?>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </div>
- </div>
- </div>
- <div class="seller_right">
- <div class="seller_items">
- <?php if(!(empty($seller_item) || (($seller_item instanceof \think\Collection || $seller_item instanceof \think\Paginator ) && $seller_item->isEmpty()))): ?>
- <ul>
- <?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): ?>
- <li <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><a href="<?php echo htmlentities($item['url']); ?>"><?php echo htmlentities($item['text']); ?></a></li>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </ul>
- <?php endif; ?>
-
- </div>
- <div class="p20">
- <?php if(isset($store_closed) && $store_closed): ?>
- <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>
- <?php endif; ?>
-
- <div class="alert mt15 mb5"><strong><?php echo htmlentities(lang('operating_instructions')); ?>:</strong>
- <ul>
- <li><?php echo htmlentities(lang('sellerspec_tip1')); ?></li>
- <li><?php echo htmlentities(lang('sellerspec_tip2')); ?><font color="red"><?php echo htmlentities(lang('sellerspec_tip3')); ?></font><?php echo htmlentities(lang('sellerspec_tip4')); ?></li>
- <li><?php echo htmlentities(lang('sellerspec_tip5')); ?></li>
- </ul>
- </div>
- <table class="search-form">
- <tr>
- <td class="w20"> </td>
- <td class="w120"><strong><?php echo htmlentities(lang('select_business_category')); ?></strong></td>
- <td>
- <span dstype="gc1">
- <?php if(!(empty($gc_list) || (($gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator ) && $gc_list->isEmpty()))): ?>
- <select dstype="gc" data-param="{deep:1}">
- <option><?php echo htmlentities(lang('ds_please_choose')); ?></option>
- <?php if(is_array($gc_list) || $gc_list instanceof \think\Collection || $gc_list instanceof \think\Paginator): if( count($gc_list)==0 ) : echo "" ;else: foreach($gc_list as $key=>$val): ?>
- <option value="<?php echo htmlentities($val['gc_id']); ?>"><?php echo htmlentities($val['gc_name']); ?></option>
- <?php endforeach; endif; else: echo "" ;endif; ?>
- </select>
- <?php endif; ?>
- </span>
- <span dstype="gc2"></span>
- <span dstype="gc3"></span>
- </td>
- <td> </td>
- </tr>
- </table>
- <div dstype="class_spec" class="dssc-goods-spec">
- <div dstype="spec_ul" class="spec-tabmenu"></div>
- <div dstype="spec_iframe" class="spec-iframe">
- <div class="norecord tc">
- <div class="warning-option"><i class="iconfont"></i><span><?php echo htmlentities(lang('no_record')); ?></span>
- </div>
- </div>
- </div>
- </div>
- <!--<script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/mlselection.js"></script>
- <script>
- $(function () {
- gcategoryInit("gcategory");
- });
- </script>-->
- <script>
- $(function() {
- // 查询下级分类,分类不存在显示当前分类绑定的规格
- $('select[dstype="gc"]').change(function() {
- $(this).parents('td:first').nextAll().html('');
- $('div[dstype="spec_ul"]').html('');
- $('div[dstype="spec_iframe"]').html('');
- getClassSpec($(this));
- });
- });
- // ajax选择商品分类
- function getClassSpec($this) {
- var id = parseInt($this.val());
- var data_str = '';
- eval('data_str =' + $this.attr('data-param'));
- var deep = data_str.deep;
- if (isNaN(id)) {
- // 清理分类
- clearClassHtml(parseInt(deep) + 1);
- }
- $.getJSON('ajax_class?id=' + id + '&deep=' + deep, function(data) {
- $('div[dstype="spec_iframe"]').empty();
- $('div[dstype="spec_ul"]').empty();
- if (data) {
- if (data.type == 'class') {
- nextClass(data.data, data.deep);
- } else if (data.type == 'spec') {
- specList(data.data, data.deep, data.gcid);
- }
- }
- });
- }
- // 下一级商品分类
- function nextClass(data, deep) {
- $('span[dstype="gc' + deep + '"]').html('').append('<select data-param="{deep:' + deep + '}"></select>')
- .find('select').change(function() {
- getClassSpec($(this));
- }).append('<option><?php echo htmlentities(lang('ds_please_choose')); ?></option>');
- $.each(data, function(i, n) {
- if (n != null) {
- $('span[dstype="gc' + deep + '"] > select').append('<option value="' + n.gc_id + '">' + n.gc_name + '</option>');
- }
- });
- // 清理分类
- clearClassHtml(parseInt(deep) + 1);
- }
- // 列出规格信息
- function specList(data, deep, gcid) {
- if (typeof(data) != 'undefined' && data != '') {
- var $_ul = $('<ul></ul>');
- $.each(data, function(i, n) {
- $_ul.append('<li><a href="javascript:void(0);" dstype="editSpec" data-param="{spid:' + n.sp_id + ',gcid:' + gcid + '}"><?php echo htmlentities(lang('ds_edit')); ?>' + n.sp_name + '<?php echo htmlentities(lang('specifications')); ?></a></li>');
- });
- $_ul.find('a').click(function() {
- $_ul.find('li').removeClass('selected');
- $(this).parents('li:first').addClass('selected');
- editSpecvalue($(this));
- });
- $_ul.find('a:first').click();
- $('div[dstype="spec_ul"]').append($_ul);
- } else {
- $('div[dstype="spec_ul"]').append('<div class="warning-option"><i class="iconfont"></i><span><?php echo htmlentities(lang('category_cannot_add_specifications')); ?></span></div>');
- }
- // 清理分类
- clearClassHtml(deep);
- }
- // 清理二级分类信息
- function clearClassHtml(deep) {
- switch (deep) {
- case 2:
- $('span[dstype="gc2"]').empty();
- case 3:
- $('span[dstype="gc3"]').empty();
- break;
- }
- }
- // ajax编辑规格值
- function editSpecvalue(o) {
- $('div[dstype="spec_iframe"]').html('');
- var data_str = '';
- eval('data_str =' + o.attr('data-param'));
- $_iframe = $('<iframe id="iframepage" name="iframepage" frameBorder=0 scrolling=no width="100%" height="630px" ' + 'src="<?php echo url('Sellerspec/add_spec'); ?>?spid=' + data_str.spid + '&gcid=' + data_str.gcid + '" ></iframe>'
- )
- ;
- $('div[dstype="spec_iframe"]').append($_iframe);
- }
- </script>
- </div>
- </div>
- </div>
- <?php if(config('ds_config.instant_message_open') == '1' && !isset($wait) && request()->controller() != 'Payment' && request()->controller() != 'Showgroupbuy'): ?>
- <?php echo get_chat(); ?>
- <?php endif; ?>
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
- <script src="<?php echo htmlentities(HOME_SITE_ROOT); ?>/js/compare.js"></script>
- <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.css">
- <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
- <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.js"></script>
- <link href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/qtip/jquery.qtip.min.css" rel="stylesheet" type="text/css">
- <script type="text/javascript" src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.lazyload.min.js"></script>
- <script>
- //懒加载
- $("img.lazyload").lazyload({
- // placeholder : "<?php echo htmlentities(HOME_SITE_ROOT); ?>/images/loading.gif",
- effect: "fadeIn",
- skip_invisible : false,
- threshold : 200,
- });
- </script>
- <div class="footer-info">
- <div class="links w1200">
- <?php foreach($navs['footer'] as $nav): ?>
- <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>|
- <?php endforeach; ?>
- </div>
- <div class="copyright">
- <p><a href="http://www.beian.gov.cn/portal/registerSystemInfo" target="_blank"><?php echo htmlentities(config('ds_config.wab_number')); ?></a></p>
- <p><a href="https://beian.miit.gov.cn" target="_blank"><?php echo htmlentities(config('ds_config.icp_number')); ?></a></p>
- <p><?php echo htmlentities(config('ds_config.flow_static_code')); ?></p>
- </div>
- </div>
|