|
@@ -22,7 +22,7 @@ Page({
|
|
|
goodsNumber: 1,
|
|
|
cartOrBuy: '',
|
|
|
getgift: '',
|
|
|
- options_goods_id:''
|
|
|
+ options_goods_id: ''
|
|
|
},
|
|
|
|
|
|
/**
|
|
@@ -212,7 +212,7 @@ Page({
|
|
|
let arr = []
|
|
|
gifts.map(item => {
|
|
|
sumarys.filter(sum => {
|
|
|
- if(item.gift_goods_id == sum.goods_id) {
|
|
|
+ if (item.gift_goods_id == sum.goods_id) {
|
|
|
arr.push({
|
|
|
sum,
|
|
|
gifts: item
|
|
@@ -244,15 +244,13 @@ Page({
|
|
|
this.setData({
|
|
|
animation_flag: false
|
|
|
})
|
|
|
- // console.log(this.data.options_goods_id)
|
|
|
setTimeout(() => {
|
|
|
-
|
|
|
- this.getDatas(this.data.options_goods_id)
|
|
|
+ this.getDatas(this.data.options_goods_id)
|
|
|
}, 1500)
|
|
|
}
|
|
|
if (app.globalData.backLogin) {
|
|
|
this.getDatas(this.data.getOneSummary.goods_id);
|
|
|
- }
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
/**
|