Merge pull request 'store route 8.13' (#183) from zhy into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/183
This commit is contained in:
hansu 2020-08-13 17:26:50 +08:00
commit f746e39440

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>