常用JS库CDN

以下的常用JS库CDN地址。如果版本不能满足实际需求,可将实际需要的JS库放到专题的JS文件夹下。

[danger] 注意

禁止引用非腾讯域名的静态资源,包括但不限于JS文件、CSS文件、图片文件

JQuery

(页面引用jq版本必须高于或是1.9.1版本)

<script src="//ossweb-img.qq.com/images/js/jquery/jquery-1.9.1.min.js"></script> 
<script src="//ossweb-img.qq.com/images/js/jquery/jquery-1.11.3.min.js"></script>

jQuery.fullPage

<script src="//ossweb-img.qq.com/images/js/jquery/jquery.fullPage.2.9.4.min.js"></script>

Milo

<!-- PC端milo -->
<script src="//ossweb-img.qq.com/images/js/milo_bundle/milo.js"></script>

<!-- 移动端milo -->
<script src="//ossweb-img.qq.com/images/js/mobile_bundle/milo.js"></script>

Zepto

<script src="//ossweb-img.qq.com/images/js/zepto/zepto1.2.min.js"></script> 
<script src="//ossweb-img.qq.com/images/js/zepto/zepto-1.1.6.min.js"></script> 
<script src="//ossweb-img.qq.com/images/js/zepto/zepto.modules.min.js"></script> //包含模块 fx、touch、deferred、data模块

swiper版本列表

(CSS根据功能自行提取)

<!-- swiper3 -->
<script src="//ossweb-img.qq.com/images/js/swiper/swiper-3.4.2.min.js"></script> 
<!-- swiper4 -->
<script src="//ossweb-img.qq.com/images/js/swiper4_component/js/swiper.min.js"></script> 
<!-- swiper2 -->
<script src="//ossweb-img.qq.com/images/js/swiper2_component/swiper2.min.js"></script> 
<!-- swiper 3.4.2 css -->
<link rel="stylesheet" href="//ossweb-img.qq.com/images/js/swiper/swiper-3.4.2.min.css">
<!-- swiper 4.3.3 css -->
<link rel="stylesheet" href="//ossweb-img.qq.com/images/js/swiper/swiper-4.3.3.min.css">

iphone-inline-video

<script src="//ossweb-img.qq.com/images/js/iphone_inline_video/iphone-inline-video.min.js"></script>

TGMobileShareJS

<script src="//ossweb-img.qq.com/images/js/TGMobileShare/TGMobileShare.min.js"></script>

TG-PTT

<script src="//ossweb-img.qq.com/images/js/PTT/ping_tcss_tgideas_https_min.js"></script>

Vue

<script src="//ossweb-img.qq.com/images/js/vue_component/vue-2.2.6.min.js"></script>

iScroll

<script src="//ossweb-img.qq.com/images/js/iscroll_library/iscroll-5.2.0.js"></script>

results matching ""

    No results matching ""