diff --git a/pages/mine/ScoringPlaylist.vue b/pages/mine/ScoringPlaylist.vue index 8a1d0e3..4a425f4 100644 --- a/pages/mine/ScoringPlaylist.vue +++ b/pages/mine/ScoringPlaylist.vue @@ -24,11 +24,13 @@ customerId:'', listarr:[], id:'', + type:'' }; }, onLoad: function(options) { this.customerId = options.customerId; this.id=options.id; + this.type=options.type; this.searchinfo() }, methods: { @@ -45,7 +47,8 @@ searchinfo(){ let parames={ marketingId:this.id, - customerId:this.customerId + customerId:this.customerId, + type:this.type } this.$u.post("/corpus/pinWordMatching", parames).then(res => { res.forEach(item=>{ diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index da2ff86..7d764c3 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -361,7 +361,7 @@ - {{chend.text}} @@ -524,6 +524,16 @@ this.innerAudioContext.destroy(); }, methods: { + argece(item){ + console.log(item) + this.innerAudioContext.destroy(); + if(item.selected==0){ + console.log(item) + uni.navigateTo({ + url: '/pages/mine/ScoringPlaylist?customerId='+this.customerId +"&id="+item.keywordsId+"&type="+1 + }) + } + }, //关键词点击 tapbadge(item){ //进搜索页面 @@ -562,7 +572,7 @@ if(item.selected==0){ console.log(item) uni.navigateTo({ - url: '/pages/mine/ScoringPlaylist?customerId='+this.customerId +"&id="+item.marketingId + url: '/pages/mine/ScoringPlaylist?customerId='+this.customerId +"&id="+item.marketingId+"&type="+0 }) } },