From 1c0627671cd95695df604a54de0bbb76469c21e9 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 29 五月 2025 10:23:37 +0800 Subject: [PATCH] 真机上视频加载和渲染是异步的,可能导致 onPlay/onPause 事件触发延迟。解决暂停图标和播放不一致问题 --- pages/tabbar/user/my.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/tabbar/user/my.vue b/pages/tabbar/user/my.vue index 62a836b..239e702 100644 --- a/pages/tabbar/user/my.vue +++ b/pages/tabbar/user/my.vue @@ -71,17 +71,20 @@ <!-- 甯哥敤宸ュ叿 --> <tool /> - <custom-tabbar bgColor="#ffffff" :selected="3"></custom-tabbar> + <custom-tabbar bgColor="#ffffff" selected="my"></custom-tabbar> </view> </template> <script> +import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue'; +import URow from '@/uview-components/uview-ui/components/u-row/u-row.vue'; +import UCol from '@/uview-components/uview-ui/components/u-col/u-col.vue'; import tool from "@/pages/tabbar/user/utils/tool.vue"; import { getCouponsNum, getFootprintNum } from "@/api/members.js"; import { getUserWallet } from "@/api/members"; import configs from '@/config/config' export default { components: { - tool, + tool,UIcon,URow,UCol }, data() { return { -- Gitblit v1.8.0