This commit is contained in:
nyoung 2024-08-21 23:48:29 +08:00
parent 5151007fd3
commit 2063e89028
2 changed files with 60 additions and 58 deletions

View File

@ -2,37 +2,35 @@
<template> <template>
<view class="content"> <view class="content">
<VNavigationBar title="扣车管理"></VNavigationBar> <view style="background: #317dfa">
<!-- <view class="top-icon">--> <VNavigationBar title="扣车管理"></VNavigationBar>
<!-- <view class="h-text" style="font-size: 20px;font-weight: bold;color: white" @click="getback()"><</view>--> <view class="search-box">
<!-- <div style="text-align: center;width: 100%;color: white;">扣车管理</div>--> <view class="s-input">
<!-- </view>--> <uni-icons type="search" color=" #999999" size="16"></uni-icons>
<view class="search-box"> <input type="text" v-model="licenseNum" placeholder="车牌号搜索">
<view class="s-input"> </view>
<uni-icons type="search" color=" #999999" size="16"></uni-icons> <view class="search-button" @click="getlist()">搜索</view>
<input type="text" v-model="licenseNum" placeholder="车牌号搜索"> </view>
<view class="top-tap">
<!-- <view class="tap-box" :class="{'cc' : gindex == item.id }" v-for="(item,index) in arrtap" :key="index"
@click="getindex(item.id)">
<view style="margin-bottom: 4px;">{{item.text}}</view>
<view class="gang" v-if="item.id == gindex"></view>
</view> -->
<view class="tap-box" :class="{'cc' : gindex == 9 }" @click="getindex(9)">
<view style="margin-bottom: 4px;">扣车中 ({{one}}) </view>
<view class="gang" v-if="9 == gindex"></view>
</view>
<view class="tap-box" :class="{'cc' : gindex == 3 }" @click="getindex(3)">
<view style="margin-bottom: 4px;">已解扣 ({{two}}) </view>
<view class="gang" v-if="3 == gindex"></view>
</view>
<view class="tap-box" :class="{'cc' : gindex == 8 }" @click="getindex(8)">
<view style="margin-bottom: 4px;">已还车 ({{three}}) </view>
<view class="gang" v-if="8 == gindex"></view>
</view>
</view> </view>
<view class="search-button" @click="getlist()">搜索</view>
</view> </view>
<view class="top-tap">
<!-- <view class="tap-box" :class="{'cc' : gindex == item.id }" v-for="(item,index) in arrtap" :key="index"
@click="getindex(item.id)">
<view style="margin-bottom: 4px;">{{item.text}}</view>
<view class="gang" v-if="item.id == gindex"></view>
</view> -->
<view class="tap-box" :class="{'cc' : gindex == 9 }" @click="getindex(9)">
<view style="margin-bottom: 4px;">扣车中 ({{one}}) </view>
<view class="gang" v-if="9 == gindex"></view>
</view>
<view class="tap-box" :class="{'cc' : gindex == 3 }" @click="getindex(3)">
<view style="margin-bottom: 4px;">已解扣 ({{two}}) </view>
<view class="gang" v-if="3 == gindex"></view>
</view>
<view class="tap-box" :class="{'cc' : gindex == 8 }" @click="getindex(8)">
<view style="margin-bottom: 4px;">已还车 ({{three}}) </view>
<view class="gang" v-if="8 == gindex"></view>
</view>
</view>
<view class="dil"> <view class="dil">
<view class="ques" v-if="orderList.length== 0 "> <view class="ques" v-if="orderList.length== 0 ">
<image src="../../static/quesheng.png" mode=""></image> <image src="../../static/quesheng.png" mode=""></image>
@ -341,7 +339,6 @@
} }
.search-box{ .search-box{
background: rgb(49, 125, 250);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@ -379,7 +376,6 @@
.top-tap { .top-tap {
width: 100%; width: 100%;
background: #317dfa;
display: flex; display: flex;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;

View File

@ -1,35 +1,36 @@
<template> <template>
<view class="content"> <view class="content">
<view class="c-top"> <view style="background: #317dfa">
<view style="width: 10%; height: 1px;"></view> <view class="c-top">
<view class="X-title">个人中心</view> <view style="width: 10%; height: 1px;"></view>
<view style="width: 10%;font-size: 18px;font-weight: bold;color: white">···</view> <view class="X-title">个人中心</view>
</view> <view style="width: 10%;font-size: 18px;font-weight: bold;color: white">···</view>
</view>
<view style="justify-content: space-between;background-color: #317dfa;display: flex; align-items: center; margin-bottom: 20px;padding-bottom: 80px;"> <view style="justify-content: space-between;display: flex; align-items: center; margin-bottom: 20px;padding-bottom: 80px;">
<view class="touxiang-left"> <view class="touxiang-left">
<view class="touxiang"> <view class="touxiang">
<u-upload :fileList="fileList6" @afterRead="afterRead" @delete="deletePic" name="6" multiple <u-upload :fileList="fileList6" @afterRead="afterRead" @delete="deletePic" name="6" multiple
:maxCount="1" width="60" height="60"> :maxCount="1" width="60" height="60">
<image src="http://www.nuoyunr.com/lananRsc/detection/touxiang.png" class="tximg" mode="" <image src="http://www.nuoyunr.com/lananRsc/detection/touxiang.png" class="tximg" mode=""
v-if="!userinfo.avatar"></image> v-if="!userinfo.avatar"></image>
<image :src=" baseUrl +userinfo.avatar " class="tximg" mode="" v-if="userinfo.avatar"></image> <image :src=" baseUrl +userinfo.avatar " class="tximg" mode="" v-if="userinfo.avatar"></image>
</u-upload> </u-upload>
</view>
<view class="c-title" v-if="!userinfo" @click="gologin">立即登录</view>
<view class="c-title" v-else>
<view style="display: flex; align-items: center;">
<text>{{userinfo.realName || '用户昵称'}}</text>
</view> </view>
<text style="font-size: 14px;font-weight: normal;color: #88b4fb">{{userinfo.phonenumber || '未填写手机号码'}}</text> <view class="c-title" v-if="!userinfo" @click="gologin">立即登录</view>
<view class="c-title" v-else>
<view style="display: flex; align-items: center;">
<text>{{userinfo.realName || '用户昵称'}}</text>
</view>
<text style="font-size: 14px;font-weight: normal;color: #88b4fb">{{userinfo.phonenumber || '未填写手机号码'}}</text>
</view>
</view>
<view class="user-edit" @click="show = true">
<u-icon name="../../static/my/Compose.png" color="#ffffff" size="28" ></u-icon>
<text style="color: #9b9b9b;font-size: 18px;font-weight: normal">编辑</text>
</view> </view>
</view> </view>
<view class="user-edit" @click="show = true">
<u-icon name="../../static/my/Compose.png" color="#ffffff" size="28" ></u-icon>
<text style="color: #9b9b9b;font-size: 18px;font-weight: normal">编辑</text>
</view>
</view> </view>
<view class="ail"> <view class="ail">
@ -75,7 +76,7 @@
</view> </view>
<view class="dai-box"> <view class="dai-box">
<view class="vinput" @click="gogogog()"> <view class="vinput" @click="goAssess()">
<view class="dix"> <view class="dix">
<view class="d-img"> <view class="d-img">
<image src="../../static/my/编组 18@2x.png" mode=""></image> <image src="../../static/my/编组 18@2x.png" mode=""></image>
@ -324,6 +325,11 @@
this.getUserinfo() this.getUserinfo()
} }
}, },
goAssess(){
uni.navigateTo({
url: '/pages/rescue/historylist?id=4'
})
},
gogogog() { gogogog() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/my/carManage' url: '/pages/my/carManage'