This commit is contained in:
liuyalei 2023-12-07 10:38:55 +08:00
parent c17233e9e5
commit 69ed696fbe
3 changed files with 58 additions and 34 deletions

View File

@ -66,7 +66,7 @@ let clickNum = (num,path) => {
left: 0px; left: 0px;
width: 100vw; width: 100vw;
border: 1px solid red; border: 1px solid red;
padding: 9px 0px;
.bt_itm { .bt_itm {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -7,9 +7,11 @@
font-weight: normal; */ font-weight: normal; */
/* background-color: ; */ /* background-color: ; */
/* background-color: #F5F5FB; */
}
body{
background-color: #F5F5FB; background-color: #F5F5FB;
} }
a, a,
.green { .green {
text-decoration: none; text-decoration: none;

View File

@ -1,12 +1,19 @@
<template> <template>
<div class="c_body"> <div class="c_body">
<div class="message-container"> <div class="message-container">
<div class="Left_mesg"> <h4>你好呀</h4> <h4>我是你的智能生活助手~</h4> 您可以点击下方快捷方式选择问题或直接编辑问题发送给我哟 <div class="Left">
<div class="Left_mesg">
<h4>你好呀</h4>
<h4>我是你的智能生活助手~</h4> 您可以点击下方快捷方式选择问题或直接编辑问题发送给我哟
</div> </div>
</div>
<div class="Right">
<div class="Right_mesg"> <div class="Right_mesg">
骨折去哪家医院 骨折去哪家医院
</div> </div>
<div class="Left_mesg"> 基于您目前的地理位置时间医院号源等多种因素为您推荐如下结果您还可根据自身偏好重新选择继续为您推荐如偏好因素不在其列可继续提出您的需求</div> </div>
<!--
<div class="Left_mesg"> 基于您目前的地理位置时间医院号源等多种因素为您推荐如下结果您还可根据自身偏好重新选择继续为您推荐如偏好因素不在其列可继续提出您的需求</div> -->
<div class="card"> <div class="card">
<div class="main_card"> <div class="main_card">
@ -64,7 +71,12 @@ line-height: 14px;margin-left: 8px;">有问题尽管问我~</div> -->
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
.Left_mesg { .Left {
display: flex;
justify-content: flex-start;
padding-left: 16px;
padding-right: 59px;
.Left_mesg {
min-height: 44px; min-height: 44px;
background: #fff; background: #fff;
border-radius: 0px 28px 28px 28px; border-radius: 0px 28px 28px 28px;
@ -75,11 +87,17 @@ line-height: 14px;margin-left: 8px;">有问题尽管问我~</div> -->
color: #333333; color: #333333;
box-sizing: border-box; box-sizing: border-box;
margin-bottom: 16px; margin-bottom: 16px;
display: inline-block; // display: inline-block;
// float: left; // float: left;
}
} }
.Right_mesg { .Right {
display: flex;
justify-content: flex-end;
padding-right: 16px;
padding-left: 59px;
.Right_mesg {
min-height: 44px; min-height: 44px;
background: #4F82FF; background: #4F82FF;
border-radius: 28px 0px 28px 28px; border-radius: 28px 0px 28px 28px;
@ -90,9 +108,11 @@ line-height: 14px;margin-left: 8px;">有问题尽管问我~</div> -->
color: #FFFFFF; color: #FFFFFF;
box-sizing: border-box; box-sizing: border-box;
margin-bottom: 16px; margin-bottom: 16px;
display: inline-block; // display: inline-block;
}
} }
.recomand { .recomand {
display: flex; display: flex;
@ -119,6 +139,7 @@ line-height: 14px;margin-left: 8px;">有问题尽管问我~</div> -->
.card { .card {
width: 343px; width: 343px;
height: 216px; height: 216px;
margin: 0 auto;
.main_card { .main_card {
border-radius: 16px; border-radius: 16px;
@ -250,7 +271,7 @@ line-height: 14px;margin-left: 8px;">有问题尽管问我~</div> -->
// min-height: 100vh; // min-height: 100vh;
.message-container { .message-container {
height: 83vh; height: calc(100vh - 160px);
overflow: auto; overflow: auto;
border: 1px red solid; border: 1px red solid;
background-color: rgb(245, 245, 251); background-color: rgb(245, 245, 251);
@ -263,7 +284,8 @@ line-height: 14px;margin-left: 8px;">有问题尽管问我~</div> -->
background-color: #fff; background-color: #fff;
border: 1px solid red; border: 1px solid red;
position: absolute; position: absolute;
bottom: 180px; // bottom: 180px;
top: calc(100vh - 122px);
left: 0px; left: 0px;
// display: flex; // display: flex;