视频详情页面代码更新
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
<!-- #ifdef H5 -->
|
||||
<swiper :indicator-dots="false" :autoplay="false" :duration="500">
|
||||
<swiper-item v-for="(item,index) in list" :key="index">
|
||||
<view class="swiper-item"></view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name:"my-video-list",
|
||||
data() {
|
||||
return {
|
||||
|
||||
};
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
list: {
|
||||
type: Array,
|
||||
default: () => {
|
||||
[]
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user