Commit 41c08c63 authored by xiabin's avatar xiabin

修改utils

parent a5c44bac
......@@ -17,7 +17,7 @@
</div>
<div class="v-teacher-list clearfix">
<span class="pull-left">发布时间:2016-08-04</span>
<span class="pull-left">发布时间:{{transcateTimeUnSecs(item.updated_at)}}</span>
<span class="pull-right">时长:01:28:21</span>
</div>
......@@ -67,6 +67,10 @@
transcateTime(time)
{
return moment(new Date(time * 1000)).format('YYYY-MM-DD HH:mm:ss');
},
transcateTimeUnSecs(time)
{
return moment(new Date(time * 1000)).format('YYYY-MM-DD HH:mm');
}
,
getFullPreViewPic(pic)
......
......@@ -126,7 +126,7 @@
</div>
</template>
<script>
import Utils from '../../libs/utils';
import Utils from '../../utils/utils';
import myvideo from './video.vue';
export default{
data(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment