tool4.page.html 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <ion-header>
  2. <ion-toolbar>
  3. <ion-buttons slot="start">
  4. <ion-back-button defaultHref="/"></ion-back-button>
  5. </ion-buttons>
  6. <ion-title>小说名称生成器</ion-title>
  7. </ion-toolbar>
  8. </ion-header>
  9. <ion-content [fullscreen]="true" class="ion-padding"
  10. style="background-image: url('../../assets/images/background-image6.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat;">
  11. <!-- <h1>标题</h1>
  12. <ion-input [value]="titlel" placeholder="输入标题" (ionInput)="titleInput($event)"></ion-input> -->
  13. <h1>要求</h1>
  14. <ion-input [value]="style" placeholder="输入要求" (ionInput)="styleInput($event)"></ion-input>
  15. <!-- 按钮:执行消息生成函数 -->
  16. <ion-button (click)="sendMessage()" expand="block">生成小说名称</ion-button>
  17. <!-- <ion-textarea [(ngModel)]="generatedOutline" placeholder="生成的小说大纲" autoGrow="true"
  18. class="generated-outline"></ion-textarea> -->
  19. @if(isComplete){
  20. <fm-markdown-preview [content]="responseMsg"></fm-markdown-preview>
  21. }
  22. <!-- 保存按钮 -->
  23. <ion-button (click)="saveNovel()" expand="block" color="success">保存小说名称</ion-button>
  24. </ion-content>