2025.03.28 工作代码提交
This commit is contained in:
parent
c9066d65ac
commit
2503d40ca1
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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()],
|
||||||
|
|
Loading…
Reference in New Issue