|
@@ -32,11 +32,11 @@
|
|
|
</view>
|
|
|
<view class="tag" v-show="!item.read"></view>
|
|
|
</view>
|
|
|
- <!-- <view class="other-box">
|
|
|
+ <view class="other-box">
|
|
|
<view class="date">
|
|
|
- {{item.createTime}}
|
|
|
+ {{getDate(item.createTime)}}
|
|
|
</view>
|
|
|
- </view> -->
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="line-box"></view>
|
|
|
</view>
|
|
@@ -83,6 +83,9 @@
|
|
|
pageSize: 10
|
|
|
})
|
|
|
const list = ref([])
|
|
|
+ function getDate(date) {
|
|
|
+ return date.split(' ')[0]
|
|
|
+ }
|
|
|
|
|
|
function onSearchConfirm() {
|
|
|
searchForm.value.pageNumber = 1
|
|
@@ -244,8 +247,8 @@
|
|
|
// }
|
|
|
// }
|
|
|
.content-box {
|
|
|
- // width: 85%;
|
|
|
- width: 100%;
|
|
|
+ width: 85%;
|
|
|
+ // width: 100%;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-around;
|