yj
2024-12-05 c92c752491c6a1cc5c87f701e864f449a7149fc0
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<template>
  <view>
    <view class="notice-item">
      <text class="time">
        11:30
      </text>
      <view class="content">
        <text class="title">
          新品上市,全场满199减50
        </text>
        <view class="img-wrapper">
          <image class="pic" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1556465765776&di=57bb5ff70dc4f67dcdb856e5d123c9e7&imgtype=0&src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F01fd015aa4d95fa801206d96069229.jpg%401280w_1l_2o_100sh.jpg" />
        </view>
        <text class="introduce">
          虽然做了一件好事,但很有可能因此招来他人的无端猜测,例如被质疑是否藏有其他利己动机等,乃至谴责。即便如此,还是要做好事。
        </text>
        <view class="bot b-t">
          <text>查看详情</text>
          <text class="more-icon yticon icon-you" />
        </view>
      </view>
    </view>
    <view class="notice-item">
      <text class="time">
        昨天 12:30
      </text>
      <view class="content">
        <text class="title">
          新品上市,全场满199减50
        </text>
        <view class="img-wrapper">
          <image class="pic" src="https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=3761064275,227090144&fm=26&gp=0.jpg" />
          <view class="cover">
            活动结束
          </view>
        </view>
        <view class="bot b-t">
          <text>查看详情</text>
          <text class="more-icon yticon icon-you" />
        </view>
      </view>
    </view>
    <view class="notice-item">
      <text class="time">
        2019-07-26 12:30
      </text>
      <view class="content">
        <text class="title">
          新品上市,全场满199减50
        </text>
        <view class="img-wrapper">
          <image class="pic" src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1556465765776&di=57bb5ff70dc4f67dcdb856e5d123c9e7&imgtype=0&src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F01fd015aa4d95fa801206d96069229.jpg%401280w_1l_2o_100sh.jpg" />
          <view class="cover">
            活动结束
          </view>
        </view>
        <text class="introduce">
          新品上市全场2折起,新品上市全场2折起,新品上市全场2折起,新品上市全场2折起,新品上市全场2折起
        </text>
        <view class="bot b-t">
          <text>查看详情</text>
          <text class="more-icon yticon icon-you" />
        </view>
      </view>
    </view>
  </view>
</template>
 
<script>
export default {
  data() {
    return {
 
    }
  },
  methods: {
 
  }
}
</script>
 
<style lang='scss'>
    page {
        background-color: #f7f7f7;
        padding-bottom: 30upx;
    }
 
    .notice-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
 
    .time {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 80upx;
        padding-top: 10upx;
        font-size: 26upx;
        color: #7d7d7d;
    }
 
    .content {
        width: 710upx;
        padding: 0 24upx;
        background-color: #fff;
        border-radius: 4upx;
    }
 
    .title {
        display: flex;
        align-items: center;
        height: 90upx;
        font-size: 32upx;
        color: #303133;
    }
 
    .img-wrapper {
        width: 100%;
        height: 260upx;
        position: relative;
    }
 
    .pic {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 6upx;
    }
 
    .cover {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .5);
        font-size: 36upx;
        color: #fff;
    }
 
    .introduce {
        display: inline-block;
        padding: 16upx 0;
        font-size: 28upx;
        color: #606266;
        line-height: 38upx;
    }
 
    .bot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80upx;
        font-size: 24upx;
        color: #707070;
        position: relative;
    }
 
    .more-icon {
        font-size: 32upx;
    }
</style>