Showing
1 changed file
with
9 additions
and
1 deletions
@@ -2,11 +2,13 @@ | @@ -2,11 +2,13 @@ | ||
2 | import { isNumber } from 'lodash'; | 2 | import { isNumber } from 'lodash'; |
3 | import videoJs, { VideoJsPlayer, VideoJsPlayerOptions } from 'video.js'; | 3 | import videoJs, { VideoJsPlayer, VideoJsPlayerOptions } from 'video.js'; |
4 | import 'video.js/dist/video-js.css'; | 4 | import 'video.js/dist/video-js.css'; |
5 | + import { Tooltip } from 'ant-design-vue'; | ||
5 | import { computed, CSSProperties, onMounted, onUnmounted, ref, unref } from 'vue'; | 6 | import { computed, CSSProperties, onMounted, onUnmounted, ref, unref } from 'vue'; |
6 | import { useDesign } from '/@/hooks/web/useDesign'; | 7 | import { useDesign } from '/@/hooks/web/useDesign'; |
7 | import { getJwtToken, getShareJwtToken } from '/@/utils/auth'; | 8 | import { getJwtToken, getShareJwtToken } from '/@/utils/auth'; |
8 | import { isShareMode } from '/@/views/sys/share/hook'; | 9 | import { isShareMode } from '/@/views/sys/share/hook'; |
9 | import 'videojs-flvjs-es6'; | 10 | import 'videojs-flvjs-es6'; |
11 | + import { QuestionCircleOutlined } from '@ant-design/icons-vue'; | ||
10 | import { | 12 | import { |
11 | CaretUpOutlined, | 13 | CaretUpOutlined, |
12 | CaretRightOutlined, | 14 | CaretRightOutlined, |
@@ -153,7 +155,13 @@ | @@ -153,7 +155,13 @@ | ||
153 | </video> | 155 | </video> |
154 | 156 | ||
155 | <div class="!w-2/10 bg-white flex items-center flex-col"> | 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 | <div class="home mt-5"> | 166 | <div class="home mt-5"> |
159 | <Button class="front-sty-center child center" shape="circle" @click="handleClick()"> | 167 | <Button class="front-sty-center child center" shape="circle" @click="handleClick()"> |