diff options
author | 2024-04-10 15:14:17 +0800 | |
---|---|---|
committer | 2024-04-10 15:14:37 +0800 | |
commit | fdefcecfc6d983f5e7e6d3a60a13dcfadc7a7721 (patch) | |
tree | fb636710ee5a67dc396e751fbdc419e41805ac25 /usecaseui-portal/src/app/views/robot/robot.component.html | |
parent | fe3dc03b0422f7504acd650151fdcec521fdd4a6 (diff) |
Add a large model page
Issue-ID: USECASEUI-834
Change-Id: Ie589e0eb9c263ed1ec92119470ea46f4a936041b
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/robot/robot.component.html')
-rw-r--r-- | usecaseui-portal/src/app/views/robot/robot.component.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/views/robot/robot.component.html b/usecaseui-portal/src/app/views/robot/robot.component.html new file mode 100644 index 00000000..38363a8a --- /dev/null +++ b/usecaseui-portal/src/app/views/robot/robot.component.html @@ -0,0 +1,21 @@ +<body > +<div class="chat-container"> + <div *ngFor="let chat of chatHistory"> + <div class="question"> + <img src="assets/images/user.png"> + <span>{{ chat.question }}</span> + </div> + <br> + <div class="answer"><img src="assets/images/answer.png"> + <span>{{ chat.answer }}</span> + </div> + <br> + </div> +</div> +<div class="input-wrapper"> + <textarea nz-tooltip nz-input [nzAutosize]="{ minRows: 2, maxRows: 2 }" [(ngModel)]="question" class="text-input"></textarea> + <i class="icon" (click)="submitQuestion()"> + <img src="assets/images/send.png"> + </i> +</div> +</body>
\ No newline at end of file |