阶段性代码提交
This commit is contained in:
parent
7c4bc8157e
commit
75f4091bad
|
|
@ -120,6 +120,12 @@
|
|||
<div class="code-name">&#xe975;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">偏航角-3</div>
|
||||
<div class="code-name">&#xeb22;</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont"></span>
|
||||
<div class="name">摄像头</div>
|
||||
|
|
@ -258,9 +264,9 @@
|
|||
<pre><code class="language-css"
|
||||
>@font-face {
|
||||
font-family: 'iconfont';
|
||||
src: url('iconfont.woff2?t=1756778130469') format('woff2'),
|
||||
url('iconfont.woff?t=1756778130469') format('woff'),
|
||||
url('iconfont.ttf?t=1756778130469') format('truetype');
|
||||
src: url('iconfont.woff2?t=1756818100423') format('woff2'),
|
||||
url('iconfont.woff?t=1756818100423') format('woff'),
|
||||
url('iconfont.ttf?t=1756818100423') format('truetype');
|
||||
}
|
||||
</code></pre>
|
||||
<h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
|
||||
|
|
@ -385,6 +391,15 @@
|
|||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-pianhangjiao-1-copy"></span>
|
||||
<div class="name">
|
||||
偏航角-3
|
||||
</div>
|
||||
<div class="code-name">.icon-pianhangjiao-1-copy
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<span class="icon iconfont icon-shexiangtou"></span>
|
||||
<div class="name">
|
||||
|
|
@ -680,6 +695,14 @@
|
|||
<div class="code-name">#icon-feihangqipianhangjiao1</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-pianhangjiao-1-copy"></use>
|
||||
</svg>
|
||||
<div class="name">偏航角-3</div>
|
||||
<div class="code-name">#icon-pianhangjiao-1-copy</div>
|
||||
</li>
|
||||
|
||||
<li class="dib">
|
||||
<svg class="icon svg-icon" aria-hidden="true">
|
||||
<use xlink:href="#icon-shexiangtou"></use>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 4970295 */
|
||||
src: url('iconfont.woff2?t=1756778130469') format('woff2'),
|
||||
url('iconfont.woff?t=1756778130469') format('woff'),
|
||||
url('iconfont.ttf?t=1756778130469') format('truetype');
|
||||
src: url('iconfont.woff2?t=1756818100423') format('woff2'),
|
||||
url('iconfont.woff?t=1756818100423') format('woff'),
|
||||
url('iconfont.ttf?t=1756818100423') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
|
|
@ -57,6 +57,10 @@
|
|||
content: "\e975";
|
||||
}
|
||||
|
||||
.icon-pianhangjiao-1-copy:before {
|
||||
content: "\eb22";
|
||||
}
|
||||
|
||||
.icon-shexiangtou:before {
|
||||
content: "\e6ca";
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -82,6 +82,13 @@
|
|||
"unicode": "e975",
|
||||
"unicode_decimal": 59765
|
||||
},
|
||||
{
|
||||
"icon_id": "45429610",
|
||||
"name": "偏航角-3",
|
||||
"font_class": "pianhangjiao-1-copy",
|
||||
"unicode": "eb22",
|
||||
"unicode_decimal": 60194
|
||||
},
|
||||
{
|
||||
"icon_id": "8361828",
|
||||
"name": "摄像头",
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -93,7 +93,7 @@ let planeStateList = reactive({
|
|||
camerapitch: {
|
||||
id: 7,
|
||||
name: '云台俯仰角',
|
||||
icon: 'icon-pianhangjiao-1',
|
||||
icon: 'icon-pianhangjiao-1-copy',
|
||||
value: '0',
|
||||
content: '云台<br>俯仰角',
|
||||
touch: false,
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ const queryAirPort = async () => {
|
|||
airPortSocketStore.ceurrentAirPortData = currentAirPortInfo.value
|
||||
// console.log(currentAirPortInfo.value)
|
||||
|
||||
// currentAirPortInfo.value.status = 2
|
||||
currentAirPortInfo.value.status = 2
|
||||
|
||||
if (currentAirPortStatus.value != Number(currentAirPortInfo.value.status)) {
|
||||
currentAirPortStatus.value = Number(currentAirPortInfo.value.status)
|
||||
|
|
|
|||
|
|
@ -53,7 +53,11 @@ airPortSocketStore.$subscribe((mutate, state) => {
|
|||
//设置socket的值
|
||||
setCurrentData(state.currentAirPort)
|
||||
//无人机版本
|
||||
items.version.value = state.ceurrentAirPortData.droneVersion
|
||||
if (state.ceurrentAirPortData.droneVersion == 1) {
|
||||
items.version.value = 'V2.1'
|
||||
} else if (state.ceurrentAirPortData.droneVersion == 2) {
|
||||
items.version.value = 'V2.2'
|
||||
}
|
||||
})
|
||||
|
||||
onMounted(() => {})
|
||||
|
|
|
|||
Loading…
Reference in New Issue