This commit is contained in:
Gdpao
2020-09-03 09:50:18 +08:00
parent c4f23cc5c4
commit adc18d80cf
4 changed files with 18 additions and 31 deletions

View File

@@ -4,7 +4,9 @@
<view class="time_notice">{{ item.addtime }}</view>
<view class="notice_view">
<image :src="item.picture" mode="aspectFill" ></image>
<view class="text_view u-line-2">{{ item.content }}</view>
<view class="text_view">
<view class="u-line-2">{{ item.content }}</view>
</view>
<view class="notice_list">
<text>查看详情</text>
<u-icon name="arrow-right" color="#666"></u-icon>
@@ -28,21 +30,17 @@
border-radius: 20rpx 20rpx 0px 0px;
}
.text_view{
font-size:26rpx;
font-weight:400;
color: #343434;
width: 643rpx;
height: 110rpx;
margin: 0 auto;
padding: 20rpx 0;
text-align: left;
line-height: 40rpx;
width: 690rpx;
height: 120rpx;
padding: 26rpx;
color: #333;
font-size: 26rpx;
line-height: 38rpx;
}
.notice_view > view:nth-child(3){
height: 80rpx;
line-height: 80rpx;
border-top: 1px #F5F5F5 solid;
// margin-top: 30rpx;
}
}
.time_notice{
@@ -53,22 +51,11 @@
padding: 26rpx 0 39rpx 0;
}
.notice_list{
text-align: left;
display: inline-block;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
position: relative;
padding: 0 25rpx;
margin: 0 auto;
display: block;
}
.notice_list > view{
text-align: right;
position: absolute;
right: 25rpx;
top: 0;
bottom: 0;
margin: auto;
}
</style>