Auto Commit

上级 39fed091
......@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chat GPT App</title>
<title>松山湖开发者村综合服务平台</title>
</head>
<body>
<div id="app"></div>
......
<template>
<div class="container ivu-p">
<div class="dialog">
<div class="title">智能问答机器人</div>
<template v-for="(item, index) in dialogs" :key="index">
<div class="dialog-item" :class="{ 'dialog-item-me': item.role === 'me', 'dialog-item-ai': item.role === 'ai' }">
<div class="dialog-item-main">{{ item.text }}</div>
......@@ -8,7 +9,7 @@
</template>
</div>
<div class="question ivu-mt">
<Input v-model="question" type="textarea" :autosize="{ minRows: 4, maxRows: 6 }" placeholder="输入你的问题" />
<Input v-model="question" type="textarea" :autosize="{ minRows: 4, maxRows: 6 }" placeholder="输入您的问题..." />
<Row class="ivu-mt">
<Col>
<Button type="primary" size="large" icon="md-send" :loading="loading" @click="handleSend">发送</Button>
......@@ -110,6 +111,15 @@ export default {
}
</script>
<style>
.title {
height: 30px;
width: 100%;
font-size: 18px;
color:black;
background: beige;
position:fixed;
top:10px;
}
.container {
height: 100%;
display: flex;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册