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

View File

@ -136,9 +136,9 @@
"buttons": [ "buttons": [
{ {
"type":"none", "type":"none",
"text":"\ue503", "text":"\ue001",
"float":"right", "float":"right",
"fontSize":"20", "fontSize":"18",
"fontSrc": "/static/fonts/cart.ttf" "fontSrc": "/static/fonts/cart.ttf"
} }
] ]
@ -167,9 +167,9 @@
"buttons": [ "buttons": [
{ {
"type":"none", "type":"none",
"text":"\ue503", "text":"\ue001",
"float":"right", "float":"right",
"fontSize":"20", "fontSize":"18",
"fontSrc": "/static/fonts/cart.ttf" "fontSrc": "/static/fonts/cart.ttf"
} }
] ]
@ -378,9 +378,9 @@
// }, // },
{ {
"type":"none", "type":"none",
"text":"\ue503", "text":"\ue001",
"float":"right", "float":"right",
"fontSize":"22", "fontSize":"18",
"fontSrc": "/static/fonts/cart.ttf", "fontSrc": "/static/fonts/cart.ttf",
"color": "#FFFFFF" "color": "#FFFFFF"

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 1.0 MiB