ssm1xq9q/src/main/webapp/front/components/forum-reply/forum-reply.vue
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<template>
<view>
<view class="article-meta">
<user-reply v-if="newData.childs" :digest="newData.childs"></user-reply>
<view class="article-meta-box">
<!-- <view class="article-header-image">
<view class="article-header-title"><text class="article-header-title-text">{{ digestData.length + 1}}</text>
</view>
</view> -->
<view style="width:100%">
<view class="article-header-content">
<view class="article-header-title">
用户:{{newData.username}}
</view>
<view class="article-header-info">{{newData.addtime||''}}</view>
</view>
<view class="uni-article__comment-centent">
{{newData.content}}
<text class="btn-replay" @tap="onReplyTap(newData.id)" >回复</text>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import userReply from '@/components/forum-reply/forum-reply.vue'
export default {
name: 'userReply',
components: {
userReply
},
props: {
digest: {
type: Array,
default () {
return {}
}
}
},
data() {
return {
newData: {},
digestData: [],
UNITS: {
'年': 31557600000,
'月': 2629800000,
'天': 86400000,
'小时': 3600000,
'分钟': 60000,
'秒': 1000
}
}
},
created() {
this.digest.forEach((vm, index) => {
console.log(vm,index)
if (index === 0) {
this.newData = vm;
后面还有 125 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
