35 changed files with 483 additions and 210 deletions
@ -1 +1 @@ |
|||||
{"code":200,"msg":"操作成功","data":[{"id":198,"title":"猩猩的太空漫步","content":{"name":"猩猩的太空漫步","nameEn":"dddd","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/vwcYXFrhK1CbEB6uFy76R.png"],"point":"0_0_4","content":"vnasfkvl","contentEn":"fwefwqe","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/DEB6NDQ8975GvfR5yKclw.png"],"icon_sel":[]}},{"id":199,"title":"共生","content":{"name":"共生","nameEn":"dddd","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/CkR9FMDrKtej6Rt0GDAUR.png"],"point":"0_0_129","content":"1235","contentEn":"fwerf","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/RyWHWQugQvDwEjEY_MwHb.png"],"icon_sel":[]}},{"id":200,"title":"超新星","content":{"name":"超新星","nameEn":"dddd","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/6DH-CKwe8pzVt4qmP-Knm.png"],"point":"0_0_129","content":"1326","contentEn":"56456","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/ea-Q5M6K-ri1xw3UfY18_.png"],"icon_sel":[]}},{"id":201,"title":"盛开的山谷","content":{"name":"盛开的山谷","nameEn":"dadd","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/fH0IKTz9Nhg7nnVhtJg_o.png"],"point":"0_0_84","content":"i7u","contentEn":"hhrt","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/j49AhcyUGy3ooRveXNTAt.png"],"icon_sel":[]}},{"id":202,"title":"琥珀","content":{"name":"琥珀","nameEn":"t534","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/rQjWB5AzY05NM7YSmWgtT.png"],"point":"0_0_84","content":"213","contentEn":"545","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/GeJT_PoeLfW6e2SgxCGmQ.png"],"icon_sel":[]}}]} |
|
||||
|
{"code":200,"msg":"操作成功","data":[{"id":198,"title":"猩猩的太空漫步","content":{"name":"猩猩的太空漫步","nameEn":"dddd","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/vwcYXFrhK1CbEB6uFy76R.png"],"point":"0_0_4","content":"vnasfkvl","contentEn":"fwefwqe","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/DEB6NDQ8975GvfR5yKclw.png"],"icon_sel":[]}},{"id":199,"title":"共生","content":{"name":"共生","nameEn":"dddd","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/CkR9FMDrKtej6Rt0GDAUR.png"],"point":"0_0_129","content":"1235","contentEn":"fwerf","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/RyWHWQugQvDwEjEY_MwHb.png"],"icon_sel":[]}},{"id":200,"title":"超新星","content":{"name":"超新星","nameEn":"dddd","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/6DH-CKwe8pzVt4qmP-Knm.png"],"point":"0_0_129","content":"1326","contentEn":"56456","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/ea-Q5M6K-ri1xw3UfY18_.png"],"icon_sel":[]}},{"id":201,"title":"盛开的山谷","content":{"name":"盛开的山谷","nameEn":"dadd","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/fH0IKTz9Nhg7nnVhtJg_o.png"],"point":"0_0_84","content":"i7u","contentEn":"hhrt","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/j49AhcyUGy3ooRveXNTAt.png"],"icon_sel":[]}},{"id":202,"title":"琥珀","content":{"name":"琥珀","nameEn":"t534","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/rQjWB5AzY05NM7YSmWgtT.png"],"point":"0_0_84","content":"213","contentEn":"545","icon":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230713/GeJT_PoeLfW6e2SgxCGmQ.png"],"icon_sel":[]}}]} |
||||
|
|||||
@ -1 +1 @@ |
|||||
{"code":200,"msg":"操作成功","data":[{"id":127,"title":"餐饮推荐","content":{"isOpen":"开启","logo_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/436WqGHBEswCHsCHwiZfx.png"],"name":"餐饮推荐","nameEn":"da","type":"好吃的"}}]} |
|
||||
|
{"code":200,"msg":"操作成功","data":[{"id":127,"title":"餐饮推荐","content":{"isOpen":"开启","logo_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/436WqGHBEswCHsCHwiZfx.png"],"name":"餐饮推荐","nameEn":"da","type":"好吃的"}}]} |
||||
|
|||||
@ -1 +1 @@ |
|||||
{"code":200,"msg":"操作成功","data":[{"id":128,"title":"泽德","content":{"name":"特别好的","nameEn":"24213","logo_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/Leu6cOw3HFoKh2n0N8bZN.png"],"point":"0_0_204","shopCode":"-HpSoOn7q0eo70ofL6INz"}},{"id":131,"title":"VS","content":{"name":"cn下周才","nameEn":"dqwd","logo_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/pNuWHRUCK3dU9RpvVK7jE.png"],"point":"0_3_197","shopCode":"v23xZfy3M_kbvOC0awPLI"}},{"id":208,"title":"234","content":{"name":"3423","nameEn":"34234","logo_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/sxl60Vl_Jsepsjyo50fYu.png"],"point":"","shopCode":""}}]} |
|
||||
|
{"code":200,"msg":"操作成功","data":[{"id":128,"title":"泽德","content":{"name":"特别好的","nameEn":"24213","logo_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/Leu6cOw3HFoKh2n0N8bZN.png"],"point":"0_0_204","shopCode":"-HpSoOn7q0eo70ofL6INz"}},{"id":131,"title":"VS","content":{"name":"cn下周才","nameEn":"dqwd","logo_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/pNuWHRUCK3dU9RpvVK7jE.png"],"point":"0_3_197","shopCode":"v23xZfy3M_kbvOC0awPLI"}},{"id":208,"title":"234","content":{"name":"3423","nameEn":"34234","logo_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/sxl60Vl_Jsepsjyo50fYu.png"],"point":"","shopCode":""}}]} |
||||
|
|||||
File diff suppressed because one or more lines are too long
@ -1 +1 @@ |
|||||
{"code":200,"msg":"操作成功","data":[{"id":209,"title":"停车场介绍","content":{"name":"停车场介绍","nameEn":"dad","content":"停车场介绍","contentEn":"23123","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/eWCChtDj-Fe-LXwCc3WZJ.png"]}}]} |
|
||||
|
{"code":200,"msg":"操作成功","data":[{"id":209,"title":"停车场介绍","content":{"name":"停车场介绍","nameEn":"dad","content":"停车场介绍","contentEn":"23123","file_code":["/iotFile/project-ey_fpaur6s6fkgvszywana/20230714/eWCChtDj-Fe-LXwCc3WZJ.png"]}}]} |
||||
|
|||||
|
After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,163 @@ |
|||||
|
<template> |
||||
|
<div class="car-search-wrapper"> |
||||
|
<div class="masker" @click="close"></div> |
||||
|
<div class="close-icon" @click="close"> |
||||
|
<img src="@/assets/images/shopDetail/close.svg" alt="" /> |
||||
|
</div> |
||||
|
<div class="car-search-content"> |
||||
|
<div class="title">{{ $t('searchCar') }}</div> |
||||
|
<div class="point">已为您搜索到以下车位号,选择车位号进行导航</div> |
||||
|
<ScrollView v-if="searchList.length" :list="searchList" class="myScroll" scrollbar> |
||||
|
<div class="list"> |
||||
|
<div v-for="item in searchList" :key="item" class="item" @click="search(item)">{{ item }}</div> |
||||
|
</div> |
||||
|
</ScrollView> |
||||
|
<img v-else class="empty" src="@/assets/images/stay_tuned.svg" alt="" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script setup lang="ts"> |
||||
|
import { useRouter } from 'vue-router' |
||||
|
import { useRootStore } from '@/store/root' |
||||
|
import ScrollView from '@/base/ScrollView/ScrollView.vue' |
||||
|
|
||||
|
type Prop = { |
||||
|
searchList: string[] |
||||
|
} |
||||
|
defineProps<Prop>() |
||||
|
const emits = defineEmits(['close']) |
||||
|
function close() { |
||||
|
emits('close') |
||||
|
} |
||||
|
const store = useRootStore() |
||||
|
const router = useRouter() |
||||
|
function search(shopNum: string) { |
||||
|
const info = window.Map_QM.pathPark({ shopNum }) |
||||
|
if (info?.node) { |
||||
|
const floor: any = store.buildingList[0].floorList.find(item => item.floorOrder === info.floor)?.floor |
||||
|
const shop = { |
||||
|
shopCode: '', |
||||
|
shopName: shopNum, |
||||
|
floorOrder: info.floor, |
||||
|
floor, |
||||
|
logoUrl: '/static/img/tcjf.png', |
||||
|
yaxis: info.node |
||||
|
} |
||||
|
store.SET_SHOP(shop) |
||||
|
router.push('/nav') |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss" scoped> |
||||
|
:deep(.bscroll-vertical-scrollbar) { |
||||
|
width: 6px; |
||||
|
height: 120px !important; |
||||
|
background: rgb(0 0 0 / 3%); |
||||
|
border-radius: 6px; |
||||
|
opacity: 1 !important; |
||||
|
.bscroll-indicator { |
||||
|
background: rgb(0 0 0 / 6%) !important; |
||||
|
border: none !important; |
||||
|
border-radius: 6px !important; |
||||
|
} |
||||
|
} |
||||
|
.car-search-wrapper { |
||||
|
position: fixed; |
||||
|
top: 0; |
||||
|
left: 0; |
||||
|
z-index: 1001; |
||||
|
width: 1920px; |
||||
|
height: 1080px; |
||||
|
background: rgb(142 144 145 / 50%); |
||||
|
backdrop-filter: blur(50px); |
||||
|
|
||||
|
.masker { |
||||
|
position: fixed; |
||||
|
top: 0; |
||||
|
left: 0; |
||||
|
z-index: 2; |
||||
|
width: 1920px; |
||||
|
height: 1080px; |
||||
|
} |
||||
|
.car-search-content { |
||||
|
position: absolute; |
||||
|
top: 112px; |
||||
|
left: 528px; |
||||
|
z-index: 3; |
||||
|
width: 864px; |
||||
|
padding-top: 48px; |
||||
|
background: rgb(247 247 247); |
||||
|
border-radius: 16px; |
||||
|
.title { |
||||
|
width: 864px; |
||||
|
margin-bottom: 40px; |
||||
|
font-size: 28px; |
||||
|
font-family: 'font_bold'; |
||||
|
text-align: center; |
||||
|
color: #534f46; |
||||
|
font-style: normal; |
||||
|
font-weight: 700; |
||||
|
line-height: 36px; |
||||
|
} |
||||
|
.point { |
||||
|
margin-bottom: 24px; |
||||
|
margin-left: 52px; |
||||
|
font-size: 16px; |
||||
|
font-family: 'font_regular'; |
||||
|
color: #534f46; |
||||
|
font-style: normal; |
||||
|
font-weight: 400; |
||||
|
line-height: 24px; |
||||
|
} |
||||
|
.myScroll { |
||||
|
position: relative; |
||||
|
overflow: hidden; |
||||
|
width: 790px; |
||||
|
height: 684px; |
||||
|
margin-left: 52px; |
||||
|
.list { |
||||
|
width: 768px; |
||||
|
.item { |
||||
|
width: 768px; |
||||
|
height: 76px; |
||||
|
padding: 22px 40px; |
||||
|
margin-bottom: 8px; |
||||
|
font-size: 24px; |
||||
|
font-family: 'font_bold'; |
||||
|
color: #534f46; |
||||
|
background: #fff; |
||||
|
border-radius: 16px; |
||||
|
font-style: normal; |
||||
|
font-weight: 700; |
||||
|
line-height: 32px; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
.close-icon { |
||||
|
@include fl(center); |
||||
|
|
||||
|
position: fixed; |
||||
|
top: 72px; |
||||
|
right: 496px; |
||||
|
z-index: 4; |
||||
|
width: 100px; |
||||
|
height: 100px; |
||||
|
background: rgb(255 255 255 / 60%); |
||||
|
border: 2px solid #fff; |
||||
|
border-radius: 50px; |
||||
|
backdrop-filter: blur(20px); |
||||
|
img { |
||||
|
width: 48px; |
||||
|
height: 48px; |
||||
|
} |
||||
|
} |
||||
|
.empty { |
||||
|
width: 768px; |
||||
|
height: 495px; |
||||
|
margin-left: 52px; |
||||
|
} |
||||
|
} |
||||
|
</style> |
||||
@ -1,22 +1,23 @@ |
|||||
declare interface Featured { |
declare interface Featured { |
||||
moduleType: string |
|
||||
name: string //名称
|
|
||||
nameEn: string //英文名称
|
|
||||
introduce: string |
|
||||
introduceEn: string |
|
||||
crossFileCode: string //横屏图片
|
|
||||
verticalFileCode: string //竖屏图片
|
|
||||
|
id: number |
||||
|
title: string |
||||
|
content: { |
||||
|
isOpen: '开启' | '关闭' |
||||
|
logo_code: string[] |
||||
|
name: string |
||||
|
nameEn: string |
||||
|
type: '好吃的' | '好玩的' | '值得买' |
||||
|
} |
||||
} |
} |
||||
|
|
||||
declare interface FeaturedList { |
declare interface FeaturedList { |
||||
nameEn: string |
|
||||
shopNameEn: string |
|
||||
point: number |
|
||||
floorOrder: number |
|
||||
floor: string |
|
||||
shopCode: stirng |
|
||||
shopName: string |
|
||||
name: string |
|
||||
houseNumber: string |
|
||||
fileUrl: string |
|
||||
|
id: number |
||||
|
title: string |
||||
|
content: { |
||||
|
name: string |
||||
|
nameEn: string |
||||
|
logo_code: string[] |
||||
|
point: string |
||||
|
shopCode: string |
||||
|
} |
||||
} |
} |
||||
|
|||||
@ -1,8 +1,11 @@ |
|||||
declare interface ParkingInfo { |
declare interface ParkingInfo { |
||||
|
id: number |
||||
title: string |
title: string |
||||
titleEn: string |
|
||||
content: string |
|
||||
contentEn: string |
|
||||
fileList: string[] |
|
||||
qrFileList: Array<{ name: string; nameEn: string; fileUrl: string }> |
|
||||
|
content: { |
||||
|
name: string |
||||
|
nameEn: string |
||||
|
content: string |
||||
|
contentEn: string |
||||
|
file_code: string[] |
||||
|
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue