Commit 2870cc38 authored by GaiaXalter's avatar GaiaXalter 💬

隐藏搜索栏

parent 5a3c6691
Pipeline #15015 failed with stages
in 7 minutes and 34 seconds
......@@ -2,4 +2,4 @@
npm ci
# serve with hot reload at localhost:4200
npm run start
npm start
......@@ -5,13 +5,13 @@
<mat-icon>menu</mat-icon>
</button>
<form (submit)="search(searchControl.value)">
<input type="search" placeholder="输入卡名搜索..." name="key" [matAutocomplete]="auto" [formControl]="searchControl">
<!-- <input type="search" placeholder="输入卡名搜索..." name="key" [matAutocomplete]="auto" [formControl]="searchControl">
<mat-autocomplete autoActiveFirstOption #auto="matAutocomplete">
<mat-option *ngFor="let card of suggestion | async" [value]="card" (onSelectionChange)="search(card)">
{{ card }}
</mat-option>
</mat-autocomplete>
</mat-autocomplete> -->
</form>
<button mat-icon-button *ngIf="storage.working | async">
<mat-icon class="fa-spin">sync</mat-icon>
......
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