|
@@ -15,13 +15,12 @@
|
|
</view>
|
|
</view>
|
|
<view class="report-list-wrap" :style="{paddingBottom:showAudioPop&&'90px'}" v-else>
|
|
<view class="report-list-wrap" :style="{paddingBottom:showAudioPop&&'90px'}" v-else>
|
|
<view class="flex item" v-for="item in list" :key="item.report_id" @click="goReportDetail(item)">
|
|
<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" />
|
|
|
|
|
|
+ <image class="img" :src="item.report_img_url" mode="aspectFill" lazy-load />
|
|
<view class="con">
|
|
<view class="con">
|
|
- <view class="title-info" v-html="item.title_info"></view>
|
|
|
|
<view class="title" v-html="item.title"></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"/>
|
|
<image :src="curAudioReportId==item.report_id&&!curAudioPaused?'./static/audio-s.png':'./static/audio.png'" mode="aspectFill"/>
|
|
<text>{{curAudioReportId==item.report_id&&!curAudioPaused?'暂停':'播放'}}</text>
|
|
<text>{{curAudioReportId==item.report_id&&!curAudioPaused?'暂停':'播放'}}</text>
|
|
</view>
|
|
</view>
|
|
@@ -102,9 +101,9 @@ export default {
|
|
},
|
|
},
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
this.classifyId=options.classifyId
|
|
this.classifyId=options.classifyId
|
|
- this.classifyName=options.classifyName
|
|
|
|
|
|
+ this.classifyName=decodeURIComponent(options.classifyName)
|
|
// 设置title
|
|
// 设置title
|
|
- uni.setNavigationBarTitle({ title: decodeURIComponent(options.classifyName)+'列表' })
|
|
|
|
|
|
+ uni.setNavigationBarTitle({ title: decodeURIComponent(options.classifyName) })
|
|
this.getList()
|
|
this.getList()
|
|
this.getClassifyList()
|
|
this.getClassifyList()
|
|
},
|
|
},
|
|
@@ -125,7 +124,7 @@ export default {
|
|
},
|
|
},
|
|
onShareAppMessage() {
|
|
onShareAppMessage() {
|
|
return {
|
|
return {
|
|
- title:this.classifyName+'列表'
|
|
|
|
|
|
+ title:`FICC【${this.classifyName}】`
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -234,16 +233,18 @@ page{
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.report-list-wrap {
|
|
.report-list-wrap {
|
|
- padding: 0 34rpx;
|
|
|
|
|
|
+ padding: 0 34rpx;
|
|
.item {
|
|
.item {
|
|
|
|
+ padding-bottom: 30rpx;
|
|
margin-bottom: 30rpx;
|
|
margin-bottom: 30rpx;
|
|
|
|
+ border-bottom: 1px solid #EDEDED;
|
|
.img {
|
|
.img {
|
|
width: 120rpx;
|
|
width: 120rpx;
|
|
height: 160rpx;
|
|
height: 160rpx;
|
|
- border-radius: 16rpx;
|
|
|
|
background-color: #f5f5f5;
|
|
background-color: #f5f5f5;
|
|
flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
margin-right: 20rpx;
|
|
margin-right: 20rpx;
|
|
|
|
+ border-radius: 16rpx;
|
|
}
|
|
}
|
|
.con {
|
|
.con {
|
|
flex: 1;
|
|
flex: 1;
|
|
@@ -254,16 +255,13 @@ page{
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
margin-bottom: 8rpx;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
}
|
|
- .title-info{
|
|
|
|
- font-size: 28rpx;
|
|
|
|
- }
|
|
|
|
- .tips {
|
|
|
|
- color: #666666;
|
|
|
|
- margin-bottom: 10rpx;
|
|
|
|
- min-height: 34rpx;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
.time {
|
|
.time {
|
|
|
|
+ position: absolute;
|
|
color: #666666;
|
|
color: #666666;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ font-size: 28rpx;
|
|
}
|
|
}
|
|
.audio-box {
|
|
.audio-box {
|
|
position: absolute;
|
|
position: absolute;
|
|
@@ -271,7 +269,7 @@ page{
|
|
right: 0;
|
|
right: 0;
|
|
width: 99rpx;
|
|
width: 99rpx;
|
|
height: 39rpx;
|
|
height: 39rpx;
|
|
- background: linear-gradient(100deg, #e3b377 0%, #ffddb1 100%);
|
|
|
|
|
|
+ background: #E3B377;
|
|
border-radius: 20rpx;
|
|
border-radius: 20rpx;
|
|
color: #fff;
|
|
color: #fff;
|
|
font-size: 24rpx;
|
|
font-size: 24rpx;
|