|
@@ -2,7 +2,7 @@
|
|
<view class="report-page">
|
|
<view class="report-page">
|
|
<van-sticky style="background: #fff">
|
|
<van-sticky style="background: #fff">
|
|
<!-- 导航 -->
|
|
<!-- 导航 -->
|
|
- <view class="nav-bar-wrap" :style="{height:navBarStyle.height,paddingTop:navBarStyle.paddingTop}">
|
|
|
|
|
|
+ <view class="nav-bar-wrap" :style="{height:navBarStyle.height,paddingTop:navBarStyle.paddingTop,paddingBottom:navBarStyle.paddingBottom}">
|
|
<view class="content">
|
|
<view class="content">
|
|
<van-icon custom-class="search-icon" name="search" size="24px" @click="goSearch" />
|
|
<van-icon custom-class="search-icon" name="search" size="24px" @click="goSearch" />
|
|
<view class="text">FICC研报</view>
|
|
<view class="text">FICC研报</view>
|
|
@@ -34,12 +34,15 @@
|
|
<view class="time">{{item.time}}</view>
|
|
<view class="time">{{item.time}}</view>
|
|
<view class="content-list">
|
|
<view class="content-list">
|
|
<view class="content-item" v-for="citem in item.list" :key="citem">
|
|
<view class="content-item" v-for="citem in item.list" :key="citem">
|
|
- <view class="c-time">{{citem.time}}</view>
|
|
|
|
- <view class="title">{{citem.title}}</view>
|
|
|
|
- <view class="van-multi-ellipsis--l3 desc">{{citem.desc}}</view>
|
|
|
|
- <view class="tags">
|
|
|
|
- <van-tag style="margin-right:5px" color="#D5AD79" type="primary" v-for="tag in citem.tags">{{tag}}</van-tag>
|
|
|
|
|
|
+ <view class="content-box">
|
|
|
|
+ <view class="c-time">{{citem.time}}</view>
|
|
|
|
+ <view class="title">{{citem.title}}</view>
|
|
|
|
+ <view class="van-multi-ellipsis--l3 desc">{{citem.desc}}</view>
|
|
|
|
+ <view class="tags">
|
|
|
|
+ <van-tag style="margin-right:5px" color="#D5AD79" type="primary" v-for="tag in citem.tags">{{tag}}</van-tag>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -53,7 +56,8 @@ export default {
|
|
return {
|
|
return {
|
|
navBarStyle:{
|
|
navBarStyle:{
|
|
height:60+'px',
|
|
height:60+'px',
|
|
- paddingTop:40+'px'
|
|
|
|
|
|
+ paddingTop:40+'px',
|
|
|
|
+ paddingBottom:'4px'
|
|
},
|
|
},
|
|
|
|
|
|
list:[
|
|
list:[
|
|
@@ -104,15 +108,12 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
initNavBar(){
|
|
initNavBar(){
|
|
- uni.getSystemInfo({
|
|
|
|
- success: (result) => {
|
|
|
|
- this.navBarStyle={
|
|
|
|
- height:(result.statusBarHeight+result.safeArea.top)+'px',
|
|
|
|
- paddingTop:result.safeArea.top+'px'
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- fail: (error) => {}
|
|
|
|
- })
|
|
|
|
|
|
+ let menuButtonInfo = uni.getMenuButtonBoundingClientRect()
|
|
|
|
+ this.navBarStyle={
|
|
|
|
+ height:(menuButtonInfo.height+menuButtonInfo.top+8)+'px',
|
|
|
|
+ paddingTop:(menuButtonInfo.top-4)+'px',
|
|
|
|
+ paddingBottom:'4px'
|
|
|
|
+ }
|
|
},
|
|
},
|
|
|
|
|
|
// 跳转分类
|
|
// 跳转分类
|
|
@@ -214,9 +215,12 @@ export default {
|
|
margin-bottom: 40rpx;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
}
|
|
.content-list{
|
|
.content-list{
|
|
- .content-item{
|
|
|
|
- padding: 20rpx 0 20rpx 20rpx;
|
|
|
|
|
|
+ .content-box{
|
|
border-bottom: 1px solid $global-border-color;
|
|
border-bottom: 1px solid $global-border-color;
|
|
|
|
+ padding: 0 20rpx 20rpx 20rpx;
|
|
|
|
+ }
|
|
|
|
+ .content-item{
|
|
|
|
+ padding:0 20rpx;
|
|
border-left: 1px solid $global-border-color;
|
|
border-left: 1px solid $global-border-color;
|
|
position: relative;
|
|
position: relative;
|
|
&:last-child{
|
|
&:last-child{
|