古刹文章详细页面0.85
This commit is contained in:
parent
b7de2b10dd
commit
005f7b7b84
|
|
@ -48,17 +48,17 @@
|
|||
@click="goToArticle(item)"
|
||||
>
|
||||
<view class="item-content">
|
||||
<text class="item-title">{{ item.title }}</text>
|
||||
<text v-if="item.subtitle" class="item-subtitle"
|
||||
>{{ item.subtitle }}
|
||||
</text>
|
||||
<view class="title-row">
|
||||
<text class="item-title">{{ item.title }}</text>
|
||||
<text v-if="item.subtitle" class="item-subtitle"
|
||||
>{{ item.subtitle }}
|
||||
</text>
|
||||
</view>
|
||||
|
||||
<view class="item-meta">
|
||||
<text class="item-time">{{ formatTime(item.createTime) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-arrow">
|
||||
<text class="arrow">></text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -353,28 +353,20 @@ export default {
|
|||
flex: 1;
|
||||
margin-right: 20rpx;
|
||||
|
||||
.item-title {
|
||||
display: block;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 1.4;
|
||||
margin-bottom: 10rpx;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
border: red solid 1px;
|
||||
}
|
||||
.title-row {
|
||||
.item-title {
|
||||
font-weight: 400;
|
||||
font-size: 32rpx;
|
||||
color: #522510;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
|
||||
.item-subtitle {
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
margin-right: 20rpx;
|
||||
border: red solid 1px;
|
||||
.item-subtitle {
|
||||
font-weight: 400;
|
||||
font-size: 32rpx;
|
||||
color: #522510;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.item-meta {
|
||||
|
|
@ -391,22 +383,6 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-arrow {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: red solid 1px;
|
||||
|
||||
.arrow {
|
||||
font-size: 24rpx;
|
||||
color: #ccc;
|
||||
font-weight: bold;
|
||||
border: red solid 1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user