Commit 32e29664 authored by wangqinghua's avatar wangqinghua

修改BUG

parent 5d0a24f3
...@@ -15,22 +15,24 @@ ...@@ -15,22 +15,24 @@
</ion-refresher> </ion-refresher>
<div class="padding-15-30"> <div class="padding-15-30">
<ng-container *ngFor="let item of integraList;let i = index;"> <ng-container *ngFor="let item of integraList;let i = index;">
<div class="inteItem"> <ng-container *ngIf="item.integral > 0 ">
<p class="inteTime">{{item.datetime | date:'yyyy-MM-dd HH:mm:ss'}}</p> <div class="inteItem">
<ion-row> <p class="inteTime">{{item.datetime | date:'yyyy-MM-dd HH:mm:ss'}}</p>
<ion-col col-8 class="iterType"> <ion-row>
<span *ngIf="item.type == 1">签到</span> <ion-col col-8 class="iterType">
<span *ngIf="item.type == 2">阅读文章</span> <span *ngIf="item.type == 1">签到</span>
<span *ngIf="item.type == 3">评论</span> <span *ngIf="item.type == 2">阅读文章</span>
<span *ngIf="item.type == 4">亮评</span> <span *ngIf="item.type == 3">评论</span>
<span *ngIf="item.type == 5">内容发布</span> <span *ngIf="item.type == 4">亮评</span>
<span *ngIf="item.type == 6">高质量内容</span> <span *ngIf="item.type == 5">内容发布</span>
<span *ngIf="item.type == 7">学习测试</span> <span *ngIf="item.type == 6">高质量内容</span>
<span *ngIf="item.type == 8">不良评论内容</span> <span *ngIf="item.type == 7">学习测试</span>
</ion-col> <span *ngIf="item.type == 8">不良评论内容</span>
<ion-col col-4 class="inteScore"> <span>+{{item.integral}}</span> <span></span></ion-col> </ion-col>
</ion-row> <ion-col col-4 class="inteScore"> <span>+{{item.integral}}</span> <span></span></ion-col>
</div> </ion-row>
</div>
</ng-container>
</ng-container> </ng-container>
</div> </div>
<ion-infinite-scroll (ionInfinite)="doInfinite($event)"> <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
{{new.title}} {{new.title}}
</p> </p>
<p class="news-end"> <p class="news-end">
<span>提交人:</span><span>{{new.publishTime | date:'yyyy-MM-dd'}}</span> <span class="margin-right-10">提交人:</span><span>{{new.submitterName }}</span>
<span>提交时间:</span><span>{{new.createTime | date:'yyyy-MM-dd'}}</span> <span>提交时间:</span><span>{{new.createTime | date:'yyyy-MM-dd'}}</span>
</p> </p>
</ion-col> </ion-col>
......
...@@ -87,9 +87,9 @@ ...@@ -87,9 +87,9 @@
<ion-icon name="ios-arrow-forward"></ion-icon> <ion-icon name="ios-arrow-forward"></ion-icon>
</ion-col> </ion-col>
</ion-row> </ion-row>
<ion-row (click)="goTo('VerifyPage')"> <ion-row *ngIf="role == 5 || role == 3" (click)="goTo('VerifyPage')">
<ion-col class="group-left" col-2> <ion-col class="group-left" col-2>
<img src="./assets/imgs/mine/wdfb.png"> <img src="./assets/imgs/mine/wdsh.png">
</ion-col> </ion-col>
<ion-col class="group-right" col-10> <ion-col class="group-right" col-10>
<span>我的审核</span> <span>我的审核</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment