Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-11-06 11:19:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3384806220ed732146d21f1b7929fba34e4fce4d
33848062
1 parent
0d5e7315
🐞 fix(详情页): 新增音频播放后高度结构问题导致页面滚动高度异常修复
别院地图
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
src/components/audioList.vue
src/views/bieyuan/info.vue
src/components/audioList.vue
View file @
3384806
<template>
<div class="audio-list-page">
<div
v-if="info_height"
class="audio-list-page">
<van-config-provider :theme-vars="themeVars">
<van-floating-panel v-model:height="info_height" :anchors="anchors" @height-change="onHeightChange" style="box-shadow: #d6d6d6b8 -1px -5px 15px 5px;">
<template #header>
...
...
@@ -290,6 +290,8 @@ onUnmounted(() => { // 离开页面时关闭音频播放
<style lang="less" scoped>
.audio-list-page {
height: 100%;
position: fixed;
z-index: 999;
.audio-item {
display: flex;
align-items: center;
...
...
src/views/bieyuan/info.vue
View file @
3384806
<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-11-06 11:
08:47
* @LastEditTime: 2024-11-06 11:
17:53
* @FilePath: /map-demo/src/views/bieyuan/info.vue
* @Description: 文件描述
-->
...
...
@@ -64,7 +64,7 @@
</van-config-provider>
</div>
</div>
<div class="info-logo">
<div class="info-logo"
:style="{ marginBottom: audio_list_height ? `${audio_list_height * 1.5}px` : '3rem' }"
>
<van-image width="3rem" height="3rem" fit="contain" src="https://cdn.ipadbiz.cn/bieyuan/map/icon/scan_logo.png" />
</div>
...
...
Please
register
or
login
to post a comment