|
|
@ -2,7 +2,7 @@ |
|
|
import { getBiddingDetail, getBiddingActivity, getBiddingList, biddingActivity, confirmBidding, cancelBidding, getMyBidding } from "../../api/ztb" |
|
|
import { getBiddingDetail, getBiddingActivity, getBiddingList, biddingActivity, confirmBidding, cancelBidding, getMyBidding } from "../../api/ztb" |
|
|
const util = require('../../../utils/util') |
|
|
const util = require('../../../utils/util') |
|
|
const math = require('../../../utils/math') |
|
|
const math = require('../../../utils/math') |
|
|
const event = require('../../../utils/event.js') |
|
|
|
|
|
|
|
|
const event = require('../../../utils/event') |
|
|
import { $wuxCountDown } from '../../../components/index' |
|
|
import { $wuxCountDown } from '../../../components/index' |
|
|
const app = getApp() |
|
|
const app = getApp() |
|
|
|
|
|
|
|
|
@ -54,7 +54,6 @@ Page({ |
|
|
this.fetchBiddingList(id) |
|
|
this.fetchBiddingList(id) |
|
|
wx.hideLoading() |
|
|
wx.hideLoading() |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
//异常回调
|
|
|
|
|
|
wx.hideLoading() |
|
|
wx.hideLoading() |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
@ -205,7 +204,6 @@ Page({ |
|
|
event.emit('EventMessage', { what: 301, desc: 'bidding-cancel' }) |
|
|
event.emit('EventMessage', { what: 301, desc: 'bidding-cancel' }) |
|
|
wx.navigateBack({ delta: 1 }) |
|
|
wx.navigateBack({ delta: 1 }) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
//异常回调
|
|
|
|
|
|
wx.hideLoading() |
|
|
wx.hideLoading() |
|
|
util.showToast(err) |
|
|
util.showToast(err) |
|
|
}) |
|
|
}) |
|
|
@ -236,7 +234,6 @@ Page({ |
|
|
recordInfo: this.data.recordList[this.data.recordIndex] |
|
|
recordInfo: this.data.recordList[this.data.recordIndex] |
|
|
}) |
|
|
}) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
//异常回调
|
|
|
|
|
|
wx.hideLoading() |
|
|
wx.hideLoading() |
|
|
util.showToast(err) |
|
|
util.showToast(err) |
|
|
}) |
|
|
}) |
|
|
|