-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Case): new case button, transparent Question component
- Loading branch information
Showing
11 changed files
with
135 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<script setup lang="ts"> | ||
import { useSessionStore } from "../store/session.ts"; | ||
import { onMounted } from "vue"; | ||
const props = defineProps<{ | ||
name: string; | ||
}>(); | ||
const sessionStore = useSessionStore(); | ||
function handleClick() { | ||
sessionStore.session.question = "Calculation of Flood Affected Area"; | ||
sessionStore.chatted(); | ||
} | ||
onMounted(() => { | ||
// handleClick(); | ||
}); | ||
</script> | ||
|
||
<template> | ||
<el-button @click="handleClick" | ||
><div> | ||
{{ props.name }} | ||
</div></el-button | ||
> | ||
</template> | ||
|
||
<style scoped lang="less"></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
.el-container { | ||
.el-header { | ||
border-bottom: 1px solid #e4e7ed; | ||
background-color: #fff; | ||
//box-shadow: 2px 2px #e4e7ed; | ||
background-color:#FFF; | ||
border-bottom: 1px solid rgba(6,7,9,0.1); | ||
//box-shadow: 0 6px 8px 0 rgba(29,28,35,.06),0 0 2px 0 rgba(29,28,35,.18); | ||
z-index: 2; | ||
} | ||
.el-aside { | ||
position: relative; | ||
height: calc(100vh - 60px); | ||
background-color: #f7f9fb; | ||
border-right: 1px solid #e4e7ed; | ||
//border-right: 2px solid #e4e7ed; | ||
//border-right: 1px solid rgba(6,7,9,0.1); | ||
box-shadow: 6px 0 8px 0 rgba(29,28,35,.06),0 0 2px 0 rgba(29,28,35,.18); | ||
z-index: 1; | ||
} | ||
.el-main { | ||
position: relative; | ||
height: calc(100vh - 60px); | ||
background-color: #f3f4f6; | ||
//background-color: #f7f9fb; | ||
background-color:#F4F4F6; | ||
padding: 0; | ||
} | ||
} | ||
.case-button { | ||
position: absolute; | ||
bottom: 20px; | ||
left: 20px; | ||
} | ||
.question-button{ | ||
position: absolute; | ||
bottom: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters