cdn_一些經常使用的cdn地址

 
 

https://code.jquery.com/jquery-3.3.1.js
https://cdn.bootcss.com/jquery/2.1.4/jquery.min.jscss

 
 

https://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css
https://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js

https://cdn.bootcss.com/echarts/4.1.0.rc2/echarts.js
https://cdn.bootcss.com/echarts/4.1.0.rc2/echarts.min.jshtml

 
 

https://cdn.bootcss.com/vue/2.5.2/vue.min.js
https://cdn.bootcss.com/vue-router/3.0.1/vue-router.min.js
https://cdn.bootcss.com/vuex/3.0.1/vuex.min.jsvue

 

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/css/swiper.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/css/swiper.min.css">

<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/js/swiper.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/js/swiper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/js/swiper.jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.x.x/js/swiper.jquery.min.js"></script>

 

https://cdn.bootcss.com/font-awesome/5.8.1/css/fontawesome.min.cssjquery

https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.cssgit

 

http://chandlerprall.github.io/Physijs/examples/js/three.min.jsgithub

 

 

https://www.haorooms.com/nav#1web

 

點點ajax

overflow: hidden;
display: -webkit-box;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;vue-router

 

 修改默認的滾動條樣式vuex

 1 /*滾動條樣式*/
 2             /*定義滾動條高寬及背景 高寬分別對應橫豎滾動條的尺寸*/
 3 
 4             ::-webkit-scrollbar {
 5                 width: 10px;
 6                 height: 10px;
 7                 background-color: #F5F5F5;
 8             }
 9             /*定義滾動條軌道 內陰影+圓角*/
10 
11             ::-webkit-scrollbar-track {
12                 -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
13                 border-radius: 10px;
14                 background-color: #F5F5F5;
15             }
16             /*定義滑塊 內陰影+圓角*/
17 
18             ::-webkit-scrollbar-thumb {
19                 border-radius: 10px;
20                 -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
21                 background-color: #555;
22             }

 a標籤默認樣式去掉

 a { text-decoration: none; color: #333; } 

解決跨域

 --disable-web-security --user-data-dir 

 

模板代碼:

ajax

 1 $.ajax({
 2         url: 'url',
 3         type: "post",
 4         dataType: "json",
 5         data: {},
 6         cache: false,
 7         async: false,
 8         success: function(res) {
 9 
10         },
11         error: function(res) {}
12     }),

 

 解決github卡的問題

151.101.113.194 github.global.ssl.fastly.net

192.30.253.112 github.com

 

Mac:sudo vi /etc/host,而後輸入電腦的密碼,打開host文件。

window:C:\Windows\System32\drivers\etc\hosts

Linux:vim \etc\hosts 

3.更新DNS緩存,使增長的映射生效。

Mac:sudo dscacheutil -flushcache

Window:ipconfig /flushdns

Linux:/etc/init.d/dns-clean

 

 

three.js 

https://www.cnblogs.com/catherinezyr/p/7047465.html

相關文章
相關標籤/搜索