|
|
@ -77,7 +77,7 @@ |
|
|
import MescrollMixin from '@/components/mescroll-uni/mescroll-mixins' |
|
|
import MescrollMixin from '@/components/mescroll-uni/mescroll-mixins' |
|
|
import { getEmptyPaginateObj, getMoreListData } from '@/core/app' |
|
|
import { getEmptyPaginateObj, getMoreListData } from '@/core/app' |
|
|
|
|
|
|
|
|
import { base64ToUint8Array } from '@/utils/util' |
|
|
import { base64ToUint8Array,numberWithCommas } from '@/utils/util' |
|
|
import pako from '@/core/pako' |
|
|
import pako from '@/core/pako' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -211,6 +211,8 @@ |
|
|
// 初始化订单列表数据 |
|
|
// 初始化订单列表数据 |
|
|
initList(newList) { |
|
|
initList(newList) { |
|
|
newList.data.forEach(item => { |
|
|
newList.data.forEach(item => { |
|
|
|
|
|
// 处理价格表现形式 |
|
|
|
|
|
item.price = numberWithCommas(item.price) |
|
|
item.gdimg = pako.inflateRaw(base64ToUint8Array(item.goods_image), {to: 'string'}) |
|
|
item.gdimg = pako.inflateRaw(base64ToUint8Array(item.goods_image), {to: 'string'}) |
|
|
}) |
|
|
}) |
|
|
return newList |
|
|
return newList |
|
|
|