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 @@ ...@@ -2,4 +2,4 @@
npm ci npm ci
# serve with hot reload at localhost:4200 # serve with hot reload at localhost:4200
npm run start npm start
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
<mat-icon>menu</mat-icon> <mat-icon>menu</mat-icon>
</button> </button>
<form (submit)="search(searchControl.value)"> <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-autocomplete autoActiveFirstOption #auto="matAutocomplete">
<mat-option *ngFor="let card of suggestion | async" [value]="card" (onSelectionChange)="search(card)"> <mat-option *ngFor="let card of suggestion | async" [value]="card" (onSelectionChange)="search(card)">
{{ card }} {{ card }}
</mat-option> </mat-option>
</mat-autocomplete> </mat-autocomplete> -->
</form> </form>
<button mat-icon-button *ngIf="storage.working | async"> <button mat-icon-button *ngIf="storage.working | async">
<mat-icon class="fa-spin">sync</mat-icon> <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