|
@@ -1,81 +1,83 @@
|
|
|
<template>
|
|
|
<div class="assistant-2">
|
|
|
- <div class="assistant-head">
|
|
|
- <img src="./imgs/logo-1.png"/>
|
|
|
- <div class="title">
|
|
|
- <div>深圳口岸服务网</div>
|
|
|
- <div>{{'Shenzhen Port Service Platform'.toUpperCase()}}</div>
|
|
|
- </div>
|
|
|
- <div class="sub-title">"i口岸"通关小助理</div>
|
|
|
- <div class="tips">
|
|
|
- <div class="__hover" @click="state.showHelp = true">使用帮助</div>
|
|
|
- <div class="split"/>
|
|
|
- <div class="__hover" @click="state.showAgreement = true">用户协议</div>
|
|
|
- <div class="split"/>
|
|
|
- <div class="__hover" @click="state.showDisclaimers = true">免责声明</div>
|
|
|
+ <div class="assistant-block">
|
|
|
+ <div class="assistant-head">
|
|
|
+ <img src="./imgs/logo-1.png"/>
|
|
|
+ <div class="title">
|
|
|
+ <div>深圳口岸服务网</div>
|
|
|
+ <div>{{'Shenzhen Port Service Platform'.toUpperCase()}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="sub-title">"i口岸"通关小助理</div>
|
|
|
+ <div class="tips">
|
|
|
+ <div class="__hover" @click="state.showHelp = true">使用帮助</div>
|
|
|
+ <div class="split"/>
|
|
|
+ <div class="__hover" @click="state.showAgreement = true">用户协议</div>
|
|
|
+ <div class="split"/>
|
|
|
+ <div class="__hover" @click="state.showDisclaimers = true">免责声明</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="assistant-main">
|
|
|
- <div class="assistant-main-list">
|
|
|
- <div class="assistant-main-list-hot">
|
|
|
- <div class="list-head">
|
|
|
- <img src="./imgs/hot-icon.png"/>
|
|
|
- 热门主题
|
|
|
- </div>
|
|
|
- <div class="hot-theme">
|
|
|
- <div class="left __hover" @click="onThemeScroll(-100)"/>
|
|
|
- <div class="themes" ref="ref_theme">
|
|
|
- <template v-for="item in state.hotList.theme">
|
|
|
- <div class="item __hover" :class="{active: state.hotList.themeId == item.id}" @click="initQuestion(item.id)">{{item.themeName}}</div>
|
|
|
- </template>
|
|
|
+ <div class="assistant-main">
|
|
|
+ <div class="assistant-main-list">
|
|
|
+ <div class="assistant-main-list-hot">
|
|
|
+ <div class="list-head">
|
|
|
+ <img src="./imgs/hot-icon.png"/>
|
|
|
+ 热门主题
|
|
|
</div>
|
|
|
- <div class="right __hover" @click="onThemeScroll(100)"/>
|
|
|
- </div>
|
|
|
- <div class="question-title">
|
|
|
- 热点问题
|
|
|
- </div>
|
|
|
- <div class="hot-question">
|
|
|
- <template v-if="state.hotList.question.length > 0">
|
|
|
- <template v-for="item in state.hotList.question">
|
|
|
- <div class="item">
|
|
|
- <div/>
|
|
|
- <div class="__hover" @click="ref_chat.setText(item.hotContent, true)">
|
|
|
- <CzrEllipsis :value="item.hotContent"/>
|
|
|
+ <div class="hot-theme">
|
|
|
+ <div class="left __hover" @click="onThemeScroll(-100)"/>
|
|
|
+ <div class="themes" ref="ref_theme">
|
|
|
+ <template v-for="item in state.hotList.theme">
|
|
|
+ <div class="item __hover" :class="{active: state.hotList.themeId == item.id}" @click="initQuestion(item.id)">{{item.themeName}}</div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ <div class="right __hover" @click="onThemeScroll(100)"/>
|
|
|
+ </div>
|
|
|
+ <div class="question-title">
|
|
|
+ 热点问题
|
|
|
+ </div>
|
|
|
+ <div class="hot-question">
|
|
|
+ <template v-if="state.hotList.question.length > 0">
|
|
|
+ <template v-for="item in state.hotList.question">
|
|
|
+ <div class="item">
|
|
|
+ <div/>
|
|
|
+ <div class="__hover" @click="ref_chat.setText(item.hotContent, true)">
|
|
|
+ <CzrEllipsis :value="item.hotContent"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
- </template>
|
|
|
- <div class="none_1" v-else>
|
|
|
- <img src="@/views/smart-ask-answer/assistant-2/imgs/none.png"/>
|
|
|
+ <div class="none_1" v-else>
|
|
|
+ <img src="@/views/smart-ask-answer/assistant-2/imgs/none.png"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="assistant-main-list-ask">
|
|
|
- <div class="list-head">
|
|
|
- <img src="./imgs/ask-icon.png"/>
|
|
|
- 提问记录
|
|
|
- <div class="__hover" @click="onClearAsk">清空记录</div>
|
|
|
- </div>
|
|
|
- <div class="list-content">
|
|
|
- <template v-if="state.askList.length > 0">
|
|
|
- <template v-for="(item, index) in state.askList">
|
|
|
- <div class="item __hover">
|
|
|
- <img src="./imgs/ask-icon-2.png"/>
|
|
|
- <div class="__hover" @click="ref_chat.setText(item)">
|
|
|
- <CzrEllipsis :value="item"/>
|
|
|
+ <div class="assistant-main-list-ask">
|
|
|
+ <div class="list-head">
|
|
|
+ <img src="./imgs/ask-icon.png"/>
|
|
|
+ 提问记录
|
|
|
+ <div class="__hover" @click="onClearAsk">清空记录</div>
|
|
|
+ </div>
|
|
|
+ <div class="list-content">
|
|
|
+ <template v-if="state.askList.length > 0">
|
|
|
+ <template v-for="(item, index) in state.askList">
|
|
|
+ <div class="item __hover">
|
|
|
+ <img src="./imgs/ask-icon-2.png"/>
|
|
|
+ <div class="__hover" @click="ref_chat.setText(item)">
|
|
|
+ <CzrEllipsis :value="item"/>
|
|
|
+ </div>
|
|
|
+ <img src="./imgs/ask-del.png" class="__hover" @click="onDelAsk(index)"/>
|
|
|
</div>
|
|
|
- <img src="./imgs/ask-del.png" class="__hover" @click="onDelAsk(index)"/>
|
|
|
- </div>
|
|
|
+ </template>
|
|
|
</template>
|
|
|
- </template>
|
|
|
- <div class="none_1" v-else>
|
|
|
- <img src="@/views/smart-ask-answer/assistant-2/imgs/none.png"/>
|
|
|
+ <div class="none_1" v-else>
|
|
|
+ <img src="@/views/smart-ask-answer/assistant-2/imgs/none.png"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="assistant-main-content">
|
|
|
- <chatCom ref="ref_chat" @getText="getText"/>
|
|
|
+ <div class="assistant-main-content">
|
|
|
+ <chatCom ref="ref_chat" @getText="getText"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<CzrDialog
|
|
@@ -253,7 +255,7 @@ onMounted(() => {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-::-webkit-scrollbar-thumb { background-color: transparent; }
|
|
|
+//::-webkit-scrollbar-thumb { background-color: transparent; }
|
|
|
.none_1 {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
@@ -268,292 +270,299 @@ onMounted(() => {
|
|
|
background-repeat: no-repeat;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- .assistant-head {
|
|
|
+ overflow: auto;
|
|
|
+ .assistant-block {
|
|
|
display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
align-items: center;
|
|
|
- .title {
|
|
|
- border-right: 2px solid rgba(0, 0, 0, 0.2);
|
|
|
- line-height: 1;
|
|
|
- padding-right: 1.5rem;
|
|
|
- margin-right: 1.5rem;
|
|
|
- >div:nth-child(1) {
|
|
|
- font-weight: bold;
|
|
|
- font-size: 2.25rem;
|
|
|
- color: #111111;
|
|
|
- }
|
|
|
- >div:nth-child(2) {
|
|
|
- margin-top: 4px;
|
|
|
- font-family: Roboto;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 0.81rem;
|
|
|
- color: #111111;
|
|
|
- }
|
|
|
- }
|
|
|
- .sub-title {
|
|
|
- font-weight: 500;
|
|
|
- font-size: 2.38rem;
|
|
|
- color: #000000;
|
|
|
- }
|
|
|
- .tips {
|
|
|
- width: 19.69rem;
|
|
|
- height: 2.25rem;
|
|
|
- margin-left: 12.19rem;
|
|
|
- background: #FEF0F0;
|
|
|
- border-radius: 1.13rem;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 1rem;
|
|
|
- color: #D32521;
|
|
|
+ width: 80rem;
|
|
|
+ height: 55.25rem;
|
|
|
+ overflow: hidden;
|
|
|
+ margin: auto;
|
|
|
+ .assistant-head {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: center;
|
|
|
- gap: 1.25rem;
|
|
|
- .split {
|
|
|
- width: 0.06rem;
|
|
|
- height: 0.88rem;
|
|
|
- background-color: #D32521;
|
|
|
+ .title {
|
|
|
+ border-right: 2px solid rgba(0, 0, 0, 0.2);
|
|
|
+ line-height: 1;
|
|
|
+ padding-right: 1.5rem;
|
|
|
+ margin-right: 1.5rem;
|
|
|
+ >div:nth-child(1) {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 2.25rem;
|
|
|
+ color: #111111;
|
|
|
+ }
|
|
|
+ >div:nth-child(2) {
|
|
|
+ margin-top: 4px;
|
|
|
+ font-family: Roboto;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 0.81rem;
|
|
|
+ color: #111111;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .sub-title {
|
|
|
+ font-weight: 500;
|
|
|
+ font-size: 2.38rem;
|
|
|
+ color: #000000;
|
|
|
+ }
|
|
|
+ .tips {
|
|
|
+ width: 19.69rem;
|
|
|
+ height: 2.25rem;
|
|
|
+ margin-left: 12.19rem;
|
|
|
+ background: #FEF0F0;
|
|
|
+ border-radius: 1.13rem;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 1rem;
|
|
|
+ color: #D32521;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ gap: 1.25rem;
|
|
|
+ .split {
|
|
|
+ width: 0.06rem;
|
|
|
+ height: 0.88rem;
|
|
|
+ background-color: #D32521;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- .assistant-main {
|
|
|
- display: flex;
|
|
|
- gap: 1.5rem;
|
|
|
- height: 47.75rem;
|
|
|
- .assistant-main-list {
|
|
|
- width: 24.25rem;
|
|
|
+ .assistant-main {
|
|
|
display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 24px;
|
|
|
- .assistant-main-list-hot {
|
|
|
- height: 26.38rem;
|
|
|
- width: 100%;
|
|
|
- position: relative;
|
|
|
+ gap: 1.5rem;
|
|
|
+ height: 47.75rem;
|
|
|
+ .assistant-main-list {
|
|
|
+ width: 24.25rem;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 0.5rem;
|
|
|
- padding: 0 1.5rem;
|
|
|
- &:before {
|
|
|
- content: '';
|
|
|
- background-image: url("./imgs/hot-bg.png");
|
|
|
- background-size: 100% 100%;
|
|
|
- width: 100%;
|
|
|
- height: 6.44rem;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- z-index: 0;
|
|
|
- }
|
|
|
- .list-head {
|
|
|
- margin-top: 1.44rem;
|
|
|
- z-index: 2;
|
|
|
+ gap: 24px;
|
|
|
+ .assistant-main-list-hot {
|
|
|
+ height: 26.38rem;
|
|
|
width: 100%;
|
|
|
+ position: relative;
|
|
|
display: flex;
|
|
|
- align-items: center;
|
|
|
- font-family: Microsoft YaHei;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 1.25rem;
|
|
|
- color: #333333;
|
|
|
- >img {
|
|
|
- margin-right: 0.5rem;
|
|
|
+ flex-direction: column;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 0.5rem;
|
|
|
+ padding: 0 1.5rem;
|
|
|
+ &:before {
|
|
|
+ content: '';
|
|
|
+ background-image: url("./imgs/hot-bg.png");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ width: 100%;
|
|
|
+ height: 6.44rem;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 0;
|
|
|
}
|
|
|
- }
|
|
|
- .hot-theme {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
- gap: 0.5rem;
|
|
|
- margin-top: 1.94rem;
|
|
|
- z-index: 2;
|
|
|
- padding-bottom: 0.6rem;
|
|
|
- border-bottom: 1px solid #E6E9ED;
|
|
|
- .left, .right {
|
|
|
- width: 2rem;
|
|
|
- height: 2rem;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 0.4rem 0 0 0.4rem;
|
|
|
- border: 1px solid #E6E9ED;
|
|
|
+ .list-head {
|
|
|
+ margin-top: 1.44rem;
|
|
|
+ z-index: 2;
|
|
|
+ width: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: center;
|
|
|
- &:after {
|
|
|
- content: '';
|
|
|
- background-image: url("./imgs/left-arrow.png");
|
|
|
- width: 0.44rem;
|
|
|
- height: 0.63rem;
|
|
|
- background-size: 100% 100%;
|
|
|
- background-repeat: no-repeat;
|
|
|
- }
|
|
|
- &:hover {
|
|
|
- background-color: #F4F6F9;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 1.25rem;
|
|
|
+ color: #333333;
|
|
|
+ >img {
|
|
|
+ margin-right: 0.5rem;
|
|
|
}
|
|
|
}
|
|
|
- .right {
|
|
|
- transform: rotate(180deg);
|
|
|
+ .hot-theme {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ gap: 0.5rem;
|
|
|
+ margin-top: 1.94rem;
|
|
|
+ z-index: 2;
|
|
|
+ padding-bottom: 0.6rem;
|
|
|
+ border-bottom: 1px solid #E6E9ED;
|
|
|
+ .left, .right {
|
|
|
+ width: 2rem;
|
|
|
+ height: 2rem;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 0.4rem 0 0 0.4rem;
|
|
|
+ border: 1px solid #E6E9ED;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ &:after {
|
|
|
+ content: '';
|
|
|
+ background-image: url("./imgs/left-arrow.png");
|
|
|
+ width: 0.44rem;
|
|
|
+ height: 0.63rem;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ }
|
|
|
+ &:hover {
|
|
|
+ background-color: #F4F6F9;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right {
|
|
|
+ transform: rotate(180deg);
|
|
|
+ }
|
|
|
+ .themes {
|
|
|
+ display: flex;
|
|
|
+ flex: 1;
|
|
|
+ overflow-x: auto;
|
|
|
+ &::-webkit-scrollbar {
|
|
|
+ height: 0;
|
|
|
+ }
|
|
|
+ .item {
|
|
|
+ flex: 0 0 auto;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 1rem;
|
|
|
+ color: #666666;
|
|
|
+ padding: 0.63rem 0.5rem;
|
|
|
+ border-radius: 0.25rem;
|
|
|
+ &.active {
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-size: 1.13rem;
|
|
|
+ color: #D32521;
|
|
|
+ background-color: rgba(211, 37, 33, 0.1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
- .themes {
|
|
|
+ .question-title {
|
|
|
+ margin-top: 1.06rem;
|
|
|
+ width: fit-content;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 1.13rem;
|
|
|
+ color: #D32521;
|
|
|
+ padding: 0.25rem 0.5rem 0.25rem 0.75rem;
|
|
|
+ background-color: rgba(211, 37, 33, 0.1);
|
|
|
display: flex;
|
|
|
- flex: 1;
|
|
|
- overflow-x: auto;
|
|
|
- &::-webkit-scrollbar {
|
|
|
- height: 0;
|
|
|
+ position: relative;
|
|
|
+ &:before {
|
|
|
+ content: '';
|
|
|
+ width: 0.31rem;
|
|
|
+ height: 100%;
|
|
|
+ background: #D32521;
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
}
|
|
|
+ }
|
|
|
+ .hot-question {
|
|
|
+ flex: 1;
|
|
|
+ margin: 1rem 0;
|
|
|
+ overflow-y: auto;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 0.5rem;
|
|
|
.item {
|
|
|
- flex: 0 0 auto;
|
|
|
- font-family: Microsoft YaHei;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 1rem;
|
|
|
- color: #666666;
|
|
|
- padding: 0.63rem 0.5rem;
|
|
|
- border-radius: 0.25rem;
|
|
|
- &.active {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ >:nth-child(1) {
|
|
|
+ width: 0.31rem;
|
|
|
+ height: 0.31rem;
|
|
|
+ background: #D32521;
|
|
|
+ margin-right: 0.5rem;
|
|
|
+ }
|
|
|
+ >:nth-child(2) {
|
|
|
+ flex: 1;
|
|
|
font-family: Microsoft YaHei;
|
|
|
- font-size: 1.13rem;
|
|
|
- color: #D32521;
|
|
|
- background-color: rgba(211, 37, 33, 0.1);
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 1rem;
|
|
|
+ color: #111111;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .question-title {
|
|
|
- margin-top: 1.06rem;
|
|
|
- width: fit-content;
|
|
|
- font-family: Microsoft YaHei;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 1.13rem;
|
|
|
- color: #D32521;
|
|
|
- padding: 0.25rem 0.5rem 0.25rem 0.75rem;
|
|
|
- background-color: rgba(211, 37, 33, 0.1);
|
|
|
- display: flex;
|
|
|
+ .assistant-main-list-ask {
|
|
|
+ margin-top: auto;
|
|
|
+ height: 19.81rem;
|
|
|
+ width: 100%;
|
|
|
position: relative;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ background: #FFFFFF;
|
|
|
+ border-radius: 0.5rem;
|
|
|
+ padding: 0 1.5rem;
|
|
|
&:before {
|
|
|
content: '';
|
|
|
- width: 0.31rem;
|
|
|
- height: 100%;
|
|
|
- background: #D32521;
|
|
|
+ background-image: url("./imgs/ask-bg.png");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ width: 100%;
|
|
|
+ height: 6.13rem;
|
|
|
position: absolute;
|
|
|
- left: 0;
|
|
|
top: 0;
|
|
|
+ left: 0;
|
|
|
+ z-index: 0;
|
|
|
}
|
|
|
- }
|
|
|
- .hot-question {
|
|
|
- flex: 1;
|
|
|
- margin: 1rem 0;
|
|
|
- overflow-y: auto;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- gap: 0.5rem;
|
|
|
- .item {
|
|
|
+ .list-head {
|
|
|
+ margin-top: 1.44rem;
|
|
|
+ z-index: 2;
|
|
|
+ width: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- >:nth-child(1) {
|
|
|
- width: 0.31rem;
|
|
|
- height: 0.31rem;
|
|
|
- background: #D32521;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 1.25rem;
|
|
|
+ color: #333333;
|
|
|
+ >img {
|
|
|
margin-right: 0.5rem;
|
|
|
}
|
|
|
- >:nth-child(2) {
|
|
|
- flex: 1;
|
|
|
+ >div {
|
|
|
+ margin-left: auto;
|
|
|
+ width: 4.63rem;
|
|
|
+ height: 1.63rem;
|
|
|
+ background: rgba(255,255,255,0.29);
|
|
|
+ border-radius: 0.25rem;
|
|
|
+ border: 1px solid #E6E9ED;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
font-family: Microsoft YaHei;
|
|
|
font-weight: 400;
|
|
|
- font-size: 1rem;
|
|
|
+ font-size: 0.88rem;
|
|
|
color: #111111;
|
|
|
- overflow: hidden;
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
- .assistant-main-list-ask {
|
|
|
- margin-top: auto;
|
|
|
- height: 19.81rem;
|
|
|
- width: 100%;
|
|
|
- position: relative;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- background: #FFFFFF;
|
|
|
- border-radius: 0.5rem;
|
|
|
- padding: 0 1.5rem;
|
|
|
- &:before {
|
|
|
- content: '';
|
|
|
- background-image: url("./imgs/ask-bg.png");
|
|
|
- background-size: 100% 100%;
|
|
|
- width: 100%;
|
|
|
- height: 6.13rem;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- z-index: 0;
|
|
|
- }
|
|
|
- .list-head {
|
|
|
- margin-top: 1.44rem;
|
|
|
- z-index: 2;
|
|
|
- width: 100%;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- font-family: Microsoft YaHei;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 1.25rem;
|
|
|
- color: #333333;
|
|
|
- >img {
|
|
|
- margin-right: 0.5rem;
|
|
|
- }
|
|
|
- >div {
|
|
|
- margin-left: auto;
|
|
|
- width: 4.63rem;
|
|
|
- height: 1.63rem;
|
|
|
- background: rgba(255,255,255,0.29);
|
|
|
- border-radius: 0.25rem;
|
|
|
- border: 1px solid #E6E9ED;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- font-family: Microsoft YaHei;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 0.88rem;
|
|
|
- color: #111111;
|
|
|
- }
|
|
|
- }
|
|
|
- .list-content {
|
|
|
- margin-top: 1.5rem;
|
|
|
- width: 100%;
|
|
|
- flex: 1;
|
|
|
- margin-bottom: 1rem;
|
|
|
- overflow-y: auto;
|
|
|
- .item {
|
|
|
+ .list-content {
|
|
|
+ margin-top: 1.5rem;
|
|
|
width: 100%;
|
|
|
- height: 2.19rem;
|
|
|
- border-radius: 0.25rem;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- font-family: Microsoft YaHei;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 1rem;
|
|
|
- color: #111111;
|
|
|
- >:nth-child(1) {
|
|
|
- margin-left: 0.5rem;
|
|
|
- margin-right: 0.94rem;
|
|
|
- }
|
|
|
- >:nth-child(2) {
|
|
|
- flex: 1;
|
|
|
- overflow: hidden;
|
|
|
- }
|
|
|
- >:nth-child(3) {
|
|
|
- margin-left: auto;
|
|
|
- margin-right: 1rem;
|
|
|
- }
|
|
|
- &:hover {
|
|
|
- background: #F1F4F8;
|
|
|
+ flex: 1;
|
|
|
+ margin-bottom: 1rem;
|
|
|
+ overflow-y: auto;
|
|
|
+ .item {
|
|
|
+ width: 100%;
|
|
|
+ height: 2.19rem;
|
|
|
+ border-radius: 0.25rem;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-family: Microsoft YaHei;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 1rem;
|
|
|
+ color: #111111;
|
|
|
+ >:nth-child(1) {
|
|
|
+ margin-left: 0.5rem;
|
|
|
+ margin-right: 0.94rem;
|
|
|
+ }
|
|
|
+ >:nth-child(2) {
|
|
|
+ flex: 1;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ >:nth-child(3) {
|
|
|
+ margin-left: auto;
|
|
|
+ margin-right: 1rem;
|
|
|
+ }
|
|
|
+ &:hover {
|
|
|
+ background: #F1F4F8;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- .assistant-main-content {
|
|
|
- width: 49.25rem;
|
|
|
- flex: 1;
|
|
|
+ .assistant-main-content {
|
|
|
+ width: 49.25rem;
|
|
|
+ flex: 1;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|