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 h: typeof import('vue')['h']
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
const initTables: typeof import('./utils/sqlite')['initTables']
const inject: typeof import('vue')['inject']
const injectLocal: typeof import('@vueuse/core')['injectLocal']
const isDefined: typeof import('@vueuse/core')['isDefined']

View File

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

View File

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

View File

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

View File

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