wangxiaohua 2 lat temu
rodzic
commit
7eec3763a8
2 zmienionych plików z 16 dodań i 3 usunięć
  1. +4
    -1
      pages/mine/ScoringPlaylist.vue
  2. +12
    -2
      pages/mine/details2.vue

+ 4
- 1
pages/mine/ScoringPlaylist.vue Wyświetl plik

@@ -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=>{


+ 12
- 2
pages/mine/details2.vue Wyświetl plik

@@ -361,7 +361,7 @@
</view>
</view>
<view class="bioqianwayl" v-if="item.isshow==true">
<view class="jiangshang"
<view class="jiangshang" @click="argece(chend)"
v-for="(chend,i) in item.children" :key='i'>{{chend.text}}</view>
</view>
</view>
@@ -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
})
}
},


Ładowanie…
Anuluj
Zapisz