|
@@ -17,11 +17,10 @@
|
|
|
<view class="flex item" v-for="item in list" :key="item.report_id" @click="goReportDetail(item)">
|
|
|
<image class="img" :src="item.report_img_url" mode="aspectFill" />
|
|
|
<view class="con">
|
|
|
- <view class="title-info" v-html="item.title_info"></view>
|
|
|
<view class="title" v-html="item.title"></view>
|
|
|
- <view class="tips" v-html="item.abstract"></view>
|
|
|
- <view class="time">{{item.publish_time|formatReportTime}}</view>
|
|
|
- <view :class="['audio-box',!item.auth_ok&&'grey-audio-box']" @click.stop="handleClickAudio(item)">
|
|
|
+ <view class="info" v-html="item.classify_name_second"></view>
|
|
|
+ <view class="time">{{item.stage}}期 | {{item.publish_time|formatReportTime}}</view>
|
|
|
+ <view :class="['audio-box',!item.auth_ok&&'grey-audio-box']" @click.stop="handleClickAudio(item)" v-if="item.auth_ok">
|
|
|
<image :src="curAudioReportId==item.report_id&&!curAudioPaused?'./static/audio-s.png':'./static/audio.png'" mode="aspectFill"/>
|
|
|
<text>{{curAudioReportId==item.report_id&&!curAudioPaused?'暂停':'播放'}}</text>
|
|
|
</view>
|
|
@@ -95,7 +94,7 @@ export default {
|
|
|
this.classifyId=options.classifyId
|
|
|
this.classifyName=options.classifyName
|
|
|
// 设置title
|
|
|
- uni.setNavigationBarTitle({ title: decodeURIComponent(options.classifyName)+'列表' })
|
|
|
+ uni.setNavigationBarTitle({ title: decodeURIComponent(options.classifyName) })
|
|
|
this.getList()
|
|
|
this.getClassifyList()
|
|
|
},
|
|
@@ -225,13 +224,14 @@ page{
|
|
|
}
|
|
|
}
|
|
|
.report-list-wrap {
|
|
|
- padding: 0 34rpx;
|
|
|
+ padding: 0 34rpx;
|
|
|
.item {
|
|
|
+ padding-bottom: 30rpx;
|
|
|
margin-bottom: 30rpx;
|
|
|
+ border-bottom: 1px solid #EDEDED;
|
|
|
.img {
|
|
|
width: 120rpx;
|
|
|
height: 160rpx;
|
|
|
- border-radius: 16rpx;
|
|
|
background-color: #f5f5f5;
|
|
|
flex-shrink: 0;
|
|
|
margin-right: 20rpx;
|
|
@@ -245,16 +245,13 @@ page{
|
|
|
font-weight: bold;
|
|
|
margin-bottom: 8rpx;
|
|
|
}
|
|
|
- .title-info{
|
|
|
- font-size: 28rpx;
|
|
|
- }
|
|
|
- .tips {
|
|
|
- color: #666666;
|
|
|
- margin-bottom: 10rpx;
|
|
|
- min-height: 34rpx;
|
|
|
- }
|
|
|
+
|
|
|
.time {
|
|
|
+ position: absolute;
|
|
|
color: #666666;
|
|
|
+ bottom: 0;
|
|
|
+ left: 0;
|
|
|
+ font-size: 28rpx;
|
|
|
}
|
|
|
.audio-box {
|
|
|
position: absolute;
|
|
@@ -262,7 +259,7 @@ page{
|
|
|
right: 0;
|
|
|
width: 99rpx;
|
|
|
height: 39rpx;
|
|
|
- background: linear-gradient(100deg, #e3b377 0%, #ffddb1 100%);
|
|
|
+ background: #E3B377;
|
|
|
border-radius: 20rpx;
|
|
|
color: #fff;
|
|
|
font-size: 24rpx;
|