增加支付

This commit is contained in:
2025-01-13 13:57:50 +08:00
parent 36028936c7
commit 8728844446
6 changed files with 421 additions and 223 deletions

View File

@@ -1,8 +1,7 @@
<template>
<view class="min-page">
<my-video-list v-if="state.list.length" @swiperChange="swiperChange" :list="state.list" @update="update"
:info="state"
></my-video-list>
<my-video-list v-if="state.list.length" @swiperChange="swiperChange" :list="state.list" @update="update"
:info="state"></my-video-list>
</view>
</template>
@@ -18,8 +17,8 @@
import {
slice
} from 'lodash'
const boxStyle={
height:'835px'
const boxStyle = {
height: '835px'
}
let options = {}
const state = reactive({
@@ -44,23 +43,26 @@
// }
}
}
function update({index,item}){
state.list[index]=item
function update({
index,
item
}) {
state.list[index] = item
}
onLoad((opt) => {
Object.assign(options, opt)
init()
})
function swiperChange({
current,
direction,
data
}) {
}
}) {}
onShow(() => {
init()
})
</script>
@@ -71,8 +73,8 @@
background-color: #000;
overflow: hidden;
}
.u-popup{
.u-popup {
position: fixed;
}
</style>