|
@@ -27,7 +27,7 @@
|
|
|
<view class="flex item" v-for="item in list" :key="item" @click="goDetail(item)">
|
|
|
<image class="img" :src="item.report_img_url" mode="aspectFill" lazy-load/>
|
|
|
<view class="con">
|
|
|
- <view class="title">【第{{item.stage}}期】{{item.classify_name_second}}</view>
|
|
|
+ <view class="title">{{formatTitle(item)}}</view>
|
|
|
<view class="time">{{item.publish_time|formatReportTime}}</view>
|
|
|
<view v-if="info.auth_ok" :class="['audio-box',!info.auth_ok&&'grey-audio-box']" @click.stop="handleClickAudio(item)">
|
|
|
<image :src="curAudioReportId==item.report_id&&!curAudioPaused?'../static/audio-s.png':'../static/audio.png'" mode="aspectFill"/>
|
|
@@ -61,6 +61,7 @@ import {apiSpecialColumnDetail,apiSpecialColumnReportList} from '@/api/report'
|
|
|
import {apiGetSceneToParams} from '@/api/common'
|
|
|
import audioBox from '../components/audioBox.vue'
|
|
|
import sharePoster from '@/components/sharePoster/sharePoster.vue'
|
|
|
+const moment=require('@/utils/moment-with-locales.min')
|
|
|
export default {
|
|
|
computed: {
|
|
|
showAudioPop(){//是否显示音频弹窗
|
|
@@ -210,6 +211,11 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+ },
|
|
|
+
|
|
|
+ formatTitle(item){
|
|
|
+ let t=moment(item.publish_time).format('MMDD')
|
|
|
+ return `【第${item.stage}期】${item.classify_name_second}(${t})`
|
|
|
}
|
|
|
}
|
|
|
}
|