dev
liuyongli 3 years ago
parent 681a3a7e9f
commit b262410c2f

@ -13,6 +13,32 @@ Component({
title: '72.45',
subtitle: '媒体测评',
}
],
content:[
{
time: '2022-04-29 23:00:00',
title: '谁说国产没有高性能SUV这3款国产SUV配2.0T发动机星途凌云换个运动轮胎妥妥的6秒3最快6...',
author: '明哥飞扬',
media:'新浪微博'
},
{
time: '2022-04-29 23:00:00',
title: '星途凌云S上市传播分析评论中毒 奇瑞车为何如此招黑?',
author: '明哥飞扬',
media:'新浪微博'
},
{
time: '2022-04-29 23:00:00',
title: 'MG5天蝎座上市传播分析评论区疑似闹“水灾',
author: '明哥飞扬',
media:'新浪微博'
},
{
time: '2022-04-29 23:00:00',
title: '谁说国产没有高性能SUV这3款国产SUV配2.0T发动机星途凌云换个运动轮胎妥妥的6秒3最快6...',
author: '明哥飞扬',
media:'新浪微博'
},
]
},

@ -3,7 +3,7 @@
<text wx:for="{{timelist}}" class="{{index === intervalSel?'active':''}}" data-index="{{index}}" bindtap="priceSel">{{item}}
</text>
</view>
<view class="list_event" style="background-image: url('/images/sj_beijin.png');">
<view class="list_event" style="background-image: url('../../../images/sj_beijin.png');">
<view class="event_title">热点事件</view>
<view wx:for="{{questes}}" wx:key="index" data-quest='{{item}}'>
<view class="event_text">
@ -21,17 +21,20 @@
</view>
</view>
<view class="content">
<view class="text_pinpai">2022-04-29 23:02:01
<view class="content" wx:for="{{content}}" wx:key="index" data-quest='{{item}}'>
<view class="content_event" >
<view class="content_pinpai">{{item.time}}
</view>
<view class="text_title">谁说国产没有高性能SUV这3款国产SUV
<view class="content_title">{{item.title}}
</view>
<view class="content_text">
<view class="content_pinpai">作者:明哥飞扬
<view class="content_pinpai">作者:{{item.author}}
</view>
<view class="content_pinpai">媒体:新浪微博
<view class="content_pinpai">媒体:{{item.media}}
</view>
</view>
</view>
</view>
</view>

@ -58,7 +58,6 @@
width: 686rpx;
height: 248rpx;
border-radius: 24rpx;
padding: 0rpx 32rpx;
}
.content_text{
display: flex;
@ -69,5 +68,24 @@
.content_pinpai{
color: #999999;
font-size: 24rpx;
}
.content_event{
padding: 0 32rpx;
}
.content_pinpai{
color: #999999;
font-size: 24rpx;
padding-top: 20rpx;
height: 48rpx;
line-height: 48rpx;
}
.content_title{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
/* width: 500rpx; */
height: 80rpx;
line-height: 80rpx;
}
Loading…
Cancel
Save