From 07fed1a1e53fb89db4454750e9707f4e56ab1a4c Mon Sep 17 00:00:00 2001 From: sunlizhou <296190577@qq.com> Date: Wed, 15 Nov 2023 10:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89ui=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E9=83=A8=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/videoPro/index.tsx | 7 +++---- src/pages/my/my.tsx | 1 - src/pages/search/index.tsx | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/videoPro/index.tsx b/src/components/videoPro/index.tsx index 505c4ca..4b63c20 100644 --- a/src/components/videoPro/index.tsx +++ b/src/components/videoPro/index.tsx @@ -5,7 +5,7 @@ import Icon from "@/components/icon"; import {AtSlider} from "taro-ui"; import Taro from "@tarojs/taro"; import full from "@/static/img/fullscreen.png" -import unfull from "@/static/img/exitFullscreen.png" +import unFull from "@/static/img/exitFullscreen.png" type Props = { src: string @@ -45,7 +45,6 @@ const VideoPro:FC = ({src,onRef,showFull}) => { }, []); - function onTouchStart(){ if(!showMenu) { setShowMenu(true) @@ -188,8 +187,8 @@ const VideoPro:FC = ({src,onRef,showFull}) => { {total_duration} { showFull && <> - {isFull? {videoContext.current.exitFullScreen()}} src={unfull} /> - : {videoContext.current.requestFullScreen({direction:90})}} />} + {isFull? videoContext.current.exitFullScreen() } src={unFull} /> + : videoContext.current.requestFullScreen({direction:90}) } />} } diff --git a/src/pages/my/my.tsx b/src/pages/my/my.tsx index 032ca12..0631f05 100644 --- a/src/pages/my/my.tsx +++ b/src/pages/my/my.tsx @@ -15,7 +15,6 @@ import over from "@/static/img/over.png"; import incomplete from "@/static/img/incomplete.png"; import avatar from "@/static/img/avatar.png"; - interface List { title: string time: string | number diff --git a/src/pages/search/index.tsx b/src/pages/search/index.tsx index 31dbfc6..9e461aa 100644 --- a/src/pages/search/index.tsx +++ b/src/pages/search/index.tsx @@ -125,7 +125,7 @@ const Search: FC = () => { { recentSearch.length > 0 && recentSearch?.map(d => - + getSearchItem(d)} className="font-28">{d} ) }