mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 06:56:44 +08:00
[FIX]【商品商城】转发记录页格式化日期
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
<van-sticky>
|
<van-sticky>
|
||||||
<div class="top-table" sticky>
|
<div class="top-table" sticky>
|
||||||
<van-row type="flex" align="center">
|
<van-row type="flex" align="center">
|
||||||
<van-col class="order" span="4">序号</van-col>
|
<van-col class="order" span="6">序号</van-col>
|
||||||
<van-col class="subTime" span="10">转发时间</van-col>
|
<van-col class="subTime" span="12">转发时间</van-col>
|
||||||
<van-col class="name" span="10">打开次数</van-col>
|
<van-col class="name" span="6">打开次数</van-col>
|
||||||
</van-row>
|
</van-row>
|
||||||
</div>
|
</div>
|
||||||
</van-sticky>
|
</van-sticky>
|
||||||
@@ -23,9 +23,9 @@
|
|||||||
<div v-if="answerList.length > 0" class="pb80">
|
<div v-if="answerList.length > 0" class="pb80">
|
||||||
<div class="main-table" v-for="(item, index) in answerList" :key="index">
|
<div class="main-table" v-for="(item, index) in answerList" :key="index">
|
||||||
<van-row type="flex" align="center">
|
<van-row type="flex" align="center">
|
||||||
<van-col class="order" span="4">{{ index + 1 }}</van-col>
|
<van-col class="order" span="6">{{ index + 1 }}</van-col>
|
||||||
<van-col class="subTime" span="10">{{ item.shareTime }}</van-col>
|
<van-col class="subTime" span="12">{{ item.shareTime | format }}</van-col>
|
||||||
<van-col class="name" span="10">{{ item.enterCount }}</van-col>
|
<van-col class="name" span="6">{{ item.enterCount }}</van-col>
|
||||||
</van-row>
|
</van-row>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { Sticky, Row, Col, List } from 'vant'
|
import { Sticky, Row, Col, List } from 'vant'
|
||||||
import { getShareList } from '@/api/ebiz/product-store/product-store'
|
import { getShareList } from '@/api/ebiz/product-store/product-store'
|
||||||
|
import formatDate from '@/assets/js/utils/date-utils'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ForwardRecord',
|
name: 'ForwardRecord',
|
||||||
@@ -117,6 +118,11 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
filters: {
|
||||||
|
format: function(shareTime) {
|
||||||
|
return formatDate.formatDate(new Date(shareTime), 'yyyy-MM-dd')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user