24 lines
467 B
Vue
24 lines
467 B
Vue
<!-- 系统消息 -->
|
|
<template>
|
|
<view class="news-temp-system">
|
|
<view v-if="item.ext.type === 'time'" class="system"> {{ item.ext.time }}</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
const props = defineProps({
|
|
item: {
|
|
type: Object,
|
|
default: () => { }
|
|
}
|
|
})
|
|
</script>
|
|
<style scoped lang="scss">
|
|
.system {
|
|
padding: 20rpx 0;
|
|
color: #858585;
|
|
font-size: 28rpx;
|
|
text-align: center;
|
|
}
|
|
</style> |