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:
commit
f746e39440
@ -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>
|
Loading…
Reference in New Issue
Block a user