|
|
@@ -1,5 +1,8 @@
|
|
|
<template>
|
|
|
- <view class="content">
|
|
|
+ <uv-navbar placeholder leftIcon="" title="iWash洗车"
|
|
|
+ bg-color="linear-gradient(to right, rgb(66, 83, 216), rgb(213, 51, 186))"
|
|
|
+ :border="false"></uv-navbar>
|
|
|
+ <view class="content" :style="containerStyle">
|
|
|
<!-- <image class="logo" src="/static/logo.png"/>
|
|
|
<view class="text-area">
|
|
|
<text class="title">{{ title }}</text>
|
|
|
@@ -81,6 +84,7 @@ import {checkLogin} from "@/utils/auth";
|
|
|
const title = ref('Hello')
|
|
|
const isLogin = ref(false)
|
|
|
|
|
|
+const containerStyle = ref();
|
|
|
const change = () => {
|
|
|
console.log("change")
|
|
|
}
|
|
|
@@ -121,9 +125,10 @@ const initState = () => ({
|
|
|
const state = reactive(initState())
|
|
|
|
|
|
onLoad((e: any) => {
|
|
|
- let query = decodeURIComponent(e);
|
|
|
- let scanTime = e.scancode_time;
|
|
|
- console.log(e)
|
|
|
+ const bound = uni.getMenuButtonBoundingClientRect();
|
|
|
+ containerStyle.value = {
|
|
|
+ top: `${bound.bottom + 10}px`,
|
|
|
+ };
|
|
|
/* if (query) {
|
|
|
uni.showToast({
|
|
|
title: query,
|
|
|
@@ -306,7 +311,7 @@ const handleNavStation = (station: any) => {
|
|
|
}
|
|
|
|
|
|
.content_station {
|
|
|
- height: calc(100vh - 600rpx);
|
|
|
+ height: calc(100vh - 700rpx);
|
|
|
overflow: scroll;
|
|
|
}
|
|
|
</style>
|