202226701008 4 kuukautta sitten
vanhempi
commit
3cdaced18f

+ 4 - 1
scene-app/angular.json

@@ -126,7 +126,10 @@
     }
   },
   "cli": {
-    "schematicCollections": ["@ionic/angular-toolkit"]
+    "schematicCollections": [
+      "@ionic/angular-toolkit"
+    ],
+    "analytics": false
   },
   "schematics": {
     "@ionic/angular-toolkit:component": {

+ 1 - 0
scene-app/src/app/edit-tag/README.md

@@ -0,0 +1 @@
+#编辑标签组件

+ 3 - 0
scene-app/src/app/edit-tag/edit-tag.component.html

@@ -0,0 +1,3 @@
+<ion-input
+  (ionInput)="userInput($event)" type = "text" placeholder="请输入你的标签">
+</ion-input>

+ 0 - 0
scene-app/src/app/edit-tag/edit-tag.component.scss


+ 24 - 0
scene-app/src/app/edit-tag/edit-tag.component.spec.ts

@@ -0,0 +1,24 @@
+import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
+import { IonicModule } from '@ionic/angular';
+
+import { EditTagComponent } from './edit-tag.component';
+
+describe('EditTagComponent', () => {
+  let component: EditTagComponent;
+  let fixture: ComponentFixture<EditTagComponent>;
+
+  beforeEach(waitForAsync(() => {
+    TestBed.configureTestingModule({
+      declarations: [ EditTagComponent ],
+      imports: [IonicModule.forRoot()]
+    }).compileComponents();
+
+    fixture = TestBed.createComponent(EditTagComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  }));
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 18 - 0
scene-app/src/app/edit-tag/edit-tag.component.ts

@@ -0,0 +1,18 @@
+import { Component, OnInit ,} from '@angular/core';
+import { IonInput } from '@ionic/angular';
+@Component({
+  selector: 'app-edit-tag',
+  templateUrl: './edit-tag.component.html',
+  styleUrls: ['./edit-tag.component.scss'],
+  imports:[
+    IonInput],
+})
+export class EditTagComponent  implements OnInit {
+  userInput(ev:any){
+    console.log(ev)
+  }
+  constructor() { }
+
+  ngOnInit() {}
+
+}

+ 1 - 14
scene-app/src/app/tab1/tab1.page.html

@@ -43,19 +43,6 @@
     </ion-item>
   </ion-list>
 
-  <!-- 底部区域 -->
-  <ion-footer>
-    <ion-toolbar>
-      <ion-buttons slot="start">
-        <ion-button routerLink="/about">关于我们</ion-button>
-        <ion-button routerLink="/contact">联系我们</ion-button>
-      </ion-buttons>
-      <ion-buttons slot="end">
-        <ion-icon name="logo-wechat"></ion-icon>
-        <ion-icon name="logo-weibo"></ion-icon>
-      </ion-buttons>
-      <div class="copyright">© 2024 灵思剧境. 保留所有权利.</div>
-    </ion-toolbar>
-  </ion-footer>
+  
 </ion-content>
                          

+ 1 - 1
scene-app/src/app/tab1/tab1.page.ts

@@ -50,7 +50,7 @@ export class Tab1Page {
 
   scripts = [
     {
-      coverImage: ' scene-prod/img/sc1.png',
+      coverImage: '"C:\workspace\s202226701008\scene-prod\img\sc1.jpg"',
       title: '古城秘案',
       description: '揭开古城隐藏的秘密',
     },

+ 1 - 1
scene-app/src/app/tab2/tab2.page.ts

@@ -31,7 +31,7 @@ export class Tab2Page {
     {
       icon: 'create',
       title: '剧本创作',
-      description: '运用AIGC技术,快速生成符合景区特色的剧本。',
+      description: '快速生成符合景区特色的剧本。',
       link: '/script-creation',
     },
     {

+ 0 - 0
scene-prod/img/sc1.png → scene-prod/img/sc1.jpg