feat 配置热力图和RTK轨迹页面

This commit is contained in:
Ironsp
2026-09-15 09:47:38 +08:00
parent ad12dc8e9a
commit 386b2742b9
5 changed files with 14 additions and 6 deletions

View File

@@ -47,7 +47,6 @@ declare global {
const getSystemInfo: typeof import('./utils/device')['getSystemInfo'] const getSystemInfo: typeof import('./utils/device')['getSystemInfo']
const h: typeof import('vue')['h'] const h: typeof import('vue')['h']
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
const initTables: typeof import('./utils/sqlite')['initTables']
const inject: typeof import('vue')['inject'] const inject: typeof import('vue')['inject']
const injectLocal: typeof import('@vueuse/core')['injectLocal'] const injectLocal: typeof import('@vueuse/core')['injectLocal']
const isDefined: typeof import('@vueuse/core')['isDefined'] const isDefined: typeof import('@vueuse/core')['isDefined']

View File

@@ -18,7 +18,9 @@ withDefaults(defineProps<Props>(), {
}) })
function handleToggle() { function handleToggle() {
console.log('缩小缩小') uni.switchTab({
url: '/pages/work/index',
})
} }
</script> </script>
@@ -83,9 +85,13 @@ function handleToggle() {
<style scoped> <style scoped>
.rtk-header { .rtk-header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 9;
background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%); background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
padding: 16px; padding: 26px 16px 16px 16px;
margin-bottom: 12px;
} }
.top-row { .top-row {

View File

@@ -70,7 +70,7 @@
"type": "page", "type": "page",
"layout": false, "layout": false,
"style": { "style": {
"navigationBarTitleText": "RTK轨迹" "navigationStyle": "custom"
} }
}, },
{ {

View File

@@ -29,6 +29,7 @@ definePage({
.content { .content {
padding: 16px; padding: 16px;
padding-top: 140px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;

View File

@@ -2,7 +2,8 @@
definePage({ definePage({
layout: false, layout: false,
style: { style: {
navigationBarTitleText: 'RTK轨迹', // navigationBarTitleText: 'RTK轨迹',
navigationStyle: 'custom',
}, },
}) })
</script> </script>
@@ -29,6 +30,7 @@ definePage({
.content { .content {
padding: 16px; padding: 16px;
padding-top: 140px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;