|
@@ -10,22 +10,20 @@
|
|
|
</view>
|
|
|
<!-- 分类 -->
|
|
|
<view class="type-wrap">
|
|
|
- <view class="flex top">
|
|
|
- <view class="flex first-type-box">
|
|
|
- <view class="item" v-for="item in 7">
|
|
|
- <image src="" mode="scaleToFill"/>
|
|
|
- <view>宏观经济</view>
|
|
|
- </view>
|
|
|
+ <view class="flex first-type-box">
|
|
|
+ <view class="item" v-for="item in 4" :key="item">
|
|
|
+ <image src="" mode="aspectFill"/>
|
|
|
+ <view>宏观经济</view>
|
|
|
+ </view>
|
|
|
+ <view class="item" @click="goClassify">
|
|
|
+ <image src="@/static/report-menu.png" mode="aspectFill"/>
|
|
|
+ <view>查看更多</view>
|
|
|
</view>
|
|
|
- <image
|
|
|
- src="../../static/chart/menu.png"
|
|
|
- mode="widthFix"
|
|
|
- class="menu-icon"
|
|
|
- @click="goClassify"
|
|
|
- />
|
|
|
+
|
|
|
</view>
|
|
|
- <view class="sub-type-box">
|
|
|
- <van-button color="#D5AD79" plain round size="mini">宏观经济</van-button>
|
|
|
+ <view class="flex sub-type-box">
|
|
|
+ <view class="item active">宏观经济</view>
|
|
|
+ <view class="item">利率债</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</van-sticky>
|
|
@@ -35,11 +33,12 @@
|
|
|
<view class="content-list">
|
|
|
<view class="content-item" v-for="citem in item.list" :key="citem">
|
|
|
<view class="content-box">
|
|
|
+ <view class="all-btn">全部</view>
|
|
|
<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>
|
|
|
+ <text style="margin-right:15px" v-for="tag in citem.tags" :key="tag">#{{tag}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
@@ -62,7 +61,7 @@ export default {
|
|
|
|
|
|
list:[
|
|
|
{
|
|
|
- time:'1.13 周四',
|
|
|
+ time:'1.13 周四da',
|
|
|
list:[
|
|
|
{
|
|
|
time:'17:25:08',
|
|
@@ -79,7 +78,7 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- time:'1.13 周四',
|
|
|
+ time:'1.13 周四f',
|
|
|
list:[
|
|
|
{
|
|
|
time:'17:25:08',
|
|
@@ -90,7 +89,7 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- time:'1.13 周四',
|
|
|
+ time:'1.13 周四d',
|
|
|
list:[
|
|
|
{
|
|
|
time:'17:25:08',
|
|
@@ -174,54 +173,66 @@ export default {
|
|
|
|
|
|
}
|
|
|
.type-wrap{
|
|
|
- border-bottom: 1px solid $global-border-color;
|
|
|
- padding: 20rpx 34rpx;
|
|
|
- .top{
|
|
|
- overflow: hidden;
|
|
|
- .menu-icon{
|
|
|
- margin-top: 21rpx;
|
|
|
- width: 52rpx;
|
|
|
- height: 40rpx;
|
|
|
- display: block;
|
|
|
- flex-shrink: 0;
|
|
|
- margin-left: 30rpx;
|
|
|
- }
|
|
|
- }
|
|
|
+ // border-bottom: 1px solid $global-border-color;
|
|
|
+ padding: 20rpx 34rpx 0 34rpx;
|
|
|
+ box-shadow: 0px 4rpx 4rpx 1px rgba(198, 198, 198, 0.25);
|
|
|
.first-type-box{
|
|
|
- flex: 1;
|
|
|
- overflow-x: auto;
|
|
|
- &::-webkit-scrollbar{
|
|
|
- display: none;
|
|
|
- }
|
|
|
+ justify-content: space-between;
|
|
|
.item{
|
|
|
flex-shrink: 0;
|
|
|
- margin-right: 20rpx;
|
|
|
text-align: center;
|
|
|
font-size: $global-font-size-sm;
|
|
|
image{
|
|
|
- width: 80rpx;
|
|
|
- height: 80rpx;
|
|
|
+ width: 100rpx;
|
|
|
+ height: 100rpx;
|
|
|
display: block;
|
|
|
- margin: 0 auto 6rpx auto;
|
|
|
- background-color: #f5f5f5;
|
|
|
+ margin: 0 auto 15rpx auto;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ .sub-type-box{
|
|
|
+ margin-top: 40rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #666666;
|
|
|
+ .item{
|
|
|
+ padding-bottom: 16rpx;
|
|
|
+ margin-right: 50rpx;
|
|
|
+ }
|
|
|
+ .active{
|
|
|
+ color: #E3B377;
|
|
|
+ border-bottom: 2px solid #E3B377;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.list-wrap{
|
|
|
padding: 20rpx 34rpx;
|
|
|
.list-item{
|
|
|
margin-bottom: 40rpx;
|
|
|
+ .time{
|
|
|
+ margin-bottom: 32rpx;
|
|
|
+ }
|
|
|
}
|
|
|
.content-list{
|
|
|
.content-box{
|
|
|
- border-bottom: 1px solid $global-border-color;
|
|
|
- padding: 0 20rpx 20rpx 20rpx;
|
|
|
+ padding: 0 0rpx 20rpx 20rpx;
|
|
|
+ position: relative;
|
|
|
+ .all-btn{
|
|
|
+ position: absolute;
|
|
|
+ right: 20rpx;
|
|
|
+ bottom: 20rpx;
|
|
|
+ width: 95rpx;
|
|
|
+ height: 34rpx;
|
|
|
+ background: linear-gradient(100deg, #E3B377 0%, #FFDDB1 100%);
|
|
|
+ border-radius: 17rpx;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 24rpx;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
}
|
|
|
.content-item{
|
|
|
- padding:0 20rpx;
|
|
|
- border-left: 1px solid $global-border-color;
|
|
|
+ padding:0 0 50rpx 20rpx;
|
|
|
+ border-left: 1px solid #F4E1C9;
|
|
|
position: relative;
|
|
|
&:last-child{
|
|
|
border-bottom: none;
|
|
@@ -229,30 +240,37 @@ export default {
|
|
|
&::before{
|
|
|
content: '';
|
|
|
display: block;
|
|
|
- width: 6rpx;
|
|
|
- height: 6rpx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ width: 24rpx;
|
|
|
+ height: 24rpx;
|
|
|
border-radius: 50%;
|
|
|
- border: 1px solid $global-border-color;
|
|
|
+ border: 6rpx solid #F4E1C9;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 0;
|
|
|
- background-color: #fff;
|
|
|
+ background: #E3B377;
|
|
|
transform: translate(-50%,-50%);
|
|
|
+ z-index: 2;
|
|
|
}
|
|
|
- &:last-child::after{
|
|
|
- content: '';
|
|
|
+ &::after{
|
|
|
+ content:'';
|
|
|
display: block;
|
|
|
- width: 6rpx;
|
|
|
- height: 6rpx;
|
|
|
- border-radius: 50%;
|
|
|
- border: 1px solid $global-border-color;
|
|
|
+ width: 34rpx;
|
|
|
+ height: 1rpx;
|
|
|
+ background-color: #F4E1C9;
|
|
|
position: absolute;
|
|
|
+ top: 0;
|
|
|
left: 0;
|
|
|
- bottom: 0;
|
|
|
- background-color: #fff;
|
|
|
- transform: translate(-50%,50%);
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ .c-time{
|
|
|
+ position: relative;
|
|
|
+ top: -17rpx;
|
|
|
+ font-size: 24rpx;
|
|
|
+ color: #333333;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.title{
|
|
|
font-size: $global-font-size-lg;
|
|
|
font-weight: bold;
|
|
@@ -260,6 +278,11 @@ export default {
|
|
|
.desc{
|
|
|
line-height: 1.5;
|
|
|
margin-top: 10rpx;
|
|
|
+ color: #666666;
|
|
|
+ }
|
|
|
+ .tags{
|
|
|
+ margin-top: 20rpx;
|
|
|
+ color: #E3B377;
|
|
|
}
|
|
|
}
|
|
|
}
|