更改定位弹窗标题.更新UI

This commit is contained in:
aixianling
2024-08-22 16:42:08 +08:00
parent 5b2ccae4ae
commit e6c143881d
3 changed files with 12 additions and 6 deletions

View File

@@ -202,8 +202,8 @@ export default {
</div>
</div>
</ai-drag>
<ai-locate-dialog v-model="locate" :ins="http" @confirm="v=>handleLocate(v)" :modal="false"/>
<img class="icon" src="https://cdn.sinoecare.com/i/2024/06/04/665ec6f5ef213.png" @click="show=!show"/>
<ai-locate-dialog dialogTitle="选择当前位置" v-model="locate" :ins="http" @confirm="v=>handleLocate(v)" :modal="false" :latlng="{lat:30.5395460128784,lng:114.271802902222}"/>
<img class="icon" src="https://cdn.sinoecare.com/i/2024/08/22/66c6dfdc3766a.png" @click="show=!show"/>
</section>
</template>
@@ -221,9 +221,11 @@ export default {
:deep(.vdr) {
border-radius: 0 0 8px 8px;
height: 600px;
background: #FFFFFF;
background-color: #FFFFFF;
box-shadow: 0 0 20px 1px #0a255c1a;
border: none;
background-image: url("https://cdn.sinoecare.com/i/2024/08/22/66c6f2d71b185.png");
background-size: 100% 100%;
.handle {
opacity: 0;
@@ -299,7 +301,7 @@ export default {
.profile {
padding: 18px 14px;
height: 88px;
background: url("https://cdn.sinoecare.com/i/2024/06/04/665ed2bc580fa.png") no-repeat;
background: url("https://cdn.sinoecare.com/i/2024/08/22/66c6e78fb918c.png") no-repeat;
background-size: 100% 100%;
font-size: 14px;
color: #222222;

View File

@@ -41,7 +41,7 @@ export default {
},
avatar(item) {
return item.avatar || (item.userType == '0' ? 'https://cdn.sinoecare.com/i/2024/06/17/666fdb275be82.png' :
'https://cdn.sinoecare.com/i/2024/06/04/665ec6f5ef213.png')
'https://cdn.sinoecare.com/i/2024/08/22/66c6dfdc3766a.png')
},
markdown(v) {
return this.md?.render(v) || v
@@ -69,6 +69,10 @@ export default {
.chatContent {
:deep(.el-scrollbar__wrap) {
overflow-x: hidden;
background-image: url("https://cdn.sinoecare.com/i/2024/08/22/66c6dfdd76407.png");
background-position: center center;
background-size: 153px 182px;
background-repeat: no-repeat;
.content {
pre {

View File

@@ -1,6 +1,6 @@
<template>
<section class="AiLocateDialog">
<ai-dialog :visible.sync="dialog" title="标绘" @closed="$emit('visible',false),selected={}"
<ai-dialog :visible.sync="dialog" :title="$attrs.dialogTitle||'标绘'" @closed="$emit('visible',false),selected={}"
@opened="$nextTick(()=>initMap())"
@onConfirm="handleConfirm" v-bind="$attrs">
<div id="amap" v-if="dialog"/>