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} ) }