|
@@ -28,7 +28,7 @@
|
|
|
<input type="file" #fileInput (change)="onFileSelected($event)" style="display: none">
|
|
|
|
|
|
</ion-col>
|
|
|
- <ion-col size="auto" class="info-col">
|
|
|
+ <ion-col size="auto" class="info-col" style="margin-left: 30px;">
|
|
|
<ion-label><h1>{{user?.get('username') || '未登录'}}</h1></ion-label>
|
|
|
<ion-label>ID: {{user?.id || '-'}}</ion-label>
|
|
|
|
|
@@ -85,17 +85,20 @@
|
|
|
</div>
|
|
|
</ion-card>
|
|
|
|
|
|
- <ion-item *ngIf="currentTab === 'published'" >
|
|
|
- <ion-card *ngFor="let CreatContent of InputContentsList" class="custom-card">
|
|
|
- <img *ngIf="!hasData" src="https://gd-hbimg.huaban.com/068da346d1fbca8edd952fb7e77b0eb0468ac03512a0f-Rm3mAD_fw658webp" class="img-center" style="width: 300px; height: 300px;">
|
|
|
- <div class="center-text" *ngIf="!hasData">暂无内容</div>
|
|
|
- <ion-card-header class="custom-header">
|
|
|
- {{CreatContent.get("title")}}
|
|
|
- </ion-card-header>
|
|
|
- <ion-card-content class="custom-content">
|
|
|
- {{CreatContent.get("contents")}}
|
|
|
- </ion-card-content>
|
|
|
- </ion-card>
|
|
|
+
|
|
|
+ <ion-item *ngIf="currentTab === 'published'" class="custom-title">
|
|
|
+ <ion-row>
|
|
|
+ <ion-col size="6" *ngFor="let CreatContent of InputContentsList" class="custom-col">
|
|
|
+ <ion-card class="custom-card">
|
|
|
+ <img *ngIf="!hasData" src="https://gd-hbimg.huaban.com/068da346d1fbca8edd952fb7e77b0eb0468ac03512a0f-Rm3mAD_fw658webp" class="img-center" style="width: 100%; height: 200px;">
|
|
|
+ <div class="center-text" *ngIf="!hasData">暂无内容</div>
|
|
|
+ <h2 class="custom-header">
|
|
|
+ {{CreatContent.get("title")}}
|
|
|
+ </h2>
|
|
|
+ <p>{{CreatContent.get("contents")}}</p>
|
|
|
+ </ion-card>
|
|
|
+ </ion-col>
|
|
|
+ </ion-row>
|
|
|
</ion-item>
|
|
|
|
|
|
<div *ngIf="currentTab === 'liked'">
|