From 7eec3763a8883ea09f703c166690c736487bc174 Mon Sep 17 00:00:00 2001 From: wangxiaohua <1214073490@qq.com> Date: Fri, 29 Oct 2021 17:18:42 +0800 Subject: [PATCH] init --- pages/mine/ScoringPlaylist.vue | 5 ++++- pages/mine/details2.vue | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) 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 }) } },