@@ -13,18 +13,31 @@
<script>
export default {
- data() {
- return {
-
- }
+ props:{
+ // 界面类型
+ page: Number,
+ // 频道类型
+ channel: Number,
+ // 音频类型
+ audioType: Number,
+ // 音频Id
+ audioId: Number
},
- mounted() {
+ watch:{
+ channel(val) {
+ return val
+ },
+ audioType(val) {
+ audioId(val) {
+ }
methods: {
// 打开app
open(){
- this.openApp()
+ this.openApp(this.page, this.channel, this.audioType, this.audioId)
}