优化代码
This commit is contained in:
parent
b03827da53
commit
94d9adfe64
@ -35,7 +35,7 @@
|
||||
</view>
|
||||
<view v-if="detail.hasOwnProperty('money')">
|
||||
<label class="label" style="font-size: 12px;">購買時間 : </label>
|
||||
<label>{{$moment(Number(detail.createTimes||detail.createTimestamp)).format('YYYY-MM-DD HH:mm:ss')}}</label>
|
||||
<label>{{$moment(Number(detail.purchaseTime)).format('YYYY-MM-DD HH:mm:ss')}}</label>
|
||||
</view>
|
||||
<view>
|
||||
<label class="label"
|
||||
|
@ -202,14 +202,12 @@
|
||||
type: this.detail.optionType,
|
||||
name: this.userInfo.email,
|
||||
money: this.value,
|
||||
money_wallet: this.userInfo.wallet.address,
|
||||
createTimes: this.$moment().valueOf()
|
||||
money_wallet: this.userInfo.wallet.address,
|
||||
}
|
||||
_pushBuyInfo({
|
||||
'buyinfo': data,
|
||||
...this.detail,
|
||||
money: this.value,
|
||||
createTimes:data.createTimes,
|
||||
money: this.value,
|
||||
}).then((res) => {
|
||||
uni.hideLoading()
|
||||
let toast = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user