|  | @@ -1,3 +1,4 @@
 | 
											
												
													
														|  | 
 |  | +import { MarkdownPreviewModule } from 'fmode-ng';
 | 
											
												
													
														|  |  import { Component } from '@angular/core';
 |  |  import { Component } from '@angular/core';
 | 
											
												
													
														|  |  import { ModalController, IonModal, IonHeader, IonToolbar, IonTitle, IonContent, IonList, IonItem, IonLabel, IonAvatar, IonButton, IonSegment, IonSegmentButton, IonSegmentContent, IonSegmentView, IonCardContent, IonCardTitle, IonCardHeader, IonCard, IonIcon, IonButtons, IonSearchbar, IonFab, IonFabButton, IonFabList } from '@ionic/angular/standalone';
 |  |  import { ModalController, IonModal, IonHeader, IonToolbar, IonTitle, IonContent, IonList, IonItem, IonLabel, IonAvatar, IonButton, IonSegment, IonSegmentButton, IonSegmentContent, IonSegmentView, IonCardContent, IonCardTitle, IonCardHeader, IonCard, IonIcon, IonButtons, IonSearchbar, IonFab, IonFabButton, IonFabList } from '@ionic/angular/standalone';
 | 
											
												
													
														|  |  import { ExploreContainerComponent } from '../explore-container/explore-container.component';
 |  |  import { ExploreContainerComponent } from '../explore-container/explore-container.component';
 | 
											
										
											
												
													
														|  | @@ -27,7 +28,7 @@ addIcons({ chevronDownCircle, chevronForwardCircle, chevronUpCircle, colorPalett
 | 
											
												
													
														|  |      IonLabel,IonItem,IonList,IonAvatar,ArticleCardComponent,CommonModule,IonButton,
 |  |      IonLabel,IonItem,IonList,IonAvatar,ArticleCardComponent,CommonModule,IonButton,
 | 
											
												
													
														|  |      IonSegment, IonSegmentButton,
 |  |      IonSegment, IonSegmentButton,
 | 
											
												
													
														|  |      IonSegmentContent,IonSegmentView,IonCardContent, IonCardTitle, IonCardHeader,IonCard,
 |  |      IonSegmentContent,IonSegmentView,IonCardContent, IonCardTitle, IonCardHeader,IonCard,
 | 
											
												
													
														|  | -    IonModal,IonIcon, IonButtons, IonSearchbar, IonFab, IonFabButton,IonFabList,
 |  | 
 | 
											
												
													
														|  | 
 |  | +    IonModal,IonIcon, IonButtons, IonSearchbar, IonFab, IonFabButton,IonFabList,MarkdownPreviewModule
 | 
											
												
													
														|  |    ]
 |  |    ]
 | 
											
												
													
														|  |  })
 |  |  })
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -91,11 +92,12 @@ setSlidePosition() {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    type:"hotdot"|"export" = "hotdot"
 |  |    type:"hotdot"|"export" = "hotdot"
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +content = ''
 | 
											
												
													
														|  |    constructor(
 |  |    constructor(
 | 
											
												
													
														|  |      private modalCtrl:ModalController,
 |  |      private modalCtrl:ModalController,
 | 
											
												
													
														|  |      private router:Router,
 |  |      private router:Router,
 | 
											
												
													
														|  |    ) { 
 |  |    ) { 
 | 
											
												
													
														|  | 
 |  | +    
 | 
											
												
													
														|  |      this.loadCards(); // 初始化时加载所有科普信息
 |  |      this.loadCards(); // 初始化时加载所有科普信息
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -108,10 +110,12 @@ setSlidePosition() {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    async loadCards() {
 |  |    async loadCards() {
 | 
											
												
													
														|  |      const query = new CloudQuery('NovelAriticle');
 |  |      const query = new CloudQuery('NovelAriticle');
 | 
											
												
													
														|  | 
 |  | +    // this.content = '',
 | 
											
												
													
														|  |      this.allCards = await query.find(); 
 |  |      this.allCards = await query.find(); 
 | 
											
												
													
														|  |      console.log(this.allCards);
 |  |      console.log(this.allCards);
 | 
											
												
													
														|  |      this.cards = this.allCards.filter((card) => card.get('category').toLowerCase().includes(this.type));
 |  |      this.cards = this.allCards.filter((card) => card.get('category').toLowerCase().includes(this.type));
 | 
											
												
													
														|  |      console.log(this.cards);
 |  |      console.log(this.cards);
 | 
											
												
													
														|  | 
 |  | +   
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 |