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-09-25 17:25:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0e33c0d0704247e51266c2611594d96466e09686
0e33c0d0
1 parent
f98f604f
fix 详情页滚动到顶部
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
.env
components.d.ts
src/main.js
src/views/bieyuan/info.vue
.env
View file @
0e33c0d
...
...
@@ -2,7 +2,8 @@
VITE_PORT = 8006
# 反向代理服务器地址
VITE_PROXY_TARGET = https://oa-dev.onwall.cn
# VITE_PROXY_TARGET = https://oa-dev.onwall.cn
VITE_PROXY_TARGET = https://bm.jiqun.com
# VITE_PROXY_TARGET = https://oa.onwall.cn
# API请求前缀
...
...
components.d.ts
View file @
0e33c0d
...
...
@@ -22,6 +22,7 @@ declare module '@vue/runtime-core' {
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
SvgIcon
:
typeof
import
(
'./src/components/Floor/svgIcon.vue'
)[
'default'
]
VanBackTop
:
typeof
import
(
'vant/es'
)[
'BackTop'
]
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanCol
:
typeof
import
(
'vant/es'
)[
'Col'
]
VanConfigProvider
:
typeof
import
(
'vant/es'
)[
'ConfigProvider'
]
...
...
src/main.js
View file @
0e33c0d
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-31 12:06:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
3-12-29 14:00:08
* @LastEditTime: 202
4-09-25 17:17:40
* @FilePath: /map-demo/src/main.js
* @Description:
*/
...
...
@@ -41,6 +41,7 @@ import {
Search
,
ImagePreview
,
Popover
,
BackTop
,
}
from
'vant'
;
import
router
from
'./router'
;
import
App
from
'./App.vue'
;
...
...
@@ -95,7 +96,8 @@ app
.
use
(
Checkbox
)
.
use
(
Search
)
.
use
(
ConfigProvider
)
.
use
(
ImagePreview
);
.
use
(
ImagePreview
)
.
use
(
BackTop
);
app
.
use
(
VueVideoPlayer
)
app
.
use
(
VueViewer
);
...
...
src/views/bieyuan/info.vue
View file @
0e33c0d
<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-25 17:
10:16
* @LastEditTime: 2024-09-25 17:
24:19
* @FilePath: /map-demo/src/views/bieyuan/info.vue
* @Description: 文件描述
-->
...
...
@@ -71,6 +71,8 @@
<van-image-preview v-model:show="show_preview" :images="preview_images" @change="onChange" doubleScale>
<template v-slot:index>第{{ index + 1 }}张</template>
</van-image-preview>
<van-back-top />
</div>
</template>
...
...
@@ -430,4 +432,8 @@ const onChange = (newIndex) => {
border-bottom: 1px solid #F3F3F3;
}
}
.van-back-top {
background-color: #DD7850;
}
</style>
...
...
Please
register
or
login
to post a comment