哇去,有了這篇文章,項目中引入了再多的字體包,我都不怕了!!!

通常情況下,我們在開發一個新項目的時候,項目那邊通常都會提供一些項目所需的字體包,來滿足項目對字體展示的特殊需求。

這部分大家都比較熟悉,就不詳細講了,直接上代碼:

/* 引入字體包 */
@font-face {font-family: "SourceHanSansCN";src: url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.eot");/* IE9 */src: url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.svg#Source Han Sans CN") format("svg");/* iOS 4.1- */font-style: normal;font-weight: normal;
}
<div class="font-container page-container"><p class="font-css font">測試字體abcde12345</p>
</div>
.font-css {font-size: 60px;color: black;margin: 20px auto;display: flex;align-items: center;justify-content: center;&.font {font-family: 'SourceHanSansCN';}
}

?效果如下:

至此,即可簡單的引入自定義字體了。

然而,實際項目中,我們不可能只用一個字體字重吧,我們還需要考慮到在不同的模塊下使用不同的字體字重的情況,這也簡單,使用 【font-weight】,具體代碼如下:

<div class="font-container page-container"><p class="font-css light">測試字體abcde12345</p><p class="font-css regular">測試字體abcde12345</p><p class="font-css medium">測試字體abcde12345</p><p class="font-css bold">測試字體abcde12345</p>
</div>
.font-css {font-size: 60px;color: black;margin: 20px auto;display: flex;align-items: center;justify-content: center;font-family: 'SourceHanSansCN';&.light {font-weight: 300;}&.regular {font-weight: 400;}&.medium {font-weight: 500;}&.bold {font-weight: 700;}
}

效果如下:

但是我們會發現

雖然我們設置了相對應的字重,但是并不是所有字體的字重都會生效。

這就不得不提我之前的發現了,由于不同瀏覽器對字體字重的兼容有所不同,比如500在ios系統那邊會生效但是window這邊不會生效;同時不同字體也不一定都包含兼容所有的字重,所以就會出現上面設置不同字重不生效的情況;而且實際項目過程中有時候簡單地設置字重不一定能滿足項目對字體字重的要求。

那怎么辦呢,既然簡單地設置字重不行,那么我們換個思路,引入不同字重的字體包試試。

說干就干:

/* 引入字體包 */
@font-face {font-family: "SourceHanSansCN-light";src: url("./fonts/webFonts/test/SourceHanSansCN-light/SourceHanSansCN-light.eot");/* IE9 */src: url("./fonts/webFonts/test/SourceHanSansCN-light/SourceHanSansCN-light.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/SourceHanSansCN-light/SourceHanSansCN-light.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/SourceHanSansCN-light/SourceHanSansCN-light.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/SourceHanSansCN-light/SourceHanSansCN-light.svg#Source Han Sans CN") format("svg");/* iOS 4.1- */font-style: normal;font-weight: normal;
}/* 引入字體包 */
@font-face {font-family: "SourceHanSansCN-regular";src: url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.eot");/* IE9 */src: url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/SourceHanSansCN-regular/SourceHanSansCN-regular.svg#Source Han Sans CN") format("svg");/* iOS 4.1- */font-style: normal;font-weight: normal;
}/* 引入字體包 */
@font-face {font-family: "SourceHanSansCN-medium";src: url("./fonts/webFonts/test/SourceHanSansCN-medium/SourceHanSansCN-medium.eot");/* IE9 */src: url("./fonts/webFonts/test/SourceHanSansCN-medium/SourceHanSansCN-medium.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/SourceHanSansCN-medium/SourceHanSansCN-medium.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/SourceHanSansCN-medium/SourceHanSansCN-medium.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/SourceHanSansCN-medium/SourceHanSansCN-medium.svg#Source Han Sans CN") format("svg");/* iOS 4.1- */font-style: normal;font-weight: normal;
}/* 引入字體包 */
@font-face {font-family: "SourceHanSansCN-bold";src: url("./fonts/webFonts/test/SourceHanSansCN-bold/SourceHanSansCN-bold.eot");/* IE9 */src: url("./fonts/webFonts/test/SourceHanSansCN-bold/SourceHanSansCN-bold.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/SourceHanSansCN-bold/SourceHanSansCN-bold.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/SourceHanSansCN-bold/SourceHanSansCN-bold.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/SourceHanSansCN-bold/SourceHanSansCN-bold.svg#Source Han Sans CN") format("svg");/* iOS 4.1- */font-style: normal;font-weight: normal;
}
<div class="font-container page-container"><p class="font-css light">測試字體abcde12345</p><p class="font-css regular">測試字體abcde12345</p><p class="font-css medium">測試字體abcde12345</p><p class="font-css bold">測試字體abcde12345</p>
</div>
.font-css {font-size: 60px;color: black;margin: 20px auto;display: flex;align-items: center;justify-content: center;&.light {font-family: 'SourceHanSansCN-light';}&.regular {font-family: 'SourceHanSansCN-regular';}&.medium {font-family: 'SourceHanSansCN-medium';}&.bold {font-family: 'SourceHanSansCN-bold';}
}

效果如下:


簡單做個對比

通過對比,不難發現差距還是很明顯的,效果也是很明顯的啦!

然后,我們又會考慮到一個問題,因為我們現在修改字重是通過,將原來的【font-weight: 700】 改成【font-family: 'SourceHanSansCN-bold'】對應字體這種方式實現的。

那么,如果項目前期一直使用的是【font-weight】來設置字重,后期全部調整成【font-family】設置字體的話,需要修改的地方會很多很雜。

那有沒有什么方法,在保留原有字重的情況下實現呢,即通過設置字重來自動引入對應所需要的字重字體呢?答案肯定的,這也是接下來需要重點講解的內容。

首先引入所需的字體包

@font-face {font-family: "test-font";src: url("./fonts/webFonts/test/light/light.eot");/* IE9 */src: url("./fonts/webFonts/test/light/light.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/light/light.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/light/light.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/light/light.svg#.PhoneFallback") format("svg");/* iOS 4.1- */font-style: normal;font-weight: 300;
}@font-face {font-family: "test-font";src: url("./fonts/webFonts/test/regular/regular.eot");/* IE9 */src: url("./fonts/webFonts/test/regular/regular.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/regular/regular.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/regular/regular.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/regular/regular.svg#Source Han Sans CN") format("svg");/* iOS 4.1- */font-style: normal;font-weight: 400;
}@font-face {font-family: "test-font";src: url("./fonts/webFonts/test/medium/medium.eot");/* IE9 */src: url("./fonts/webFonts/test/medium/medium.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/medium/medium.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/medium/medium.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/medium/medium.svg#qiantuxianmoti") format("svg");/* iOS 4.1- */font-style: normal;font-weight: 500;
}@font-face {font-family: "test-font";src: url("./fonts/webFonts/test/bold/bold.eot");/* IE9 */src: url("./fonts/webFonts/test/bold/bold.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/bold/bold.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/bold/bold.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/bold/bold.svg#UnifrakturMaguntia") format("svg");/* iOS 4.1- */font-style: normal;font-weight: 700;
}

這里我們看到引入的字體包的名稱是一致的,而不是像上一段那樣不同字體命名不同,但是字重不一樣了,需要特別關注的是

@font-face {font-family: "test-font";/* 通過字重實現自動引入對應字體 */font-weight: 700;
}

我們可以通過?@font-face?中的 font-weight 屬性來設置命中該字體包的字重大小,只要頁面設置的字重和該字體包重,即可命中并引入該字體包。
?/* 通過字重實現自動引入對應字體 */
?font-weight: 700;

<div class="font-container page-container"><p class="font-css light">測試字體abcde12345</p><p class="font-css regular">測試字體abcde12345</p><p class="font-css medium">測試字體abcde12345</p><p class="font-css bold">測試字體abcde12345</p>
</div>
.font-css {font-size: 60px;color: black;margin: 20px auto;display: flex;align-items: center;justify-content: center;font-family: 'test-font';&.light {font-weight: 300;}&.regular {font-weight: 400;}&.medium {font-weight: 500;}&.bold {font-weight: 700;}
}

效果如下:

我們再來看一下字體引入情況

OK,的確只引入了700情況下的自定義字體包,效果Perfect!!!!!

好了,抬走下一個

通常情況下,我們字體會遇到中文,中文字符,英文,英文字符,數字等等情況,那我們怎么給不同的語言設置不同的字體呢。

那就有人會說了:“給不同語言設置不同字體不就好了,中文設置中文字體,英文設置英文字體。”

那么,問題來了,如果一個p標簽,span標簽里的內容,你無法識別,即既可能會是中文也可能是英文也可能是中英文混合,哪怎么辦呢?

又有人會說了:“那我們就不做區分,直接給這塊內容同時設置中英字體不就好了,哪個生效用哪個。”

的確,之前我也是這么想的,也是這么做的。然后又遇到問題了,如果項目提供的字體(不論中文字體還會英文字體)對中英文都生效怎么辦,這時候又達不到項目想要的效果了。

通過搜索查找,終于找到了解決辦法,使用【unicode-range】設置字符 unicode 范圍,從而自定義字體包。

【unicode-range】 是一個 CSS 屬性,用于指定字體文件所支持的 Unicode 字符范圍,以便在顯示文本時選擇適合的字體。

它的語法如下:

@font-face {font-family: "test-font-cn";src: url("./fonts/webFonts/test/medium/medium.ttf") format("truetype");unicode-range: U+4E00-9FFF, U+3000-303F, U+2000-206F;
}

然后我的想法是對中文以及中文字符進行字符限制從而達到效果。

通過 chatgpt 我得知到中文、中符號的 unicode 的范圍為:?U+4E00-9FFF, U+3000-303F, U+2000-206F?這么幾個區間。

詳細代碼如下:

@font-face {font-family: "test-font";src: url("./fonts/webFonts/test/medium/medium.eot");/* IE9 */src: url("./fonts/webFonts/test/medium/medium.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/medium/medium.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/medium/medium.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/medium/medium.svg#qiantuxianmoti") format("svg");/* iOS 4.1- */font-style: normal;font-weight: 300;
}@font-face {font-family: "test-font";src: url("./fonts/webFonts/test/bold/bold.eot");/* IE9 */src: url("./fonts/webFonts/test/bold/bold.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/bold/bold.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/bold/bold.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/bold/bold.svg#UnifrakturMaguntia") format("svg");/* iOS 4.1- */font-style: normal;font-weight: 700;
}/* 中文字體包 */
@font-face {font-family: "test-font-cn";src: url("./fonts/webFonts/test/medium/medium.eot");/* IE9 */src: url("./fonts/webFonts/test/medium/medium.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/medium/medium.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/medium/medium.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/medium/medium.svg#qiantuxianmoti") format("svg");/* iOS 4.1- */font-style: normal;font-weight: 300;unicode-range: U+4E00-9FFF, U+3000-303F, U+2000-206F;/* 中文范圍 */
}/* 英文字體包 */
@font-face {font-family: "test-font-en";src: url("./fonts/webFonts/test/bold/bold.eot");/* IE9 */src: url("./fonts/webFonts/test/bold/bold.eot?#iefix") format("embedded-opentype"),/* IE6-IE8 */url("./fonts/webFonts/test/bold/bold.woff") format("woff"),/* chrome, firefox */url("./fonts/webFonts/test/bold/bold.ttf") format("truetype"),/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */url("./fonts/webFonts/test/bold/bold.svg#UnifrakturMaguntia") format("svg");/* iOS 4.1- */font-style: normal;font-weight: 700;
}
<div class="font-container page-container"><p class="font-css cn">測試字體abcde12345</p><p class="font-css en">測試字體abcde12345</p><p class="font-css cnen">測試字體abcde12345</p>
</div>
.font-css {font-size: 60px;color: black;margin: 20px auto;display: flex;align-items: center;justify-content: center;font-family: 'test-font';&.cn {font-weight: 500;}&.en {font-weight: 700;}&.cnen {font-family: 'test-font-cn', 'test-font-en';}
}

效果如下:

到此,我項目中遇到關于字體包的問題解決了.

BINGO!!!

總結:

1、項目引入自定義字體包? 【解決】

2、不同模塊設置不同自重 【解決】

? ? ? ? 2-1 通過font-weight簡單設置

? ? ? ? 2-2 引入不同自重字體包并使用

? ? ? ? 2-3 通過設置font-weight按需自動引入不同自重字體包

3、不同言語字符設置不同字體包【解決】

? ? ? ? 3-1 通過設置unicode-range按需自動引入不同語言字體包



參看資料:

什么!一個項目給了8個字體包???icon-default.png?t=N7T8https://juejin.cn/post/7251884086536781880CSS unicode-range特定字符使用font-face自定義字體icon-default.png?t=N7T8https://www.zhangxinxu.com/wordpress/2016/11/css-unicode-range-character-font-face/

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/711446.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/711446.shtml
英文地址,請注明出處:http://en.pswp.cn/news/711446.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

異常處理(黑馬學習筆記)

當前問題 登錄功能和登錄校驗功能我們都實現了&#xff0c;下面我們學習下今天最后一塊技術點&#xff1a;異常處理。首先我們先來看一下系統出現異常之后會發生什么現象&#xff0c;再來介紹異常處理的方案。 我們打開瀏覽器&#xff0c;訪問系統中的新增部門操作&#xff0…

GEE高階應用python wxee——MODIS氣象數據可視化處理(2022年3-9月葡萄牙為例)以及可視化地圖加載

MODIS wxee 是專為處理氣象數據而設計的,但它在遙感數據方面也很有用。在本示例中,我們將了解 wxee 如何處理 MODIS 傳感器的數據,以及如何利用 xarray 對象創建彩色復合圖。 安裝和設定 #!pip install wxeeimport ee import wxeeee.Authenticate() wxee.Initialize(proje…

前端筆記01---html 的加載

文章目錄 HTML<meta><script>MIME CSSHTML 與 DOM 有什么不同MDNMozilla 臟檢查依賴注入虛擬 DOM虛擬DOM性能開銷 性能性能開銷包括哪些方面性能瓶頸性能&#xff1f; 事件事件委托事件冒泡passive: true 合成器線程 HTML html head <meta> <meta> 元素…

貪心算法介紹

貪心算法是一種在求解問題時總是做出在當前看來是最好的選擇的算法。它不從整體最優上加以考慮&#xff0c;所做出的選擇只是在某種意義上的局部最優解。貪心算法不是對所有問題都能得到整體最優解&#xff0c;關鍵是貪心策略的選擇&#xff0c;選擇的貪心策略必須具備無后效性…

K8S相關小技巧《五》

需求&#xff1a; 作為Kubernetes管理員&#xff0c;前一段時間有收到一個需求&#xff0c;需要創建一個可用的storage class&#xff0c;用于提供給給隔離的用戶使用共享磁盤。共享磁盤為NFS磁盤&#xff0c;本例以NFS為例&#xff0c;其他類型的storage class創建也是類似&a…

模型優化_如何提高網絡/模型的泛化能力?(全面)

目錄 1. 以數據為中心的泛化方法 1.1 使用更多數據 1.2 做好數據預處理 特征工程 1.3 數據增強 1.4 調整數據分布 2. 以模型為中心的泛化方法 2.1 使用更大批次 超參數調優 2.2 調整目標函數 2.3 調整網絡結構 2.4 屏蔽網絡節點 2.5 權值正則化 2.6 偏差-方差權衡…

防考試作弊切屏

防考試作弊切屏 方法一&#xff1a;監聽頁面失焦聚焦事件&#xff1a;防止任何操作 監聽考試頁面失焦事件記錄切出時間頁面聚焦時累積記錄切入時間&#xff0c;累積時間大于1分鐘自動交卷并移除時間頁面銷毀移出事件***bug&#xff1a;必須把事件回調定義為方法&#xff0c;在…

全國夜間燈光指數數據、GDP密度分布、人口密度分布、土地利用數據、降雨量數據

引言 DMSP/OLS的1992-2013年全球遙感影像&#xff0c;包括三種非輻射定標的夜間燈光影像。三種全年平均影像分別是&#xff1a;無云觀測頻數影像、平均燈光影像和穩定燈光影像。目前地理遙感生態網可提供全國穩定燈光影像免費下載。穩定燈光影像是標定夜間平均燈光強度的年度柵…

【論文閱讀筆記】Explicit Visual Prompting for Low-Level Structure Segmentations

1.介紹 Explicit Visual Prompting for Low-Level Structure Segmentations 低級結構分割的顯式視覺提示 2023年發表在IEEE CVPR Paper Code 2.摘要 檢測圖像中低級結構&#xff08;低層特征&#xff09;一般包括分割操縱部分、識別失焦像素、分離陰影區域和檢測隱藏對象。雖…

c# Excel轉換成DataTable

/// <summary> /// Excel轉換成DataTable&#xff08;.xls&#xff09; /// </summary> /// <param name"filePath">Excel文件路徑</param> /// <returns></returns> public static Da…

人造太陽光熱模擬能量密度太陽模擬器

人造太陽模擬器其他名稱&#xff1a;能量密度太陽能光熱模擬能量密度太陽模擬器、能流密度太陽光模擬器、高通量太陽模擬器 高通量能留密度太陽能爐和太陽光模擬器產生高度集中的太陽能和人造光&#xff0c;用于新技術和材料的研究和測試。這使研究人員能夠進行制氫實驗、太陽…

備戰藍橋杯---線段樹基礎1

引入&#xff1a;RMQ問題&#xff1a; 什么是RMQ&#xff1f; 顯然&#xff0c;我們無法用前綴維護&#xff0c;因此&#xff0c;我們需要用到線段樹的知識&#xff1a; 什么是線段樹&#xff1f; 線段樹是用一種樹狀結構存儲一個連續區間信息的數據結構 下面我們用圖解釋用…

C++知識點總結(22):模擬算法真題 ★★★★☆《越野比賽》

二、越野比賽 1. 審題 題目描述 最近賽車手 K a l n Kaln Kaln 加入了心心念念的 F a r Far Far 車隊&#xff0c;馬上就迎來了自己的首秀&#xff0c;參加一場直線加速賽&#xff1a;已知 F a r Far Far 車隊會提供 n n n 種類型的賽車&#xff0c; K a l n Kaln Kaln 只…

【數據結構】隊列OJ題《用隊列實現棧》(題庫+解析+代碼)

1.前言 通過前面隊列的實現和詳解大家對隊列應該有一定熟悉了&#xff0c;現在上強度開始做題吧 隊列詳解&#xff1a;http://t.csdnimg.cn/dvTsW 2.OJ題目訓練225. 用隊列實現棧 題目分析 請你僅使用兩個隊列實現一個后入先出&#xff08;LIFO&#xff09;的棧&#xff0…

git 設置代理 取消代理

設置代理 git config --global http.proxy 127.0.0.1:7890 git config --global https.proxy 127.0.0.1:7890注意&#xff1a;加上 --global 是對 git 設置全局代理&#xff0c;不加 --global 對指定倉庫目錄設置代理&#xff0c;局部代理 查看已修改 git 配置信息 git conf…

【GPU驅動開發】- AST簡介

前言 不必害怕未知&#xff0c;無需恐懼犯錯&#xff0c;做一個Creator&#xff01; AST&#xff0c;抽象語法樹&#xff0c;是一種包含豐富語義信息的格式&#xff0c;其中包括類型、表達式樹和符號等。 TranslationUnitDecl&#xff1a;該類表示一個輸入源文件 ASTContext&…

Qt注冊類對象單例與單類型區別

1.實現類型SingletonTypeExample #ifndef SINGLETONTYPEEXAMPLE_H #define SINGLETONTYPEEXAMPLE_H#include <QObject>class SingletonTypeExample : public QObject {Q_OBJECT public://只能顯示構造類對象explicit SingletonTypeExample(QObject *parent nullptr);//…

【學習筆記】深度學習實戰 | LeNet

簡要聲明 學習相關網址 [雙語字幕]吳恩達深度學習deeplearning.aiPapers With CodeDatasets 深度學習網絡基于PyTorch學習架構&#xff0c;代碼測試可跑。本學習筆記單純是為了能對學到的內容有更深入的理解&#xff0c;如果有錯誤的地方&#xff0c;懇請包容和指正。 參考文獻…

KubeEdge 邊緣計算

文章目錄 1.KubeEdge2.KubeEdge 特點3.KubeEdge 組成4.KubeEdge 架構 KubeEdge # KubeEdgehttps://iothub.org.cn/docs/kubeedge/ https://iothub.org.cn/docs/kubeedge/kubeedge-summary/1.KubeEdge KubeEdge 是一個開源的系統&#xff0c;可將本機容器化應用編排和管理擴展…

藍牙耳機和筆記本電腦配對連接上了,播放設備里沒有顯示藍牙耳機這個設備,選不了輸出設備

環境&#xff1a; WIN10 雜牌藍牙耳機6s 問題描述&#xff1a; 藍牙耳機和筆記本電腦配對連接上了&#xff0c;播放設備里沒有顯示藍牙耳機這個設備&#xff0c;選不了輸出設備 解決方案&#xff1a; 1.打開設備和打印機&#xff0c;找到這個設備 2.選中這個設備&#…