!3661 doc(#I67AA9): update Bluetooth doc

* 使用 PackageTips 组件简化文档代码
This commit is contained in:
alex_zou 2022-12-24 05:46:43 +00:00 committed by Argo
parent f4bfc1e795
commit b5c62e9d04
3 changed files with 1 additions and 24 deletions

View File

@ -5353,10 +5353,6 @@
"Title3": "Bluetooth Battery Level",
"GetBatteryLevelButtonText": "Get Battery Level",
"Url3": "3. Battery Level",
"P1": "Precautions",
"P2": "This component relies on <a href='https://www.nuget.org/packages?q=BootstrapBlazor.Bluetooth' target='_blank'><code>BootstrapBlazor.Bluetooth</code></a>, which needs to reference its component package when using this component",
"P3": "Nuget Install",
"P4": "Use nuget.org to install <a href='https://www.nuget.org/packages?q=BootstrapBlazor.Bluetooth' target='_blank'><code>BootstrapBlazor.Bluetooth</code></a> component",
"Tips": "ServiceUUID, Default <code>0xff00</code><br/>Common Printers ServiceUUID:<br/><code>0000ff00-0000-1000-8000-00805f9b34fb</code><br/><code>e7810a71-73ae-499d-8c15-faa9aef0c3f2</code><br/><code>0000fee7-0000-1000-8000-00805f9b34fb</code><br/>Set up component services UUID : <code>printer.Opt.ServiceUuid=?</code>"
},
"BootstrapBlazor.Shared.Samples.FileIcons": {

View File

@ -5358,10 +5358,6 @@
"Title3": "Bluetooth Battery Level 蓝牙设备电量",
"GetBatteryLevelButtonText": "查询电量",
"Url3": "3. 蓝牙设备电量 Battery Level",
"P1": "注意事项",
"P2": "本组件依赖于 <a href='https://www.nuget.org/packages?q=BootstrapBlazor.Bluetooth' target='_blank'><code>BootstrapBlazor.Bluetooth</code></a>,使用本组件时需要引用其组件包",
"P3": "Nuget 包安装",
"P4": "使用 <a href='https://www.nuget.org/packages?q=BootstrapBlazor.Bluetooth' target='_blank'>nuget.org</a> 进行 <code>BootstrapBlazor.Bluetooth</code> 组件的安装",
"Tips": "服务UUID/ServiceUUID, 默认0xff00<br/>常见打印机ServiceUUID:<br/><code>0000ff00-0000-1000-8000-00805f9b34fb</code><br/><code>e7810a71-73ae-499d-8c15-faa9aef0c3f2</code><br/><code>0000fee7-0000-1000-8000-00805f9b34fb</code><br/>设置组件服务UUID : <code>printer.Opt.ServiceUuid=?</code>"
},
"BootstrapBlazor.Shared.Samples.FileIcons": {

View File

@ -4,22 +4,7 @@
<h3>@Localizer["Title"]</h3>
<p><b>@Localizer["P1"] </b></p>
<p>@((MarkupString)Localizer["P2"].Value)</p>
<p><b>@Localizer["P3"]</b></p>
<p>@((MarkupString)Localizer["P4"].Value)</p>
<div class="code-label">.NET CLI</div>
<Pre class="no-highlight">dotnet add package BootstrapBlazor.Bluetooth</Pre>
<div class="code-label">PackageReference</div>
<Pre class="no-highlight">&lt;PackageReference Include="BootstrapBlazor.Bluetooth" /&gt;</Pre>
<div class="code-label">Package Manager</div>
<Pre class="no-highlight">Install-Package BootstrapBlazor.Bluetooth</Pre>
<PackageTips Name="BootstrapBlazor.Bluetooth" />
<h5><a href="/bluetooths">@Localizer["Url1"]</a></h5>
<h5><a href="/bluetoothheartrates">@Localizer["Url2"]</a></h5>