上传代码
This commit is contained in:
130
uniapp04/unpackage/dist/dev/mp-alipay/pages/testAI/testAI.acss
vendored
Normal file
130
uniapp04/unpackage/dist/dev/mp-alipay/pages/testAI/testAI.acss
vendored
Normal file
@ -0,0 +1,130 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.chat.data-v-c1c9ab6a {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.chat .scroll-view.data-v-c1c9ab6a {
|
||||
flex: 1;
|
||||
background-color: #F6F6F6;
|
||||
}
|
||||
.chat .scroll-view .chat-body.data-v-c1c9ab6a {
|
||||
padding: 20rpx;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item.data-v-c1c9ab6a {
|
||||
display: flex;
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item.self.data-v-c1c9ab6a {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item.self .content.data-v-c1c9ab6a {
|
||||
background-color: #4095e5;
|
||||
color: white;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item.self .content.data-v-c1c9ab6a::after {
|
||||
border-left-color: #4095e5 !important;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .avatar.data-v-c1c9ab6a {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 8rpx;
|
||||
background: #ddd url("https://pic2.zhimg.com/v2-45e3ca228438d1e4c3e98e38c8f8e4a4_r.jpg?source=1940ef5c") center/cover;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .avatarAI.data-v-c1c9ab6a {
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 8rpx;
|
||||
background: #ddd url("https://www.weilanai.com/wp-content/uploads/2023/05/eee.png") center/cover;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .content.data-v-c1c9ab6a {
|
||||
max-width: 70%;
|
||||
padding: 20rpx;
|
||||
border-radius: 10rpx;
|
||||
position: relative;
|
||||
margin: 0 20rpx;
|
||||
word-break: break-word;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .content.data-v-c1c9ab6a::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border: 12rpx solid transparent;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .content.left.data-v-c1c9ab6a {
|
||||
background: white;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .content.left.data-v-c1c9ab6a::after {
|
||||
left: -24rpx;
|
||||
border-right-color: white;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .content.right.data-v-c1c9ab6a {
|
||||
background: #4095e5;
|
||||
color: white;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .content.right.data-v-c1c9ab6a::after {
|
||||
right: -24rpx;
|
||||
border-left-color: #4095e5;
|
||||
}
|
||||
.chat .scroll-view .chat-body .item .content .debug-info.data-v-c1c9ab6a {
|
||||
margin-top: 20rpx;
|
||||
padding: 10rpx;
|
||||
background: #f0f0f0;
|
||||
border-radius: 8rpx;
|
||||
font-size: 24rpx;
|
||||
color: #666;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.chat .chat-bottom.data-v-c1c9ab6a {
|
||||
padding: 20rpx;
|
||||
background: #EDEDED;
|
||||
border-top: 1rpx solid #ddd;
|
||||
}
|
||||
.chat .chat-bottom .send-msg.data-v-c1c9ab6a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20rpx;
|
||||
}
|
||||
.chat .chat-bottom .send-msg textarea.data-v-c1c9ab6a {
|
||||
flex: 1;
|
||||
min-height: 80rpx;
|
||||
max-height: 200rpx;
|
||||
padding: 16rpx;
|
||||
background: white;
|
||||
border-radius: 8rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.chat .chat-bottom .send-msg .send-btn.data-v-c1c9ab6a {
|
||||
width: 120rpx;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
background: #4095e5;
|
||||
color: white;
|
||||
border-radius: 8rpx;
|
||||
}
|
Reference in New Issue
Block a user