doum
5 小时以前 437027600391a245588e6f719717b2f27a4222dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<template>
    <view class="main-container">
        <view class="notify-title">系统通知</view>
        <view class="notify-time">发布于2023-03-12 19:00</view>
        <view class="notify-content">
            <view v-html="html"></view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                html: "<p>2133<p>"
            };
        }
    }
</script>
 
<style lang="scss">
.main-container {
    height: 100%;
    background-color: #fff;
    box-sizing: border-box;
    padding: 60rpx 32rpx env(safe-area-inset-bottom);
    .notify-title {
        font-size: 44rpx;
        font-weight: 500;
        color: #222222;
        line-height: 44rpx;
    }
    .notify-time {
        margin-top: 32rpx;
        height: 26rpx;
        font-size: 26rpx;
        font-weight: 400;
        color: #999999;
        line-height: 26rpx;
    }
    .notify-content {
        margin-top: 40rpx;
    }
}
</style>