<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="format-detection" content="telephone=no" />
  <meta name="full-screen" content="yes">
  <meta name="x5-fullscreen" content="true">
  <meta name="keywords" content="中国中医药临床案例成果库" />
  <meta name="description" content="中医药" />
  <meta name="robots" content="all">
  <meta property="og:url" content="https://www.tcmjc.com/alk" />
  <meta property="og:type" content="website" />
  <meta property="og:site_name" content="eTM" />
  <meta property="og:title" content="中国中医药临床案例成果库" />
  <meta property="og:description" content="中医药" />
  <!-- <meta property="og:image" content="https://www.sciengine.com/img/issue/1962408958148739072" /> -->
  <meta property="og:image" content="/img/issue/1962408958148739072" />
  <meta property="twitter:title" content="中国中医药临床案例成果库" />
  <meta property="twitter:image:alt" content="中国中医药临床案例成果库 Cover Image" />
  <meta property="twitter:description" content="中医药" />
  <meta property="twitter:image" content="/img/issue/1962408958148739072" />
  <meta name="twitter:card" content="summary_large_image" />
  <!-- 使用mathjax渲染公式 -->
  <link rel="dns-prefetch" href="https://cdn.mathjax.org">
  <link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/upgrade/bootstrap-3.3.7/bootstrap.min.css">
  <link rel="stylesheet" href="https://tedownloads.tcmjc.com/css/bootstrapValidator.min.css" rel="stylesheet">
  <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
  <!-- <link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/select2/select2.min.css" /> -->
  <link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/upgrade/swiper-7.4.1/swiper/swiper-bundle.min.css" />
  <link rel="stylesheet" href="/static/font-awesome-4.7.0/css/font-awesome.min.css">
  <link rel="stylesheet" href="/template/css/297c5f6803fe4455aed15e373299da75_3.css">
  <link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/upgrade/video-7.15.4/video-js.css" />
  <link rel="stylesheet" href="https://tedownloads.tcmjc.com/static-template/css/bootstrap-datetimepicker.css">
      <link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/upgrade/element/index.css"> 
  <script src="https://tedownloads.tcmjc.com/static/upgrade/video-7.15.4/video.min.js"></script>
  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=G-SB5SCK5F77"></script>
  <script src="https://tedownloads.tcmjc.com/template/html-to-text.js"
    type="text/javascript"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag() { dataLayer.push(arguments); }
    gtag('js', new Date());

    gtag('config', 'G-SB5SCK5F77');
  </script>
  <script type="text/javascript" src="https://tedownloads.tcmjc.com/js/jquery-3.0.0.min.js"></script>
  <!-- mathjax配置 -->
  <script type="text/x-mathjax-config">
    MathJax.Hub.Config({
      showProcessingMessages: false, //关闭js加载过程信息
      messageStyle: "none", //不显示信息
      tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] , displayMath: [ ['$$','$$'], ["\\[","\\]"] ], processEscapes: true},
      menuSettings: {
          zoom: "None",        //  when to do MathZoom
          CTRL: false,         //    require CTRL for MathZoom?
          ALT: false,          //    require Alt or Option?
          CMD: false,          //    require CMD?
          Shift: false,        //    require Shift?
          zscale: "150%",      //  the scaling factor for MathZoom
          font: "Auto",        //  what font HTML-CSS should use
          context: "MathJax",  //  or "Browser" for pass-through to browser menu
          mpContext: false,    //  true means pass menu events to MathPlayer in IE
          mpMouse: false,      //  true means pass mouse events to MathPlayer in IE
          texHints: true,      //  include class names for TeXAtom elements
          semantics: false     //  add semantics tag with original form in MathML output
      },
      TeX: {
          Macros: {
              dag: ["\\dagger"],
              uppi:["\\pi"],
              emph:["\\textit{}"]
          }
      }
    });
  </script>
  <script async src="/mathjax2.7.9/MathJax.js?config=TeX-MML-AM_CHTML"></script>
  <title>
    中国中医药临床案例成果库-中华中医药学会期刊集群
  </title>
</head>

<body id="body" style="visibility:hidden;">
  <!-- 头部(公用头部) -->
  <link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/upgrade/select2-4.0.8/select2.min.css" />
  <link rel="stylesheet" href="/platformTemplate/css/platform_301.css">
  <link rel="stylesheet" href="/platformTemplate/css/platform_-2.css">
  <link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/upgrade/element/index.css">
  <script src="https://tedownloads.tcmjc.com/static/upgrade/vue-2.5.20/vue.min.js"></script>
  <script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
  <script src="https://tedownloads.tcmjc.com/static/upgrade/select2-4.0.8/select2.min.js"></script>
  <script type="text/javascript" charset="utf-8" src="/platformTemplate/js/platform_301.js"></script>
  <script src="https://tedownloads.tcmjc.com/static/upgrade/element/index.js"></script>
  <script src="https://tedownloads.tcmjc.com/static/upgrade/element/en.js"></script>
  <html lang="en">
  <body>
    <div id="alkHeader">
      <div class="headerBox xbb-headerBox">
        <div class="container1">
          <!-- PC菜单 -->
          <div class="xbb-h-d1">
            <h1 class="logoBox"  @click="window.location.href = '/alk/home';">
              <img class="img" src="https://tedownloads.tcmjc.com/zhzyyalk/logo.png" />
            </h1>
            <div class="menuBox">
              <el-menu :default-active="activeIndex" class="el-menu-demo navBox" mode="horizontal" text-color="#333">
                <el-menu-item index="1" class="nav1"  url='/alk/home' @click="window.open('/alk/home')">{{lang == 'en_US' ? 'Home' : '首页'}}</el-menu-item>
                <el-menu-item index="2" class="nav1"  url='/alk/video-display' @click="window.open('/alk/video-display')">{{lang == 'en_US' ? 'Video' : '视频专区'}}</el-menu-item>
                <el-menu-item index="3" class="nav1"  url='/standard/newsInfo/70B1EEC04FE04AD9B9A24DB847F169D1' @click="window.open('/standard/newsInfo/70B1EEC04FE04AD9B9A24DB847F169D1?type=alkjj')">{{lang == 'en_US' ? 'Introduction' : '案例库简介'}}</el-menu-item>
                <el-menu-item index="4" class="nav1"  url='/standard/newsList' @click="window.open('/standard/newsList?type=ggdt')">{{lang == 'en_US' ? 'News' : '公告动态'}}</el-menu-item>
                <el-menu-item index="5" class="nav1"  url='/alk/download-center' @click="window.open('/alk/download-center')">{{lang == 'en_US' ? 'Downloads' : '下载专区'}}</el-menu-item>
              </el-menu>
              <div class="scopeBox ksc">
                <div class="btnBox">
                  <a href="https://cacm.tcmjc.com/CCCLTCM/" target="_blank">
                    <img class="img"
                    src="https://tedownloads.tcmjc.com/zhzyyalk/icon-tg.png" />
                    <span class="text">{{lang == 'en_US' ? 'Submission' : '我要投稿'}}</span>
                  </a>
                </div>
                <div :class="['iconLanguage',lang=='zh_CN'?'':'iconLanguage-en']">
                  <img class="img" v-if="lang == 'zh_CN'"
                    src="https://tedownloads.tcmjc.com/header/iconEnglish.png"
                    @click="changeVal('en_US')" />
                  <img class="img" v-if="lang == 'en_US'"
                    src="https://tedownloads.tcmjc.com/header/iconChinese.png"
                    @click="changeVal('zh_CN')" />
                </div>

                <!-- 登录注册 -->
                    <div :class="['loginAndRegister',lang=='zh_CN'?'':'loginAndRegisterEn']">
                      <img src="https://tedownloads.tcmjc.com/zhzyyalk/icon-name.png" alt="">
                        <span class="login text" onclick="loginUnified()">{{lang == 'en_US' ? 'Login' : '登录'}}</span>
                        <span class="line">|</span>
                        <span class="login text" @click="window.open('https://cacm.tcmjc.com/#/registration')">{{lang == 'en_US' ? 'register' : '注册'}}</span>
                    </div>
              </div>
            </div>

            <!-- H5显示 -->
            <div class="xbb-hd1-d2">
              
              <i class="fa fa-bars fa-2x" aria-hidden="true" @click="shg()"></i>
            </div>
          </div>

          <!-- H5菜单 -->
          <div class="menusBoxH5">
            <div class="menuHeader">
              <i class="fa fa-times fa-lg" aria-hidden="true" style="color: #ffffff;"></i>
            </div>
            <div class="rlist">
              <div class="list" v-if="lang == 'zh_CN'">
                <img class="img languageImg" src="https://tedownloads.tcmjc.com/zhzyyalk/icon-tg.png"
                onclick="loginUnified()" />
                  <span class="text" onclick="loginUnified()">{{lang == 'en_US' ? 'Submission' : '我要投稿'}}</span>
              </div>
              
              <!-- 语言切换 -->
              <div class="list" v-if="lang == 'zh_CN'">
                <img class="img languageImg" src="https://tedownloads.tcmjc.com/static/upgrade/Common/img/language.svg"
                  onclick="changeVal('en_US')" />
                <span class="text" onclick="changeVal('en_US')">ENGLISH</span>
              </div>
              <div class="list" v-if="lang == 'en_US'">
                <img class="img languageImg" src="https://tedownloads.tcmjc.com/static/upgrade/Common/img/language.svg"
                  onclick="changeVal('zh_CN')" />
                <span class="text"
                  onclick="changeVal('zh_CN')">中文</span>
              </div>
                  <div class="list listBtn">
                    <img class="img userImg" src="https://tedownloads.tcmjc.com/template/platform/header/person.svg" />
                    <span class="text" onclick="loginUnified()">登录</span>
                    <span class="line">|</span>
                    <span class="register" @click="window.open('https://cacm.tcmjc.com/#/registration','_self')">{{lang == 'en_US' ? 'register' : '注册'}}</span>
                  </div>

            </div>
          </div>
        </div>
      </div>

      <div class="xbb-hd1-d1">
         <!-- 导航H5 -->
         <div class="navBoxH5">
          <div class="menusIcon" onclick="openMenus()">
            <i class="fa fa-bars fa-lg" aria-hidden="true"></i>
            <span class="text">菜单</span>
          </div>
          <div class="menusItem">
            <div class="menu" @click="window.open('/alk/home')">{{lang == 'en_US' ? 'Home' : '首页'}}</div>
            <div class="menu" @click="window.open('/plat/video')">{{lang == 'en_US' ? 'Video' : '视频专区'}}</div>
            <div class="menu" @click="window.open('/standard/publications')">{{lang == 'en_US' ? 'Introduction' : '案例库简介'}}</div>
            <div class="menu" @click="window.open('/standard/newsList?type=xszx')">{{lang == 'en_US' ? 'News' : '公告动态'}}</div>
            <div class="menu" @click="window.open('/plat/aboutus')">{{lang == 'en_US' ? 'Downloads' : '下载专区'}}</div>
          </div>
        </div>
      </div>

    </div>
  </body>
  <script type="text/javascript">
    $(document).ready(function (){
      // 可选：禁用 Bootstrap 的 enforceFocus
		$.fn.modal.Constructor.prototype.enforceFocus = function() {};
    })
    var journalBaseId = "e0128cbcc5f64af7b7467073450f3b02" || "";
    var Vue = new Vue({
      el: '#alkHeader',
      data: {
        activeIndex: '1',
        lang: 'zh_CN',
      },
      created: function () {
        this.menuActive();
      },
      methods:{
        // 菜单选中
        menuActive () {
          var pathname = window.location.pathname
          console.log('pathname',pathname )
          this.$nextTick(() => {
            $('.navBox .nav1').each(function (index) {
              var url = $(this).attr('url')
              if (pathname == url) {
                $(this).addClass('activeColor')
              } 
            })
          })
        },
      }
    })
    
    // function jumpHome() {
    //   window.location.href = "https://tedownloads.tcmjc.com/";
    // }

    function changeVal(lang) {
      $.ajax({
        type: "POST",
        url: "/common/language",
        data: {
          language: lang,
          fla: 'alk',
          r_: new Date().getTime()
        },
        success: function (data) {
          // 刷新页面
          window.location.reload(true);
        },
        error: function (data) {
        }
      });
    }
  
    // 登录
    function loginUnified(){
        // window.open('https://cacm.tcmjc.com/','_self');
        window.location.href = 'https://www.tcmjc.com/third/render/tcmjc?backUrl='+getUrlAfterDomain(location.href)
    }
    function getUrlAfterDomain(url) {
        try {
            const urlObj = new URL(url);
            return urlObj.pathname + urlObj.search + urlObj.hash;
        } catch (error) {
            // 如果URL无效，返回空字符串
            console.error('无效的URL:', error);
            return '';
        }
    }
  
    // 退出登录
    // function loginOutRef() {
    //   var ref = window.location.href;
    //   // 个人中心页退出
    //   var personalIndex = ref.indexOf('user_settings/update_information')
    //   // 机构中心页退出
    //   var institutionIndex = ref.indexOf('institution/information')
    //   // 购物车页退出
    //   var shopCartIndex = ref.indexOf('shop/cart')
    //   // 支付页退出
    //   var payIndex = ref.indexOf('shop/continueOrder')
    //   // 检查订单信息页
    //   var toOrder = ref.indexOf('shop/toOrder');
    //   if (personalIndex === -1 && institutionIndex === -1 && shopCartIndex === -1 && payIndex === -1 && toOrder === -1) {
    //     window.location.href = "/out?ref=" + ref;
    //   } else {
    //     window.location.href = "/out?ref=home";
    //   }
    // }

    function loginOutRef() {
        var self = this;
        var ref = window.location.href;
        
        // 创建一个隐藏的 iframe
        var iframe = document.createElement('iframe');
        iframe.style.display = 'none';
        iframe.src = 'https://cacm.tcmjc.com/userManage/oauth/logout';
        
        // iframe 加载完成后执行跳转
        iframe.onload = function() {
            // iframe 内容加载完成后，跳转到退出接口
            window.location.href = "/out?ref=" + encodeURIComponent(ref);
        };
        
        // 设置超时，防止 onload 不触发
        setTimeout(function() {
            window.location.href = "/out?ref=" + encodeURIComponent(ref);
        }, 1000);
        
        document.body.appendChild(iframe);
    }
    
    function openMenus() {
      $('.menusItem').slideToggle()
    }
    
  </script>

<script type="text/javascript" src="https://tedownloads.tcmjc.com/js/common/ie_browser.js"></script>

<!--雷晓萌老师要求添加内容-->
<script>
  var _hmt = _hmt || [];
  (function () {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?633c662645ea15827301cdfaf39e48a1";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
  })();
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SB5SCK5F77"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag() { dataLayer.push(arguments); }
  gtag('js', new Date());

  gtag('config', 'G-SB5SCK5F77');
</script>

<!-- 统计开始 -->
<script src="https://tedownloads.tcmjc.com/static/upgrade/js/drift.js"></script>
<script>
  var _paq = _paq || [];
  (function () {
    //页面加载时初始化
    //设置统计地址
    _paq.push(["setTrackerUrl", "https://tool.scichina.com/mini-ci-clean/api/v1/reportData/nm.gif"]);
    //设置统计id 后台创建统计渠道时自动生成
    _paq.push(["setTraceId", "1832963834386714624"]);
    //设置用户id 未登录为空
    var userId = "";
    _paq.push(["setUserId", userId ? userId : '']);
  })();
</script>
<script type="text/javascript">
  function minici_load() {
    var minici_baseId = "";
    var minici_isbn = "";
    var minici_journalBaseId = "e0128cbcc5f64af7b7467073450f3b02";
    var minici_publisherId = "0877a4c21e4949b2b0ad98f82d199880";
    var currentUrl = window.location.href;
    if (minici_publisherId != null && minici_publisherId != '') {
      //出版商
      _paq.push(["reportItem", minici_publisherId,
        {
          "categoryId": "0877a4c21e4949b2b0ad98f82d199880",
          "title": "中华中医药学会联盟期刊",
          "type": "publisher",
          "url": currentUrl,
        }]);
    }
    if (minici_journalBaseId != null && minici_journalBaseId != '') {
      //期刊
      _paq.push(["reportItem", minici_journalBaseId,
        {
          "fla": "alk",
          "categoryId": "0877a4c21e4949b2b0ad98f82d199880",
          "title": "中国中医药临床案例成果库",
          "type": "journal",
          "url": currentUrl,
          "theme": ""
        }]);
      if (minici_baseId != null && minici_baseId != '') {
        //如果是文章详情页，则不上报期刊的浏览事件，避免统计重复
      } else {
        //浏览事件
        _paq.push(["eventBrowse", minici_journalBaseId, {}]);
      }
    }
    if (minici_baseId != null && minici_baseId != '') {
      //文章上报
      _paq.push(["reportItem", minici_baseId,
        {
          "doi": "",
          "categoryId": "",
          "title": "",
          "type": "article",
          "url": currentUrl,
          "theme": ""
        }]);

      //浏览事件
      _paq.push(["eventBrowse", minici_baseId, {}]);
    }
    if (minici_isbn != null && minici_isbn != '') {
      //图书上报
      _paq.push(["reportItem", minici_isbn,
        {
          "isbn": minici_isbn,
          "categoryId": "",
          "title": "",
          "type": "book",
          "url": currentUrl,
          "theme": ""
        }]);
      _paq.push(["eventBrowse", minici_isbn, {}]);
    }
  }


  // 回车事件
  $(document).ready(function () {
        // 可选：禁用 Bootstrap 的 enforceFocus
  $.fn.modal.Constructor.prototype.enforceFocus = function() {};
    $('#searchForm').keydown(function (e) {
      let keyCode = e.keyCode
      if (keyCode === 13) {
        $('.select2-container').removeClass('select2-container--open')
        checkQueryInfo()
      }
    })
    $('.read-header-btn').find('.el-checkbox').find('input').change(function () {
      if ($(this).is(':checked')) {
        $('.loginBtn').removeClass('opacity-btn')
        $('.registerBtn').removeClass('opacity-btn2')
        $('.read-header-btn').find('.el-checkbox__input').addClass('is-checked')
      } else {
        $('.loginBtn').addClass('opacity-btn')
        $('.read-header-btn').find('.el-checkbox__input').removeClass('is-checked')
        // $('.registerBtn').addClass('opacity-btn2')
      }
    });
  })
</script>
<!-- 统计结束 -->
  </html>
<link rel="stylesheet" href="/template/css/297c5f6803fe4455aed15e373299da75_1.css">
<script type="text/javascript" charset="utf-8" src="/template/js/297c5f6803fe4455aed15e373299da75_1.js"></script>
<script src="https://tedownloads.tcmjc.com/static/upgrade/vue-2.5.20/vue.min.js"></script>
<link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/upgrade/select2-4.0.8/select2.min.css" />
<!-- <link rel="stylesheet" href="/platformTemplate/css/297c5f6803fe4455aed15e373299da75_1.css"> -->
<!-- <link rel="stylesheet" href="/platformTemplate/css/297c5f6803fe4455aed15e373299da75_-2.css"> -->
<link rel="stylesheet" href="https://tedownloads.tcmjc.com/static/upgrade/element/index.css">
<script src="https://tedownloads.tcmjc.com/static/upgrade/vue-2.5.20/vue.min.js"></script>
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<script src="https://tedownloads.tcmjc.com/static/upgrade/select2-4.0.8/select2.min.js"></script>
<!-- <script type="text/javascript" charset="utf-8" src="/platformTemplate/js/297c5f6803fe4455aed15e373299da75_1.js"></script> -->
<script src="https://tedownloads.tcmjc.com/static/upgrade/element/index.js"></script>
<script src="https://tedownloads.tcmjc.com/static/upgrade/element/en.js"></script>
<!-- 主题搜索 -->
 <div class="searchContainer">
    <div class="searchBox">
           <!-- PC搜索 -->
        <div class="searchInput">
            <div class="boxBg">
            <el-select class="typeSel" v-model="typeValue">
              <el-option
                v-for="item in typeOptions"
                :key="item.value"
                :label="lang == 'en_US' ? item.labelEn : item.labelZh"
                :value="item.value">
              </el-option>
            </el-select>
            <span class="line"></span>
            <el-input class="contentSel" v-model="contentValue" :placeholder="lang == 'en_US' ? 'Please enter a keyword or word for retrieval' : '请输入关键词或者字进行检索'" @keyup.enter.native="checkQueryInfo();"></el-input>
            <div class="btnBox" @click="checkQueryInfo();">
                <img src="https://tedownloads.tcmjc.com/zhzyyalk/icon-search.png" alt="">
                <span>{{lang == 'en_US' ? 'Search' : '检索'}}</span>
            </div>
            
        </div>
            <div class="color1 advancedSearchText" onclick="advanceSearch();">高级搜索</div>
        
            <div class="hotSearchTerm">
                <span>{{lang=='en_US'?'Hot search words':'热搜词'}}：</span>
                <div class="list" v-for="(item,index) in hotSearchList" :key="index">
                    <div class="item" @click="checkQueryInfo(lang=='en_US'?item.valueEn:item.value);">{{lang=='en_US'?item.valueEn:item.value}}</div>
                </div>
            </div>
        </div>
        <!-- H5搜索 -->
        <div class="searchDrawer">
            <el-select class="typeSel" v-model="typeValue">
            <el-option
                v-for="item in typeOptions"
                :key="item.value"
                :label="lang == 'en_US' ? item.labelEn : item.labelZh"
                :value="item.value">
            </el-option>
            </el-select>
            <el-input class="contentSel" v-model="contentValue" :placeholder="lang == 'en_US' ? 'Please enter the search content' : '请输入搜索内容'" @keyup.enter.native="checkQueryInfo();"></el-input>
            <el-button class="searchBtn" icon="el-icon-search" @click="checkQueryInfo();"></el-button>
            <div class="color1 advancedSearchText" onclick="advanceSearch();">高级搜索</div>
        </div>
    </div>
     
 </div>
<script type="text/javascript">
$(document).ready(function() {
    //  // 根据url判断是否是案例库首页 
    var hasAlkHome = window.location.pathname.indexOf('/alk/home') !== -1;
    // 根据判断结果设置高度 
    $('.searchContainer').css('height', hasAlkHome ? '37vh' : '22vh');
});
</script>

<script type="text/javascript">
    var alkVue = new Vue({
        el: '.searchBox',
        data:{
            lang: 'zh_CN',
            typeValue: 'Title',
            journalValue: null,
            contentValue: '',
            typeOptions: [{
          value: 'Title',
          labelEn: 'Title',
          labelZh: '标题',
        }, {
          value: 'Author',
          labelEn: 'Author',
          labelZh: '作者',
        },{
          value: 'Keyword',
          labelEn: 'Keyword',
          labelZh: '关键词',
        }, {
          value: 'Abstract',
          labelEn: 'Abstract',
          labelZh: '摘要',
        }, 
        // {
        //   value: 'Journal/Book title',
        //   labelEn: 'Journal/Book title',
        //   labelZh: '出版物名称',
        // }, 
        {  
          value: 'Volume',
          labelEn: 'Volume',
          labelZh: '卷',
        }, {
          value: 'Issue',
          labelEn: 'Issue',
          labelZh: '期',
        }, {
          value: 'First page',
          labelEn: 'First page',
          labelZh: '起始页',
        }],
        hotSearchList: [
          {
            value: '针灸疗法',
            valueEn: 'Acupuncture therapy',
          },
          {
            value: '时病',
            valueEn: 'Seasonal illness',
          },
          {
            value: '方剂',
            valueEn: 'Prescription',
          },
          {
            value: '经络',
            valueEn: 'Meridians',
          },
          {
            value: '医药',
            valueEn: 'Medicine',
          },
          {
            value: '临床',
            valueEn: 'Clinical',
          }
        ]
        },
        methods:{
          // 待联调接口
          checkQueryInfo (value) {
            if(value){
               // 修改参数
               window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&queryField_a=' + value
               return
            }
           
            if (this.contentValue || this.journalValue) {
              if (this.typeValue == 'Journal/Book title') {
                if (this.journalValue.searchType == 2) {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId
                }
                if (this.journalValue.searchType == 3) {
                  // window.open('/publisher/' + abbreviated + '/book/' + fla)
                }
              } else {
                if (this.typeValue == 'Keyword') {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&queryField_a=' + this.contentValue
                } else if (this.typeValue == 'Author') {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&fullnameStr=' + this.contentValue
                } else if (this.typeValue == 'Volume') {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&volume=' + this.contentValue
                } else if (this.typeValue == 'Issue') {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&issue=' + this.contentValue
                } else if (this.typeValue == 'First page') {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&pageNumber=' + this.contentValue
                } else if (this.typeValue == 'Title') {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&title=' + this.contentValue
                } else if (this.typeValue == 'Abstract') {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&abstractString=' + this.contentValue
                } else if (this.typeValue == 'Doi') {
                  window.location = '/plat/searchJournal?jouranlId=' + journalBaseId + '&doi=' + this.contentValue
                }
              }
            }else {
              this.$message({
                message: this.lang == 'en_US' ? 'Please enter the search content' : '请输入搜索内容',
                type: 'warning'
              });
            }
          },
 
        }
    })
 
    function advanceSearch() {
      window.location.href = "/search/selectSearch?alkType=alk&journalBaseId=" + journalBaseId;
    }

</script>
  <div id="journalGeneralHome">

    <!-- 内容区 -->
    <div class="contentBox">

        <!-- 模板1 -->
        <div class="modalout1">
            <div class="module0">
            <div class="container">
                <div class="module1Box">
                <div class="module1Tabs">
                    <div>
                    </div>
                </div>

                <div :class="[featureList!=null && featureList.length == 1 ? 'swiper-container-one swiper-no-swiping' : 'swiper-container swiper-no-swiping']" >
                    <div class="swiper-wrapper">
                    <template v-if="featureList!=null && featureList.length > 0">
                        <div class="swiper-slide" v-for="(dto,i) in featureList">
                            <input type="hidden" class="hide-fa-id" :value="dto.id">
                            <input type="hidden" class="hide-fa-link-headerLb" :value="dto.link">
                            <div class="imgBox">
                            <img @click="jumpFeatureArticle(dto)" :src="'/img/new/'+dto.graphUrl" />
                            <!-- <div class="content-text">
                                <div class="content-text-d1" @click="jumpFeatureArticle(dto)">
                                {{lang == 'zh_CN' ? dto.titleZh : dto.titleEn}}
                                </div>
                            </div> -->
                            </div>
                        </div>
                    </template>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
                </div>
            </div>
            </div>

            <div class="module1">
            <div class="container">
                <div class="m1-c-out">
                    <div class="m1c-pub m1c-d1" v-for="(item,index) in advertisingSpaceList">
                        <div class="m1-d2-d1-1" @click="window.open(item.link)" :title="item.title">
                          <img v-if="item.path" :src="imgUrl+item.path" alt="">
                          <img v-else src="https://tedownloads.tcmjc.com/common/default.png" alt="">
                        </div>
                    </div>
                </div>
            </div>
            </div>

            <div class="module2">
            <div class="container">
                <div class="m2-c-out">
                    <div class="m2co-pub">
                        <div class="m2cop-top m2co1-top">
                            <div class="m2copt-left m2co1t-left"></div>
                            <div :class="['m2copt-center','m2co1t-center',lang == 'en_US' ?'m2copt-center-en':'']">{{lang == 'en_US' ? 'Latest Release' : '最新上线'}}</div>
                            <div class="m2copt-right m2co1t-right"></div>
                        </div>
                        <div class="m2cop-content-out m2co1-content-out">
                            <div class="m2cop-content m2co1-content" v-for="(item,index) in zxsxList.slice(0,4)">
                                <div class="m2copc-d1 m2co1c-d1" @click="articalTo(item)">
                                    <div class="m2copc1-d1"></div>
                                    <div class="m2copc1-d2" :title="item.title">{{item.title}}</div>
                                </div>
                                <div class="m2copc-d2">
                                    <div class="m2copc2-d1" :title="item.authorStr">{{item.authorStr}}</div>
                                    <div class="m2copc2-d2">|</div>
                                    <div class="m2copc2-d3">{{lang == 'en_US' ? 'China Clinical Cases Library of Traditional Chinese Medicine' : '中国中医药临床案例成果库'}}</div>
                                </div>
                            </div>
                        </div>
                        <div class="m2cop-bottom-out m2co1-bottom-out">
                            <div class="m2copb-d1 m2co1b-d1" @click="moduleJump('cited')">{{lang == 'en_US' ? 'More' : '查看更多'}} >></div>
                        </div>
                    </div>
                    <div class="m2co-pub m2co-d2">
                      <div class="m2cop-top m2co1-top">
                          <div class="m2copt-left m2co2t-left"></div>
                          <div :class="['m2copt-center','m2co2t-center',lang == 'en_US' ?'m2copt-center-en':'']">{{lang == 'en_US' ? 'Most Read' : '最多阅读'}}</div>
                          <div class="m2copt-right m2co2t-right"></div>
                      </div>
                      <div class="m2cop-content-out m2co1-content-out">
                          <div class="m2cop-content m2co1-content" v-for="(item,index) in mostReadList.slice(0,4)">
                              <div class="m2copc-d1 m2co1c-d1" @click="articalTo(item)">
                                  <div class="m2copc1-d1"></div>
                                  <div class="m2copc1-d2" :title="item.title">{{item.title}}</div>
                              </div>
                              <div class="m2copc-d2">
                                  <div class="m2copc2-d1" :title="item.authorStr">{{item.authorStr}}</div>
                                  <div class="m2copc2-d2">|</div>
                                  <div class="m2copc2-d3">{{lang == 'en_US' ? 'China Clinical Cases Library of Traditional Chinese Medicine' : '中国中医药临床案例成果库'}}</div>
                              </div>
                          </div>
                      </div>
                      <div class="m2cop-bottom-out m2co1-bottom-out">
                          <div class="m2copb-d1 m2co2b-d1" @click="moduleJump('views')">{{lang == 'en_US' ? 'More' : '查看更多'}} >></div>
                      </div>
                    </div>
                    <div class="m2co-pub m2co-d3">
                      <div class="m2cop-top m2co1-top">
                          <div class="m2copt-left m2co3t-left"></div>
                          <div :class="['m2copt-center','m2co3t-center',lang == 'en_US' ?'m2copt-center-en':'']">{{lang == 'en_US' ? 'Most Downloads' : '最多下载'}}</div>
                          <div class="m2copt-right m2co3t-right"></div>
                      </div>
                      <div class="m2cop-content-out m2co1-content-out">
                          <div class="m2cop-content m2co1-content" v-for="(item,index) in mostDownloadList.slice(0,4)">
                              <div class="m2copc-d1 m2co1c-d1" @click="articalTo(item)">
                                  <div class="m2copc1-d1"></div>
                                  <div class="m2copc1-d2" :title="item.title">{{item.title}}</div>
                              </div>
                              <div class="m2copc-d2">
                                  <div class="m2copc2-d1" :title="item.authorStr">{{item.authorStr}}</div>
                                  <div class="m2copc2-d2">|</div>
                                  <div class="m2copc2-d3">{{lang == 'en_US' ? 'China Clinical Cases Library of Traditional Chinese Medicine' : '中国中医药临床案例成果库'}}</div>
                              </div>
                          </div>
                      </div>
                      <div class="m2cop-bottom-out m2co1-bottom-out">
                          <div class="m2copb-d1 m2co3b-d1" @click="moduleJump('download')">{{lang == 'en_US' ? 'More' : '查看更多'}} >></div>
                      </div>
                    </div>
                </div>
            </div>
            </div>
        </div>

        <div class="module3">
          <div class="container">
            <div class="mp-top">
              <div class="m3t-d1"></div>
              <div class="m3t-d2" v-if="lang != 'en_US'">
                <div>特</div>
                <div class="m3t2-d1"></div>
                <div>色</div>
                <div class="m3t2-d1"></div>
                <div>专</div>
                <div class="m3t2-d1"></div>
                <div>辑</div>
              </div>
              <div class="m3t-d2 m3t-d2-ts" v-else>
                <div class="m3tdt-d1">Featured Album</div>
              </div>
              <div class="m3t-d3"></div>
            </div>
            <div class="m3-content">
              <div class="m3c-dp" v-for="(item,index) in collectionList" :key="index" @click="jumpUrl(item, 'collection')">
                <div class="m3cp-d1">
                  <img :src="item.cover"
                    onerror="this.src='https://tedownloads.tcmjc.com/common/default.png'">
                </div>
                <div class="m3cp-d2">
                  <div class="m3cp2-d1" :title="item.titleStr">{{item.titleStr}}</div>
                  <div class="m3cp2-d2"></div>
                </div>
              </div>
            </div>
            <div class="mp-bottom">
              <div class="m3b-d1" @click="module6TabJump()">
                <div class="m3b1-d1">{{lang == 'en_US' ? 'More' : '查看更多'}}</div>
                <div class="m3b1-d2"></div>
              </div>
            </div>
          </div>
        </div>

        <!-- 模块4 -->
        <div class="module4">
          <div class="container">
            <div class="mp-top">
              <div class="m3t-d1"></div>
              <div class="m3t-d2" v-if="lang != 'en_US'">
                <div>学</div>
                <div class="m3t2-d1"></div>
                <div>会</div>
                <div class="m3t2-d1"></div>
                <div>动</div>
                <div class="m3t2-d1"></div>
                <div>态</div>
              </div>
              <div class="m3t-d2 m3t-d2-ts" v-else>
                <div class="m3tdt-d1">Learn Dynamic</div>
              </div>
              <div class="m3t-d3"></div>
            </div>
            <div class="m4-content" v-if="newsList.length >= 4">
              <div class="m4c-d1" v-for="(item, index) in newsList.slice(0, 1)" :key="index" @click="newsDetail(item)">
                <div class="m4c1-d1">
                  <img :src="baseImgUrl+item.graph" alt="">
                </div>
                <div class="m4c1-d2" :title="lang == 'en_US' ? item.title : item.title">{{lang == 'en_US' ? item.title : item.title}}</div>
                <div class="m4c1-d3" :title="lang == 'en_US' ? item.info.replace(/<[^>]*>/g, '') : item.info.replace(/<[^>]*>/g, '')" v-html="item.info"></div>
                <div class="m4c1-d4">
                  <div class="m4c14-d1">
                    <div class="m4c141-d1">{{item.releaseTime.split(' ')[0]}}</div>
                    <div class="m4c141-d2">|</div>
                    <div class="m4c141-d3">{{lang == 'en_US' ? 'China Clinical Cases Library of Traditional Chinese Medicine' : '中国中医药临床案例成果库'}}</div>
                  </div>
                  <div class="m4c14-d2"></div>
                </div>
              </div>
              <div class="m4c-d2">
                <div class="m4c2-d1" v-for="(item, index) in newsList.slice(1, 4)" :key="index" @click="newsDetail(item)">
                  <div class="m4c1-d2 m4c1-d2-ts" :title="lang == 'en_US' ? item.title : item.title">{{lang == 'en_US' ? item.title : item.title}}</div>
                  <div class="m4c1-d3" :title="lang == 'en_US' ? item.info.replace(/<[^>]*>/g, '') : item.info.replace(/<[^>]*>/g, '')" v-html="item.info"></div>
                  <div class="m4c1-d4">
                    <div class="m4c14-d1 m4c14-d1-ts">
                      <div class="m4c141-d1">{{item.releaseTime.split(' ')[0]}}</div>
                      <div class="m4c141-d2">|</div>
                      <div class="m4c141-d3">{{lang == 'en_US' ? 'China Clinical Cases Library of Traditional Chinese Medicine' : '中国中医药临床案例成果库'}}</div>
                    </div>
                    <div class="m4c14-d2"></div>
                  </div>
                </div>
              </div>
            </div>
            <div class="m4-content" v-if="newsList.length < 4">
              <div class="m4c-d2 m4c-d2-ts">
                <div class="m4c2-d1" v-for="(item, index) in newsList" :key="index" @click="newsDetail(item)">
                  <div class="m4c1-d2 m4c1-d2-ts" :title="lang == 'en_US' ? item.title : item.title">{{lang == 'en_US' ? item.title : item.title}}</div>
                  <div class="m4c1-d3" :title="lang == 'en_US' ? item.info.replace(/<[^>]*>/g, '') : item.info.replace(/<[^>]*>/g, '')" v-html="item.info"></div>
                  <div class="m4c1-d4">
                    <div class="m4c14-d1 m4c14-d1-ts">
                      <div class="m4c141-d1">{{item.releaseTime.split(' ')[0]}}</div>
                      <div class="m4c141-d2">|</div>
                      <div class="m4c141-d3">{{lang == 'en_US' ? 'China Clinical Cases Library of Traditional Chinese Medicine' : '中国中医药临床案例成果库'}}</div>
                    </div>
                    <div class="m4c14-d2"></div>
                  </div>
                </div>
              </div>
            </div>
            <div class="mp-bottom">
              <div class="m3b-d1" @click="moduleJump('news')">
                <div class="m3b1-d1">{{lang == 'en_US' ? 'More' : '查看更多'}}</div>
                <div class="m3b1-d2"></div>
              </div>
            </div>
          </div>
        </div>

        <!-- 模块4 -->
        <div class="module5">
          <div class="container">
            <div class="mp-top">
              <div class="m3t-d1"></div>
              <div class="m3t-d2" v-if="lang != 'en_US'">
                <div>精</div>
                <div class="m3t2-d1"></div>
                <div>选</div>
                <div class="m3t2-d1"></div>
                <div>视</div>
                <div class="m3t2-d1"></div>
                <div>频</div>
              </div>
              <div class="m3t-d2 m3t-d2-ts" v-else>
                <div class="m3tdt-d1">Featured Videos</div>
              </div>
              <div class="m3t-d3"></div>
            </div>
            <div class="m5-content">
              <div class="m5c-d1" v-for="(item, index) in videoList.slice(0, 1)" :key="index">
                <img class="m5c1-img1" :src="baseFiguresUrl+item.cover" alt="" onerror="this.src='https://tedownloads.tcmjc.com/common/default.png'">
                <div class="m5c1-d1">
                  <div class="m5c11-d1" @click="jumpViewDetail(item)">{{lang == 'en_US' ? item.titleEn : item.titleZh}}</div>
                  <div class="m5c11-d2" @click="videoPlayer(item,index,1)">
                    <img class="playImg" src="https://tedownloads.tcmjc.com/template/img/hLife/play.svg"/>
                  </div>
                </div>
              </div>
              <div class="m5c-d2">
                <div class="m5c2-d1" v-for="(item, index) in videoList.slice(1, 4)" :key="index">
                  <div class="m5c21-d1" @click="videoPlayer(item,index,2)">
                    <img class="m5c211-img1" :src="baseFiguresUrl+item.cover" alt="" onerror="this.src='https://tedownloads.tcmjc.com/common/default.png'">
                    <img class="m5c211-img2" src="https://tedownloads.tcmjc.com/template/img/hLife/play.svg"/>
                  </div>
                  <div class="m5c21-d2" @click="jumpViewDetail(item)">
                    <div class="m5c212-d1" :title="lang == 'en_US' ? item.titleEn : item.titleZh">{{lang == 'en_US' ? item.titleEn : item.titleZh}}</div>
                    <div class="m5c212-d2" :title="lang == 'en_US' ? item.authorEn : item.authorZh">{{lang == 'en_US' ? item.authorEn : item.authorZh}}</div>
                    <div class="m5c212-d3">
                      <div class="m5c2123-d1">
                      </div>
                      <div class="m5c2123-d2">{{item.releaseTimeStr}}</div>
                    </div>
                  </div>
                </div>
              </div>
              <!-- 视频播放器 -->
              <div class="module7VideoBox" v-show="isShowmodule7Player" :style="{'left' : videoBoxLeft, 'top' : videoBoxTop}">
                <video id="module7Player" class="video-js vjs-default-skin" controls preload="auto" playsinline="true"
                  webkit-playsinline="true" x5-video-player-type="h5-page">
                </video>
              </div>
            </div>
            <div class="mp-bottom">
              <div class="m3b-d1" @click="moduleJump('videos')">
                <div class="m3b1-d1">{{lang == 'en_US' ? 'More' : '查看更多'}}</div>
                <div class="m3b1-d2"></div>
              </div>
            </div>
          </div>
        </div>

        <!--写作模板-帮助中心模块-->
         <div class="linkModuleBox">
          <div class="listBox" @click="moduleJump('xzmb')">
            <div class="itemImg itemImg1">
              <img src="https://tedownloads.tcmjc.com/zhzyyalk/icon_xzmb.png" alt="" class="img1">
            </div>
            <div class="itemTitle">{{lang == 'zh_CN' ? '写作模板' : 'Writing Template'}}<span class="subTitle">{{lang == 'zh_CN' ? '（授权书）' : '(Power of Attorney)'}}</span></div>
            <div class="itemText">{{lang == 'zh_CN' ? '下载中国中医药临床案例成果库写作模板和授权书' : 'Download the writing template and authorization letter from the Chinese Clinical Case Achievements Database'}}</div>
          </div>

          <div class="listBox" @click="moduleJump('tsg')">
            <div class="itemImg itemImg2">
              <img src="https://tedownloads.tcmjc.com/zhzyyalk/icon_tsg.png" alt="" class="img2">
            </div>
            <div class="itemTitle">{{lang == 'zh_CN' ? '投审稿' : 'Draft for review'}}</div>
            <div class="itemText">{{lang == 'zh_CN' ? '投稿从这里开始，选择我们，成就更好的自己' : 'Submit your manuscript from here, choose us, and achieve a better version of yourself'}}</div>
          </div>

          <div class="listBox" @click="moduleJump('xwh')">
            <div class="itemImg itemImg1">
              <img src="https://tedownloads.tcmjc.com/zhzyyalk/icon_xwh.png" alt="" class="img3">
            </div>
            <div class="itemTitle">{{lang == 'zh_CN' ? '专委会' : 'Academic Committee'}}</div>
            <div class="itemText">{{lang == 'zh_CN' ? '中国中医药临床案例成果库第一届专家委员会名单' : 'List of the First Academic Committee of the Chinese Clinical Case Achievements Database'}}</div>
          </div>

          <div class="listBox" @click="moduleJump('zcwj')">
            <div class="itemImg itemImg1">
              <img src="https://tedownloads.tcmjc.com/zhzyyalk/icon_zcwj.png" alt="" class="img4">
            </div>
            <div class="itemTitle">{{lang == 'zh_CN' ? '政策文件' : 'Policy Document'}}</div>
            <div class="itemText">{{lang == 'zh_CN' ? "了解相关国家职称评定政策及中国中医药临床案例成果库出版政策" : "Understand relevant national professional title evaluation policies and China's clinical case publication policies"}}</div>
          </div>
         
          <div class="listBox" @click="moduleJump('bzzx')">
            <div class="itemImg itemImg1">
              <img src="https://tedownloads.tcmjc.com/zhzyyalk/icon_bzzx.png" alt="" class="img5">
            </div>
            <div class="itemTitle">{{lang == 'zh_CN' ? '帮助中心' : 'Help Center'}}</div>
            <div class="itemText">{{lang == 'zh_CN' ? '了解投稿流程及阅读稿约' : 'Understand the submission process and read the submission guidelines'}}</div>
          </div>
         </div>

          <!-- 友情链接 -->
        <div class="friendshipLinkBox">
          <div class="xbb-d7-d1">
            <div class="dpb-top">
              <div :class="['dpb-d2',lang == 'en_US'?'dpb-d2-fl':'']">
                <div class="mp-top">
                  <div class="m3t-d1"></div>
                  <div class="m3t-d2 m3t-d2-ts" v-if="lang != 'en_US'">
                    <div>友</div>
                    <div class="m3t2-d1"></div>
                    <div>情</div>
                    <div class="m3t2-d1"></div>
                    <div>链</div>
                    <div class="m3t2-d1"></div>
                    <div>接</div>
                  </div>
                  <div class="m3t-d2 m3t-d2-ts" v-else>
                    <div class="m3tdt-d1">Friendship Link</div>
                  </div>
                </div>
              </div>
              <div class="dpb-d3 dpb-d3-5"></div>
              <div class="dpb-d4" v-if="false">
                <div class="dpb-d4-d1">{{lang == 'en_US' ? 'More' : '查看更多'}}</div>
                <img class="dpb-d4-img1" src="https://tedownloads.tcmjc.com/home/ico-more2.png" alt="">
              </div>
            </div>
          </div>
				<div class="yqlj-pc">
					<el-carousel 
					:interval="5000"
					arrow="always"
					ref="carousel3"
					height="150px">
						<el-carousel-item v-for="(item,index) in cooperativePartnerList" :key="index">
							<div class="d71-content d71-content-pc">
								<div :class="['d71-c-d1',(index2+1)%5==0?'d71-c-d1-ts':'']" v-for="(item2,index2) in item">
									<div class="d71c1-d1">
										<img :src="imgUrl+item2.cover" alt="" @click="window.open(item2.outerChain)">
									</div>
								</div>
							</div>
						</el-carousel-item>
					</el-carousel>
				</div>

				<div class="yqlj-h5">
					<el-carousel 
					:interval="5000"
					arrow="always"
					ref="carousel3"
					height="150px">
						<el-carousel-item v-for="(item,index) in cooperativePartnerList2" :key="index">
							<div class="d71-content d71-content-h5">
								<div :class="['d71-c-d1',(index2+1)%5==0?'d71-c-d1-ts':'']" v-for="(item2,index2) in item">
									<div class="d71c1-d1" @click="window.open(item2.outerChain)">
										<img :src="imgUrl+item2.cover" alt="">
									</div>
								</div>
							</div>
						</el-carousel-item>
					</el-carousel>
				</div>
			</div>

    </div>

    <!-- about the journal弹窗 -->
    <div class="modal fade" id="coverEditModal" role="dialog" aria-hidden="true">
      <div class="modal-dialog modal-lg">
        <div class="modal-content">
          <div class="modal-header">
            <h4 class="modal-title" id="myModalLabel">编辑</h4>
          </div>
          <div class="modal-body">
            <div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title">摘要</h3>
              </div>
              <div class="panel-body">
                <div class="form-group">
                  <label class="control-label">英文</label>
<textarea rows="4" name="" id="englishCoverText" class="form-control" style=""></textarea>
                </div>
                <div class="form-group">
                  <label for="5JYbfAEfyTcBc7yWk" class="control-label">中文</label>
<textarea rows="4" name="" id="chineseCoverText" class="form-control" style=""></textarea>
                </div>
              </div>
            </div>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-default" data-dismiss="modal"
              @click="closeAboutTheCover()">关闭</button>
            <button style="color:white" type="button" class="btn bg2" id="coverTextDialogSubmitBtn"
              @click="submitAboutTheCover()">提交</button>
          </div>
        </div>
      </div>
    </div>
    <!-- 模块4新增弹窗 -->
    <div class="modal fade" id="module4Modal">
      <div class="modal-dialog modal-lg">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true" @click="closeModal()">×</button>
            <h4 class="modal-title" id="myModalLabel">{{addOrEdit}}</h4>
          </div>
          <form id="module4Form" method="post" enctype="multipart/form-data">
            <input type="hidden" id="journalId" name="pjId" value="e0128cbcc5f64af7b7467073450f3b02">
            <div class="modal-body">
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">标题</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <select class="form-control" id="scrollId" name="articleBaseId"></select>
                  </div>
                </div>
              </div>
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">选择图片（图片大小1MB）</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <div class="imgBox">
                      <img class="preview" style="width:200px;height: 200px;" src=""
                        onerror="this.src='https://tedownloads.tcmjc.com/common/default.png'" />
                    </div>
                    <input type="file" name="file" @change="uploadImg(event)" />
                  </div>
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default" data-dismiss="modal" @click="closeModal()">关闭</button>
              <button type="button" class="btn btn-primary" @click="submitModal4()">提交</button>
            </div>
          </form>
        </div>
      </div>
    </div>
    <!-- 模块4修改弹窗 -->
    <div class="modal fade" id="module4ModalUpdate">
      <div class="modal-dialog modal-lg">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true" @click="closeModal()">×</button>
            <h4 class="modal-title" id="myModalLabel">{{addOrEdit}}</h4>
          </div>
          <form id="module4UpdateForm" method="post" enctype="multipart/form-data">
            <input type="hidden" id="journalId" name="pjId" value="e0128cbcc5f64af7b7467073450f3b02">
            <input type="hidden" id="pRecommendArticlesId" name="id">
            <div class="modal-body">
              <!-- <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">标题</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <select class="form-control" id="scrollId" name="articleBaseId"></select>
                  </div>
                </div>
              </div> -->
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">选择图片（图片大小1MB）</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <div class="imgBox">
                      <img class="preview" id="preview" style="width:200px;height: 200px;" src=""
                        onerror="this.src='https://tedownloads.tcmjc.com/common/default.png'" />
                    </div>
                    <input type="file" name="file" @change="uploadImg(event)" />
                  </div>
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default" data-dismiss="modal" @click="closeModal()">关闭</button>
              <button type="button" class="btn btn-primary" @click="submitModal4Update()">提交</button>
            </div>
          </form>
        </div>
      </div>
    </div>
    <!-- 模块7修改弹窗 -->
    <div class="modal fade" id="videoModal">
      <div class="modal-dialog modal-lg">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h4 class="modal-title">{{videoModalTitle}}</h4>
          </div>
          <form id="videoForm" novalidate="novalidate" enctype="multipart/form-data">
            <input type="hidden" name="journalBaseId" value="e0128cbcc5f64af7b7467073450f3b02" />
            <input type="hidden" name="id" id="id" value="" />
            <div class="modal-body">
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">标题 <span style="color:red">*</span></h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    英文
                    <input class="form-control" type="input" value="" name="titleEn" id="titleEn" />
                  </div>
                  <div class="form-group">
                    中文
                    <input class="form-control" type="input" value="" name="titleZh" id="titleZh" />
                  </div>
                </div>
              </div>

              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">作者</h3>
                </div>
                <div class="panel-body">
                  英文
                  <input class="form-control" type="input" value="" name="authorEn" id="videoAuthorEn" />
                  中文
                  <input class="form-control" type="input" value="" name="authorZh" id="videoAuthorZh" />
                </div>
              </div>

              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">简介</h3>
                </div>
                <div class="panel-body">
                  英文
<textarea rows="3" name="introEn" id="videoIntroEn" class="form-control" style=""></textarea>
                  中文
<textarea rows="3" name="introZh" id="videoIntroZh" class="form-control" style=""></textarea>
                </div>
              </div>

              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">详情</h3>
                </div>
                <div class="panel-body">
                  英文
<textarea rows="4" name="contentEn" id="videoContentEn" class="form-control tinymce-textarea" style="width: 100%; height: 300px;"></textarea>
                  中文
<textarea rows="4" name="contentZh" id="videoContentZh" class="form-control tinymce-textarea" style="width: 100%; height: 300px;"></textarea>
                </div>
              </div>

              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">发布位置</h3>
                </div>
                <div class="panel-body">
                  <span>说明：推荐为首页视频区域展示</span>
                  <select class="form-control" value="" name="top" id="top">
                    <option value=0>普通</option>
                    <option value=2>推荐</option>
                  </select>
                </div>
              </div>

              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">发布时间 <span style="color:red">*</span></h3>
                </div>
                <div class="panel-body form-group">
                  <input type="text" class="releseInput form-control releseCalendar"
                    placeholder="选择时间" name="releaseTimeStr" id="releaseTimeStr">
                </div>
              </div>

              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">URL</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <input type="text" name="outerChain" id="outerChain" autocomplete="off" class="form-control">
                  </div>
                </div>
              </div>

              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">请上传封面图</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <div class="uploadBtn uploadVideoCover bg1">上传
                    </div>
                  </div>
                  <img src="" alt="" class="img-rounded" id="videoCoverPreview" style="height: 150px;margin-top: 10px;">
                  <input name="file" type="file" class="file" accept="image/*" id="videoCover"
                    style="visibility: hidden;" />
                </div>
              </div>

              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">请上传视频</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <div class="uploadBtn uploadVideo bg1">上传</div>
                  </div>
                  <video id="videoPreview" controls="controls" style="height: 200px;margin-top: 10px;">
                  </video>
                  <input name="videoFile" type="file" class="file" accept="video/*" id="videoUpload"
                    style="visibility: hidden;" />
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default" :disabled="module7Disabled" @click="videoSubmit()">
                提交
              </button>
            </div>
          </form>
        </div>
      </div>
    </div>

    <!-- 当前期、最新录用、优先出版公用的修改图片弹窗 -->
    <div class="modal fade" id="upMostRead" role="dialog" aria-hidden="true" data-backdrop="static">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h4 class="modal-title">{{mostReadText}}</h4>
          </div>
          <form id="upMostReadForm" novalidate="novalidate" enctype="multipart/form-data">
            <div class="modal-body">
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">请上传封面图 <span
                      style="color:red">*</span></h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <div class="uploadBtn upMostReadCover bgC1">上传
                    </div>
                    <input type="hidden" id="mostReadImgInt" name="mostReadImgInt"/>
                    <span class="help-block"></span>
                  </div>
                  <img src="" alt="" class="img-rounded" id="mostReadImg"
                    style="height: 150px;margin-top: 10px;">
                  <input name="file" type="file" class="file" accept="image/*" id="mostReadCover"
                    style="visibility: hidden;" />
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <input type="hidden" name="articleId" id="mostReadId" />
              <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
              <button id="mostReadIdBtn" type="button" class="btn btn-primary"
                @click="updateMostReadSubmit()">提交</button>
            </div>
          </form>
        </div>
      </div>
    </div>

    <!-- 模态框弹出 -->
    <div class="modal fade" id="detailModal" role="dialog" aria-labelledby="newsdetailLabel" aria-hidden="true">
      <div class="modal-dialog modal-lg">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
            <h4 class="modal-title">添加</h4>
          </div>
          <form id="updateNewsModalForm" novalidate="novalidate" method="post" enctype="multipart/form-data">
            <div class="modal-body">
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">链接</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <input type="text" name="link" id="linkId" class="form-control" autocomplete="off">
                    <span class="link"></span>
                  </div>
                </div>
              </div>
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">标题</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <label class="control-label">英文</label>
                    <input type="text" name="titleEn" id="29xa3oZtYbkbCbYS6" class="form-control" autocomplete="off">
                    <span class="titleEn"></span>
                  </div>
                  <div class="form-group">
                    <label class="control-label">中文</label>
                    <input type="text" name="titleZh" id="epm67BJsvQWk7bgdm" class="form-control" autocomplete="off">
                    <span class="titleZh"></span>
                  </div>
                </div>
                
              </div>
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">作者</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <label class="control-label">英文</label>
                    <input type="text" name="authorEn" id="9KtJRL56bBHpALY3E" class="form-control" autocomplete="off">
                  </div>
                  <div class="form-group">
                    <label class="control-label">中文</label>
                    <input type="text" name="authorZh" id="29iofinyZzC35B8fe" class="form-control" autocomplete="off">
                  </div>
                </div>
              </div>
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">摘要</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <label  class="control-label">英文</label>
<textarea rows="4" name="abstractEn" id="iBE8GMAhs3Mar4EtB" class="form-control" style=""></textarea>

                  </div>
                  <div class="form-group">
                    <label for="5JYbfAEfyTcBc7yWk" class="control-label">中文</label>
<textarea rows="4" name="abstractZh" id="5JYbfAEfyTcBc7yWk" class="form-control" style=""></textarea>
                  </div>
                </div>
              </div>
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">内容全文</h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <label  class="control-label">英文</label>
<textarea rows="4" name="fulltextEn" id="o3tiJn9HQEpfQafm6" class="form-control tinymce-textarea" style=""></textarea>
                  </div>
                  <div class="form-group">
                    <label  class="control-label">中文</label>
<textarea rows="4" name="fulltextZh" id="Cv64GEcLb2WWTr9S2" class="form-control tinymce-textarea" style=""></textarea>
                  </div>
                </div>
              </div>
              <div class="form-group">
                <label class="control-label">发布时间</label>
                <input type="text" name="releaseTime" id="vhaboK5S7dEgsyDST" class="form-control" readonly="readonly">
                <span  class="help-block"></span>
              </div>
              <div class="panel panel-default">
                <div class="panel-heading">
                  <p>
                    选择图片
                    <span id="imageMessage1"></span>
                  </p>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <div style="width:200px;">
                      <img style="width:100%;" id="CmgDXqcdiKHKw8kkQ"  src="" onerror="this.src='https://tedownloads.tcmjc.com/common/default.png'">
                    </div>
                    <br>
                    <input id="YL4hnuGKX5Wx4WwDP" type="file" name="imgcoverpath">
                  </div>
                </div>
              </div>
            </div>
            <input type="hidden" name="id" id="KnLJssWuHTRs9GpJg">
            <input type="hidden" name="journalId" value="e0128cbcc5f64af7b7467073450f3b02">
            <div class="modal-footer">
              <button type="button" onclick="submitFeatureArticle()" class="btn btn-default">
                保存
              </button>
            </div>
          </form>
        </div>
      </div>
    </div>

    <!-- 广告位 -->
    <div class="modal fade" id="upAdvertisingSpace" role="dialog" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title">{{advertisingSpacetext}}</h4>
                </div>
                <form id="upAdvertisingSpaceForm" novalidate="novalidate" enctype="multipart/form-data">
                    <div class="modal-body">
                        <div class="form-group" data-required="true">
                            <span class="control-label">标题 中文</span>
                            <input name="title" type="text"
                                class="form-control" id="advertisingSpaceTitle" />
                            <span class="help-block"></span>
                        </div>
                        <div class="form-group" data-required="true">
                            <span class="control-label">标题 英文</span>
                            <input name="titleEn" type="text"
                                class="form-control" id="advertisingSpaceTitleEn" />
                            <span class="help-block"></span>
                        </div>
                        <div class="form-group">
                            <span class="control-label">外链</span>
                            <input name="link" type="text" 
                                class="form-control" id="advertisingSpaceUrl" />
                            <span class="help-block"></span>
                        </div>
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h3 class="panel-title">请上传封面图 <span
                                        style="color:red">*</span></h3>
                            </div>
                            <div class="panel-body">
                                <div class="form-group">
                                    <div class="uploadBtn upadvertisingSpaceCover bgC1">上传
                                    </div>
                                    <input type="hidden" id="advertisingSpaceImgInt" name="advertisingSpaceImgInt"/>
                                    <span class="help-block"></span>
                                </div>
                                <img src="" alt="" class="img-rounded" id="advertisingSpaceImg"
                                    style="height: 150px;margin-top: 10px;">
                                <input name="file" type="file" class="file" accept="image/*" id="advertisingSpaceCover"
                                    style="visibility: hidden;" />
                            </div>
                        </div>
                        <input type="hidden" name="journalId" value="e0128cbcc5f64af7b7467073450f3b02">
                    </div>
                    <div class="modal-footer">
                        <input type="hidden" name="id" id="advertisingSpaceId" />
                        <button id="advertisingSpaceIdBtn" type="button" class="btn btn-default"
                            @click="updateAdvertisingSpaceSubmit()">提交</button>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <!-- 合作伙伴 -->
    <div class="modal fade" id="upCooperativePartner" role="dialog" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h4 class="modal-title">{{cooperativePartnerText}}</h4>
          </div>
          <form id="upCooperativePartnerForm" novalidate="novalidate" enctype="multipart/form-data">
            <div class="modal-body">
              <div class="form-group" data-required="true">
                <span class="control-label">标题 中文</span>
                <input name="nameZh" type="text"
                  class="form-control" id="cooperativePartnerTitle" />
                <span class="help-block"></span>
              </div>
              <div class="form-group" data-required="true">
                <span class="control-label">标题 英文</span>
                <input name="nameEn" type="text"
                  class="form-control" id="cooperativePartnerTitleEn" />
                <span class="help-block"></span>
              </div>
              <div class="form-group">
                <span class="control-label">外链</span>
                <input name="outerChain" type="text" 
                  class="form-control" id="cooperativePartnerUrl" />
                <span class="help-block"></span>
              </div>
              <div class="form-group" data-required="true">
                <span class="control-label">排序</span>
                <input name="orderNum" type="text" oninput="value=value.replace(/[^\d]/g,'')"
                  class="form-control" maxlength="2" id="cooperativePartnerSort" />
                <span class="help-block"></span>
              </div>
              <div class="panel panel-default">
                <div class="panel-heading">
                  <h3 class="panel-title">请上传封面图 <span
                      style="color:red">*</span></h3>
                </div>
                <div class="panel-body">
                  <div class="form-group">
                    <div class="uploadBtn uploadCooperativePartnerCover bgC1">上传
                    </div>
                    <input type="hidden" id="cooperativePartnerImgInt" name="cooperativePartnerImgInt"/>
                    <span class="help-block"></span>
                  </div>
                  <img src="" alt="" class="img-rounded" id="cooperativePartnerImg"
                    style="height: 100px;margin-top: 10px;">
                  <input name="file" type="file" class="file" accept="image/*" id="cooperativePartnerCover"
                    style="visibility: hidden;" />
                </div>
              </div>
            </div>
            <div class="modal-footer">
              <input type="hidden" name="id" id="cooperativePartnerId" />
              <button id="cooperativePartnerIdBtn" type="button" class="btn btn-default"
                @click="updateCooperativePartnerSubmit()">提交</button>
            </div>
          </form>
        </div>
      </div>
    </div>


  </div>
  <!-- 底部(公用底部) -->

<link rel="stylesheet" href="/platformTemplate/css/platform_302.css">
<script type="text/javascript" charset="utf-8" src="/platformTemplate/js/platform_302.js"></script>
<script src="https://tedownloads.tcmjc.com/static/upgrade/vue-2.5.20/vue.min.js"></script>
<script>
    $(function () {
        $(window).scroll(function () {
            var scrollTop = $(document).scrollTop()
            // back to top
            if (scrollTop >= 300) {
                $('.backToTop1').addClass('back-to-top__is-visible back-to-top__fade-out')
            } else if (scrollTop >= 100) {
                $('.backToTop1').addClass('back-to-top__is-visible')
            } else if (scrollTop < 100) {
                $('.backToTop1').removeClass('back-to-top__is-visible back-to-top__fade-out')
            }
        })
    })
    function backTop() {
        $('html, body').animate({ scrollTop: 0 });
    }
    function getIgnore () {
      $('.cookieBox').hide()
    }
    function getAccept () {
      window.localStorage.setItem('cookie', true) //存储cookie值
      $('.cookieBox').hide()
    }
</script>
<script>
     $(document).ready(
        // 执行代码
       init()
    )
  function init() {
        $.ajax({
            url: '/platformRestHome/paperSubmission?limit=10',
            success: function success(result) {
                let resData = JSON.parse(JSON.stringify(result)).splice(0,5)
                var html = ''
                for (let i = 0; i < resData.length; i++) {
        
                    html = html + '<div class="list"><a class="link" href="/publisher/' + result[i].publisher.abbreviated + '/journal/' + result[i].fla + '?slug=abstracts">'+result[i].title+'</a></div>'
        
                }
                $("#rlistBox").html(html);
        
            }
        });
}
function jumpUrl(){
    window.location.href = "/publications";

}
    
</script>
<div class="commonFooterAlkBox">
  <!-- back to top -->
  <div class="backToTop1" onclick="backTop()">
    <img class="bt-img1" src="https://tedownloads.tcmjc.com/zhzyyalk/backtop.png" alt="">
  </div>
  <div class="footerWrap">
    <div class="footerContent">
        <div class="footerRight">
            <!-- <div class="sitemapColumn">
                <div class="sitemapData">
                    <div class="top">
                        <div class="accordionControl">
                            <img class="ac-img1" src="https://tedownloads.tcmjc.com/zhzyyalk/logo2.png" alt="">
                            <div>中华中医药学会</div>
                        </div>
                        <i class="fa fa-plus faPlus" aria-hidden="true" style="display: none;"></i>
                        <i class="fa fa-minus" aria-hidden="true"></i>
                    </div>
                    <div class="rlist" id="rlistBox">
                    </div>
                
                </div>
            </div> -->

            <div class="sitemapColumn">
                <div class="sitemapData">
                    <div class="top">
                        <div class="accordionControl">
							<img class="ac-img1" src="https://tedownloads.tcmjc.com/zhzyyalk/logo2.png" alt="">
                            <div>{{lang == 'en_US'?'China Association of Traditional Chinese Medicine':'中华中医药学会'}}</div>
                        </div>
                        <i class="fa fa-plus faPlus" aria-hidden="true" style="display: none;"></i>
                        <i class="fa fa-minus" aria-hidden="true"></i>
                    </div>
                    <div class="rlist">
                        <div class="list">
							<sapn class="text">{{lang == 'en_US' ? 'Address: No. A4, Sakura Garden East Street, Chaoyang District, Beijing' : '地址：北京市朝阳区樱花园东街甲4号'}}</sapn>      
                        </div>
                        <div class="list">
							<sapn class="text">{{lang == 'en_US' ? 'Phone:（010）58964525' : '电话：（010）58964525'}}</sapn>
                        </div>
                        <div class="list">
							<sapn class="text">{{lang == 'en_US' ? 'Email: kxpjb211@163.com' : '邮箱：kxpjb211@163.com'}}</sapn> 
                        </div>
                    </div>
                </div>
            </div>
            <div class="sitemapColumn">
                <div class="sitemapData">
                    <div class="top">
                        <div class="accordionControl">
                            <img class="ac-img1" src="https://tedownloads.tcmjc.com/zhzyyalk/icon_gywm.png" alt="">
                            <div>关于我们</div>
                        </div>
                        <i class="fa fa-plus faPlus" aria-hidden="true" style="display: none;"></i>
                        <i class="fa fa-minus" aria-hidden="true"></i>
                    </div>
                    <div class="rlist">
                        <div class="list">
                            <a class="link" href="/standard/newsInfo/70B1EEC04FE04AD9B9A24DB847F169D1?type=alkjj" target="_blank">{{lang == 'en_US' ? 'Introduction to the case library' : '案例库简介'}}</a>
                        </div>
                        <div class="list">
                            <a class="link" href="/alk/home" target="_blank">{{lang == 'en_US' ? 'Expert Committee' : '专家委员会'}}</a>
                        </div>
						<!-- <div class="list">
                            <a class="link" href="/plat/aboutus" target="_blank">{{lang == 'en_US' ? 'About Learning' : '关于学会'}}</a>
                        </div> -->
                    </div>
                </div>
            </div>
            <div class="sitemapColumn">
              <div class="sitemapData">
                  <div class="top">
                      <div class="accordionControl">
                          <img class="ac-img1" src="https://tedownloads.tcmjc.com/zhzyyalk/icon-tgsm.png" alt="">
                          <div>{{lang == 'en_US' ? 'Submission Instructions' : '投稿说明'}}</div>
                      </div>
                      <i class="fa fa-plus faPlus" aria-hidden="true" style="display: none;"></i>
                      <i class="fa fa-minus" aria-hidden="true"></i>
                  </div>
                  <div class="rlist  ts-list">
                    <div class="list">
                        <a class="link" href="https://tedownloads.tcmjc.com/zhzyyalk/%E4%B8%AD%E5%9B%BD%E4%B8%AD%E5%8C%BB%E8%8D%AF%E4%B8%B4%E5%BA%8A%E6%A1%88%E4%BE%8B%E6%88%90%E6%9E%9C%E5%BA%93%E4%B8%AA%E6%A1%88%E7%97%85%E4%BE%8B%E6%8A%A5%E5%91%8A%E5%86%99%E4%BD%9C%E6%A8%A1%E6%9D%BF-2026.docx">{{lang == 'en_US' ? 'Case writing template' : '案例写作模板'}}</a>
                    </div>
                    <div class="list">
                        <a class="link" href="/cfs/files/files/upfile/1951121390174208000">{{lang == 'en_US' ? 'Nursing Writing Template' : '护理写作模板'}}</a>
                    </div>
                    <div class="list">
                        <a class="link" href="/standard/newsInfo/5A22EE646078418BBCCC4FB261D662FF?type=altgxz" target="_blank">{{lang == 'en_US' ? 'Instructions for case submission' : '案例投稿须知'}}</a>
                    </div>
					<div class="list">
                        <a class="link" href="https://tedownloads.tcmjc.com/zhzyyalk/%E6%A1%88%E4%BE%8B%E7%89%88%E6%9D%83%E5%A3%B0%E6%98%8E-2026.docx">{{lang == 'en_US' ? 'Case copyright statement' : '案例版权声明'}}</a>
                    </div>
                  </div>
              </div>
          </div>
            <div class="sitemapColumn sitemapColumn2">
				<div class="imgWc"><img class="ac-img1" src="https://tedownloads.tcmjc.com/zhzyyalk/ewm1.png" alt=""></div>
                <div class="text">{{lang == 'en_US' ? 'Scan to follow the official WeChat account of the society' : '扫码关注学会公众号'}}</div>      
            </div>
        </div>
        <div class="footerBottom">
            <div class="d1"> 
                <span class="s1">{{lang == 'en_US' ? 'Copyright © 2007-2021 Beijing ICP Registration No. 17069760-1 Beijing Public Security Bureau Registration No. 110105001699' : 'Copyright © 2007-2021京ICP备17069760号-1京公⽹安备110105001699号'}}</span>
                <!-- <span class="s3 sp">
                    <img src="https://tedownloads.tcmjc.com/footer/batb.png" alt="">
                    <a href="https://beian.mps.gov.cn/#/query/websearch?code=11010502855996" rel="noreferrer" target="_blank">京公网安备11010502055996</a>
                </span> -->
            </div>
        </div>
    </div>
  </div>

  <!-- cookie -->
  <div class="cookieBox">
  <div class="cookie">
    <div class="container containerBox">
      <div class="desc" v-if="lang == 'en_US'">We use cookies to ensure the normal operation of our website, personalize content and advertisements, provide social media functions, and analyze how people use our website. At the same time, in order to improve your experience, we store and access the information (cookies or corresponding information) on your terminal on the condition that you agree to all our websites and applications.Further information can be found in our <a href="/about" class="goPolicy">privacy policy</a>.</div>
      <div class="desc" v-if="lang == 'zh_CN'">我们使用cookies来确保我们的网站正常运行，并对内容和广告进行个性化设置，提供社交媒体功能，分析人们如何使用我们的网站。同时为了改善您的体验，在您同意我们所有网站和应用的情况下，我们连接您终端上的存储和访问您终端上的信息（cookie或对应信息）。更多信息请参见我们的<a href="/privacy-policy" class="goPolicy">隐私政策</a>。</div>
      <div class="btnsBox">
        <div class="acceptBtn" onclick="getAccept()">{{lang == 'en_US' ? 'Accept All Cookies' : '接受所有Cookies'}}</div>
        <div class="manageBtn" onclick="getIgnore()">{{lang == 'en_US' ? 'ignore' : '忽略'}}</div>
      </div>
    </div>
  </div>
  </div>
</div>
<script>
  var Vue = new Vue({
    el: '.commonFooterAlkBox',
    data: {
      lang: 'zh_CN',
      isShowCookie: true
    },
    created: function () {
      console.log('created')
      let cookie = window.localStorage.getItem('cookie')
      if (cookie) {
        console.log('存在')
        $('.cookieBox').hide()
      }
    }
  })
</script>
<style>
    a:focus {
        outline: none!important;
    }
</style>
</body>
<script src="https://tedownloads.tcmjc.com/js/uploadPreview.min.js" type="text/javascript"></script>
<script src="https://tedownloads.tcmjc.com/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
  var ctx = '';
  NodeList.prototype.forEach = Array.prototype.forEach;
</script>
<script src="https://tedownloads.tcmjc.com/js/tinymce-init.js" type="text/javascript"></script>
<script src="https://tedownloads.tcmjc.com/static/upgrade/vue-2.5.20/vue.min.js"></script>
<script src="https://tedownloads.tcmjc.com/static/upgrade/bootstrap-3.3.7/bootstrap.min.js"></script>
<script src="https://tedownloads.tcmjc.com/static-template/js/bootstrap-datetimepicker.js"></script>
<script src="/static-template/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="https://tedownloads.tcmjc.com/js/bootstrapValidator.min.js"></script>
<script src="https://tedownloads.tcmjc.com/static/select2/select2.min.js"></script>
<script src="https://tedownloads.tcmjc.com/static/upgrade/swiper-7.4.1/swiper/swiper-bundle.min.js"></script>
<script src="https://tedownloads.tcmjc.com/static/upgrade/sweetalert/sweetalert.min.js"></script>
<script src="https://tedownloads.tcmjc.com/static/validate/jquery.validate.min.js"></script>
<script src="https://tedownloads.tcmjc.com/static/validate/messages_zh.js"></script>
<script src="https://tedownloads.tcmjc.com/static/select2/select2.min.js"></script>
<script type="application/javascript" src="https://tedownloads.tcmjc.com/js/common/calculation.js"></script>
<script src="https://tedownloads.tcmjc.com/js/sortable.min.js"></script>
	<script src="https://tedownloads.tcmjc.com/static/upgrade/element/index.js"></script>
<script>
    $(function() {
      mostReadRule()
      addAdvertisingSpaceRule()
      addCooperativePartnerRule();
    })
    // 热门文章图片
    function mostReadRule() {
    $('#upMostReadForm').bootstrapValidator({
      excluded: ':disabled',
      feedbackIcons: {

      },
      fields: {
        mostReadImgInt: {
          validators: {
            notEmpty: {
              message: '请上传封面图'
            }
          }
        }
      }
    });
  }

// 广告位校验
function addAdvertisingSpaceRule() {
    $('#upAdvertisingSpaceForm').bootstrapValidator({
        excluded: ':disabled',
        feedbackIcons: {

        },
        fields: {
            title:{
                validators: {
                    notEmpty: {
                        message: '必须输入'
                    }
                }
            },
            titleEn:{
                validators: {
                    notEmpty: {
                        message: '必须输入'
                    }
                }
            },
            link: {
                validators: {
                    notEmpty: {
                        message: '必须输入'
                    }
                }
            },
            advertisingSpaceImgInt: {
                validators: {
                    notEmpty: {
                        message: '请上传封面图'
                    }
                }
            }
        }
    });
}

// //友情链接-合作伙伴弹窗校验规则
function addCooperativePartnerRule() {
			$('#upCooperativePartnerForm').bootstrapValidator({
				excluded: ':disabled',
				feedbackIcons: {

				},
				fields: {
					nameZh:{
						validators: {
							notEmpty: {
								message: '必须输入'
							}
						}
					},
					nameEn:{
						validators: {
							notEmpty: {
								message: '必须输入'
							}
						}
					},
					orderNum: {
						validators: {
							notEmpty: {
								message: '必须输入'
							}
						}
					},
					cooperativePartnerImgInt: {
						validators: {
							notEmpty: {
								message: '请上传封面图'
							}
						}
					}
				}
			});
		}
		
		
  var sortable;
  function downloadHighQualityCover() {
    var slug = "abstracts";
    var prefix = "/img/issue/";
    if (slug == "browse") {
      // 出版目录页
      var coverPath = $("#journalHighQualityCoverPath").val();
      window.open(coverPath);
    } else {
      // 其它页
      var coverPath = "";
      if (!coverPath) {
        
      }
      window.open(prefix + coverPath);
    }
  }
  function closeJournalLargeCover() {
    $("#readMoreModal").modal("hide");
  }
  function initSwiperFirst(){
	  // 轮播(多张图片)
	  var swiper = new Swiper('.swiper-container', {
	    loop: true,
	    autoplay: {
	      disableOnInteraction: false,
        delay: 5000,
	    },
	    observer: true,
	    observeParents: true,
	    noSwiping: true,
	    pagination: {
	      el: '.swiper-pagination',
	      clickable: true
	    },
	    on: {
	      //添加此是事件主要是针对换肤
	      slideChangeTransitionStart: function slideChangeTransitionStart() {
	        $('.swiper-pagination-bullet').removeClass('bgC1');
	        $('.swiper-pagination-bullet-active').addClass('bgC1');
	      }
	    }
	  }); // 轮播(1张图片)
	  
	  var swiper = new Swiper('.swiper-container-one', {
	    observer: true,
	    observeParents: true,
	    noSwiping: true,
	    pagination: {
	      el: '.swiper-pagination',
	      clickable: true
	    },
	    on: {
	      //添加此是事件主要是针对换肤
	      slideChangeTransitionStart: function slideChangeTransitionStart() {
	        $('.swiper-pagination-bullet').removeClass('bgC1');
	        $('.swiper-pagination-bullet-active').addClass('bgC1');
	      }
	    }
	  });
	  $('.swiper-pagination-bullet-active').addClass('bgC1'); //当前轮播页码的背景色
  }

  $(function () {
    //图片控件
    $("#YL4hnuGKX5Wx4WwDP").uploadPreview({
        Img: "CmgDXqcdiKHKw8kkQ",
        Width: 400,
        Height: 400
      }); //Modal可见时触发
  
    $('#detailModal').on('shown.bs.modal', function () {
      initValidator();
    }); //Modal验证销毁重构
  
    $('#detailModal').on('hidden.bs.modal', function () {
      if ($("#updateNewsModalForm").data('bootstrapValidator') != undefined && $("#updateNewsModalForm").data('bootstrapValidator') != null) {
        $("#updateNewsModalForm").data('bootstrapValidator').destroy();
        $('#updateNewsModalForm').data('bootstrapValidator', null);
      }
    });

    $(body).click(function () {
      var target = event.target
      if (!$(target).hasClass('popoverAuthor') && !$(target).hasClass('ellipsis')) {
        $('.popoverAuthor').popover('destroy')
      }
    })
  });
  
  function initValidator() {
    $("#updateNewsModalForm").bootstrapValidator({
      feedbackIcons: {
        valid: 'glyphicon glyphicon-ok',
        invalid: 'glyphicon glyphicon-remove',
        validating: 'glyphicon glyphicon-refresh'
      },
      fields: {
        titleEn: {
          validators: {
            notEmpty: {
              message: "必须填写英文"
            }
          }
        },
        titleZh: {
          validators: {
            notEmpty: {
              message: "必须填写中文"
            }
          }
        },
        releaseTime: {
          validators: {
            notEmpty: {
              message: "必须填写时间"
            }
          }
        }
      }
    });
  }
  function addFeatureArticle() {
    $("#linkId").val("");
    $("#KnLJssWuHTRs9GpJg").val("");
    $("#29xa3oZtYbkbCbYS6").val("");
    $("#epm67BJsvQWk7bgdm").val("");
    $("#9KtJRL56bBHpALY3E").val("");
    $("#29iofinyZzC35B8fe").val("");
    $("#iBE8GMAhs3Mar4EtB").val("");
    $("#5JYbfAEfyTcBc7yWk").val("");
    tinymce.get('o3tiJn9HQEpfQafm6').setContent('');
    tinymce.get('Cv64GEcLb2WWTr9S2').setContent('');
    $("#vhaboK5S7dEgsyDST").val("");
    $("#CmgDXqcdiKHKw8kkQ").attr("src", "");
    $("#YL4hnuGKX5Wx4WwDP").val("");
    $("#detailModal").modal('show');
  }

  function submitFeatureArticle() {
    $("#updateNewsModalForm").data("bootstrapValidator").validate();
    setTimeout(function () {
      if ($("#updateNewsModalForm").data("bootstrapValidator").isValid()) {
        tinyMCE.triggerSave();
        var formData = new FormData($("#updateNewsModalForm")[0]);
        let url = "/featureArticle/addDetial";
        let featureArticleId = $("#KnLJssWuHTRs9GpJg").val();
        if (featureArticleId != undefined && featureArticleId != "") {
          //判断为更新
          url = "/featureArticle/updateDetial";
        }
        $.ajax({
          type: "POST",
          url: url,
          data: formData,
          cache: false,
          processData: false,
          contentType: false,
          success: function success(data) {
            window.location.reload(true);
          }
        });
      }
    }, 200);
  }

  // 最新的转变时间戳的方法
  function timestampToDate(timestamp) {
    var date = new Date(timestamp);
    var YY = date.getFullYear();
    var MM = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1);
    var DD = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
    var hh = (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':';
    var mm = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()) + ':';
    var ss = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
    // var truetime = DD +'/'+ MM +'/'+ YY
    var truetime = MM +'/'+ DD +'/'+ YY
    return truetime;
  }

  function editFeatureArticle() {
    var faId = $(".swiper-slide-active .hide-fa-id").val();
    if (faId != null && faId != "" && faId != undefined) {
      $.ajax({
        type: "POST",
        url: "/featureArticle/selectArticle",
        data: { "id": faId },
        async: false,
        success: function (data) {
          $("#linkId").val(data.article.link)
          $("#KnLJssWuHTRs9GpJg").val(data.article.id);
          $("#29xa3oZtYbkbCbYS6").val(data.article.titleEn);
          $("#epm67BJsvQWk7bgdm").val(data.article.titleZh);
          $("#9KtJRL56bBHpALY3E").val(data.article.authorEn);
          $("#29iofinyZzC35B8fe").val(data.article.authorZh);
          $("#iBE8GMAhs3Mar4EtB").val(data.article.abstractEn);
          $("#5JYbfAEfyTcBc7yWk").val(data.article.abstractZh);
          if (data.article.fulltextEn == null) {
            tinymce.get('o3tiJn9HQEpfQafm6').setContent('');
          } else {
            tinymce.get('o3tiJn9HQEpfQafm6').setContent(data.article.fulltextEn);
          }
          if (data.article.fulltextZh == null) {
            tinymce.get('Cv64GEcLb2WWTr9S2').setContent('');
          } else {
            tinymce.get('Cv64GEcLb2WWTr9S2').setContent(data.article.fulltextZh);
          }
          if (data.article.releaseTime != null) {
            let time = timestampToDate(data.article.releaseTime)
            $("#vhaboK5S7dEgsyDST").val(time);
          }
          $("#CmgDXqcdiKHKw8kkQ").attr("src", "/img/new/" + data.article.graphUrl);
          $("#detailModal").modal('show');
        }
      });
    }
  }
  
  function deleteFeatureArticle() {
    var faId = $(".swiper-slide-active .hide-fa-id").val();
  
    if (faId != null && faId != "" && faId != undefined) {
      var text = $(".swiper-slide-active").find(".title").text();
    
    swal('警告', text, "warning", {
      buttons: {
      cancel: {
        text: '取消',
        value: null,
        visible: true,
        className: "",
        closeModal: true,
      },
        confirm: {
          text: '好的，删除它',
          value: 'confirm',
          closeModal: false
        },
      }
    }).then(function (value) {
      switch (value) {
        case "confirm":
          $.ajax({
            type: "POST",
            url: "/featureArticle/deleteDetial/" + faId,
            success: function success(data) {
              window.location.reload(true);
            }
          });
          break;
      }
    });
    }
  }

  var Vue = new Vue({
    el: '#journalGeneralHome',
    data: {
      fla: 'alk',
      ctxPath: '',
      id: 'e0128cbcc5f64af7b7467073450f3b02',
      // id: '4da2b3d49f22486c8211f7228db444f2',
      baseFiguresUrl: '/img/issue/',
      specailCoverUrl: '/img/issue/',
      baseImgUrl: '/img/new/',
      lang: 'zh_CN',
      url2: '/doi/',
      baseArticleUrlInner: '/doi/',
      informationList: '',
      journalResult:'',
      journal: '',
      volume: '',
      issue: '',
      currentIssue: '',
      currentIssueLoading: true,
      justAcceptedLoading: true,
      onlineFirstLoading: true,
      onlineFirst: [],
      module3Tab: 'accept',
      listItems: [],
      editorRecommendLoading: true,
      editorRecommendList: [],
      mostReadLoading: true,
      mostReadList: [],
      mostDownloadLoading: true,
      mostDownloadList: [], //下载排行列表数据
      mostCitedLoading: true,
      mostCitedList: [],
      module6Tab: 'collection',
      specialTopicsList: [],
      specialTopicLoading: true,
      collectionList: [],
      collectionListLoading: true,
      videoList: [],// 视频导图变量
      videoGuideLoading: true,
      videoUrl: '/viewVideo/issue/',
      module7Player: null, //视频播放器
      isShowmodule7Player: false, //是否显示播放器
      videoBoxLeft: 0, //播放器距离左侧的距离
      videoBoxTop: 0, //播放器距离头部的距离
      videoModalTitle: '修改',
      module7Disabled: false,

      includeLanguage: '',
      journalIndexed: '',
      collectionArticleList: '',
      paperJournalTotalPrice: '',
      paperJournalMap: '',
      defaultId: '',
      citeScore: '',
      impactFactor: '',
      cscdImpactFactor: '',
      rpublishList: '',
      justAccepted: [],
      rpublishListLoading: true,
      justAcceptedLoading: true,
      pictureZoomUrl: '',//图片放大路径
      addOrEdit: '',
      isManager: false,
      clientWidthLabel: '',
      page: "news",
      pageCount: 0,
      curpage: 4,
      newsList: [],
      sort: 'default',
      codeStatus: true, //buy print是否显示变量
      relationJournalList: [], //相关期刊列表
      topJournalList: [],
      allJournalList: [],
      mostReadFlage:'add',
      mostReadText: '添加',
      module4Issn: '',
      featureList:[],

      advertisingSpaceList: [], //广告位列表
      editVideoModalTitle: '添加',
      latestHotTopicsTitle: '添加',
      advertisingSpacetext: '添加',
      imgUrl: '/img/new/',
      advertisingSpaceFlage: 'add',


      // 友情链接
      cooperativePartnerFlage:'add',
      cooperativePartnerList:[],
      cooperativePartnerList2:[],
      cooperativePartnerText: '添加',
      zxsxList:[],
    },
    created: function () {
      this.isManager = false;
      this.collapse()
      this.informations()
      this.initModal1()
      this.initCurrentIssue()
      this.loadJustAccepted()
      this.loadOnlineFirst()
      this.loadEditorRecommendList()
      this.zxsxFun()
      this.loadMostReadList()
      this.loadDownloadList()
      this.loadMostCitedList()
      this.initJournalSpecialTopicInfo()
      this.loadCollectionList()
      this.initVideoList()
      this.initNewsList();
      this.loadJournalList();
      this.initAllJournalList();
      this.loadFeatureArticle()

      this.advertisingSpace()
      this.cooperativePartner();//获取友情链接数据
    },
    mounted: function () {
      //初始化时间控件
      $('#vhaboK5S7dEgsyDST').datetimepicker({
        minView: "month",
        //选择日期后，不会再跳转去选择时分秒
        language: 'zh-CN',
        format: 'mm/dd/yyyy',
        autoclose: true,
        clearBtn: true,
        container: "#detailModal .modal-content" //悬浮在模态框上面
      
      }).on('hide', function (e) {
        $('#updateNewsModalForm').data('bootstrapValidator').updateStatus('releaseTime', 'NOT_VALIDATED', null).validateField('releaseTime');
      });

      //初始化播放器
      this.module7Player = videojs('module7Player', {
        bigPlayButton: false,
        posterImage: false,
        autoplay: true,
        loop: false,
        errorDisplay: true,
        nativeControlsForTouch: false,
        controlBar: {
          volumePanel: true,
          remainingTimeDisplay: false,
          pictureInPictureToggle: false
        }
      })

      // 视频弹窗时间初始化
      $('#releaseTimeStr').datetimepicker({
        language: this.lang,
        format: 'yyyy-mm-dd hh:ii',
        autoclose: true,
        clearBtn: true,
        container: "#videoModal .modal-content" //悬浮在模态框上面
      });

      // 视频弹窗上传封面
      $('.uploadVideoCover').click(function () {
        var uploadInput = document.querySelector('#videoCover');
        uploadInput.click();
        uploadInput.addEventListener('change', function () {
          var filesList = document.querySelector('#videoCover').files;
          var filePath = URL.createObjectURL(filesList[0]);
          $('#videoCoverPreview').attr('src', filePath);
        });
      });

      // 视频弹窗上传视频
      $('.uploadVideo').click(function () {
        var uploadInput = document.querySelector('#videoUpload');
        uploadInput.click();
        uploadInput.addEventListener('change', function () {
          var filesList = document.querySelector('#videoUpload').files;
          var filePath = URL.createObjectURL(filesList[0]);
          $('#videoPreview').attr('src', filePath);
        });
      });

      // 提交视频校验规则
      $('#videoForm').validate({
        rules: {
          titleEn: 'required',
          titleZh: 'required',
          releaseTimeStr: 'required'
        },
        messages: {
          titleEn: {
            required: '信息为必填项'
          },
          titleZh: {
            required: '信息为必填项'
          },
          releaseTimeStr: {
            required: '信息为必填项'
          }
        }
      });
      

      $('.upadvertisingSpaceCover').click(function() {
            var uploadInput = document.querySelector('#advertisingSpaceCover');
            uploadInput.click();
            uploadInput.addEventListener('change', function() {
                var filesList = document.querySelector('#advertisingSpaceCover').files;
                var filePath = URL.createObjectURL(filesList[0]);
                $('#advertisingSpaceImg').attr('src', filePath);
                $('#advertisingSpaceImgInt').val(filePath);
                //重新校验规则
                $("#upAdvertisingSpaceForm").data('bootstrapValidator').updateStatus('advertisingSpaceImgInt', 'NOT_VALIDATED').validateField('advertisingSpaceImgInt');

            });
        });
      
      // 当前期上传图片
      $('.upMostReadCover').click(function () {
          let uploadInput = document.querySelector('#mostReadCover');
          uploadInput.click();
          uploadInput.addEventListener('change', function() {
            var filesList = document.querySelector('#mostReadCover').files;
            var filePath = URL.createObjectURL(filesList[0]);
            $('#mostReadImg').attr('src', filePath);
            $('#mostReadImgInt').val(filePath);
            //重新校验规则
            $("#upMostReadForm").data('bootstrapValidator').updateStatus('mostReadImgInt', 'NOT_VALIDATED').validateField('mostReadImgInt');
          });
      });

      $('.uploadCooperativePartnerCover').click(function() {
				var uploadInput = document.querySelector('#cooperativePartnerCover');
				uploadInput.click();
				uploadInput.addEventListener('change', function() {
					var filesList = document.querySelector('#cooperativePartnerCover').files;
					var filePath = URL.createObjectURL(filesList[0]);
					$('#cooperativePartnerImg').attr('src', filePath);
					$('#cooperativePartnerImgInt').val(filePath);
					//重新校验规则
					$("#upCooperativePartnerForm").data('bootstrapValidator').updateStatus('cooperativePartnerImgInt', 'NOT_VALIDATED').validateField('cooperativePartnerImgInt');
				});
			});
    },

    methods: {
        articalTo(item){
          window.open(this.baseArticleUrlInner + item.doi, '_blank');
        },
        // 需要修改
        advertisingSpace(){
            let that = this
            $.ajax({
                type: "GET",
                url: '/restAdvertisement/selectAdvList?journalId=e0128cbcc5f64af7b7467073450f3b02',
                success: function success(result) {
                  let arr = result.data
                  // 循环直到数组长度达到3  
                  while (arr.length < 3) {  
                    // 向数组末尾添加一个空数组  
                    arr.push([]);  
                  } 
                  that.advertisingSpaceList = result.data
                }
            });
        },
       // 广告位
        addAdvertisingSpace(){
            this.AdvertisingSpaceFlage = 'add'
            this.advertisingSpacetext = '添加'
            $("#advertisingSpaceTitle").val('');
            $("#advertisingSpaceTitleEn").val('');
            $("#advertisingSpaceUrl").val('')
            $("#advertisingSpaceId").val('')
            $("#advertisingSpaceImgInt").val('');
            $("#advertisingSpaceCover").val('');
            $('#advertisingSpaceImg').attr('src', '');
            //重新校验规则
            $("#upAdvertisingSpaceForm").data('bootstrapValidator').destroy();
            $('#upAdvertisingSpaceForm').data('bootstrapValidator', null);
            addAdvertisingSpaceRule();
            $("#upAdvertisingSpace").modal("show");
        },
        deleteAdvertisingSpace(id) {
            let self = this;
            if (id != null && id != undefined && id != '') {
                swal('确认删除', "", "warning", {
                    buttons: {
                        cancel: {
                            text: '取消',
                            value: null,
                            visible: true,
                            className: "",
                            closeModal: true,
                        },
                        confirm: {
                            text: '确认',
                            value: 'confirm',
                            closeModal: false
                        },
                    }
                }).then(function(value) {
                    switch (value) {
                        case "confirm":
                            $.ajax({
                                type: "POST",
                                url: "/restAdvertisement/deleteAdvById?id="+id,
                                cache: false,
                                processData: false,
                                // 请求数据地址
                                success: function success(result) {
                                    if (result.code == '0') {
                                        swal({
                                            type: 'success',
                                            title: '操作成功',
                                            showConfirmButton: true
                                        });
                                        self.advertisingSpace()
                                    }
                                }
                            });
                        break;
                    }
                });
            }
        },
        updateAdvertisingSpaceSubmit(){
            let self = this;
            $("#upAdvertisingSpaceForm").bootstrapValidator('validate'); //提交验证
            if ($("#upAdvertisingSpaceForm").data('bootstrapValidator').isValid()) {
                swal('确认保存', "", "warning", {
                    buttons: {
                        cancel: {
                            text: '取消',
                            value: null,
                            visible: true,
                            className: "",
                            closeModal: true,
                        },
                        confirm: {
                            text: '确认',
                            value: 'confirm',
                            closeModal: false
                        },
                    }
                }).then(function(value) {
                    switch (value) {
                        case "confirm":
                            var formData = new FormData($("#upAdvertisingSpaceForm")[0]);
                            const object = {};
                            if(self.advertisingSpaceFlage == 'add'){
                                // 新增
                                url = '/restAdvertisement/insertAdv'
                            }else{
                                // 编辑
                                url = '/restAdvertisement/updateAdv'
                                object.id = $("#advertisingSpaceId").val();
                            }
                            $.ajax({
                                type: "POST",
                                url: url,
                                data: formData,
                                cache: false,
                                processData: false,
                                contentType: false,
                                success: function success(result) {
                                    if (result.code == '0') {
                                        swal({
                                            type: 'success',
                                            title: '操作成功',
                                            showConfirmButton: true
                                        });
                                        $("#upAdvertisingSpace").modal("hide");
                                        self.advertisingSpace()
                                    } else {
                                        swal({
                                            type: 'error',
                                            title: '操作失败',
                                            showConfirmButton: true
                                        });
                                    }
                                }
                            });
                            break;
                    }
                });
            }
        },
        editAdvertisingSpace(id){
            this.advertisingSpaceFlage = 'editor'
            this.advertisingSpacetext = '修改'
            let self = this;
            if (id != null && id != undefined && id != '') {
                $.ajax({
                    type: "GET",
                    url: "/restAdvertisement/selectAdvById?id="+id,
                    cache: false,
                    processData: false,
                    // 请求数据地址
                    success: function success(result) {
                        if (result != null) {
                            $("#advertisingSpaceTitle").val(result.title);
                            $("#advertisingSpaceTitleEn").val(result.titleEn);
                            $("#advertisingSpaceUrl").val(result.link)
                            $("#advertisingSpaceId").val(result.id)
                            if (result.path) {
                                $('#advertisingSpaceImg').attr('src', self.imgUrl + result.path);
                                $("#advertisingSpaceImgInt").val(result.path);
                            } else {
                                $('#advertisingSpaceImg').attr('src', '');
                                $("#advertisingSpaceImgInt").val('');
                                $("#advertisingSpaceCover").val('');
                            }
                            //重新校验规则
                            $("#upAdvertisingSpaceForm").data('bootstrapValidator').destroy();
                            $('#upAdvertisingSpaceForm').data('bootstrapValidator', null);
                            addAdvertisingSpaceRule();
                            $("#upAdvertisingSpace").modal("show");
                        }
                    }
                });
            }
        },
        // 需要修改结束

        // 友情链接合作伙伴数据获取--需要修改接口
				cooperativePartner(){
					let that = this
					$.ajax({
						type: "POST",
						url: '/restCooperation/selectList?pageCount=0&curPage=0&journalId=e0128cbcc5f64af7b7467073450f3b02',
						success: function success(result) {
							let arr = [];
							let arr2 = []
							for (let i = 0; i < result.list.length; i += 5) { 
								let chunk = result.list.slice(i, i + 5);  
								arr.push(chunk);  
							}
							for (let i = 0; i < result.list.length; i += 2) { 
								let chunk = result.list.slice(i, i + 2);  
								arr2.push(chunk);  
							}
							if(arr.length == 2){
								//将2条数据复制一份为4条数据 element的轮播图当数据为2时轮播方向上会有问题
								that.cooperativePartnerList = arr.concat(arr)
							}else{
								that.cooperativePartnerList = arr
							}
							// 移动端
							if(arr2.length == 2){
								//将2条数据复制一份为4条数据 element的轮播图当数据为2时轮播方向上会有问题
								that.cooperativePartnerList2 = arr2.concat(arr2)
							}else{
								that.cooperativePartnerList2 = arr2
							}
						}
					});
				},
        // 友情链接添加弹窗
        addCooperativePartner(){
					this.cooperativePartnerFlage = 'add'
					this.cooperativePartnerText = '添加'
					$("#cooperativePartnerSort").val('');
					$("#cooperativePartnerTitle").val('');
					$("#cooperativePartnerTitleEn").val('');
					$("#cooperativePartnerUrl").val('')
					$("#cooperativePartnerId").val('')
					$('#cooperativePartnerImgInt').val('')
					$('#cooperativePartnerImg').attr('src', '');
					$("#cooperativePartnerCover").val('');
					//重新校验规则
					$("#upCooperativePartnerForm").data('bootstrapValidator').destroy();
					$('#upCooperativePartnerForm').data('bootstrapValidator', null);
					addCooperativePartnerRule();
					$("#upCooperativePartner").modal("show");
				},

         // 友情链接编辑--需要修改接口
        editCooperativePartner(id){
					this.cooperativePartnerFlage = 'editor'
					this.cooperativePartnerText = '修改'
					let self = this;
					if (id != null && id != undefined && id != '') {
						$.ajax({
							type: "GET",
							url: "/restCooperation/selectRecordById?id="+id,
							cache: false,
							processData: false,
							// 请求数据地址
							success: function success(result) {
								if (result != null) {
									$("#cooperativePartnerSort").val(result.orderNum);
									$("#cooperativePartnerTitle").val(result.nameZh);
									$("#cooperativePartnerTitleEn").val(result.nameEn);
									$("#cooperativePartnerUrl").val(result.outerChain)
									$("#cooperativePartnerId").val(result.id)
									if (result.cover) {
										$('#cooperativePartnerImg').attr('src', self.imgUrl + result.cover);
										$("#cooperativePartnerImgInt").val(result.cover);
										$("#cooperativePartnerCover").val('');
									} else {
										$('#cooperativePartnerImg').attr('src', '');
										$("#cooperativePartnerImgInt").val('');
										$("#cooperativePartnerCover").val('');
									}
									//重新校验规则
									$("#upCooperativePartnerForm").data('bootstrapValidator').destroy();
									$('#upCooperativePartnerForm').data('bootstrapValidator', null);
									addCooperativePartnerRule();
									$("#upCooperativePartner").modal("show");
								}
							}
						});
					}
				},
				

        // 友情链接删除--需要修改接口
        deleteCooperativePartner(id) {
					let self = this;
					if (id != null && id != undefined && id != '') {
						swal('确认删除', "", "warning", {
							buttons: {
								cancel: {
									text: '取消',
									value: null,
									visible: true,
									className: "",
									closeModal: true,
								},
								confirm: {
									text: '确认',
									value: 'confirm',
									closeModal: false
								},
							}
						}).then(function(value) {
							switch (value) {
								case "confirm":
									$.ajax({
										type: "POST",
										url: "/restCooperation/deleteById?id="+id,
										cache: false,
										processData: false,
										// 请求数据地址
										success: function success(result) {
											if (result == 'success') {
												swal({
													type: 'success',
													title: '操作成功',
													showConfirmButton: true
												});
												self.cooperativePartner()
											}
										}
									});
								break;
							}
						});
					}
				},
				

        // 友情链接-添加/编辑合作伙伴确定
        updateCooperativePartnerSubmit(){
					let self = this;
					$("#upCooperativePartnerForm").bootstrapValidator('validate'); //提交验证
					if ($("#upCooperativePartnerForm").data('bootstrapValidator').isValid()) {
						swal('确认保存', "", "warning", {
							buttons: {
								cancel: {
									text: '取消',
									value: null,
									visible: true,
									className: "",
									closeModal: true,
								},
								confirm: {
									text: '确认',
									value: 'confirm',
									closeModal: false
								},
							}
						}).then(function(value) {
							switch (value) {
								case "confirm":
									var formData = new FormData($("#upCooperativePartnerForm")[0]);
                  // 新增一个journalId
                  formData.append('journalId', 'e0128cbcc5f64af7b7467073450f3b02');
									const object = {};
									if(self.cooperativePartnerFlage == 'add'){
										// 新增
										url = '/restCooperation/saveData'
									}else{
										// 编辑
										url = '/restCooperation/saveData'
										object.id = $("#cooperativePartnerId").val();
									}
									$.ajax({
										type: "POST",
										url: url,
										data: formData,
										cache: false,
										processData: false,
										contentType: false,
										success: function success(result) {
											if (result == 'success') {
												swal({
													type: 'success',
													title: '操作成功',
													showConfirmButton: true
												});
												$("#upCooperativePartner").modal("hide");
												self.cooperativePartner()
											} else {
												swal({
													type: 'error',
													title: '操作失败',
													showConfirmButton: true
												});
											}
										}
									});
									break;
							}
						});
					}
				},


      jumpFeatureArticle(item) {
        if(item.link){
          window.open(item.link, '_blank');
        }
      },
      loadFeatureArticle: function loadFeatureArticle() {
        let self = this;
        $.ajax({
          type: "POST",
          url: "/featureArticle/selectListByJournal/list?id="+ self.id,
          success: function success(data) {
            self.featureList = data;
            // 初始化轮播图
            self.$nextTick(function () {
              initSwiperFirst()
            })
          }
        });
      },
      // 图片的提交
      updateMostReadSubmit(){
					let self = this;
					$("#upMostReadForm").bootstrapValidator('validate'); //提交验证
					if ($("#upMostReadForm").data('bootstrapValidator').isValid()) {
						swal('确认保存', "", "warning", {
							buttons: {
								cancel: {
									text: '取消',
									value: null,
									visible: true,
									className: "",
									closeModal: true,
								},
								confirm: {
									text: '确认',
									value: 'confirm',
									closeModal: false
								},
							}
						}).then(function(value) {
							switch (value) {
								case "confirm":
									var formData = new FormData($("#upMostReadForm")[0]);
									const object = {};
									if(self.mostReadFlage == 'add'){
										// 新增
										url = '/platformRestHome/updateMostReadArticleGraph'
									}else{
										// 编辑
										url = '/platformRestHome/updateMostReadArticleGraph'
									}
									$.ajax({
										type: "POST",
										url: url,
										data: formData,
										cache: false,
										processData: false,
										contentType: false,
										success: function success(result) {
											if (result.code == '0') {
												swal({
													type: 'success',
													title: '操作成功',
													showConfirmButton: true
												});
												$("#upMostRead").modal("hide");
                        // 三个模块公用这个弹框,没有作区分,让三个模块的数据都刷新
                        self.initCurrentIssue()
                        self.loadJustAccepted()
                        self.loadOnlineFirst()
											} else {
												swal({
													type: 'error',
													title: '操作失败',
													showConfirmButton: true
												});
											}
										}
									});
									break;
							}
						});
					}
				},
      editMostRead(item,imgPath){
					this.mostReadFlage = 'editor'
					this.mostReadText = '修改'
					let self = this;
					$('#mostReadId').val(item.baseId)
					if (imgPath) {
						$('#mostReadImg').attr('src', self.baseFiguresUrl + imgPath);
						$("#mostReadImgInt").val(imgPath);
					} else {
						$('#mostReadImg').attr('src', '');
						$("#mostReadImgInt").val('');
						$('#mostReadCover').val('')
					}
					//重新校验规则
					$("#upMostReadForm").data('bootstrapValidator').destroy();
					$('#upMostReadForm').data('bootstrapValidator', null);
					mostReadRule();
					$("#upMostRead").modal("show");
				},
      // 期刊基础信息
      informations: function () {
        var self = this
        $.ajax({
          type: 'POST',
          url: '/publisher/selectJournalIntro?journalBaseId=' + self.id + '&lang=' + self.lang,
          success: function (res) {
            self.informationList = res
            self.listItems = res.chief.split(/[,;]/);
          }
        })
      },
      //期刊简介弹窗
      editJournalIntro: function editJournalIntro() {
        let self = this;
        $.ajax({
          url: "/publisher/selectJournalIntro?journalBaseId=" + self.id + '&lang=' + self.lang,
          success: function (result) {
            $("#englishCoverText").val(result.introEn);
            $("#chineseCoverText").val(result.introZh);
          }
        });
        $("#coverEditModal").modal('show')
      },
      //期刊简介提交
      submitAboutTheCover: function submitAboutTheCover() {
        var self = this;
        var engIntro = $("#englishCoverText").val();
        var chiIntro = $("#chineseCoverText").val();
        $("#coverTextDialogSubmitBtn").attr("disabled", "disabled");
        $.ajax({
          type: "POST",
          url: "/publisher/updateJournalIntro",
          async: true,
          data: {
            "journalId": self.id,
            "Encontent": engIntro,
            "Zhcontent": chiIntro
          },
          success: function success(result) {
            if (result == "success") {
              $('#coverEditModal').modal('hide')

              if (self.lang == 'en_US') {
                swal("", "success!", "success");
              } else {
                swal("", "修改成功!", "success");
              }
              window.location.reload(true);
            }
            $("#coverTextDialogSubmitBtn").removeAttr("disabled");
          }
        });
      },
      // 期刊简介弹窗关闭关闭
      closeAboutTheCover: function closeAboutTheCover() {
        $("#coverEditModal").modal('hide');
      },
      initModal1: function initModal1() {
        var self = this;
        $.ajax({
          type: "POST",
          url: "/sciPublisher/Zhzyyqklm/journal/alk?slug=abstracts",
          success: function success(result) {
            self.journalResult = result;
            self.journal = result.journal;
            self.volume = result.volume;
            self.issue = result.issue;
          }
        });
      },
      initCurrentIssue: function initCurrentIssue() {
        var self = this;
        $.ajax({
          type: "POST",
          url: '/sciPublisher/journalDetailCurrentIssue?pageNo=1&pageSize=6&journalBaseId=' + self.id,
          // 请求数据地址
          success: function success(result) {
            if (result.length > 3) {
              self.currentIssue = result.slice(0, 3);
            } else {
              self.currentIssue = result;
            }
            self.currentIssueLoading = false;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
          }
        });
      },
      // 过滤标签
      filterTags: function (val) {
        if (val) {
          return val.replace(/<[^>]*>/g, '');
        }
      },
      titleText: function titleText(text) {
        text = this.htmlToText(text);
        return text;
      },
      htmlToText(htmlString){
          // 创建一个新的DOM元素
          const tempDiv = document.createElement('div');
          // 设置其HTML内容
          tempDiv.innerHTML = htmlString;
          // 返回纯文本内容
          return tempDiv.textContent || tempDiv.innerText || '';
      },
      loadJustAccepted: function () {
        var self = this;
        $.ajax({
          type: "POST",
          url: '/publish/justAccepted?id=' + self.id,
          success: function (result) {
            if (result.rpublishList.length > 4) {
              self.justAccepted = result.rpublishList.slice(0, 4);
            } else {
              self.justAccepted = result.rpublishList
            }
            // 如果最新录用没有数据，则展示优先出版
            if(!self.justAccepted.length){
              self.module3Tab = 'online'
            }else{
              self.module3Tab = 'accept'
            }
            self.justAcceptedLoading = false;
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
          }
        })
      },
      loadOnlineFirst: function loadOnlineFirst() {
        var self = this;
        $.ajax({
          type: "POST",
          url: '/publish/selectSingle?id=' + self.id + '&indexNum=' + 9,
          // 请求数据地址
          success: function success(result) {
            // 不为空
            if (result.rpublishList.length > 4) {
              self.onlineFirst = result.rpublishList.slice(0, 4);
            } else {
              self.onlineFirst = result.rpublishList
            }

            self.onlineFirstLoading = false;
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
          }
        });
      },
      setModule3Tab: function setModule3Tab(tabType) {
        this.module3Tab = tabType
      },
      loadEditorRecommendList: function loadEditorRecommendList() {
        var self = this;
        $.ajax({
          url: '/sciPublisher/getPjEditRecommend',
          data: {
            "pjId": self.id,
            "amount": 6
          },
          // 请求数据地址
          success: function success(result) {
            self.editorRecommendList = result;
            self.editorRecommendLoading = false;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
              // self.addListenForModule3();
            })
          }
        });
      },
      // 模块4弹窗弹出
      openModule4Modal(name, item) {
        if (name === 'add') {
          this.addOrEdit = '添加'
          $('#module4Modal').modal({
            backdrop: "static",
            show: true
          })
          this.$nextTick(() => {
            // 初始化select2
            $('#scrollId').select2({
              data: this.collectionArticleList,
              placeholder: '-----请选择-----',
              ajax: {
                url: "/collections/SelectArticlesNew",
                dataType: 'json',
                data: function (params) {
                  return {
                    keyword: params.term,
                    page: params.page || 1,
                    rows: 10,
                    issn: 'cccl-tcm'
                  };
                },
                processResults: function (data) {
                  return {
                    results: data.results
                  };
                },
                cache: true
              },
              minimumInputLength: 1,
              width: '100%'
            });
          })
        } else {
          this.addOrEdit = '修改'
          //修改前单条查询
          $("#pRecommendArticlesId").val(item.recommendId);
          $("#preview").attr('src', "/img/coop/" + item.coverPath);
          $('#module4ModalUpdate').modal({
            backdrop: "static",
            show: true
          })
        }

      },
      delModule4Modal: function delModule4Modal(item) {
        let self = this;
        swal('确认删除', "", "warning", {
          buttons: {
            cancel: {
              text: '取消',
              value: null,
              visible: true,
              className: "",
              closeModal: true,
            },
            confirm: {
              text: '确认',
              value: 'confirm',
              closeModal: false
            },
          }
        }).then(function (value) {
          switch (value) {
            case "confirm":
              $.ajax({
                type: "POST",
                url: "/sciPublisher/delPra/" + item.recommendId,

                success: function success(result) {
                  swal({
                    type: 'success',
                    title: '操作成功',
                    showConfirmButton: false
                  });
                  window.location.reload(true);
                }
              });
              break;
          }
        });
      },
      goDetail(item) {
        window.open(this.baseArticleUrlInner + item.doi)
        console.log(111, this.baseArticleUrlInner)
      },
      // 关闭弹窗
      closeModal() {
        $("#pRecommendArticlesId").val('');
        $("#preview").attr('src', "");
      },
      // 上传图片
      uploadImg: function (e) {
        let files = e.target.files
        let filePath = URL.createObjectURL(files[0]);
        $(e.currentTarget).siblings('.imgBox').children().attr('src', filePath)
      },
      submitModal4: function submitModal4() {
        tinyMCE.triggerSave();

        if (!$("#module4Form").valid()) {
          Swal.fire({
            icon: "warning",
            title: '请检查输入项',
            confirmButtonColor: "#DD6B55"
          });
          return;
        }

        var module4FormData = new FormData($("#module4Form")[0]);
        $.ajax({
          type: "POST",
          url: "/sciPublisher/insertArticle",
          data: module4FormData,
          async: false,
          cache: false,
          processData: false,
          contentType: false,
          success: function success(data) {
            window.location.reload(true);
          }
        });
      },
      submitModal4Update: function submitModal4Update() {
        tinyMCE.triggerSave();
        var id = $("#pRecommendArticlesId").val();
        var journalId = 'e0128cbcc5f64af7b7467073450f3b02';
        if (!$("#module4UpdateForm").valid()) {
          Swal.fire({
            icon: "warning",
            title: '请检查输入项',
            confirmButtonColor: "#DD6B55"
          });
          return;
        }

        var module4UpdateFormData = new FormData($("#module4UpdateForm")[0]);
        $.ajax({
          type: "POST",
          url: "/sciPublisher/updateArticle?id=" + id + "&journalId=" + journalId,
          data: module4UpdateFormData,
          async: false,
          cache: false,
          processData: false,
          contentType: false,
          success: function success(data) {
            window.location.reload(true);
          }
        });
      },
      zxsxFun: function zxsxFun() {
        var self = this;
        $.ajax({
          url: '/restDataCenter/latestOnline/' + self.id + '?limit=4',
          // 请求数据地址
          success: function success(result) {
            if (result.list.length > 0) {
              self.zxsxList = result.list;
            }
            self.mostReadLoading = false;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            // if (self.mostReadList.length === 0) {
            //   $('#module3TabMostRead').remove()
            //   $('.module3Box .formostRead').remove()
            // }
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
          }
        });
      },
      loadMostReadList: function loadMostReadList() {
        var self = this;
        $.ajax({
          url: '/sciMostRead/getMorePjMostRead?start=0&end=9&sort=' + self.sort + '&pjId=' + self.id,
          // 请求数据地址
          success: function success(result) {
            if (result.pArticleList.length > 0) {
              self.mostReadList = result.pArticleList;
            }
            self.mostReadLoading = false;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            // if (self.mostReadList.length === 0) {
            //   $('#module3TabMostRead').remove()
            //   $('.module3Box .formostRead').remove()
            // }
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
          }
        });
      },
      // 下载排行初始化接口
      loadDownloadList() {
        var self = this
        self.mostDownloadLoading = true
        $.ajax({
          type: 'GET',
          url: '/restDownload/ranking/' + self.id + '?pageNo=0&pageSize=9',
          success: function (res) {
            if (res.list.length > 0) {
              self.mostDownloadList = res.list;
            }
            self.mostDownloadLoading = false
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
          }
        })
      },
      loadMostCitedList: function loadMostCitedList() {
        var self = this;
        $.ajax({
          url: '/sciMostCited/getMorePjMostCited?start=0&end=9&sort=' + self.sort + '&pjId=' + self.id,
          success: function success(result) {
            if (result.pArticleList.length > 0) {
              self.mostCitedList = result.pArticleList;
            }
            self.mostCitedLoading = false;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            // if (self.mostCitedList.length === 0) {
            //   $('#module3TabMostCited').remove()
            //   $('.module3Box .formostCited').remove()
            // }
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
          }
        });
      },
      moduleJump: function moduleJump(str) {
        if (str === 'current') {
          window.open("/publisher/Zhzyyqklm/journal/alk?slug=browse", "_blank");
        } else if (str === 'recommend') {
          window.open("/alk/editor-recommend", "_blank");
        } else if (str === 'views') {
          window.open('/alk/mostRead?fla=alk&abbreviated=Zhzyyqklm', '_blank')
        } else if (str === 'download') {
          window.open("/alk/download-rank", "_blank");
        } else if (str === 'cited') {
          window.open("/alk/mostCited", "_blank");
        } else if (str === 'videos') {
          window.open("/alk/video-display", "_blank");
        } else if (str === 'news') {
          // window.open("/alk/news", "_blank");
          window.open("/standard/newsList?type=ggdt", "_blank")
        }else if (str === 'xzmb') {
          window.open("/alk/download-center", "_blank")
        } else if (str === 'tsg') {
          window.open("https://cacm.tcmjc.com/CCCLTCM/", "_blank")
        } else if (str === 'xwh') {
          
        } else if (str === 'zcwj') {
          window.open("/standard/newsList?type=ggdt", "_blank")
        } else if (str === 'bzzx') {
          window.open("/alk/download-center", "_blank")
        }
      },
      module3TabJump: function module3TabJump() {
        var activeTab = document.querySelector('.active.color1');
        var str = activeTab.getAttribute('tabfor');
        if (str === 'accept') {
          window.open("/alk/articles-in-press?articleType=accept", "_blank");
        } else if (str === 'online') {
          window.open("/alk/articles-in-press?articleType=online", "_blank");
        }
      },
      setModule6Tab: function setModule6Tab(tabType) {
        this.module6Tab = tabType
      },
      initJournalSpecialTopicInfo: function initJournalSpecialTopicInfo() {
        let self = this;
        $.ajax({
          type: "POST",
          url: "/sciPublisher/pageQuerySpecialTopicByJournalBaseId",
          data: {
            "pageNo": 1,
            "pageSize": 6,
            "journalBaseId": self.id,
          },
          success: function (result) {
            self.specialTopicLoading = false;
            if (result.length > 0) {
              self.specialTopicsList = result;
              // 方程过滤
              MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            }
          }
        });
      },
      loadCollectionList: function loadCollectionList() {
        var self = this;
        $.ajax({
          url: '/sciPublisher/collectionList?limit=6&journalBaseId=' + self.id,
          // 请求数据地址
          success: function success(result) {
            self.collectionList = result.slice(0,3);
            self.collectionListLoading = false;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            // 初始化轮播图
            // self.$nextTick(function () {
            //   var swiperModule4 = new Swiper('.swiperModule4', {
            //     slidesPerView: 'auto',
            //     spaceBetween: 25,
            //     slidesPerGroup: 1,
            //     navigation: {
            //       nextEl: ".swiper-button-next",
            //       prevEl: ".swiper-button-prev",
            //     },
            //   })
            // })
          }
        });
      },
      module6TabJump: function module6TabJump() {
          // window.open("/alk/specialTopics", "_blank");
          window.open("/alk/collections", "_blank");
      },
      // 跳转详情页
      jumpUrl: function jumpUrl(item, str) {
        let specialId = item.id;
        let fla = "alk";
        if (str === 'special') {
          window.open("/alk/specialTopicDetail?fla=" + fla + "&specialId=" + specialId, "_blank");
        } else if (str === 'collection') {
          window.open("/alk/collectionsDetails?slug=collections&abbreviated=Zhzyyqklm&specialId=" + item.id, "_blank");
        }
      },
      // 视频列表
      initVideoList: function () {
        var self = this
        $.ajax({
          type: 'POST',
          url: '/restJournalVideo/selectListPage',
          data: {
            pageCount: '12',
            journalBaseId: self.id,

          },
          success: function (res) {
            self.videoGuideLoading = false
            self.videoList = res.videoList
          }
        })
      },
      // 视频详情页
      jumpViewDetail: function jumpViewDetail(item) {
        var outerChain = '';

        if (outerChain != '') {
          //跳转到外部网站
          window.open(outerChain, "_blank");
        } else {
          window.open('/alk/video-detail?viewType=video&viewId=' + item.id, "_blank");
        }
      },
      // 视频提交
      videoSubmit: function jumpViewDetail() {
        if (!$("#videoForm").valid()) {
          swal({
            icon: "warning",
            title: '请检查输入项',
            confirmButtonColor: "#DD6B55"
          });
          return;
        }
        var self = this
        tinyMCE.triggerSave();
        var videoFormData = new FormData($("#videoForm")[0]);
        this.module7Disabled = true
        $.ajax({
          type: 'POST',
          url: '/restJournalVideo/saveVideo',
          data: videoFormData,
          cache: false,
          processData: false,
          contentType: false,
          success: function (res) {
            swal({
              type: 'success',
              title: '操作成功',
              showConfirmButton: false
            });
            self.module7Disabled = false
            $('#videoModal').modal('hide')
            self.initVideoList()
          }
        })
      },
      // 视频删除
      delVideo: function jumpViewDetail(item) {
        var self = this
        swal('确认删除', "", "warning", {
          buttons: {
            cancel: {
              text: '取消',
              value: null,
              visible: true,
              className: "",
              closeModal: true
            },
            confirm: {
              text: '确认',
              value: 'confirm',
              closeModal: false
            }
          }
        }).then(function (value) {
          switch (value) {
            case "confirm":
              $.ajax({
                type: 'POST',
                url: '/restJournalVideo/deleteById',
                data: {
                  id: item.id,
                  journalBaseId: self.id
                },
                success: function (res) {
                  swal({
                    type: 'success',
                    title: '操作成功',
                    showConfirmButton: false
                  });
                  window.location.reload(true);
                }
              });
              break;
          }
        });
      },
      // 视频播放
      videoPlayer: function (item, index, type) {
        let itemToLeft = 0
        let itemToTop = 0
        let itemWidth = 0
        let itemHeight = 0
        if(type == 1){
          itemToLeft = $('.m5c1-d1')[index].offsetLeft
          itemToTop = $('.m5c1-d1')[index].offsetTop
          itemWidth = $($('.m5c1-d1')[index]).width()
          itemHeight = $($('.m5c1-d1')[index]).height()
        }else{
          itemToLeft = $('.m5c21-d1')[index].offsetLeft
          itemToTop = $('.m5c21-d1')[index].offsetTop
          itemWidth = $($('.m5c21-d1')[index]).width()
          itemHeight = $($('.m5c21-d1')[index]).height()
        }
        let videoSrc = this.videoUrl + item.videoUrl
        this.videoBoxLeft = itemToLeft + 'px'
        this.videoBoxTop = itemToTop + 'px'
        $('#module7Player').width(itemWidth)
        $('#module7Player').height(itemHeight)
        this.isShowmodule7Player = true
        this.module7Player.reset()
        this.module7Player.src({
          'type': 'video/mp4',
          'src': videoSrc
        })
      },
      // 视频弹窗显示
      videoModalShow: function jumpViewDetail(item) {
        $.ajax({
          url: '/restJournalVideo/getVideo?id=' + item.id,
          success: function success(res) {
            tinymce.get('videoContentEn').setContent(res.contentEn);
            tinymce.get('videoContentZh').setContent(res.contentZh);
          }
        });
        $('#videoModal #id').val(item.id)
        $('#titleEn').val(item.titleEn)
        $('#titleZh').val(item.titleZh)
        $("#videoAuthorEn").val(item.authorEn)
        $("#videoAuthorZh").val(item.authorZh)
        $("#videoIntroEn").val(item.introEn)
        $("#videoIntroZh").val(item.introZh)
        $('#outerChain').val(item.outerChain)
        $('#top').val(item.top)
        $('#releaseTimeStr').val(item.releaseTimeStr)
        $('#videoCoverPreview').attr('src', this.baseFiguresUrl + item.cover)
        $('#videoPreview').attr('src', this.videoUrl + item.videoUrl)
        $("#videoModal").modal({
          backdrop: "static",
          show: true
        });
      },




















      mostDownloadListMore() {
        window.open("/alk/download-rank");
      },


      aboutAuthor: function aboutAuthor(event, authorList) {
        var array = []
        var list = authorList
        list.forEach(function (item, index) {
          array.push(item.name)
        })
        var content = array.join(', ')
        $('.aboutAuthorConetnt').html(content);
      },

      initModalMostReadList: function initModalMostReadList() {
        var self = this;
        $.ajax({
          type: "POST",
          url: '/sciPublisher/getPjMostRead?start=0&end=6&isLatest=1&pjId=' + self.id,
          data: {
            "fla": "alk",
            "abbreviated": "Zhzyyqklm",
          },

          // 请求数据地址
          success: function success(result) {
            self.MostReadList = result;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
          }
        });
      },
      initModalMostCitedList: function initModalMostCitedList() {
        var self = this;
        $.ajax({
          type: "POST",
          url: '/sciPublisher/getPjMostCited?start=0&end=6&isLatest=1&pjId=' + self.id,
          data: {
            "fla": "alk",
            "abbreviated": "Zhzyyqklm",
          },

          // 请求数据地址
          success: function success(result) {
            self.MostCitedList = result;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
          }
        });
      },
      initEditRecommend() {
        var self = this;
        $.ajax({
          type: "POST",
          url: '/sciPublisher/getPjEditRecommend?amount=5&pjId=' + self.id,
          data: {

          },

          // 请求数据地址
          success: function success(result) {
            self.EditRecommendList = result.journalDetailArticleListDtoList;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
            self.$nextTick(function () {
              // 后台返回的italic标签增加斜体样式
              $('italic').attr('style', 'font-style: italic')
            })
          }
        });
      },
      // 原新闻接口
      initNewsList2: function initNewsList2() {
        var self = this;
        $.ajax({
          type: "POST",
          url: "/news/selectNewsList",
          data: {
            "journalId": self.id,
            "page": self.page,
            "pageCount": self.pageCount,
            "curpage": self.curpage
          },
          success: function success(result) {
            if (result.newsList.length > 4) {
              self.newsList = result.newsList.slice(0, 4);
            } else {
              self.newsList = result.newsList;
            }
            self.total = result.total;
            // 方程过滤
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]);

            if (self.total == 0 || self.total == '') {
              $('.noFind').css('display', 'block');
            } else {
              $('.noFind').css('display', 'none');
            }

            if (self.newsList.length < self.total) {
              self.showMore = true;
            } else {
              self.showMore = false;
            }
          }
        });
      },
      initNewsList: function initNewsList() {
        var self = this;
        $.ajax({
						type: "POST",
						url: "/platformRestHotNews/selectList",
						data: JSON.stringify({page:1,pageCount:4,type:'ggdt'}),
						cache: false,
						processData: false,
						contentType:"application/json;charset=UTF-8",
          success: function success(result) {
              self.newsList = result.data;
          }
        });
      },
      loadJournalList: function () {
        var self = this
        $.ajax({
          url: '/restRelatedThemeJournal/selectRelatedJournal?journalId=e0128cbcc5f64af7b7467073450f3b02&limit=6',
          type: 'GET',
          success: function (res) {
            self.relationJournalList = res
            self.$nextTick(function () {
              self.initJournalMask();
            });
          }
        })
      },
      initJournalMask: function () {
        // 模块5显示蒙层
        $(".module6Box .img").mouseover(function () {
          $(this).siblings('.mask').show()
        });
        $(".module6Box .img").mouseout(function () {
          $(this).siblings('.mask').hide()
        });
      },
      initAllJournalList: function () {
        let self = this;
        $.ajax({
          url: '/platformRestHome/selectAllJournal',
          success: function success(result) {
            self.allJournalList = result;
            var topJournalSelect = $("#selectTopJournal").select2({});
          }
        });
      },
      initTopJournalList: function () {
        let self = this;
        this.topJournalList = [];
        $.ajax({
          url: '/restRelatedThemeJournal/selectTopJournal?journalId=e0128cbcc5f64af7b7467073450f3b02',
          // 请求数据地址
          success: function success(result) {
            self.topJournalList = result;
            //获取对象
            var el = document.getElementById('sortArea');
            //设置配置
            var ops = {
              animation: 1000,
              //拖动结束
              onEnd: function (evt) {
                console.log(evt);
              },
            };
            //初始化
            sortable = Sortable.create(el, ops);
          }
        });
      },
      toJournal: function (item) {
        window.open("/publisher/" + item.publisher.abbreviated + "/journal/" + item.fla + "?slug=abstracts", "_blank");
      },
      openSortJournalModal: function () {
        let self = this;
        this.topJournalList = [];
        $.ajax({
          url: '/restRelatedThemeJournal/selectTopJournal?journalId=e0128cbcc5f64af7b7467073450f3b02',
          // 请求数据地址
          success: function success(result) {
            self.topJournalList = result;
            //获取对象
            var el = document.getElementById('sortArea');
            //设置配置
            var ops = {
              animation: 1000,
              //拖动结束
              onEnd: function (evt) {
                console.log(evt);
                //获取拖动后的排序
                //var arr = sortable.toArray();
                //alert(JSON.stringify(arr));
              },
            };
            //初始化
            sortable = Sortable.create(el, ops);
            $("#sortJournalModal").modal("show");
          }
        });
      },
      addTopJournalSubmit: function () {
        let self = this;
        let id = $("#selectTopJournal").val();
        let exist = false;
        if (this.topJournalList != null) {
          $.each(this.topJournalList, function (index, item) {
            if (item.baseId == id) {
              exist = true;
              return false;
            }
          });
        }

        if (exist) {
          swal({
            icon: 'warning',
            title: '请勿重复添加',
            showConfirmButton: true
          });
          return;
        }

        $.ajax({
          url: '/restRelatedThemeJournal/insertTopJournal',
          data: {
            journalId: 'e0128cbcc5f64af7b7467073450f3b02',
            relatedJournalId: id,
            SHAREJSESSIONID: ''
          },
          success: function success(result) {
            if (result == "success") {
              swal({
                icon: 'success',
                title: '已添加',
                showConfirmButton: true
              });
              self.initTopJournalList();
              self.loadJournalList();
            } else {
              swal({
                icon: 'error',
                title: '操作失败',
                showConfirmButton: true
              });
            }

          }
        });
      },
      deleteTopJournal: function (item) {
        let id = item.baseId;
        let self = this;
        swal('确认删除', "", "warning", {
          buttons: {
            cancel: {
              text: '取消',
              value: null,
              visible: true,
              className: "",
              closeModal: true,
            },
            confirm: {
              text: '确认',
              value: 'confirm',
              closeModal: false
            },
          }
        }).then(function (value) {
          switch (value) {
            case "confirm":
              $.ajax({
                url: '/restRelatedThemeJournal/deleteTopJournal',
                data: {
                  journalId: 'e0128cbcc5f64af7b7467073450f3b02',
                  relatedJournalId: id,
                  SHAREJSESSIONID: ''
                },
                success: function success(result) {
                  if (result == "success") {
                    swal({
                      icon: 'success',
                      title: '操作成功',
                      showConfirmButton: true
                    });
                    self.initTopJournalList();
                    self.loadJournalList();
                  } else {
                    swal({
                      icon: 'error',
                      title: '操作失败',
                      showConfirmButton: true
                    });
                  }

                }
              });

              break;
          }
        });
      },
      sortJournalSubmit: function () {
        var arr = sortable.toArray();
        let self = this;
        swal('确认保存', "", "warning", {
          buttons: {
            cancel: {
              text: '取消',
              value: null,
              visible: true,
              className: "",
              closeModal: true,
            },
            confirm: {
              text: '确认',
              value: 'confirm',
              closeModal: false
            },
          }
        }).then(function (value) {
          switch (value) {
            case "confirm":
              $.ajax({
                type: 'POST',
                url: '/restRelatedThemeJournal/updateTopJournal',
                data: {
                  journalId: 'e0128cbcc5f64af7b7467073450f3b02',
                  ids: JSON.stringify(arr)
                },
                success: function success(result) {
                  if (result == "success") {
                    swal({
                      icon: 'success',
                      title: '操作成功',
                      showConfirmButton: true
                    });
                    self.initTopJournalList();
                    self.loadJournalList();
                    $("#sortJournalModal").modal("hide");
                  } else {
                    swal({
                      icon: 'error',
                      title: '操作失败',
                      showConfirmButton: true
                    });
                  }

                }
              });

              break;
          }
        });
      },
      // initpaperBuy: function initpaperBuy() {
      //   var self = this;
      //   $.ajax({
      //     type: "POST",
      //     url: '/sciPublisher/getPaperJournalMap?baseId=' + self.id,
      //     data: {

      //     },
      //     // 请求数据地址
      //     success: function success(result) {
      //       self.paperJournalTotalPrice = result.paperJournalTotalPrice;
      //       self.paperJournalMap = result.paperJournalMap;
      //       self.defaultId = result.defaultId;

      //     }
      //   });
      // },
      // 当前期下载PDF
      currentDownloadPDF: function (item) {
        var self = this;
        var id = item.id;
        var status = item.buyStatus;
        var storage = window.localStorage;
        var ip = storage.getItem("ipInfo");
        if (status) {
          window.open("/doi/pdf/" + id + "?ipInfo=" + ip);
        } else {
          self.readOnline(item);
        }
      },

      //下载pdf
      downloadPDF: function downloadPDF(item) {
        var self = this;
        var status = item.buyStatus;
        if (status) {
          $.ajax({
            async: false,
            type: "POST",
            url: "/doi/selectIdByBaseIdAndLa",
            data: {
              "baseId": item.id
            },
            success: function success(data) {
              var storage = window.localStorage; //拼接url

              var ip = storage.getItem("ipInfo");
              window.open("/doi/pdf/" + data + "?ipInfo=" + ip);
            }
          });
        } else {
          self.readOnline(item);
        }
      },
      // 在线阅读
      readOnline: function readOnline(item) {
        // let doi = listItem.doi;
        window.open("/doi/" + item.doi);
      },
      shoppingUrl: function readOnline(item) {
        let self = this;
        window.open(self.baseArticleUrlInner + item.doi);


      },
      newsDetail: function newsDetail(item) {
        var specialId = item.id;
        if (item.url != '') {
          //跳转到外部网站
          window.open(item.url, "_blank");
        } else {
          window.open('newsDetails?slug=newsDetails&abbreviated=' + self.abbreviated + '&specialId=' + item.id, "_blank");
        }
      },

      editModal: function editModal(item) {
        var self = this;
        $("#newsId").val(item.id);
        $("#titleEn").val(item.titleEn);
        $("#titleZh").val(item.titleZh);
        $("#authorEn").val(item.authorEn);
        $("#authorZh").val(item.authorZh);
        $("#abstractEn").val(item.abstractEn);
        $("#abstractZh").val(item.abstractZh);
        $("#url").val(item.url);

        if (item.fulltextEn != undefined && item.fulltextEn != null) {
          tinymce.get('fulltextEn').setContent(item.fulltextEn);
        }

        if (item.fulltextZh != undefined && item.fulltextZh != null) {
          tinymce.get('fulltextZh').setContent(item.fulltextZh);
        }

        var time = self.timetype(item.releaseTime);
        $("#releaseTime").val(time); // $("#releaseTime").val(new Date(item.releaseTime).format("yyyy-MM-dd hh:ii:ss"));

        $("#coverPreview").attr("src", this.baseImgUrl + item.coverPath); // $("#coverpath").val(item.coverpath);

        $("label.error").each(function () {
          $(this).remove();
        });
        this.editModalTitle = '修改'; //重新校验规则

        $('#addInstructionsModal').modal({
          backdrop: "static",
          show: true
        });
      },
      deleteModal: function deleteModal(item) {
        var self = this;
        swal('确认删除', "", "warning", {
          buttons: {
            cancel: {
              text: '取消',
              value: null,
              visible: true,
              className: "",
              closeModal: true
            },
            confirm: {
              text: '确认',
              value: 'confirm',
              closeModal: false
            }
          }
        }).then(function (value) {
          switch (value) {
            case "confirm":
              $.ajax({
                url: '/news/deleteNews',
                data: {
                  "id": item.id
                },
                // 请求数据地址
                success: function success(result) {
                  if (result != null && result == "success") {
                    swal({
                      icon: 'success',
                      title: '操作成功',
                      showConfirmButton: true
                    });
                    window.location.reload(true);
                  }
                }
              });
              break;
          }
        });
      },
      newsSubmit: function newsSubmit() {
        tinyMCE.triggerSave();
        var areaSelect = $('#areaSelect');

        if (!$("#addInstructionsForm").valid()) {
          swal({
            icon: "warning",
            title: '请检查输入项',
            confirmButtonColor: "#DD6B55"
          });
          return;
        }

        areaSelect.attr("disabled", "disabled");
        setTimeout(function () {
          var EditorialBoardMemberFormData = new FormData($("#addInstructionsForm")[0]);
          $.ajax({
            type: "POST",
            url: "/news/UpdateNewCenterAdd",
            data: EditorialBoardMemberFormData,
            async: false,
            cache: false,
            processData: false,
            contentType: false,
            success: function success(data) {
              // areaSelect.removeAttr("disabled");  
              window.location.reload(true);
            }
          });
        }, 500);
      },
      searchArticleType: function searchArticleType(articleTypeStr) {
        let url = '/search/search?articleTypeFilter=' + articleTypeStr + '&searchType=commonSearch';
        window.open(url, '_blank');
      },
      searchTheme: function searchTheme(themeStr) {
        let url = '/search/search?filterThemeFilter=' + themeStr + '&searchType=commonSearch';
        window.open(url, '_blank');
      },

      // 图片放大弹窗
      imgZoomModal: function imgZoomModal(url) {
        $('#module2ImgModal').modal({
          backdrop: "static",
          show: true
        });
        this.pictureZoomUrl = url;
      },
      // 解决刷新时页面有一瞬间样式的崩塌
      collapse: function () {
        setTimeout(function () {
          document.getElementById('body').style.visibility = 'visible';
        }, 1);
      },
      // readMore弹窗
      readMoreModal: function () {
        var coverPathHigh = this.journal.coverPath;
        var coverPrefix = "/img/issue/"; // 获取当前卷期期刊封面图
        if (coverPathHigh != undefined && coverPathHigh != null && coverPathHigh != "") {
          $("#journalHighQualityCoverPath").val(coverPrefix + coverPathHigh);
          $("#downloadHighQualityCoverButton").css("display", "block");
          $(".downloadHD").css("display", "block");
        } else {
          $("#downloadHighQualityCoverButton").css("display", "none");
          $(".downloadHD").css("display", "none");
        }
        $('#readMoreModal').modal({
          backdrop: "static",
          show: true
        })
      },

      emailAlerts: function emailAlerts() {
        // var lang = $("#language").val();
        let self = this;
        $.ajax({
          type: "POST",
          url: "/publisher/emailAlerts",
          async: true,
          data: {
            "journalBaseId": self.id,
          },
          success: function success(result) {
            if (result == "success") {
              if (self.lang == "zh_CN") {
                swal("", "订阅成功!", "success");
              } else {
                swal("", "Subscription succeeded!", "success");
              }
            } else {
              swal("", result, "warning");
            }
          }
        });
        //关注事件
        _paq.push(["eventWatch", self.id, {}]);
      },
      timetype: function timetype(time) {
        var date = new Date(time);
        var YY = date.getFullYear() + '-';
        var MM = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
        var DD = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();
        var hh = (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':';
        var mm = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()) + ':';
        var ss = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();
        var truetime = YY + MM + DD + ' ' + hh + mm + ss;
        return truetime;
      },

      newsJump: function newsJump(url, target) {
        window.open(url, target);
      },
      //购买期刊弹窗
      buyPrintModal: function () {
        $('#buyJournalModal').modal({
          backdrop: "static",
          show: true
        })
      },
      // 选择期
      chooseStage: function (item, index, e) {
        let target = e.currentTarget
        $(target).addClass('active')
      },
      //是否全选(购买纸刊弹窗)
      chooseAllPaper: function (e) {
        let target = e.target
        if ($(e.target).prop('checked')) {
          $(target).parents('.priceBox').siblings('.stage').addClass('active')
        } else {
          $(target).parents('.priceBox').siblings('.stage').removeClass('active')
        }
      },

      jumpTwitter: function () {
        if ('alk' === 'ICM') {
          window.open('https://twitter.com/IndChemMater')
        }
      },

      jumpFacebook: function () {
        if ('alk' === 'ICM') {
          window.open('https://www.facebook.com/IndChemMater')
        }
      },

      jumpLinkedin: function () {
        if ('alk' === 'ICM') {
          window.open('https://www.linkedin.com/company/industial-chemistry-materials/')
        }
      },

      jumpEnvelope: function () {
        if ('alk' === 'ICM') {
          window.open('mailto:icm@rsc.org')
        } else if ('alk' === 'sands') {
          window.open('mailto:sand@edpsciences.org')
        }
      },
    },
  });
  var lang = 'zh_CN';
  function openPaperJournalDialog2() {
    window.open("https://shop139094451.m.youzan.com/v2/feature/LZNmK0DkuI?kdt_id=138902283&scan=3&from=kdt&shopAutoEnter=1&sf=qq_sm&is_share=1&share_cmpt=native_wechat&from_params=sl~3SEpnY!online_kdt_id~91714001!wx_share_pf~1&from_uuid=624967609&guide_second_sharer_id=10358334452", "_blank");
  }
  function sortKey(obj) {
    var arr = [];
    for (var i in obj) {
      arr.push([i]);
    };
    arr.reverse();
    return arr;
  }
  function selectIssue(obj, year) {
    if ($(obj).parent().hasClass('on')) {
      $(obj).parent().removeClass('on');
    } else {
      $(obj).parent().addClass('on');
    }
    $("#singlePrice_" + year).html(parseFloat($(obj).attr("pricedata")).toFixed(2));
    $("#discountPrice_" + year).html(parseFloat($(obj).attr("pricedata2")).toFixed(2));
    yearPrice(year);
  }
  function yearPrice(year) {
    var total = accAdd(0, 0);
    $("#collapse_" + year).find('input[name="issueCode"]').each(function () {
      if (this.checked) {
        total = accAdd(total, $(this).attr("pricedata2"));
      }
    });
    $("#yearTotalPrice_" + year).html(total);
  }
  function selectAllPaper(obj, year) {
    debugger
    var total = accAdd(0, 0);
    if (obj.checked) {
      $("#collapse_" + year).find('input[name="issueCode"]').each(function () {
        if (!$(this).prop("disabled")) {
          total = accAdd(total, $(this).attr("pricedata"));
          $(this).prop("checked", true);
          $(this).parent().addClass('on');
        }
      });
    } else {
      $("#collapse_" + year).find('input[name="issueCode"]').prop("checked", false);
      $("#collapse_" + year).find(".fp-select").removeClass('on');
    }
    $("#yearTotalPrice_" + year).html(total);
  }
  function paperSubmitForm() {
    var ok = '确定';
    var selectProduct = '请选择商品';
    var yearsMap = {}, productNum = 0;
    $('input[name="years"]').each(function () {//多个总计按钮
      var yearsObj = $(this);
      var issueArray = new Array();
      if (this.checked) {//如果是选中的
        $('#collapse_' + yearsObj.val()).find("input[name='issueCode']").each(function () {
          if (!$(this).prop("disabled")) {
            issueArray.push($(this).val());
            productNum++;
          }
        });
      } else {
        $('#collapse_' + yearsObj.val()).find("input[name='issueCode']").each(function () {
          if (this.checked && !$(this).prop("disabled")) {
            issueArray.push($(this).val());
            productNum++;
          }
        });
      }
      yearsMap[yearsObj.val()] = issueArray;
    });
    if (productNum == 0) {
      swal({
        title: selectProduct,
        type: "info",
        confirmButtonText: ok
      });
      return;
    }
    var strYearsMap = JSON.stringify(yearsMap);
    $("#strYearsMap").val(strYearsMap);
    $("#ref1").val(window.location.href);
    $("#paperFastBuyForm").submit();
  }
</script>
<script>

  $(function () {
    $('.pencilBox .fa-pencil').click(function () {
      $("#impactFactorSubmitBtn").removeAttr("disabled");
      $('#factorModal').modal('show')
    });

    // 右侧影响因子弹窗提交
    $('.impactFactorClass .submitBtn').click(function () {
      $("#impactFactorSubmitBtn").attr("disabled", "disabled");
      var form = new FormData(document.getElementById("impactFactorForm"));
      var url = document.getElementById("impactFactorUrl").value;
      $.ajax({
        url: url,
        type: "post",
        data: form,
        processData: false,
        contentType: false,
        success: function success(data) {
          window.location.reload();
        },
        error: function error(e) { }
      });
    });
  })


</script>

</html>