|
@@ -302,7 +302,11 @@
|
|
|
search() {
|
|
|
if(this.status == 'noMore') return
|
|
|
this.status = 'loading'
|
|
|
- search(this.query).then(res=>{
|
|
|
+ search({
|
|
|
+ ...this.query,
|
|
|
+ belongType:2,
|
|
|
+ isExceptGZU:true
|
|
|
+ }).then(res=>{
|
|
|
if(res.state == 'Success'){
|
|
|
this.loading = false
|
|
|
let list = []
|
|
@@ -392,7 +396,7 @@
|
|
|
// 广告位
|
|
|
getAdv(){
|
|
|
return new Promise((resolve,reject)=>{
|
|
|
- getAdv({currentPage:1,pageSize:99,advertsType:1,status:1}).then(res=>{
|
|
|
+ getAdv({belongType:2,currentPage:1,pageSize:99,advertsType:1,status:1}).then(res=>{
|
|
|
if(res.state == 'Success'){
|
|
|
this.advList = res.content.records
|
|
|
// this.advList = res.content.records.filter((item,index)=>index<2)
|
|
@@ -405,7 +409,7 @@
|
|
|
// 获取商品列表内广告位
|
|
|
getGoodsAdv(){
|
|
|
return new Promise((resolve,reject)=>{
|
|
|
- getAdv({currentPage:1,pageSize:99,advertsType:2,status:1}).then(res=>{
|
|
|
+ getAdv({belongType:2,currentPage:1,pageSize:99,advertsType:2,status:1}).then(res=>{
|
|
|
if(res.state == 'Success'){
|
|
|
this.advList1 = res.content.records
|
|
|
resolve(2)
|