作者 吴亚瑞

通知

@@ -4,9 +4,8 @@ @@ -4,9 +4,8 @@
4 <text>{{item.teacher_name}}批注了作业</text> 4 <text>{{item.teacher_name}}批注了作业</text>
5 <view>{{item.createtime}}</view> 5 <view>{{item.createtime}}</view>
6 </view> 6 </view>
7 - <view class="red_spot" wx:if="{{item.status == 0}}">  
8 - <text>1</text>  
9 - </view> 7 + <view class="red_spot" wx:if="{{item.status == 0}}"> </view>
  8 +
10 </view> 9 </view>
11 <view class="no" wx:if="{{noticeData.length == 0}}"> 10 <view class="no" wx:if="{{noticeData.length == 0}}">
12 <view> 11 <view>
@@ -26,15 +26,15 @@ @@ -26,15 +26,15 @@
26 color:rgba(196,196,196,1); 26 color:rgba(196,196,196,1);
27 } 27 }
28 .red_spot{ 28 .red_spot{
29 - width: 28rpx;  
30 - height: 28rpx; 29 + width: 14rpx;
  30 + height: 14rpx;
31 border-radius: 50%; 31 border-radius: 50%;
32 background-color: red; 32 background-color: red;
33 display: flex; 33 display: flex;
34 justify-content: center; 34 justify-content: center;
35 align-items: center; 35 align-items: center;
36 position: absolute; 36 position: absolute;
37 - left: 96rpx; 37 + left: 100rpx;
38 top: 20rpx; 38 top: 20rpx;
39 } 39 }
40 .red_spot text{ 40 .red_spot text{