增加支付
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user