aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/bluetooth')
-rw-r--r--files/zh-cn/web/api/bluetooth/index.html58
-rw-r--r--files/zh-cn/web/api/bluetooth/requestdevice/index.html52
2 files changed, 2 insertions, 108 deletions
diff --git a/files/zh-cn/web/api/bluetooth/index.html b/files/zh-cn/web/api/bluetooth/index.html
index cd46b72ee7..c2d5cfdc26 100644
--- a/files/zh-cn/web/api/bluetooth/index.html
+++ b/files/zh-cn/web/api/bluetooth/index.html
@@ -55,60 +55,4 @@ Bluetooth implements ServiceEventHandlers;</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome (45.0)}} [1]</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome (48.0)}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 注意事项:仅谷歌浏览器可用</p>
-
-<p>[2] 注意事项:仅安卓6以上可用</p>
+{{Compat("api.Bluetooth")}}
diff --git a/files/zh-cn/web/api/bluetooth/requestdevice/index.html b/files/zh-cn/web/api/bluetooth/requestdevice/index.html
index abfad37108..6a3d3f4689 100644
--- a/files/zh-cn/web/api/bluetooth/requestdevice/index.html
+++ b/files/zh-cn/web/api/bluetooth/requestdevice/index.html
@@ -92,54 +92,4 @@ navigator.bluetooth.requestDevice(options).then(function(device) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome (56)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatOpera(43)}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome (56)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatOperaMobile(43)}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Bluetooth.requestDevice")}}