|
@@ -3,30 +3,30 @@ import { CommonModule } from '@angular/common';
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
import { ItemReorderEventDetail } from '@ionic/angular/standalone';
|
|
|
import { addIcons } from 'ionicons';
|
|
|
-import { camera} from 'ionicons/icons';
|
|
|
-import { IonContent, IonHeader, IonTitle, IonToolbar, IonButton, IonLabel, IonItem, IonList, IonBackButton, IonButtons, IonIcon, IonItemDivider, IonAvatar, IonThumbnail, IonItemOptions, IonItemOption, IonItemSliding, IonInput, IonCheckbox, IonRadio, IonToggle, IonRadioGroup, IonSearchbar,IonSegment,IonSegmentButton,IonDatetime,IonFooter,IonCardContent,IonCardTitle,IonCardHeader,IonCard,IonCol,IonRow,IonGrid } from '@ionic/angular/standalone';
|
|
|
-addIcons({camera})
|
|
|
-
|
|
|
+import { camera,trendingUpOutline,sparklesOutline,cloudyOutline,diceOutline} from 'ionicons/icons';
|
|
|
+import { IonContent, IonHeader, IonTitle, IonToolbar, IonButton, IonLabel, IonItem, IonList, IonBackButton, IonButtons, IonIcon, IonItemDivider, IonAvatar, IonThumbnail, IonItemOptions, IonItemOption, IonItemSliding, IonInput, IonCheckbox, IonRadio, IonToggle, IonRadioGroup, IonSearchbar,IonSegment,IonSegmentButton,IonDatetime,IonFooter,IonCardContent,IonCardTitle,IonCardHeader,IonCard,IonCol,IonRow,IonGrid,IonChip } from '@ionic/angular/standalone';
|
|
|
+addIcons({camera,trendingUpOutline,sparklesOutline,cloudyOutline,diceOutline})
|
|
|
@Component({
|
|
|
selector: 'app-yiyun',
|
|
|
templateUrl: './yiyun.page.html',
|
|
|
styleUrls: ['./yiyun.page.scss'],
|
|
|
standalone: true,
|
|
|
- imports: [IonContent, IonHeader, IonTitle, IonToolbar, CommonModule, FormsModule, IonButton, IonLabel, IonLabel, IonList, IonItem, IonBackButton, IonButtons, IonIcon, IonItemDivider, IonAvatar, IonThumbnail, IonItemOptions, IonItemSliding, IonItemOption, IonItemOptions,IonInput,IonCheckbox,IonRadio,IonToggle,IonRadioGroup,IonSearchbar,IonSegment,IonSegmentButton,IonDatetime,IonFooter,IonCardContent,IonCardTitle,IonCardHeader,IonCard,IonCol,IonRow,IonGrid ]
|
|
|
+ imports: [IonContent, IonHeader, IonTitle, IonToolbar, CommonModule, FormsModule, IonButton, IonLabel, IonLabel, IonList, IonItem, IonBackButton, IonButtons, IonIcon, IonItemDivider, IonAvatar, IonThumbnail, IonItemOptions, IonItemSliding, IonItemOption, IonItemOptions,IonInput,IonCheckbox,IonRadio,IonToggle,IonRadioGroup,IonSearchbar,IonSegment,IonSegmentButton,IonDatetime,IonFooter,IonCardContent,IonCardTitle,IonCardHeader,IonCard,IonCol,IonRow,IonGrid,IonChip ]
|
|
|
|
|
|
})
|
|
|
+
|
|
|
+
|
|
|
export class YiyunPage implements OnInit {
|
|
|
|
|
|
constructor() { }
|
|
|
|
|
|
ngOnInit() {
|
|
|
}
|
|
|
-
|
|
|
public items = [
|
|
|
- { image: 'camera', text: 'Button 1', page: '/page1' },
|
|
|
- { image: 'camera', text: 'Button 2', page: '/page2' },
|
|
|
- { image: 'camera', text: 'Button 3', page: '/page3' },
|
|
|
- { image: 'camera', text: 'Button 4', page: '/page4' },
|
|
|
+ { text: '趋势分析', image: 'trending-up-outline', page: '/page1' },
|
|
|
+ { text: 'AI定制', image: 'dice-outline', page: '/page2' },
|
|
|
+ { text: '活动优惠', image: 'sparkles-outline', page: '/page3' },
|
|
|
+ { text: '虚拟试衣', image: 'cloudy-outline', page: '/page4' },
|
|
|
|
|
|
];
|
|
|
// 打开登陆页面
|