diff --git a/editorconfig b/.editorconfig similarity index 100% rename from editorconfig rename to .editorconfig diff --git a/src/app/app.config.ts b/src/app/app.config.ts index dc798de..2c98b9d 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -2,7 +2,7 @@ import {ApplicationConfig} from '@angular/core'; import {provideRouter} from '@angular/router'; import {routes} from './app.routes'; -import { provideAnimations } from '@angular/platform-browser/animations'; +import {provideAnimations} from '@angular/platform-browser/animations'; export const appConfig: ApplicationConfig = { providers: [provideRouter(routes), provideAnimations()] diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index f103201..8b5e5fb 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,5 +1,3 @@ import {Routes} from '@angular/router'; -export const routes: Routes = [ - -]; +export const routes: Routes = []; diff --git a/src/app/body/body.component.html b/src/app/body/body.component.html index 9a791b1..89e62f8 100644 --- a/src/app/body/body.component.html +++ b/src/app/body/body.component.html @@ -19,7 +19,7 @@
  • 就把电话拔下来给他了
  • - +

    @@ -35,7 +35,7 @@
  • 他按键的速度非常快,但是只按0,1两个键
  • - +

    @@ -45,7 +45,7 @@

    - +
    我渐渐的有些困,我问他这东西要搞多久 @@ -54,7 +54,7 @@
    - +
    他说要几个小时 @@ -63,7 +63,7 @@
    - +
    我给他倒了杯茶,就一个人去隔壁睡觉了 @@ -75,7 +75,7 @@
    - +

    diff --git a/src/app/body/body.component.scss b/src/app/body/body.component.scss index b1c3dab..4064db1 100644 --- a/src/app/body/body.component.scss +++ b/src/app/body/body.component.scss @@ -3,28 +3,28 @@ @tailwind components; .li-img li { - list-style: none; - float: left; - width: 25%; /*四列图片排列*/ - height: 175px; - overflow: hidden; + list-style: none; + float: left; + width: 25%; /*四列图片排列*/ + height: 175px; + overflow: hidden; } .li-img li img { - position: relative; - width: 100%; - height: auto; - top: 50%; /*li高度的一半*/ - transform: translateY(-50%); /*再向上移动自身的50%*/ + position: relative; + width: 100%; + height: auto; + top: 50%; /*li高度的一半*/ + transform: translateY(-50%); /*再向上移动自身的50%*/ } /*清除浮动*/ .clearfix:after { - position: relative; - content: ''; - display: block; - width: 0; - height: 0; - visibility: hidden; - clear: both; + position: relative; + content: ''; + display: block; + width: 0; + height: 0; + visibility: hidden; + clear: both; } \ No newline at end of file diff --git a/src/app/carousel-pause/carousel-pause.component.html b/src/app/carousel-pause/carousel-pause.component.html index a274105..1a8efa3 100644 --- a/src/app/carousel-pause/carousel-pause.component.html +++ b/src/app/carousel-pause/carousel-pause.component.html @@ -5,7 +5,7 @@ [pauseOnFocus]="pauseOnFocus" (slide)="onSlide($event)" > - @for (img of images;track img;let i = $index) { + @for (img of images; track img; let i = $index) {