代码提交

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

View File

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