Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
蒋秀川
/
miniProject
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3dcf0168
authored
Jun 03, 2025
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/app' into app
# Conflicts: # h5/src/router/index.js
2 parents
978207af
a4b45c98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
h5/src/views/heatMap/index.vue
h5/vite.config.js
h5/src/views/heatMap/index.vue
View file @
3dcf016
...
...
@@ -20,11 +20,13 @@
:min=
"1"
v-model=
"sliderVal"
@
change=
"slideHandle"
/>
>
</van-slider>
<div
v-if=
"sliderVal"
class=
"custom-button"
>
{{
getSliderVal
}}
</div>
</div>
</
template
>
<
script
setup
>
import
{
onMounted
,
watch
,
ref
,
nextTick
}
from
"vue"
;
import
{
onMounted
,
watch
,
ref
,
nextTick
,
computed
}
from
"vue"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
Toast
}
from
"vant"
;
...
...
@@ -34,6 +36,12 @@ let map = null; // 地图对象
const
$route
=
useRoute
();
const
getSliderVal
=
computed
(()
=>
{
return
timeLevel
.
value
==
"rt"
?
getTimeMin
(
sliderVal
.
value
)
:
Math
.
round
(
sliderVal
.
value
)
+
""
;
});
// 监听route参数
// ?atoken='xxx'&mallId='xxx'
const
storeId
=
ref
(
""
);
// 店铺id
...
...
h5/vite.config.js
View file @
3dcf016
...
...
@@ -16,7 +16,7 @@ const loder_pxtovw = pxtovw({
import
path
from
"path"
;
import
copy
from
"rollup-plugin-copy"
;
export
default
defineConfig
({
base
:
"
.
/"
,
base
:
"
/appH5
/"
,
publicDir
:
"public"
,
server
:
{
host
:
true
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment