单据、业务中心、公告和工作通知
This commit is contained in:
@@ -4,8 +4,11 @@
|
||||
<fy-scroll class="edge-scroll" @refresh="load">
|
||||
<wd-status-tip v-if="!rows.length" image="content" tip="暂无公告" />
|
||||
<view v-for="r in rows" :key="r.id" class="card item">
|
||||
<view class="top">
|
||||
<text class="chip">公告</text>
|
||||
<text class="s">{{ r.createdAt || r.publishAt || '' }}</text>
|
||||
</view>
|
||||
<text class="t">{{ r.title }}</text>
|
||||
<text class="s">{{ r.createdAt || r.publishAt || '' }}</text>
|
||||
<text class="c">{{ r.content || r.summary || '' }}</text>
|
||||
</view>
|
||||
</fy-scroll>
|
||||
@@ -32,9 +35,9 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.item { margin: 16rpx 28rpx; padding: 28rpx; }
|
||||
.t { display: block; font-weight: 650; font-size: 30rpx; line-height: 1.45; }
|
||||
.s { display: block; font-size: 24rpx; color: #6B7280; margin-top: 10rpx; }
|
||||
.c { display: block; font-size: 28rpx; margin-top: 16rpx; color: #374151; line-height: 1.65; }
|
||||
.empty { padding: 120rpx 40rpx; text-align: center; color: #6B7280; font-size: 28rpx; }
|
||||
.item { margin: 16rpx 24rpx; padding: 28rpx 24rpx; }
|
||||
.top { display: flex; align-items: center; justify-content: space-between; }
|
||||
.s { font-size: 22rpx; color: #9CA3AF; }
|
||||
.t { display: block; margin-top: 16rpx; font-weight: 650; font-size: 30rpx; line-height: 1.45; color: #111827; }
|
||||
.c { display: block; font-size: 26rpx; margin-top: 12rpx; color: #4B5563; line-height: 1.65; }
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user