tailwind模仿chatgpt自适应手机pc端对话聊天窗口布局代码
代码语言:html
所属分类:布局界面
代码描述:tailwind模仿chatgpt自适应手机pc端对话聊天窗口布局代码
代码标签: tailwind 模仿 chatgpt 自适应 手机 pc 对话 聊天 窗口 布局 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum=1.0,minimum=1.0,user-scalable=0" /> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/tailwind.2.2.7.css"> <style> body{ color: #d1d5db; } pre{ background: rgba(0,0,0,.5); padding: 10px; margin: 10px 0; } #chatbody{ height: 400px; overflow-y: scroll; } </style> </head> <body> <div > <div class="bg-gray-900 flex flex-col h-full"> <main class="flex-grow-1 h-full"> <div class="h-full w-full"> <div class="relative w-full h-full flex flex-col "> <div class=" h-full" id="chatbody"> <div class="flex w-full bg-gray-800"> <div class="w-16 flex-shrink-0 flex justify-center py-3"> <div class="h-8 w-8 rounded-full bg-indigo-600 flex items-center justify-center"><img style="width:30px;" src='//repo.bfw.wiki/bfwrepo/icon/6408478cce30d.png' /></div> </div> <div class="p-3 prose prose-invert"> <p>你好,我是客服</p> </div> </div> <div class="flex w-full"> <div class="w-16 flex-shrink-0 flex justify-center py-3"> <div class="h-8 w-8 rounded-full bg-gray-600 flex items-center justify-center"><img style="width:30px;" src='//repo.bfw.wiki/bfwrepo/image/5e0c6fb85d0a5.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_30,h_30,/quality,q_90' /></div> </div> <div class="p-3 prose prose-invert"> <p>bfwsoa</p> </div> </div> <div class="flex w-full bg-gray-800"> <div class="w-16 flex-shrink-0 flex justify-center py-3"> <div class="h-8 w-8 rounded-full bg-indigo-600 flex items-center justify-center"><img style="width:30px;" src='//repo.bfw.wiki/bfwrepo/icon/6408478cce30d.png' /></div> </div> <div class="p-3 prose prose-invert"> <p>I'm sorry, but "bfwsoa" does not provide any context or information for me to answer any questions. Please provide more information or context for me to assist you.</p> </div> </div> <div class="flex w-full"> <div class="w-16 flex-shrink-0 flex justify-center py-3"> <div class="h-8 w-8 rounded-full bg-gray-600 flex items-center justify-center"><img style="width:30px;" src='//repo.bfw.wiki/bfwrepo/image/5e0c6fb85d0a5.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_30,h_30,/quality,q_90' /></div> </div> <div class="p-3 prose prose-invert"> <p>bfwsoa框架是啥</p> </div> </div> <div class="flex w-full bg-gray-800"> <div class="w-16 flex-shrink-0 flex justify-center py-3"> <div class="h-8 w-8 rounded-full bg-indigo-600 flex items-center justify-center"><img style="width:30px;" src='//repo.bfw.wiki/bfwrepo/icon/6408478cce30d.png' /></div> </div> <div class="p-3 prose prose-invert"> <p>bfwsoa框架是一种基于PHP语言的轻量级开发框架。它提供了一系列的工具和组件,使得开发者可以快速地构建Web应用程序和服务。bfwsoa框架采用了面向服务的架构(SOA),并支持RESTful API和SOAP协议。它还提供了一些常用的功能,如数据库访问、缓存、日志记录等。bfwsoa框架的设计理念是简单、易用、高效,适用于中小型Web应用程序的开发。</p> </div> </div> <div class="flex w-full"> <div class="w-16 flex-shrink-0 flex justify-center py-3"> <div class="h-8 w-8 rounded-full bg-gray-600 flex items-center justify-center"><img style="width:30px;" src='//repo.bfw.wiki/bfwrepo/image/5e0c6fb85d0a5.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_30,h_30,/quality,q_90' /></div> </div> <div class="p-3 prose prose-invert"> <p>bfwsoa的controller怎么写</p> </div> </div> <div class="flex w-full bg-gray-800"> <div class="w-16 flex-shrink-0 flex justify-center py-3"> <div class="h-8 w-8 rounded-full bg-indigo-600 flex items-center justify-center"><img style="width:30px;" src='//repo.bfw.wiki/bfwrepo/icon/6408478cce30d.png' /></div> </div> <div class="p-3 prose prose-.........完整代码请登录后点击上方下载按钮下载查看
网友评论0