|
@@ -119,7 +119,7 @@ export default {
|
|
|
>
|
|
|
|
|
|
<div class="item-info ptz-btn" v-if="item.type === 'ptz'">
|
|
|
- <i class="iconfont"
|
|
|
+ <i
|
|
|
:class="item.icon"
|
|
|
@mousedown="btnPress(item.type, item.cmd)"
|
|
|
@mouseup="btnRelease(item.type, item.cmd)"
|
|
@@ -142,7 +142,7 @@ export default {
|
|
|
:content="item.name"
|
|
|
v-if="item.type === 'zoom'">
|
|
|
<div class="item-info zoom-btn" >
|
|
|
- <i class="iconfont" :class="item.icon"
|
|
|
+ <i :class="item.icon"
|
|
|
@mousedown="btnPress(item.type, item.cmd)"
|
|
|
@mouseup="btnRelease(item.type, item.cmd)"
|
|
|
/>
|