作者 燕成杰

首页猜你喜欢切换ids置空

@@ -208,11 +208,11 @@ @@ -208,11 +208,11 @@
208 } 208 }
209 }, 209 },
210 //产品列表 210 //产品列表
211 - async product_list(x) { 211 + async product_list(x,state) {
212 let obj = { 212 let obj = {
213 type: this.fallindex, 213 type: this.fallindex,
214 page: this.currentpage, 214 page: this.currentpage,
215 - ids: this.fallindex == 1 ? this.idgroup.join(",") : "", 215 + ids: this.fallindex == 1 && state? this.idgroup.join(",") : "",
216 pagenum: 15, 216 pagenum: 15,
217 } 217 }
218 try { 218 try {
@@ -268,11 +268,12 @@ @@ -268,11 +268,12 @@
268 } 268 }
269 }, 269 },
270 changefall(e) { 270 changefall(e) {
  271 + let state = this.fallindex==e?1:0
271 this.fallindex = e 272 this.fallindex = e
272 console.log(this.fallindex) 273 console.log(this.fallindex)
273 this.currentpage=1 274 this.currentpage=1
274 this.list=[] 275 this.list=[]
275 - this.product_list(true) 276 + this.product_list(true,state)
276 }, 277 },
277 //跳转详情 278 //跳转详情
278 godetail(item) { 279 godetail(item) {
1 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>元届印象</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) 1 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>元届印象</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
2 - document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.f3bf79df.js></script><script src=/static/js/index.077ea7e8.js></script></body></html>  
  2 + document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.f3bf79df.js></script><script src=/static/js/index.4518487c.js></script></body></html>