store route 8.13

This commit is contained in:
ghusermoon 2020-08-13 17:26:26 +08:00
parent b9b32fb655
commit c4adcbc182

View File

@ -1,5 +1,5 @@
<template> <template>
<view class="videoTop" @click="toDetailsPage"> <view class="videoTop">
<image :src="url" mode="aspectFill" class="video"></image> <image :src="url" mode="aspectFill" class="video"></image>
<image src="/static/videoPlay.png" mode="aspectFill" class="play-video"></image> <image src="/static/videoPlay.png" mode="aspectFill" class="play-video"></image>
</view> </view>
@ -35,12 +35,5 @@ export default {
} }
}, },
props:['url'], props:['url'],
methods: {
toDetailsPage(id) {
this.$u.route('pageB/video/video', {
id: id
});
},
}
} }
</script> </script>