diff --git a/src/components/AppContentBox/index.vue b/src/components/AppContentBox/index.vue index b48ddf0..a1e856d 100644 --- a/src/components/AppContentBox/index.vue +++ b/src/components/AppContentBox/index.vue @@ -14,5 +14,6 @@ padding: 30px; border-radius: 30px 0 0 30px; background-color: #ffffff; + position: relative; } diff --git a/src/components/AppConversationDefault/index.d.ts b/src/components/AppConversationDefault/index.d.ts new file mode 100644 index 0000000..7bacb74 --- /dev/null +++ b/src/components/AppConversationDefault/index.d.ts @@ -0,0 +1,3 @@ +export interface Props { + height?: string +} diff --git a/src/components/AppConversationDefault/index.vue b/src/components/AppConversationDefault/index.vue index a45464c..b445f03 100644 --- a/src/components/AppConversationDefault/index.vue +++ b/src/components/AppConversationDefault/index.vue @@ -1,6 +1,7 @@ diff --git a/src/design/public.scss b/src/design/public.scss index 3ebdf11..805c4f7 100644 --- a/src/design/public.scss +++ b/src/design/public.scss @@ -17,14 +17,14 @@ // } ::-webkit-scrollbar-track { - background-color: rgba($color: #000000, $alpha: 0.5); + background-color: rgba($color: #000000, $alpha: 0.1); } ::-webkit-scrollbar-thumb { - background: rgba($color: #000000, $alpha: 0.6); - background-color: rgba($color: #9093994d, $alpha: 0.3); + background-color: rgba($color: #bdc1c94d, $alpha: 0.2); border-radius: 2px; box-shadow: inset 0 0 6px rgba($color: #000000, $alpha: 0.2); + cursor: pointer; } ::-webkit-scrollbar-thumb:hover { diff --git a/src/views/conversation/index.vue b/src/views/conversation/index.vue index fd1fc0e..d624b84 100644 --- a/src/views/conversation/index.vue +++ b/src/views/conversation/index.vue @@ -6,6 +6,7 @@ import { AppSubMenuTitle } from '@/components/AppSubMenuTitle' import { AppSubMenuList } from '@/components/AppSubMenuList' import { AppConversationDefault } from '@/components/AppConversationDefault' import type { SubMenuItem } from '@/components/AppSubMenuList/index.d' +import { AppTextarea } from '@/components/AppTextarea' const subMenuActive = ref(0) const subMenuList = ref([ @@ -24,6 +25,10 @@ const subMenuList = ref([ function handleSubMenuChange(index: number) { subMenuActive.value = index } + +function pressEnter(value: string) { + console.log('pressEnter', value) +}