|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="edit-view">
|
|
<div class="edit-view">
|
|
|
<div class="title">{{ formData.title }}</div>
|
|
<div class="title">{{ formData.title }}</div>
|
|
|
-
|
|
|
|
|
|
|
+ <div class="time">发布时间:{{ formData.createdAt }}</div>
|
|
|
<div class="content" v-html="formData.content"></div>
|
|
<div class="content" v-html="formData.content"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -81,6 +81,13 @@ export default {
|
|
|
padding: 20px;
|
|
padding: 20px;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
|
|
+.time {
|
|
|
|
|
+ font-size: 12px;
|
|
|
|
|
+ text-align: right;
|
|
|
|
|
+ margin-right: 50px;
|
|
|
|
|
+ padding: 10px;
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
.content {
|
|
.content {
|
|
|
padding: 20px 50px;
|
|
padding: 20px 50px;
|