增加视频详情页面,处理登录注册接口数据不一致兼容问题
This commit is contained in:
23
pages/video/detail.nvue
Normal file
23
pages/video/detail.nvue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<view class="min-page">
|
||||
<my-video-list></my-video-list>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {onLoad,onShow} from '@dcloudio/uni-app'
|
||||
onLoad((opt)=>{
|
||||
|
||||
})
|
||||
onShow(()=>{
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.min-page{
|
||||
height: 100vh;
|
||||
background-color: #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
@@ -1,11 +1,15 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
<up-button @click="toDetail">toDetail</up-button>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
function toDetail(){
|
||||
uni.navigateTo({
|
||||
url:'/pages/video/detail'
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user