Authored by huangyi

跳转支付页面

const app = getApp();
Component({
properties: {
pickerData: {
type: Object,
value: null,
observer: function (value) {
observer: function (value, oldValue) {
if (!value.sourceType)
this.setData({pickerData: value})
}
... ... @@ -21,7 +22,7 @@ Component({
}
}
},
data: {_show: false, colorSelected: false, storageNumber: 0, selectedSKU: '', pickerData: null},
data: {_show: false, colorSelected: false, storageNumber: 0, selectedSKU: ''},
methods: {
colorTap(event) {
var that = this;
... ... @@ -29,7 +30,6 @@ Component({
//先遍历将所有颜色、尺码置为未选中状态
// console.log('color')
// console.log(tempData.view.goodsList)
tempData.view.goodsList && tempData.view.goodsList.map((item, index) => {
item.selected = false
item.size_list.map((subItem, index) => {
... ...
... ... @@ -206,7 +206,7 @@ Page(extend({}, Actionsheet, {
that.fetchShoppingCartCount()
}
//new app.WeToast();
new app.WeToast();
that.showLoadingToast()
},
... ...
... ... @@ -254,4 +254,3 @@
bind:goPayment="goPayment"
bind:showChange="showChange"
></picker>
... ...