代码上传
This commit is contained in:
parent
86c9ae0b6c
commit
19f8431e96
|
@ -1,17 +1,9 @@
|
|||
<template>
|
||||
<view style="background-color: #2c66a9; width: 100%; height: 5vh"
|
||||
:style="{ backgroundPositionY: -44 + safeAreaInsets.top + 'px' }">
|
||||
<view :style="{ paddingTop: safeAreaInsets.top + 'px' }" class="van-nav-bar">
|
||||
<view class="van-nav-bar__content">
|
||||
<view class="page-icon" @click="gotoBack">
|
||||
<uni-icons color="#fff" type="back" size="26"></uni-icons>
|
||||
<view>返回</view>
|
||||
</view>
|
||||
<view class="page-navbar">我的机动车</view>
|
||||
</view>
|
||||
</view>
|
||||
<view style="background-color: #2c66a9; width: 100%; height: 5vh">
|
||||
<uni-nav-bar :fixed="true" shadow background-color="#2c66a9" color="#fff" @clickLeft="gotoBack" status-bar
|
||||
left-icon="back" left-text="返回" title="业务中心" />
|
||||
<view class="content">
|
||||
<view class="card-car" v-if='true'>
|
||||
<view class="card-car" v-if="judge == 1">
|
||||
<view class="car-top">
|
||||
<image src="../../../static/R41.png" class="image"></image>
|
||||
<view class="car-top-text">
|
||||
|
@ -52,9 +44,11 @@
|
|||
|
||||
<script setup>
|
||||
import {
|
||||
ref,
|
||||
onMounted
|
||||
ref
|
||||
} from "vue";
|
||||
import {
|
||||
onLoad
|
||||
}from '@dcloudio/uni-app'
|
||||
const {
|
||||
safeAreaInsets
|
||||
} = uni.getSystemInfoSync();
|
||||
|
@ -63,8 +57,10 @@
|
|||
delta: 1,
|
||||
});
|
||||
};
|
||||
const judge = ref('')
|
||||
onLoad((option) => {
|
||||
console.log(option)
|
||||
judge.value = option.judge
|
||||
console.log(typeof option.judge)
|
||||
})
|
||||
const grade = ref(0);
|
||||
</script>
|
||||
|
|
|
@ -2,15 +2,13 @@
|
|||
<view class="content" :style="{ backgroundPositionY: -44 + safeAreaInsets.top + 'px' }">
|
||||
<view class="top" :style="{ paddingTop: safeAreaInsets.top + 'px' }">
|
||||
<view style="color: #fff; width: 120rpx">哈尔滨</view>
|
||||
<!-- <uni-search-bar class="search" bgColor="#EEEEEE" radius="100" placeholder="搜索" clearButton="none"
|
||||
cancelButton="none" @confirm="search" /> -->
|
||||
<up-search placeholder="搜索" bgColor="#EEEEEE" height="25" searchIconSize="18" :showAction="false"></up-search>
|
||||
<image src="../../static/on.png" style="width: 80rpx; height: 60rpx"></image>
|
||||
</view>
|
||||
<view class="card">
|
||||
<view class="card-content" @click="myCar(true)">
|
||||
<view class="card-content" @click="myCar(1)">
|
||||
<view class="card-content-top">
|
||||
<image @click="myCar(false)" style="width: 50rpx; height: 40rpx" src="../../static/c5.png" />
|
||||
<image @click.stop="myCar(0)" style="width: 50rpx; height: 40rpx" src="../../static/car.png" />
|
||||
<text style="margin-left: 30rpx">黑A00000</text>
|
||||
</view>
|
||||
<view class="card-content-bottom">
|
||||
|
|
Loading…
Reference in New Issue
Block a user