代码提交

This commit is contained in:
yangchunyu 2024-06-28 14:36:13 +08:00
parent cf73fa9d50
commit 0948800423
2 changed files with 17 additions and 8 deletions

View File

@ -15,8 +15,8 @@
<view class="car-top">
<image src="../../../static/R41.png" class="image"></image>
<view class="car-top-text">
<text style="font-size: 40rpx; font-weight: 600; color: ;">黑A1K5V1</text>
<text style="color: #808080;">*</text>
<text style="font-size: 40rpx; font-weight: 600; color: ;">黑A00000</text>
<text style="color: #808080;">*</text>
</view>
</view>
<view class="car-center">
@ -42,7 +42,7 @@
本人车辆信息缺失或有误请点击<a href="#" style="color: #2d65a5;">此处反馈</a>
</view>
</view>
<view :style="{ paddingTop: safeAreaInsets.top + 'px' }" class="van-nav-bar">
<view class="van-nav-bar positionBottom">
<view class="van-nav-bar__content" style="cursor: pointer;">
<view class="page-navbar">备案非本人机动车</view>
</view>
@ -63,6 +63,9 @@
delta: 1,
});
};
onLoad((option)=>{
console.log(option)
})
const grade = ref(0);
</script>
@ -161,4 +164,10 @@
align-items: center;
justify-content: center;
}
.positionBottom {
position: fixed;
bottom: 0;
width: 100vw;
}
</style>

View File

@ -8,9 +8,9 @@
<image src="../../static/on.png" style="width: 80rpx; height: 60rpx"></image>
</view>
<view class="card">
<view class="card-content" @click="myCar">
<view class="card-content" @click="myCar(true)">
<view class="card-content-top">
<image style="width: 50rpx; height: 40rpx" src="../../static/c5.png" />
<image @click="myCar(false)" style="width: 50rpx; height: 40rpx" src="../../static/c5.png" />
<text style="margin-left: 30rpx">黑A00000</text>
</view>
<view class="card-content-bottom">
@ -191,9 +191,9 @@ const drivingLicence = () => {
url: './components/drivingLicence'
});
};
const myCar = ()=>{
const myCar = (val)=>{
uni.navigateTo({
url: './components/myCar'
url: `./components/myCar?judge=${val}`,
});
}
const closedclick = (id) => {
@ -373,6 +373,6 @@ const closedclick = (id) => {
.kefu {
position: absolute;
right: 20rpx;
bottom: 120rpx;
bottom: 240rpx;
}
</style>