Commit be82ec80156d9f6ae501954e85039c67a8f1a5bd

Authored by loveumiko
1 parent 951f8bb5

fi: 云台控制添加tooltip文字提示

... ... @@ -2,11 +2,13 @@
2 2 import { isNumber } from 'lodash';
3 3 import videoJs, { VideoJsPlayer, VideoJsPlayerOptions } from 'video.js';
4 4 import 'video.js/dist/video-js.css';
  5 + import { Tooltip } from 'ant-design-vue';
5 6 import { computed, CSSProperties, onMounted, onUnmounted, ref, unref } from 'vue';
6 7 import { useDesign } from '/@/hooks/web/useDesign';
7 8 import { getJwtToken, getShareJwtToken } from '/@/utils/auth';
8 9 import { isShareMode } from '/@/views/sys/share/hook';
9 10 import 'videojs-flvjs-es6';
  11 + import { QuestionCircleOutlined } from '@ant-design/icons-vue';
10 12 import {
11 13 CaretUpOutlined,
12 14 CaretRightOutlined,
... ... @@ -153,7 +155,13 @@
153 155 </video>
154 156
155 157 <div class="!w-2/10 bg-white flex items-center flex-col">
156   - <h1>云台控制</h1>
  158 + <Tooltip>
  159 + <template #title
  160 + >长按按钮调用API,由于视频流媒体提供的流,有一定时延,请耐心等待。</template
  161 + >
  162 + <label class="validate-dot">云台控制</label>
  163 + <QuestionCircleOutlined :style="{ fontSize: '14px', marginLeft: '5px' }" />
  164 + </Tooltip>
157 165
158 166 <div class="home mt-5">
159 167 <Button class="front-sty-center child center" shape="circle" @click="handleClick()">
... ...