
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>发现API-API Hub - 幂简集成</title>
	<meta name="keywords"
		  content="API,API接口平台,API接口大全,API服务,免费好用的API,常用API,专用API,API Hub,发现API,购买API,发布API,集成API">
	<meta name="description" content="API搜索首选幂简集成（www.explinks.com），现在已有近5K种API，通过强大的API社区和，API品类将持续增！">
	<link rel="stylesheet" href="https://static.explinks.com/hub/static/css/bootstrap4.min.css"/>
	<script src="https://static.explinks.com/hub/static/script/baidu-analytics.js"></script>
	<script src="https://static.explinks.com/hub/static/script/jquery-2.1.1.js"></script>
	<script src="https://image.explinks.com/PUBLIC_RESOURCE/static/vue.global.prod.js"></script>
	<script src="https://static.explinks.com/hub/static/js/statistics/impressions.js"></script>
	<script src="https://apihub-public.oss-cn-beijing.aliyuncs.com/PUBLIC_RESOURCE/static/PageSearchBox.umd.js?v=0912"></script>
	<link rel="canonical" href="https://www.explinks.com/api/search2"/>
	<meta property="og:locale" content="zh_CN"/>
	<meta property="og:type" content="article"/>
	<meta property="og:url" content="https://www.explinks.com/api/search2"/>
	<meta property="og:site_name" content="幂简集成"/>
	<meta name="robots" content="noindex, follow">
</head>
<body>
<div id="topAnchor"></div>

	<script src="https://static.explinks.com/hub/static/js/statistics/index.js"></script>
	<link href="https://static.explinks.com/hub/static/css/www/header.css?v=1756355797176" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.explinks.com/wp-content/uploads/explinks/css/search-box.css?ver=1.0812">
<script src="https://cdn.explinks.com/wp-content/uploads/explinks/js/search-box.js?v=0920"></script>
<div style="height: 64px">

</div>
<div class="www-header">

	<div class="www-header-container">


		<div class="www-header-left">
			<a href="https://www.explinks.com">
				<img
						src="https://cdn.explinks.com/wp-content/uploads/2023/12/image-e1703211764687-new.png"
						alt="幂简集成LOGO">
			</a>


				<div class="www-header-menu">
					<div class="www-header-menu-item"><a href="https://www.explinks.com/apihub">API Hub</a></div>
					<div class="www-header-menu-item"><a href="https://www.explinks.com/provider">找服务商</a></div>
					<div class="www-header-menu-item"><a href="https://www.explinks.com/blog">API知识库</a></div>
					<div class="www-header-menu-item"><a href="https://console.explinks.com/provider-register">我是服务商</a></div>
					<div class="www-header-menu-item"><a href="https://www.explinks.com/docs/what-is-explinks">产品和服务</a></div>
					<div class="www-header-menu-item"><a href="https://www.explinks.com/company/about">关于我们</a></div>
				</div>

		</div>
		<div id="mt-search-box" style="width: 200px;height: 100%"></div>
		<div class="www-header-right">
			<a  href="https://console.explinks.com/" target="_blank"  rel="nofollow"
			   class="www-header-right-btn">控制台</a>
		</div>
	</div>
</div>
<script>
    var BANNER_HEIGHT = 0; // 设置横幅高度（单位：px）
  //   document.addEventListener('DOMContentLoaded', function () {
  //       // 创建横幅容器
  //       const banner = document.createElement('div');
  //       banner.className = 'top-banner';
  //       banner.innerHTML = `
  //   <a href="https://www.explinks.com/api/trial/ai_text_generation?topad" target="_blank">
  //     <img src="https://image.explinks.com/static/top-banner-2.png" alt="横幅广告">
  //   </a>
  //   <button class="close-banner" onclick="closeBanner()">×</button>
  // `;
  //       document.body.prepend(banner); // 插入页面顶部
  //
  //       // 创建占位容器（占据空间）
  //       const placeholder = document.createElement('div');
  //       placeholder.id = 'top-banner-placeholder';
  //       placeholder.style.height = BANNER_HEIGHT + 'px';
  //       document.body.insertBefore(placeholder, banner.nextSibling);
  //       // 调整 header 位置
  //       const header = document.querySelector('.www-header');
  //       if (header) {
  //           const wrapper = document.createElement('div');
  //           header.parentNode.insertBefore(wrapper, header);
  //           wrapper.appendChild(header);
  //           header.style.marginTop = BANNER_HEIGHT+'px'; // 横幅高度，根据实际情况可调
  //       }
  //
  //
  //   });
  //   // 关闭横幅广告的函数
  //   function closeBanner() {
  //       BANNER_HEIGHT = 0;
  //       banner = document.querySelector('.top-banner');
  //       placeholder = document.querySelector('#top-banner-placeholder');
  //       banner.style.display = 'none';
  //       placeholder.style.display = 'none';
  //       const header = document.querySelector('.www-header');
  //       if (header) {
  //           header.style.marginTop = '0';
  //       }
  //   }
    let inputPlacehoder = "请输入您想查找的API"
    try {
        let url = new URL(location.href);
        if (url.pathname.startsWith("/provider")) {
            inputPlacehoder = "请输入您想查找的服务商"
        }
    } catch (e){}
    window.searchBox = new SearchBox({
        // 容器选择器
        el: "#mt-search-box",
        // 搜索页面地址
        searchUrl: "/search",
        inputPlacehoder: inputPlacehoder
    });
</script>


<link href="https://static.explinks.com/hub/static/css/comps/sideToolsBar/index.css?v=1756355797176"
      rel="stylesheet">
<div class="sidebar-components-container">
    <div class="sidebar">
        <button class="sidebar-button" title="反馈问题" id="feedbackButton">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
                 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <circle cx="12" cy="12" r="10"/>
                <path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"/>
                <line x1="12" y1="17" x2="12" y2="17"/>
            </svg>
        </button>
        <button class="sidebar-button up-button" title="返回顶部">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
                 stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M12 19V5"/>
                <path d="M5 12l7-7 7 7"/>
            </svg>
        </button>
    </div>

    <div class="toast" id="comingSoonToast">
        <div class="toast-content">
            <span>敬请期待...</span>
            <button class="toast-close">&times;</button>
        </div>
    </div>

    <div class="modal" id="feedbackModal">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title">反馈问题</h3>
                <button class="modal-close">&times;</button>
            </div>
            <form id="feedbackForm">
                <div class="form-group">
                    <label class="form-label" for="description">描述 <span class="required">*</span></label>
                    <textarea class="form-control" id="description" maxlength="200" required
                              placeholder="请在此描述您要反馈的问题（200字以内）"></textarea>
                </div>
                <div class="form-group">
                    <label class="form-label">截图</label>
                    <div class="image-upload" id="imageUpload">
                        <input type="file" id="imageInput" multiple accept="image/*" style="display: none;">
                        <p>点击或拖拽图片到此处上传（最多5张）</p>
                    </div>
                    <div class="image-preview" id="imagePreview"></div>
                </div>
                <div class="form-group">
                    <label class="form-label" for="contact">联系方式</label>
                    <input type="text" class="form-control" id="contact" placeholder="QQ/邮箱/任选其一">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" id="cancelButton">取消</button>
                    <button type="submit" class="btn btn-primary">确定</button>
                </div>
            </form>
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', () => {
            const upButton = document.querySelector('.up-button');
            const toast = document.getElementById('comingSoonToast');
            const toastClose = document.querySelector('.toast-close');
            const feedbackButton = document.getElementById('feedbackButton');
            const feedbackModal = document.getElementById('feedbackModal');
            const modalClose = feedbackModal.querySelector('.modal-close');
            const cancelButton = document.getElementById('cancelButton');
            const feedbackForm = document.getElementById('feedbackForm');
            const imageUpload = document.getElementById('imageUpload');
            const imageInput = document.getElementById('imageInput');
            const imagePreview = document.getElementById('imagePreview');
            let toastTimeout;

            // 返回顶部按钮逻辑
            window.addEventListener('scroll', () => {
                if (window.scrollY > 300) {
                    upButton.classList.add('show');
                } else {
                    upButton.classList.remove('show');
                }
            });

            upButton.addEventListener('click', () => {
                window.scrollTo({
                    top: 0,
                    behavior: 'smooth'
                });
            });

            // 显示提示框函数
            function showToast() {
                clearTimeout(toastTimeout);
                toast.classList.add('show');
                toastTimeout = setTimeout(() => {
                    toast.classList.remove('show');
                }, 3000);
            }

            // 关闭提示框
            toastClose.addEventListener('click', () => {
                toast.classList.remove('show');
                clearTimeout(toastTimeout);
            });

            // // 为三个按钮添加点击事件
            // const comingSoonButtons = [
            //   document.querySelector('button[title="AI助理"]'),
            //   document.querySelector('button[title="最近浏览"]'),
            //   document.querySelector('button[title="对比列表"]')
            // ];
            //
            // comingSoonButtons.forEach(button => {
            //   button.addEventListener('click', showToast);
            // });

            // 反馈模态框相关逻辑
            function openModal() {
                feedbackModal.classList.add('show');
                document.body.style.overflow = 'hidden';
            }

            function closeModal() {
                feedbackModal.classList.remove('show');
                document.body.style.overflow = '';
                feedbackForm.reset();
                imagePreview.innerHTML = '';
            }

            feedbackButton.addEventListener('click', openModal);
            modalClose.addEventListener('click', closeModal);
            cancelButton.addEventListener('click', closeModal);

            // 点击模态框外部关闭
            feedbackModal.addEventListener('click', (e) => {
                if (e.target === feedbackModal) {
                    closeModal();
                }
            });

            // 图片上传相关逻辑
            imageUpload.addEventListener('click', () => {
                imageInput.click();
            });

            imageInput.addEventListener('change', handleImageUpload);

            function handleImageUpload() {
                const files = Array.from(imageInput.files);
                const existingImages = imagePreview.querySelectorAll('.image-container');
                const totalImages = existingImages.length + files.length;

                if (totalImages > 5) {
                    alert('最多只能上传5张图片');
                    return;
                }

                files.forEach(file => {
                    if (!file.type.startsWith('image/')) {
                        return;
                    }

                    const reader = new FileReader();
                    reader.onload = (e) => {
                        const container = document.createElement('div');
                        container.className = 'image-container';

                        const img = document.createElement('img');
                        img.src = e.target.result;
                        container.appendChild(img);

                        const deleteBtn = document.createElement('button');
                        deleteBtn.className = 'image-delete';
                        deleteBtn.innerHTML = '×';
                        deleteBtn.title = '删除图片';
                        deleteBtn.onclick = function () {
                            if (confirm('确定要删除这张图片吗？')) {
                                container.remove();
                            }
                        };
                        container.appendChild(deleteBtn);

                        imagePreview.appendChild(container);
                    };
                    reader.readAsDataURL(file);
                });
            }

            // 拖拽上传
            imageUpload.addEventListener('dragover', (e) => {
                e.preventDefault();
                imageUpload.style.borderColor = '#4a90e2';
            });

            imageUpload.addEventListener('dragleave', () => {
                imageUpload.style.borderColor = '#ddd';
            });

            imageUpload.addEventListener('drop', (e) => {
                e.preventDefault();
                imageUpload.style.borderColor = '#ddd';
                const files = Array.from(e.dataTransfer.files);
                if (files.length > 5) {
                    alert('最多只能上传5张图片');
                    return;
                }
                imageInput.files = e.dataTransfer.files;
                handleImageUpload();
            });

            // 表单提交
            feedbackForm.addEventListener('submit', async (e) => {
                e.preventDefault();
                const description = document.getElementById('description').value.trim();
                const contact = document.getElementById('contact').value.trim();

                // if (!description || !contact) {
                if (!description) {
                    alert('请填写反馈内容！');
                    return;
                }

                // 收集图片数据
                const images = [];
                const imageElements = imagePreview.querySelectorAll('img');
                imageElements.forEach(img => {
                    images.push(img.src);
                });

                // 准备要提交的数据
                const formData = {
                    description,
                    contact,
                    images
                };

                try {
                    const response = await fetch('https://apihub.explinks.com/feedback/submit', {
                        method: 'POST',
                        headers: {
                            'Content-Type': 'application/json'
                        },
                        body: JSON.stringify(formData)
                    });

                    if (response.ok) {
                        alert('反馈提交成功！');
                        closeModal();
                    } else {
                        throw new Error('提交失败');
                    }
                } catch (error) {
                    alert('提交失败，请稍后重试！');
                    console.error('提交表单时出错：', error);
                }
            });
        });
    </script>

</div><main style="width: 1200px;margin: 50px auto 0;min-height: 800px;display: flex;justify-content: center">
	<div style="width: 240px;position: relative;z-index: 99">
		<div style="width: fit-content;margin: 90px auto auto 144px;position: fixed;">
			<div class="search-result-tab search-result-tab-active"
				 onclick="false&&window.searchBox.doSearch({searchScope:'ALL'})">
				全部
			</div>
			<div class="search-result-tab "
				 onclick="window.searchBox.doSearch({searchScope:'API'})">
				API服务
			</div>
			<div class="search-result-tab "
				 onclick="window.searchBox.doSearch({searchScope:'PROVIDER'})">
				开放平台
			</div>
			<div class="search-result-tab "
				 onclick="window.searchBox.doSearch({searchScope:'BLOG'})">
				博客文章
			</div>
		</div>
	</div>
	<div style="flex: 1 1 0;margin-left: 64px;position: relative;z-index: 100;background-color: white;">
		<div id="mt-search-box-page">
			<page-search-box/>
		</div>
		<div style="font-weight: 600;font-size: 30px;color: #1C2A4B;line-height: 35px;">搜索结果</div>
		<div style="font-weight: 400;font-size: 16px;color: #616C82;line-height: 19px;margin: 5px 0 25px">以下有0条结果和 "<span style="color: rgba(0, 87, 217, 1)">WSSPECIFIC.CSS</span>"相关</div>

			<div>
				<div style="width: 654px;">
					<div style="font-size: 14px;line-height: 22px;color: #4C576E;">请尝试检查拼写或使用更常见的词汇。</div>
				</div>
			</div>
	</div>
</main>

<div style="margin: 24px;display: flex;justify-content: center">
	<div style="width: fit-content">
<script src="https://static.explinks.com/hub/static/script/layui.js"></script>
<link href="https://static.explinks.com/hub/static/css/mt-page/mt-page.css?v=1756355797176" rel="stylesheet">
<div id="page_container" class="mt-page"></div>
<script>
    // let params = {
    //     count: 100,
    //     startPage: 1,
    //     pageSize: 12,
    //     groups: 3,
    // }

    // 回调 goPage()

    // 初始化分页组件
    function initMtPage(params) {
        if (params.count <= params.pageSize) {
            document.getElementById('page_container').style.display = 'none';
            // $('#page_container').hide();
            return;
        } else {
            document.getElementById('page_container').style.display = 'block';
            // $('#page_container').show();
        }
        // 分页
        layui.use(function () {
            var laypage = layui.laypage;
            laypage.render({
                elem: 'page_container',
                count: params.count,
                prev: '<em>&lt;</em>',
                next: '<em>&gt;</em>',
                curr: params.startPage,
                limit: params.pageSize,
                groups: params.groups,
                theme: 'mt_page_container',
                jump: function (obj, first) {
                    if (!first) {
                        // 获取当前的query参数并更新页码
                        var urlParams = new URLSearchParams(window.location.search);
                        urlParams.set('startPage', obj.curr);
                        window.location.href = window.location.pathname + '?' + urlParams.toString();
                    }
                }
            });
        });
    }
</script>
	</div>
</div>

<div id="explinks-footer">
	<div style="margin: 0 auto;width: 1200px">
		<div class="explinks-footer-top-container">
			<div>
				<div
						style="width: 240px">
					<div
							style="flex-basis: 50%">
						<figure
								style="display: flex;justify-content: center;margin-bottom: 10px;"
								class="wp-block-image aligncenter size-large is-resized has-custom-border">
							<img decoding="async"
								 src="https://cdn.explinks.com/wp-content/uploads/2023/12/image-e1703756327221.png"
								 alt="幂简集成ICON" style="border-radius: 0px; width: 100px"/>
						</figure>
					</div>
					<div>
						<p style="font-size: 15px;padding: 0 30px;">
							幂简集成是创新的API平台，一站搜索、试用、集成国内外API。
						</p>
					</div>
				</div>
			</div>
			<div class="ct-top-block">

				<h5 class="ct-top-block-heading">
					API平台</h5>
				<ul style="font-size: 14px; line-height: 2;">
					<li><a href="https://www.explinks.com/apihub" target="_blank">API大全</a></li>
					<li><a href="https://www.explinks.com/bookmark/free_api_nav" target="_blank">免费API</a></li>
					<li><a href="https://www.explinks.com/bookmark/abstract_api_nav" target="_blank">抽象API</a></li>
					<li><a href="https://www.explinks.com/bookmark/hot_api_nav" target="_blank">精选API</a></li>
					<li><a href="https://www.explinks.com/bookmark/usa_api_nav" target="_blank">美国API</a></li>
					<li><a href="https://www.explinks.com/bookmark/abroad_api_nav" target="_blank">国外API</a></li>
				</ul>

			</div>
			<div class="ct-top-block">

				<h5 class="ct-top-block-heading">
					API平台</h5>
				<ul style="font-size: 14px; line-height: 2;">
					<li><a href="https://www.explinks.com/bookmark/ai_api_nav" target="_blank">人工智能API</a></li>
					<li><a href="https://www.explinks.com/bookmark/aigc_api_nav" target="_blank">AI生成API</a></li>
					<li><a href="https://www.explinks.com/bookmark/web3_api_nav" target="_blank">Web3 API</a></li>
					<li><a href="https://www.explinks.com/bookmark/seo_api_nav" target="_blank">SEO API</a></li>
					<li><a href="https://www.explinks.com/bookmark/data_api_nav" target="_blank">数据API</a></li>
					<li><a href="https://www.explinks.com/bookmark/dev_api_nav" target="_blank">在线工具</a></li>
				</ul>

			</div>
			<div class="ct-top-block">
				<h5 class="ct-top-block-heading">
					API学院</h5>
				<ul style="font-size: 14px; line-height: 2;">
					<li><a href="https://www.explinks.com/blog/category/api-concept">API是什么</a></li>
					<li><a href="https://www.explinks.com/blog/category/api-solution">API调用</a></li>
					<li><a href="https://www.explinks.com/blog/category/api-integration">API集成</a></li>
					<li><a href="https://www.explinks.com/blog/category/api-monetization">API货币化</a></li>
					<li><a href="https://www.explinks.com/blog/category/api-development">API开发</a></li>
					<li><a href="https://www.explinks.com/blog/category/api-security">API安全</a></li>
				</ul>

			</div>


			<div class="ct-top-block">

				<h5 class="ct-top-block-heading">
					公司</h5>
				<ul style="font-size: 14px; line-height: 2;">
					<li><a href="https://www.explinks.com/company/about">公司介绍</a></li>
					<li><a href="https://www.explinks.com/company/joinus">加入我们</a></li>
					<li><a href="https://www.explinks.com/company/service-agreement">服务条款</a></li>
					<li><a href="https://www.explinks.com/company/privacy-policy">隐私协议</a></li>
					<li><a href="https://www.explinks.com/sitemap.xml">网站地图</a>
				</ul>
			</div>

		</div>


		<div class="ct-bottom-container">
			<div>

				<p style="font-size: 14px">Copyright © 2024 All Rights Reserved <a href="/company/about"
																				   target="_blank">北京蜜堂有信科技有限公司</a>
				</p>

			</div>
			<div>

				<div style="display: flex"
					 class="footer-license">
					<div>
						<p style="padding-top: 0; padding-bottom: 0; font-size: 14px">
							增值电信业务经营许可证：京B2-20191889</p>
					</div>
					<div

							style="line-height: initial;">
						<figure>
							<img decoding="async"
								 src="https://cdn.explinks.com/wp-content/uploads/2023/12/police.png"
								 alt="" style="object-fit: cover; width: 20px; height: 20px"/>
						</figure>
					</div>
					<div
							style="padding-right: 0; padding-left: 0">
						<p	style="font-size: 14px"><a href="https://beian.miit.gov.cn/" target="_blank"
														   rel="nofollow">京ICP备18034931号-7</a></p>
					</div>
				</div>

			</div>
		</div>
		<div style="display: grid;grid-template-columns: 1fr 1fr;">
			<div>

				<p style="font-size: 14px">公司地址： 北京市朝阳区光华路和乔大厦C座1508</p>

			</div>
			<div>
				<p style="font-size: 14px">意见反馈：010-533324933,mtyy@miitang.com</p>
			</div>
		</div>
	</div>



</div>


<script>
	// 分页相关
	let pageParams = {
		count: 0,
		startPage: 1,
		pageSize: 15,
		groups: 3,
	}
	initMtPage(pageParams);
	function goPage(startPage) {
		window.searchBox.doSearch({startPage})
	}
</script>
    <script>
    ;
    (function (global, factory) {
        typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
            typeof define === 'function' && define.amd ? define(factory) :
                (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (function () {
                    var current = global.Cookies;
                    var exports = global.Cookies = factory();
                    exports.noConflict = function () { global.Cookies = current; return exports; };
                })());
    })(this, (function () { 'use strict';

        /* eslint-disable no-var */
        function assign (target) {
            for (var i = 1; i < arguments.length; i++) {
                var source = arguments[i];
                for (var key in source) {
                    target[key] = source[key];
                }
            }
            return target
        }
        /* eslint-enable no-var */

        /* eslint-disable no-var */
        var defaultConverter = {
            read: function (value) {
                if (value[0] === '"') {
                    value = value.slice(1, -1);
                }
                return value.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent)
            },
            write: function (value) {
                return encodeURIComponent(value).replace(
                    /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,
                    decodeURIComponent
                )
            }
        };
        /* eslint-enable no-var */

        /* eslint-disable no-var */

        function init (converter, defaultAttributes) {
            function set (name, value, attributes) {
                if (typeof document === 'undefined') {
                    return
                }

                attributes = assign({}, defaultAttributes, attributes);

                if (typeof attributes.expires === 'number') {
                    attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
                }
                if (attributes.expires) {
                    attributes.expires = attributes.expires.toUTCString();
                }

                name = encodeURIComponent(name)
                    .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)
                    .replace(/[()]/g, escape);

                var stringifiedAttributes = '';
                for (var attributeName in attributes) {
                    if (!attributes[attributeName]) {
                        continue
                    }

                    stringifiedAttributes += '; ' + attributeName;

                    if (attributes[attributeName] === true) {
                        continue
                    }

                    // Considers RFC 6265 section 5.2:
                    // ...
                    // 3.  If the remaining unparsed-attributes contains a %x3B (";")
                    //     character:
                    // Consume the characters of the unparsed-attributes up to,
                    // not including, the first %x3B (";") character.
                    // ...
                    stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
                }

                return (document.cookie =
                    name + '=' + converter.write(value, name) + stringifiedAttributes)
            }

            function get (name) {
                if (typeof document === 'undefined' || (arguments.length && !name)) {
                    return
                }

                // To prevent the for loop in the first place assign an empty array
                // in case there are no cookies at all.
                var cookies = document.cookie ? document.cookie.split('; ') : [];
                var jar = {};
                for (var i = 0; i < cookies.length; i++) {
                    var parts = cookies[i].split('=');
                    var value = parts.slice(1).join('=');

                    try {
                        var found = decodeURIComponent(parts[0]);
                        jar[found] = converter.read(value, found);

                        if (name === found) {
                            break
                        }
                    } catch (e) {}
                }

                return name ? jar[name] : jar
            }

            return Object.create(
                {
                    set,
                    get,
                    remove: function (name, attributes) {
                        set(
                            name,
                            '',
                            assign({}, attributes, {
                                expires: -1
                            })
                        );
                    },
                    withAttributes: function (attributes) {
                        return init(this.converter, assign({}, this.attributes, attributes))
                    },
                    withConverter: function (converter) {
                        return init(assign({}, this.converter, converter), this.attributes)
                    }
                },
                {
                    attributes: { value: Object.freeze(defaultAttributes) },
                    converter: { value: Object.freeze(converter) }
                }
            )
        }

        var api = init(defaultConverter, { path: '/' });
        /* eslint-enable no-var */

        return api;

    }));

    </script>
    <script src="https://static.explinks.com/hub/static/script/axios.min.js"></script>
    <script>

        (window.header || (window.header = {})).request = axios.create({
            // axios中请求配置有baseURL选项，表示请求URL公共部分
            baseURL: "https://apihub.explinks.com",
            // 超时
            timeout: 60000
        })

        window.header.request.interceptors.request.use(config => {
            // 是否需要设置 token
            config.headers['Authorization'] = 'Bearer ' + Cookies.get("Admin-Token")
            return config
        }, error => {
            Promise.reject(error)
        })

        // 响应拦截器
        window.header.request.interceptors.response.use(res => {
                const code = res.data.code || 200;
                if (code === 401) {
                    // 未登录
                    // userService.logout()
                    // location.reload()
                }
                return res.data.data || res.data || res;
            },
            error => {
                return Promise.reject(error)
            }
        )

    </script>
<script>
	setTimeout(async ()=>{
		// todo 等标签功能完成后为带有特定标签的用户添加cookies，注意域名 动态
		// Cookies.set("IS-MT-U",true, { expires: 30, domain: 'explinks.com' })
		window.searchResultMeta = {
			searchKeyWord : `WSSPECIFIC.CSS`,
			otherConditions : `{"startPage":1,"queryKey":"WSSPECIFIC.CSS","isFree":"false","isGeneral":"false","searchScope":"","pageSize":15,"isNew":"false"}`,
			resultCount : `0`,
			engine : `ELASTIC_SEARCH`,
			userNo : ``,
			deviceId : "",  // 暂无
			mtUser : Cookies.get("IS-MT-U") || false,
		}

		await window.header.request({
			url:"/record/search",
			method: "post",
			data: window.searchResultMeta
		})
	},1)
</script>
<script>
	window.addEventListener("load",()=>{
		const app = Vue.createApp({})
		app.component("page-search-box", window.PageSearchBox)
		app.mount('#mt-search-box-page');
	})
</script>
<style>
	html {
		scroll-behavior: smooth;
	}
	.search-result-tab {
		width: fit-content;
		margin-bottom: 24px;
		cursor: pointer;
		font-size: 14px;
		font-weight: 500;
		line-height: 23px;
		text-align: left;
		font-style: normal;
		text-transform: none;
	}
	.search-result-tab:hover, .search-result-tab-active {
		color: #2658EF;
	}
	.search-result-tag {
		height: 20px;
		opacity: 1;
		border-radius: 2px;
		background: rgba(235, 241, 247, 0.11);
		margin: 8px 8px 0px 0;
		border: 1px solid rgba(30, 131, 247, 0.17);

		font-size: 12px;
		font-weight: 400;
		line-height: 18px;
		color: rgba(8, 103, 212, 1);
		text-align: center;
		padding: 0 6px;
		box-sizing: border-box;
	}
	.search-result-tag-s {
		background: #EBF2FE;
		color: #2658EF;
	}
	.search-result-tag-n {
		background: #FFEBFE;
		color: #E254B5;
	}
	.search-result-tag-f {
		background: #FFE6E9;
		color: #FC3F54;
	}
	.search-result-tag2 {
		width: 65px;
		height: 20px;opacity: 1;
		border-radius: 5px;
		background: #E9EEFD;
		border: 1px solid rgba(217, 171, 20, 0.14);
		margin-top: 4px;

		font-size: 12px;
		font-weight: 400;
		line-height: 20px;
		color: #2658EF;
		text-align: center;
	}
	.search-result-title {
		text-decoration: none;
		color: #1A0DAB!important;
		cursor: pointer;
		width: fit-content;
		display: inline-block;
		font-size: 20px;
		/*font-weight: bold;*/
	}
	.mt-bg-img {
		/* 背景图垂直、水平均居中 */
		background-position: center center;
		/* 背景图不平铺 */
		background-repeat: no-repeat;
		/* 让背景图基于容器大小伸缩 */
		background-size: cover;
	}
	/* 命中词的样式 */
	.mt-hit-word {
		color: red;
	}
	/* 箭头 */
	.arrow {
		display: inline-block;
		--s: 8px;
		width: var(--s);
		height: var(--s);
		border-bottom: #2658EF 1px solid;
		border-right: #2658EF 1px solid;
		transform: rotate(-45deg);
		margin: 8px;
		position: relative;
		top: -2px;
	}
	/* 主推服务样式 */
	.main-push-api {
		height: 23px;
		line-height: 23px;
		background: #EBF2FE;
		border: 1px solid #E9EEFD;
		font-size: 12px;
		color: #2658EF;
		padding: 0 10px;
		position: relative;
		text-decoration: none;
		margin-right: 10px;
	}
	.main-push-api:hover {
		background: #D5E4FF;
		color: #2658EF;
		text-decoration: none;
	}
	#mt-search-box-page{
		margin-bottom: 40px;
		height: 50px;
	}
	.bottom-search {
		width: 90px;
		height: 40px;
		line-height: 40px;
		border-radius: 6px;
		background-color: rgba(235,242,254,1);
		color: rgba(45,100,220,1);
		font-size: 18px;
		text-align: center;
		border: 1px solid rgba(69,118,224,1);
	}
</style>
</body>
</html>
