jufubao-mall 2.0.78-beta3 → 2.0.78-beta4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -497,17 +497,8 @@
|
|
|
497
497
|
//设置业务请求代码
|
|
498
498
|
this.setNameSpace(options);
|
|
499
499
|
this.special_id = options.special_id;
|
|
500
|
-
// this.category_id = options.category_id;
|
|
501
500
|
this.options = options;
|
|
502
|
-
this
|
|
503
|
-
Promise.all([this.getSpecialHomeInfo(), this.getList()])
|
|
504
|
-
.then(res=>{
|
|
505
|
-
this.done = true;
|
|
506
|
-
this.$xdHideLoading();
|
|
507
|
-
})
|
|
508
|
-
.catch(err=>{
|
|
509
|
-
this.$xdHideLoading();
|
|
510
|
-
})
|
|
501
|
+
this.getSpecialHomeInfo()
|
|
511
502
|
},
|
|
512
503
|
|
|
513
504
|
getItemData(cellIndex,data){
|
|
@@ -543,6 +534,7 @@
|
|
|
543
534
|
.then(res => {
|
|
544
535
|
this.loading = false;
|
|
545
536
|
this.$xdHideLoading();
|
|
537
|
+
this.done = true;
|
|
546
538
|
let list = res.list.map((item,index) => {
|
|
547
539
|
item['thumb'] = item.thumb ? getServiceUrl(item.thumb, "size4") : "";
|
|
548
540
|
if(this.productConfig.isPrice==='N'){
|
|
@@ -689,6 +681,7 @@
|
|
|
689
681
|
banner_img: new_special.banner_img ? getServiceUrl(new_special.banner_img) : "",
|
|
690
682
|
});
|
|
691
683
|
console.log(this.special, 'special')
|
|
684
|
+
this.getList()
|
|
692
685
|
resolve()
|
|
693
686
|
}).catch(err=>{
|
|
694
687
|
reject(err)
|