fix(api): 修改评论图片上传接口为支持FormData格式
refactor(Item.vue): 调整样式和布局,优化图片高度和文本显示 feat(details/[id].vue): 实现图片上传配置获取和FormData上传功能
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<div class="time flexacenter">
|
||||
<img class="time-icon time-black-icon" src="@/assets/img/time-icon.svg" />
|
||||
<img class="time-icon time-white-icon" src="@/assets/img/time-white-icon.svg" />
|
||||
{{ handleDate(item["releasetime"]) }}发布
|
||||
<div>{{ handleDate(item["releasetime"]) }}发布</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="data-list flexacenter">
|
||||
@@ -130,7 +130,8 @@ const formatNumberWithCommas = (number) => {
|
||||
|
||||
.img {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
height: min-content;
|
||||
// height: 26px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
@@ -140,7 +141,7 @@ const formatNumberWithCommas = (number) => {
|
||||
font-weight: 650;
|
||||
font-size: 16px;
|
||||
color: #000000;
|
||||
margin-top: 2px;
|
||||
// margin-top: 2px;
|
||||
margin-bottom: 16px;
|
||||
word-break: break-all;
|
||||
padding-right: 10px;
|
||||
@@ -214,6 +215,7 @@ const formatNumberWithCommas = (number) => {
|
||||
.time {
|
||||
color: #aaaaaa;
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
|
||||
.time-icon {
|
||||
width: 20px;
|
||||
|
||||
Reference in New Issue
Block a user