2025.03.28 工作代码提交

This commit is contained in:
sx 2025-03-29 09:14:37 +08:00
parent c9066d65ac
commit 2503d40ca1
3 changed files with 25 additions and 2 deletions

View File

@ -8,7 +8,7 @@ const config = {
// #ifndef H5 // #ifndef H5
// host: 'http://91f.xyz:8080', // host: 'http://91f.xyz:8080',
// host: 'http://liuyd.cpolar.top', // host: 'http://liuyd.cpolar.top',
host: 'http://7pj622.natappfree.cc', host: 'http://liuyd.cpolar.top',
// #endif // #endif
// 是否vivo显示 // 是否vivo显示
showVivo: true, showVivo: true,

View File

@ -5,10 +5,21 @@
ref, ref,
computed, computed,
} from 'vue'; } from 'vue';
import {
onLoad,
onReady,
onHide,
onUnload,
onPullDownRefresh,
onReachBottom,
} from '@dcloudio/uni-app'
// //
import apex from '@/components/header/apex.vue' import apex from '@/components/header/apex.vue'
// //
import util from '@/common/js/util'; import util from '@/common/js/util';
// id
const videoId = ref('')
// //
const typeList = reactive([{ const typeList = reactive([{
img: '/static/indexLike1.png', img: '/static/indexLike1.png',
@ -29,6 +40,18 @@
return result return result
}) })
onLoad((option) => {
if (option.videoId) videoId.value = option.videoId
})
onPullDownRefresh(() => {
//
})
onReachBottom(() => {
//
})
/** /**
* 点击下标 * 点击下标
* @param {Object} index * @param {Object} index

View File

@ -5,7 +5,7 @@ import uni from '@dcloudio/vite-plugin-uni';
// let target = 'http://91f.xyz:8080' // let target = 'http://91f.xyz:8080'
// let target = 'http://liuyd.cpolar.top ' // let target = 'http://liuyd.cpolar.top '
let target = 'http://7pj622.natappfree.cc' let target = 'http://liuyd.cpolar.top'
export default defineConfig({ export default defineConfig({
plugins: [uni()], plugins: [uni()],