From 2503d40ca164c3e6e69ebe9ef12953cb401778ef Mon Sep 17 00:00:00 2001 From: sx <2427911852@qq.com> Date: Sat, 29 Mar 2025 09:14:37 +0800 Subject: [PATCH] =?UTF-8?q?2025.03.28=20=E5=B7=A5=E4=BD=9C=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jiuyi2/common/js/config.js | 2 +- jiuyi2/pages/index/dataCenter/otherPush.vue | 23 +++++++++++++++++++++ jiuyi2/vite.config.js | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js index 933d799a..573c0380 100644 --- a/jiuyi2/common/js/config.js +++ b/jiuyi2/common/js/config.js @@ -8,7 +8,7 @@ const config = { // #ifndef H5 // host: 'http://91f.xyz:8080', // host: 'http://liuyd.cpolar.top', - host: 'http://7pj622.natappfree.cc', + host: 'http://liuyd.cpolar.top', // #endif // 是否vivo显示 showVivo: true, diff --git a/jiuyi2/pages/index/dataCenter/otherPush.vue b/jiuyi2/pages/index/dataCenter/otherPush.vue index 10fc2569..a2c3d62a 100644 --- a/jiuyi2/pages/index/dataCenter/otherPush.vue +++ b/jiuyi2/pages/index/dataCenter/otherPush.vue @@ -5,10 +5,21 @@ ref, computed, } from 'vue'; + import { + onLoad, + onReady, + onHide, + onUnload, + onPullDownRefresh, + onReachBottom, + } from '@dcloudio/uni-app' // import apex from '@/components/header/apex.vue' // import util from '@/common/js/util'; + + // 视频id + const videoId = ref('') // 类型列表 const typeList = reactive([{ img: '/static/indexLike1.png', @@ -29,6 +40,18 @@ return result }) + onLoad((option) => { + if (option.videoId) videoId.value = option.videoId + }) + + onPullDownRefresh(() => { + // + }) + + onReachBottom(() => { + // + }) + /** * 点击下标 * @param {Object} index diff --git a/jiuyi2/vite.config.js b/jiuyi2/vite.config.js index 4cd90a11..0c9f88db 100644 --- a/jiuyi2/vite.config.js +++ b/jiuyi2/vite.config.js @@ -5,7 +5,7 @@ import uni from '@dcloudio/vite-plugin-uni'; // let target = 'http://91f.xyz:8080' // let target = 'http://liuyd.cpolar.top ' -let target = 'http://7pj622.natappfree.cc' +let target = 'http://liuyd.cpolar.top' export default defineConfig({ plugins: [uni()],