<template> <!-- style="margin-top: 10rpx;margin-bottom: 10rpx;" class="uni-flex uni-row space-between u-col-center" --> <view class="task_item"> <view class="uni-flex space-between u-col-center"> <view class="uni-flex uni-row u-col-center"> <image class="card_icon_normal" src="/static/icons/icon_customer.svg" alt="" /> <text>{{dataContent.creator}}</text> </view> <view class="uni-flex uni-row u-col-center"> <image class="card_icon_normal" src="/static/icons/icon_date.svg" alt="" /> <text class="center">{{formatDate(dataContent.createTime)}}</text> </view> </view> </view> </template> <script> import { dateFormat } from '@/common/basic.js'; export default { components: { }, data() { return { }; }, watch: {}, props: { dataContent: { type: Object, default: {} } }, methods: { formatDate: function(val) { return dateFormat(val) } } } </script> <style lang="scss"> </style>