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