|
@@ -26,7 +26,7 @@
|
|
|
<div class="doc_in_actions">
|
|
|
<span class="doc_download">{{response.downTimes}}次下载</span>
|
|
|
<span class="doc_pages"> | 共{{response.docPageSize}}页 | </span>
|
|
|
- <span class="doc_readhot">{{response.docFileSize}}k</span>
|
|
|
+ <span class="doc_readhot">{{response.docFileSize}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="doc_abstract">
|
|
@@ -73,6 +73,7 @@
|
|
|
<script>
|
|
|
import { checkbox, input } from 'element-ui'
|
|
|
import { getDocPays, getJYchannel, getDetails, getBindPhone } from '../../api/modules/purchase'
|
|
|
+import { formatSize } from '../../utils/globalFunctions'
|
|
|
|
|
|
export default {
|
|
|
name: 'purchasePage',
|
|
@@ -115,7 +116,7 @@ export default {
|
|
|
this.response.docName = item.docName
|
|
|
this.response.price = item.price
|
|
|
this.response.downTimes = item.downTimes
|
|
|
- this.response.docFileSize = item.docFileSize
|
|
|
+ this.response.docFileSize = formatSize(item.docFileSize)
|
|
|
this.response.docPageSize = item.docPageSize
|
|
|
this.response.previewImgId = item.previewImgId
|
|
|
this.response.docSummary = item.docSummary
|