|
|
@ -28,9 +28,9 @@ |
|
|
|
<!-- <u-button @click="$store.commit('setTheme', 'theme-test')">测试切换主题</u-button> --> |
|
|
|
</view> |
|
|
|
|
|
|
|
<u-button style="position: fixed; bottom: 100px" @click="changeModal">{{ |
|
|
|
timeLineType === 1 ? '切换到任务模式' : '切换到时间轴模式' |
|
|
|
}}</u-button> |
|
|
|
<u-button style="position: fixed; bottom: 100px" @click="changeModal"> |
|
|
|
{{ timeLineType === 1 ? '切换到任务模式' : '切换到时间轴模式' }} |
|
|
|
</u-button> |
|
|
|
</theme> |
|
|
|
</template> |
|
|
|
|
|
|
@ -64,7 +64,7 @@ const currLocationTaskId = computed(() => store.state.socket.currLocationTaskId) |
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
const system = uni.getSystemInfoSync(); |
|
|
|
height.value = `${system.windowHeight}px`; |
|
|
|
height.value = `${system.screenHeight}px`; |
|
|
|
}); |
|
|
|
|
|
|
|
if (!userInfo.value) { |
|
|
|