|
@@ -5,23 +5,35 @@
|
|
</ion-header>
|
|
</ion-header>
|
|
|
|
|
|
<ion-content class="custom-content">
|
|
<ion-content class="custom-content">
|
|
- <ion-card class="input" >
|
|
|
|
|
|
+ <ion-card class="input-card">
|
|
<ion-card-content>
|
|
<ion-card-content>
|
|
- <ion-input placeholder="时间" type="text" name="text" class="input"></ion-input>
|
|
|
|
|
|
+ <ion-input
|
|
|
|
+ class="custom-input"
|
|
|
|
+ name="text"
|
|
|
|
+ type="text"
|
|
|
|
+ [(ngModel)]="page2"
|
|
|
|
+ placeholder="时间"
|
|
|
|
+ (focus)="clearPlaceholder()"
|
|
|
|
+ ></ion-input>
|
|
</ion-card-content>
|
|
</ion-card-content>
|
|
</ion-card>
|
|
</ion-card>
|
|
|
|
|
|
<!-- “请输入您的需求”盒子 -->
|
|
<!-- “请输入您的需求”盒子 -->
|
|
- <ion-card>
|
|
|
|
|
|
+ <ion-card class="input-card">
|
|
<ion-card-content>
|
|
<ion-card-content>
|
|
- <ion-input [(ngModel)]="userPrompt" placeholder="请输入您的需求" type="text" name="text" class="input"></ion-input>
|
|
|
|
|
|
+ <ion-textarea
|
|
|
|
+ [(ngModel)]="userPrompt"
|
|
|
|
+ placeholder="请输入文本提示词"
|
|
|
|
+ autoGrow="true"
|
|
|
|
+ class="custom-textarea"
|
|
|
|
+ ></ion-textarea>
|
|
</ion-card-content>
|
|
</ion-card-content>
|
|
</ion-card>
|
|
</ion-card>
|
|
|
|
|
|
- <ion-button (click)="sendMessage()" expand="block" class="custom-button">
|
|
|
|
|
|
+ <!-- 按钮:执行消息生成函数 -->
|
|
|
|
+ <ion-button (click)="sendMessage()" expand="block" class="custom-button">
|
|
旅游路线
|
|
旅游路线
|
|
- </ion-button>
|
|
|
|
-
|
|
|
|
|
|
+ </ion-button>
|
|
|
|
|
|
<!-- 展示:返回消息内容 -->
|
|
<!-- 展示:返回消息内容 -->
|
|
<div *ngIf="!isComplete" class="response-message">{{responseMsg}}</div>
|
|
<div *ngIf="!isComplete" class="response-message">{{responseMsg}}</div>
|