陈鹏飞 5 years ago
parent
commit
d969e6ef4e
  1. 4
      src/app/navigation/navigation.component.html
  2. 3
      src/app/navigation/navigation.component.scss
  3. 11
      src/app/ui/all-file/all-file.component.html
  4. 29
      src/app/ui/all-file/all-file.component.scss
  5. 6
      src/app/ui/eharts-statistics/eharts-statistics.component.ts
  6. 3
      src/app/ui/learning-record-details/learning-record-details.component.html

4
src/app/navigation/navigation.component.html

@ -5,12 +5,12 @@
<img src="../../assets/images/logo.png" alt="logo"> <img src="../../assets/images/logo.png" alt="logo">
</div> </div>
<div class="navbox"> <div class="navbox">
<div class="openSystem" style="border-bottom: 1px solid gray;"> <!-- <div class="openSystem" style="border-bottom: 1px solid gray;">
<a href="ax://startup?" style="color: white">战术授课</a> <a href="ax://startup?" style="color: white">战术授课</a>
</div> </div>
<div class="openSystem"> <div class="openSystem">
<a href="ax2://startup?" style="color: white">战术学习</a> <a href="ax2://startup?" style="color: white">战术学习</a>
</div> </div> -->
<!-- <div class="addBankBtn" (click)="addDataBank()" *ngIf="islogin.isLogin"> <!-- <div class="addBankBtn" (click)="addDataBank()" *ngIf="islogin.isLogin">
<mat-icon>note_add</mat-icon> <span>新增资料库</span> <mat-icon>note_add</mat-icon> <span>新增资料库</span>
</div> </div>

3
src/app/navigation/navigation.component.scss

@ -168,7 +168,7 @@ mat-sidenav{
} }
.biglogobox{ .biglogobox{
width: 194px; width: 194px;
height: 149px; height: 148px;
background-color: #4699f6; background-color: #4699f6;
display: block; display: block;
text-align: center; text-align: center;
@ -177,6 +177,7 @@ mat-sidenav{
margin-bottom: 20px; margin-bottom: 20px;
color: #FFF; color: #FFF;
margin: 0 auto; margin: 0 auto;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
img{ img{
width: 138px; width: 138px;
height: 138px; height: 138px;

11
src/app/ui/all-file/all-file.component.html

@ -138,10 +138,19 @@
(click)="clickCheckBoxLi($event,row)"> (click)="clickCheckBoxLi($event,row)">
</tr> </tr>
</table> </table>
<div class="nofiles" *ngIf="isNoFileTitle">
<div class="nofiles" *ngIf="isNoFileTitle && selectedDataBank.includes('/')">
<span style="font-size: 14px;cursor: default;">您还没上传过文件哦~</span> <span style="font-size: 14px;cursor: default;">您还没上传过文件哦~</span>
</div> </div>
</div> </div>
<div class="openSystem" *ngIf="!selectedDataBank.includes('/')">
<a href="ax://startup?"><img src="../../../assets/images/pdf.png" alt="">战术授课<span>进入</span></a>
</div>
<div class="openSystem" *ngIf="!selectedDataBank.includes('/')">
<a href="ax2://startup?"><img src="../../../assets/images/pdf.png" alt="">战术学习<span>进入</span></a>
</div>
<div class="fixedBox" [hidden]="!uploadisLoading2"> <div class="fixedBox" [hidden]="!uploadisLoading2">
<app-upload-files [thatFile]='this' #child></app-upload-files> <app-upload-files [thatFile]='this' #child></app-upload-files>

29
src/app/ui/all-file/all-file.component.scss

@ -233,4 +233,33 @@
top: 50%; top: 50%;
text-align: center; text-align: center;
margin: -78px 0 0 -244px; margin: -78px 0 0 -244px;
}
.openSystem{
position: relative;
a{
color: rgba(0, 0, 0, 0.87);
font-size: 14px;
display: block;
width: 100%;
height: 48px;
line-height: 48px;
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
padding-left: 4%;
background-color: white;
img{
position: relative;
width: 26px;
height: 26px;
top: 6px;
margin-right: 8px;
}
span{
position: absolute;
right: 31.3%;
line-height: 48px;
font-size: 14px;
}
}
} }

6
src/app/ui/eharts-statistics/eharts-statistics.component.ts

@ -150,7 +150,11 @@ export class EhartsStatisticsComponent implements OnInit {
let that = this let that = this
let chartHynyxf = echarts.init(document.getElementById('center'), 'skinUpp'); let chartHynyxf = echarts.init(document.getElementById('center'), 'skinUpp');
let option = { let option = {
title: { text: that.idName }, title: {
text: that.idName,
left:45,
top:20
},
tooltip: { tooltip: {
trigger: 'axis', trigger: 'axis',
axisPointer: {type: 'shadow'} axisPointer: {type: 'shadow'}

3
src/app/ui/learning-record-details/learning-record-details.component.html

@ -25,7 +25,7 @@
</div> </div>
</div> </div>
<mat-divider></mat-divider> <mat-divider></mat-divider>
<div class="listbox"> <div class="listbox" [hidden]="noRecord">
<ul> <ul>
<li *ngFor="let item of recordList;let key = index"> <li *ngFor="let item of recordList;let key = index">
<p class="timeTitle" *ngIf="key ==0 || item.time != recordList[key - 1].time">{{item.time}}</p> <p class="timeTitle" *ngIf="key ==0 || item.time != recordList[key - 1].time">{{item.time}}</p>
@ -37,6 +37,7 @@
</li> </li>
</ul> </ul>
<mat-paginator <mat-paginator
[length]="length" [length]="length"
[pageSize]="pageSize" [pageSize]="pageSize"
(page)="chagePage($event)"> (page)="chagePage($event)">

Loading…
Cancel
Save