This commit is contained in:
DL
2024-01-06 16:43:53 +08:00
parent 50c3bbf84a
commit 753c30d8d7
95 changed files with 505 additions and 289 deletions

View File

@@ -29,5 +29,9 @@ export const onlineServiceAPI = (id) => request.get(`merchant/customer/service/i
* 实名详情 /api/front/certification/detail/{id}
*/
export const realNameDetailAPI = (id) => request.get(`certification/detail/${id}`)
/*
* 实名详情更具id /api/front/certification/detail/now
*/
export const realNameDetaiNowlAPI = () => request.get(`certification/detail/now`)

View File

@@ -8,7 +8,7 @@
height: `${imageSize}rpx`,
borderRadius: `${imageRadius}rpx`
}"
src="@/static/images/banner/banner01.jpg" mode=""
src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/banner/banner01.jpg" mode=""
/>
<view class="none-box flex-center fff" :style="{width: `${imageSize / 1.5}rpx`, height: `${imageSize / 1.5}rpx`}">
失效

View File

@@ -4,11 +4,11 @@
<view class="upload-box-items" :style="[defaultStyle]" v-for="(item,index) in PhotoSharinglist" :key="index">
<image :src="item" mode="aspectFill" @click="previewImage(index)" />
<image v-if="clearIcon" class="clear" :src="clearIcon" mode="widthFix" @click="del(index)" />
<image v-else class="clear" src="@/static/images/components/upload/clear.png" mode="widthFix" @click="del(index)" />
<image v-else class="clear" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/components/upload/clear.png" mode="widthFix" @click="del(index)" />
</view>
<view class="upload-box-items" :style="[defaultStyle]" v-if="PhotoSharinglist.length!=limit" @click="chooseImage">
<image v-if="uploadIcon" :src="uploadIcon" mode="" />
<image v-else src="@/static/images/components/upload/plus_upLoad_icon.png" mode="" />
<image v-else src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/components/upload/plus_upLoad_icon.png" mode="" />
</view>
</view>
</view>

View File

@@ -3,11 +3,11 @@
<view v-if="value" class="upload-box-items" :style="[defaultStyle]">
<view class="" v-html="videoHtml" />
<image v-if="clearIcon" :src="clearIcon" mode="" @click="del" />
<image v-else class="clear" src="@/static/images/components/upload/clear.png" mode="widthFix" @click="del" />
<image v-else class="clear" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/components/upload/clear.png" mode="widthFix" @click="del" />
</view>
<view v-else class="upload-box-items" :style="[defaultStyle]" @click="chooseVideo">
<image v-if="uploadIcon" :src="uploadIcon" mode="" />
<image v-else src="@/static/images/components/upload/plus_upLoad_icon.png" mode="" />
<image v-else src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/components/upload/plus_upLoad_icon.png" mode="" />
</view>
</view>
</template>

View File

@@ -3,7 +3,7 @@
<!-- <view class="noneview" v-if="Object.keys(carInfo).length==0"> -->
<view class="noneview" v-if="isShow">
<view class="car_up">
<image class="up_img" src="@/static/images/images/car_car.png" mode=""></image>
<image class="up_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/car_car.png" mode=""></image>
<view class="up_txt">
<view class="block_txt"> 暂未绑定车辆 </view>
<view class="grey_txt"> 未查询到您有绑定车辆信息 </view>
@@ -63,7 +63,7 @@
<script>
import { getMyCarAPI,getUserInfoAPI } from '@/api/car'
import { realNameDetailAPI } from '@/api/mine'
import { realNameDetaiNowlAPI} from '@/api/mine'
export default{
data(){
return{
@@ -77,20 +77,12 @@
},
methods:{
async getMyCar(){
// const car= await getMyCarAPI()
// console.log(car,'car-info');
// this.carInfo=car.data
// const user= await getUserInfoAPI()
// console.log(user,'user-info');
// const detail=await realNameDetailAPI(user.data.id)
// this.userInfo=detail.data
getMyCarAPI().then(async (res)=>{
if(res.data){
this.isShow=false
this.carInfo=res.data
const user= await getUserInfoAPI()
const detail=await realNameDetailAPI(user.data.id)
// const user= await getUserInfoAPI()
const detail=await realNameDetaiNowlAPI()
this.userInfo=detail.data
}else{
this.isShow=true

View File

@@ -67,7 +67,7 @@
<script>
import { getMyCarAPI ,getUserInfoAPI , unbindCarAPI , getPhoneCodeAPI } from '@/api/car'
import { realNameDetailAPI } from '@/api/mine'
import { realNameDetaiNowlAPI } from '@/api/mine'
export default {
data() {
return {
@@ -94,7 +94,7 @@
// console.log(user,'user-unbind');
// this.userInfo=user.data
this.carData.phone=user.data.phone
const detail=await realNameDetailAPI(user.data.id)
const detail=await realNameDetaiNowlAPI()
this.userInfo=detail.data
// console.log(this.userInfo,'1111111111111');
},

View File

@@ -1,7 +1,7 @@
<template>
<view class="unbindresult">
<view class="re_up">
<image class="re_img" src="@/static/images/images/car_unbindresult.png" mode=""></image>
<image class="re_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/car_unbindresult.png" mode=""></image>
<view class="re_txt"> 你的车辆信息已解绑成功如要还车请重新校验车辆信息 </view>
</view>
<view class="re_inspect" @click="toBindingPage"> 校验车辆信息 </view>

View File

@@ -1,44 +0,0 @@
<template>
<view class="content">
<image class="logo" src="@/static/logo.png"></image>
<view class="text-area">
<text class="title">Hello RuoYi</text>
</view>
<button @click="$tab.navigateTo('/pages/mine/faceRecognition/faceRecognition')">人脸识别</button>
<button @click="$tab.navigateTo('/pages/componentsTest')">跳转组件测试页</button>
</view>
</template>
<script>
export default {
onLoad: function() {}
}
</script>
<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
</style>

View File

@@ -12,32 +12,32 @@
<view class="typeview">
<view class="typeview_one" @click="toRepair(1)">
<text class="typetxt">常规保养</text>
<image class="type_img" src="@/static/images/images/booking_management.png"></image>
<image class="type_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/booking_management.png"></image>
</view>
<view class="typeview_one" @click="toRepair(2)">
<text class="typetxt">故障维修</text>
<image class="type_img" src="@/static/images/images/troubleshooting.png"></image>
<image class="type_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/troubleshooting.png"></image>
</view>
<view class="typeview_one" @click="toRepair(3)">
<text class="typetxt">事故维修</text>
<image class="type_img" src="@/static/images/images/maintenance_reception.png"></image>
<image class="type_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/maintenance_reception.png"></image>
</view>
<view class="typeview_one" @click="toRepair(4)">
<text class="typetxt">退车</text>
<image class="type_img" src="@/static/images/images/cart_reception.png"></image>
<image class="type_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/cart_reception.png"></image>
</view>
<!-- <view class="typeview_one" @click="toFault">
<text class="typetxt">故障维修</text>
<image class="type_img" src="@/static/images/images/troubleshooting.png"></image>
<image class="type_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/troubleshooting.png"></image>
</view>
<view class="typeview_one" @click="toAccident">
<text class="typetxt">事故维修</text>
<image class="type_img" src="@/static/images/images/maintenance_reception.png"></image>
<image class="type_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/maintenance_reception.png"></image>
</view>
<view class="typeview_one" @click="toRefund">
<text class="typetxt">退车</text>
<image class="type_img" src="@/static/images/images/cart_reception.png"></image>
<image class="type_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/cart_reception.png"></image>
</view> -->
</view>
<view class="foottxt">
@@ -52,11 +52,6 @@
export default {
data() {
return {
// list: [
// require('../../static/home/imgCar.png'),
// require('../../static/home/imgCar1.png'),
// require('../../static/home/imgCar2.png'),
// ],
list: [],
carousel: {
limit: 20,

View File

@@ -14,7 +14,7 @@
<u-popup :show="show" :round="10" mode="bottom">
<view class="outsideview">
<view class="topview">
<image src="@/static/images/images/logo.jpg" mode="" shape="circle"></image>
<image src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/logo.jpg" mode="" shape="circle"></image>
<!-- <view class="txt">用户协议与隐私政策</view> -->
<text class="txt">用户协议与隐私政策</text>
</view>
@@ -210,6 +210,7 @@
}
.footview {
padding: 0 40rpx;
padding: 25rpx 40rpx;
// border: 1px solid red;
}
</style>

View File

@@ -43,85 +43,92 @@
<view class="header-info" :style="{ backgroundImage: `url(${header_bgimg})` }">
<!-- 未登录 -->
<view class="header_lr" >
<view class="header_l" v-if="!myInfo.realName" @click="handleToLogin">
<!-- <view class="header_l" v-if="!myInfo.realName" @click="handleToLogin">
<view class="l_txt"> 登录 / 注册 </view>
<image class="icon_img" src="@/static/images/images/r_icon.png" mode=""></image>
</view>
<image class="icon_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png" mode=""></image>
</view> -->
<!-- isCertification false 未实名true 实名 -->
<view v-if="myInfo.realName">
<view class="l_welcome"> 欢迎您</view>
<view class="l_name"> {{ myInfo.realName }} </view>
<!-- <view class="l_name"> {{ name?name:mineInfo.realName }} </view> -->
</view>
<view v-else class="header_l" @click="handleToLogin">
<view class="l_txt" v-if="!mineInfo.id"> 登录 / 注册 </view>
<view class="l_txt" v-if="!myInfo.realName && mineInfo.id"> 请完善信息 </view>
<image class="icon_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png" mode=""></image>
</view>
<view class="header_r">
<image class="r_img" v-if="!mineInfo.avatar" src="@/static/images/images/mine_xing.png" mode=""></image>
<image class="r_img" v-if="!mineInfo.avatar" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_xing.png" mode=""></image>
<image class="r_img" v-if="mineInfo.avatar" :src="mineInfo.avatar" mode=""></image>
<image class="r_img_mini" v-if="mineInfo.isVip==0" src="@/static/images/images/mine_xingMini.png" mode=""></image>
<image class="r_img_mini" v-if="mineInfo.isVip==0" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_xingMini.png" mode=""></image>
</view>
</view>
<!-- 登录 -->
<!-- <view class="header_lr" v-if="name" @click="handleToInfo">
<view>
<view class="l_welcome"> 欢迎您</view>
<view class="l_name"> {{ name }} </view>
</view>
<view class="header_r">
<image class="r_img" v-if="avatar" :src="avatar" mode=""></image>
<image class="r_img_mini" src="@/static/images/images/mine_xingMini.png" mode=""></image>
</view>
</view> -->
</view>
<view class="groupview_up">
<view class="allview" @click="$tab.navigateTo('/pages/order/myOrder')">
<view class="img_txt">
<image class="group_img" src="@/static/images/images/mine_order.png" mode=""></image>
<image class="group_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_order.png" mode=""></image>
<text class="group_text">我的工单</text>
</view>
<image class="icon_img" src="@/static/images/images/r_icon.png" mode=""></image>
<image class="icon_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png" mode=""></image>
</view>
<view class="allview" @click="$tab.navigateTo('/pages/car/carInfo')">
<view class="img_txt">
<image class="group_img" src="@/static/images/images/mine_car.png" mode=""></image>
<image class="group_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_car.png" mode=""></image>
<text class="group_text">车辆信息</text>
</view>
<image class="icon_img" src="@/static/images/images/r_icon.png" mode=""></image>
<image class="icon_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png" mode=""></image>
</view>
<view class="allview" @click="$tab.navigateTo('/pages/residue/authentication')">
<view class="img_txt">
<image class="group_img" src="@/static/images/images/mine_authen.png" mode=""></image>
<image class="group_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_authen.png" mode=""></image>
<text class="group_text">我的认证</text>
</view>
<image class="icon_img" src="@/static/images/images/r_icon.png" mode=""></image>
<image class="icon_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png" mode=""></image>
</view>
</view>
<view class="groupview_down">
<view class="allview" @click="$tab.navigateTo('/pages/residue/information')">
<view class="img_txt">
<image class="group_img" src="@/static/images/images/mine_userInfo.png" mode=""></image>
<image class="group_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_userInfo.png" mode=""></image>
<text class="group_text">个人资料</text>
</view>
<image class="icon_img" src="@/static/images/images/r_icon.png" mode=""></image>
<image class="icon_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png" mode=""></image>
</view>
<view class="allview" @click="$tab.navigateTo('/pages/residue/onlineService')">
<view class="img_txt">
<image class="group_img" src="@/static/images/images/mine_kefu.png" mode=""></image>
<image class="group_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_kefu.png" mode=""></image>
<text class="group_text">在线客服</text>
</view>
<image class="icon_img" src="@/static/images/images/r_icon.png" mode=""></image>
<image class="icon_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png" mode=""></image>
</view>
<view class="allview" @click="$tab.navigateTo('/pages/residue/setup')">
<view class="img_txt">
<image class="group_img" src="@/static/images/images/mine_setting.png" mode=""></image>
<image class="group_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_setting.png" mode=""></image>
<text class="group_text">设置</text>
</view>
<image class="icon_img" src="@/static/images/images/r_icon.png" mode=""></image>
<image class="icon_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png" mode=""></image>
</view>
</view>
<!-- 是否确认 -->
<u-popup :show="cancelShow" :round="10" mode="center" @close="quxiaoBtn">
<view class="cancel_pop">
<view class="can_txt">
<text class="qr"> 请先完善实名信息</text>
</view>
<view class="canpop_btn">
<view class="quxiaobtn" @click="quxiaoBtn"> </view>
<view class="surebtn" @click="sureBtn"> </view>
</view>
</view>
</u-popup>
</view>
</template>
<script>
import storage from '@/utils/storage'
import { getMineInfoAPI , realNameDetailAPI } from '@/api/mine'
import { getMineInfoAPI ,realNameDetaiNowlAPI } from '@/api/mine'
// import { userMenuData, branner } from '@/api/system/system'
export default {
data() {
@@ -130,11 +137,10 @@
version: getApp().globalData.config.appInfo.version,
tabList: [],
brannerList: [],
header_bgimg: '../../static/images/images/mine_bg.png',
// name:'七五',
// avatar:'../../static/images/images/mine_xing.png'
header_bgimg: 'https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_bg.png',
mineInfo:{},
myInfo:{}
myInfo:{},
cancelShow:false
}
},
computed: {
@@ -151,12 +157,27 @@
this.getMineInfo()
},
methods: {
sureBtn(){
this.cancelShow=false
uni.navigateTo({
url: '/pages/user/realName'
});
},
quxiaoBtn(){
this.cancelShow=false
},
async getMineInfo(){
const res =await getMineInfoAPI()
console.log(res,'resssss');
this.mineInfo=res.data
const my=await realNameDetailAPI(res.data.id)
const my=await realNameDetaiNowlAPI()
console.log(my,'mymymymy');
this.myInfo=my.data
if(my.data){
this.myInfo=my.data
}else{
this.cancelShow=true
}
},
// 获取个人中心广告图
// getBranner() {
@@ -211,7 +232,12 @@
this.$tab.navigateTo('/pages/mine/setting/index')
},
handleToLogin() {
this.$tab.navigateTo('/pages/login/login')
if(!this.mineInfo.id){
this.$tab.navigateTo('/pages/login/login')
}
if(!this.myInfo){
this.cancelShow=true
}
},
handleLogout() {
this.$modal.confirm('确定注销并退出系统吗?').then(() => {
@@ -237,6 +263,67 @@
</script>
<style lang="scss">
.cancel_pop {
// padding: 40rpx 40rpx 0 40rpx;
padding: 40rpx;
.can_txt {
display: flex;
flex-direction: column;
align-items: center;
margin: 20rpx 150rpx 60rpx 150rpx;
.qx {
font-size: 34rpx;
font-family: Noto Sans SC, Noto Sans SC;
font-weight: 520;
color: #222222;
}
.qr {
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #222222;
margin-top: 40rpx;
}
}
.canpop_btn {
display: flex;
justify-content: space-between;
height: 88rpx;
.quxiaobtn {
width: 48%;
height: 88rpx;
line-height: 88rpx;
border-radius: 48rpx;
font-size: 34rpx;
font-weight: 400;
color: #222222;
background: #EDEDED;
text-align: center;
font-family: Noto Sans SC, Noto Sans SC;
}
.surebtn {
width: 48%;
height: 88rpx;
line-height: 88rpx;
border-radius: 48rpx;
font-size: 34rpx;
font-weight: 400;
color: #fff;
background: #333333;
text-align: center;
font-family: Noto Sans SC, Noto Sans SC;
}
}
}
page {
background-color: #f5f6f7;
}

View File

@@ -1,6 +1,6 @@
<template>
<view class="flex-column-center">
<image class="icon-phone" src="@/static/images/icon/phone.png" mode="widthFix" />
<image class="icon-phone" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/icon/phone.png" mode="widthFix" />
<view class="text-center f-48">
{{phonenumber}}
</view>

View File

@@ -15,7 +15,7 @@
<view class="noneview" v-if="orderList.length===0">
<view class="imgview">
<image src="../../static/images/images/mine_wu.png" mode=""></image>
<image src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_wu.png" mode=""></image>
</view>
<view class="txtview">暂无更多</view>
</view>
@@ -24,10 +24,10 @@
<view class="haveview" v-else>
<view v-if="tabOrderType=='finish'" class="evaluateview" @click="$tab.navigateTo('/pages/order/myReview')">
<view class="eval_l">
<image class="eval_l_img" src="@/static/images/images/mine_evaluate.png" mode=""></image>
<image class="eval_l_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_evaluate.png" mode=""></image>
<text class="eval_l_txt"> 我的评价 </text>
</view>
<image class="eval_r_icon" src="@/static/images/images/right.png" mode=""></image>
<image class="eval_r_icon" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/right.png" mode=""></image>
</view>
<view class="have_con" v-for="item in orderList" :key="item.id">
<view @click="$tab.navigateTo(`/pages/order/orderDetail?orderSn=${item.orderSn}`)">
@@ -78,7 +78,7 @@
<u-col span="6">
<view class="lastview" @click="goHere">
<view class="have_img">
<image src="@/static/images/images/mine_go.png" mode=""></image>
<image src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_go.png" mode=""></image>
</view>
<view class="have_txt"> 去这里 </view>
</view>
@@ -95,7 +95,7 @@
</view>
<!-- v-if="item.isFinish===true" -->
<!-- @click="$tab.navigateTo(`/pages/order/pushReview?orderObj=${detailListOld}`)" -->
<view class="btn_view" v-if="item.isFinish===true">
<view class="btn_view" v-if="item.isFinish===true && isShow===true">
<text class="btntxt" @click="toPushReview(item)"> 去评价 </text>
</view>
</u-col>
@@ -120,7 +120,7 @@
</template>
<script>
import { getOrderListAPI,cancelOrderAPI,deleteOrderAPI } from '@/api/order'
import { getOrderListAPI,cancelOrderAPI,deleteOrderAPI ,getReviewListAPI } from '@/api/order'
import { mapGetters } from 'vuex'
export default {
data() {
@@ -128,9 +128,10 @@
// 已确认 => 自己填的orderType
// orderType: all=全部ucheck=未确认notArrive=未到店reject=已驳回finish=(已完成)
// orderType: all=全部ucheck=待受理notArrive=已确认reject=已驳回finish=(已完成)
// badge: {value: 3}
list: [
{name: '全部', orderType: 'all'},
{name: '待受理',orderType: 'ucheck',badge: {value: 3}},
{name: '待受理',orderType: 'ucheck',},
{name: '已确认',orderType: 'notArrive',},
{name: '已完成',orderType: 'finish',},
{name: '已驳回',orderType: 'reject',},
@@ -150,6 +151,7 @@
},
total:0,
orderList:[],
isShow:true
}
},
onShow() {
@@ -163,12 +165,23 @@
methods: {
async getOrderList(str){
this.listData.orderType = str ? str : this.listData.orderType
const res = await getOrderListAPI(this.listData)
const res = await getOrderListAPI(this.listData) // 工单列表
this.orderList=res.data.list
this.listData.limit=res.data.limit
this.listData.page=res.data.page
this.total=res.data.total
// console.log(res,'res-getOrderListAPI');
const review = await getReviewListAPI() // 评价列表
res.data.list.forEach(ele=>{
// console.log(ele,'111111111111111工单列表');
review.data.list.forEach(item=>{
// console.log(item,'222222222222222评价列表');
if(ele.orderSn == item.orderSn){
this.isShow=false
}
})
})
},
tabsClick(tab) {
// console.log('tabsClick', tab);
@@ -239,8 +252,9 @@
this.isItem=item
},
// 去评价
toPushReview(obj){
async toPushReview(obj){
console.log(obj,'去评价携带obj');
// wx.setStorageSync('Obj',obj)
wx.setStorageSync('Obj',obj)
uni.navigateTo({

View File

@@ -3,11 +3,11 @@
<!-- 发布评价 => 提交 -->
<u-transition :show="isShowView" mode="fade-down">
<view class="componview">
<image class="com_img" src="@/static/images/images/order_component.png" mode=""></image>
<image class="com_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/order_component.png" mode=""></image>
</view>
</u-transition>
<!-- <view class="componview" v-if="isShowView">
<image class="com_img" src="@/static/images/images/order_component.png" mode=""></image>
<image class="com_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/order_component.png" mode=""></image>
</view> -->
<view class="review_down" v-for="item in reviewList" :key="item.id">
<view class="up_up">
@@ -17,9 +17,9 @@
<!-- 判断是否有图 -->
<view class="review_img">
<image class="re_img" :src="pic" v-for="pic in item.pics" :key="pic"></image>
<!-- <image class="re_img" src="@/static/images/images/order_two.png" mode=""></image>
<image class="re_img" src="@/static/images/images/order_one.png" mode=""></image>
<image class="re_img" src="@/static/images/images/order_two.png" mode=""></image> -->
<!-- <image class="re_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/order_two.png" mode=""></image>
<image class="re_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/order_one.png" mode=""></image>
<image class="re_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/order_two.png" mode=""></image> -->
</view>
<view class="up_centre">
<view class="up_cen_l"> {{item.merName?item.merName:'暂无'}} </view>
@@ -31,7 +31,7 @@
<view class="up_down">
<view class="up_down_l">
<u-rate :count="count" :value="item.star" active-color="#F68D1F" inactive-color="#E4E4E4" readonly :allowHalf='true'></u-rate>
<!-- <image class="re_img" src="@/static/images/images/order_greystar.png" mode=""></image> -->
<!-- <image class="re_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/order_greystar.png" mode=""></image> -->
<view class="l_score"> {{ item.star }} </view>
</view>
<view class="up_down_r"> {{ item.createTime ? item.createTime : '暂无' }} </view>

View File

@@ -92,31 +92,40 @@
<view class="btnview_sure" @click="quxiaoOrder(3)"
v-if='detailList.auditStatus==2 && detailList.isFinish==false' >删除工单</view>
</view>
<view class="con_btnview" v-if="detailList.isFinish==true">
<view class="con_btnview" v-if="detailList.isFinish==true && isShow==true">
<view class="btnview_sure_one" @click="quxiaoOrder(4)" >去评价</view>
</view>
</view>
<!-- 取消-删除-重新 -->
<u-popup :show="cancelShow" :round="10" mode="center" @close="quxiaoBtn">
<view class="cancel_pop">
<view class="can_txt">
<text class="qx"> {{title}} </text>
<text class="qr"> 是否{{isSure}} </text>
</view>
<view class="canpop_btn">
<view class="quxiaobtn" @click="quxiaoBtn"> </view>
<view class="surebtn" @click="sureBtn"> </view>
</view>
</view>
</u-popup>
</view>
</template>
<script>
import { mapGetters } from 'vuex'
import { getOrderDetailAPI ,cancelOrderAPI,deleteOrderAPI } from '@/api/order'
import { getOrderDetailAPI ,cancelOrderAPI,deleteOrderAPI , getReviewListAPI } from '@/api/order'
export default{
data(){
return{
// detailList:{
// title:'星桔EV(祥园路店)',
// name:'常规保养',
// createTime:'2023-11-07 14:00-14:30',
// carNo:'浙A·15JD6',
// modelName:' UE5系列',
// desc:'阿斯顿阿斯顿马丁阿斯顿马丁阿斯顿阿斯顿马丁阿斯顿马丁',
// orderSn:'20231107001',
// updateTime:'2023-11-07 14:00'
// },
detailList:{},
orderSn:''
orderSn:'',
isShow:true,
cancelShow:false,
title: '',
isSure: '',
num:null
}
},
onLoad(query) {
@@ -135,24 +144,43 @@
const detail=await getOrderDetailAPI({orderSn:this.orderSn})
// console.log(detail,'getOrderDetailAPI');
this.detailList=detail.data
const review = await getReviewListAPI() // 评价列表
review.data.list.forEach(item=>{
if(item.orderSn==detail.data.orderSn){
this.isShow=false
}
})
},
async quxiaoOrder(num){
if( num==1 ){
quxiaoBtn(){
this.cancelShow=false
},
async sureBtn(){
if(this.num==1){
await cancelOrderAPI(this.detailList.id)
this.$toast('取消工单成功')
uni.navigateTo({
url: '/pages/order/myOrder'
});
}
if(this.num==3){
await deleteOrderAPI(this.detailList.id)
this.$toast('删除工单成功')
}
uni.navigateTo({
url: '/pages/order/myOrder'
});
this.cancelShow=false
},
async quxiaoOrder(num){
this.cancelShow=true
this.num=num
if( num==1 ){
this.title='取消工单'
this.isSure='确认取消工单'
}
// if(num==2){
// console.log('工单-结束');
// }
if(num==3){
await deleteOrderAPI(this.detailList.id)
this.$toast('删除工单成功')
uni.navigateTo({
url: '/pages/order/myOrder'
});
this.title='删除工单'
this.isSure='确认删除工单'
}
if(num==4){
wx.setStorageSync('Obj',this.detailList)
@@ -177,6 +205,66 @@
</script>
<style lang="scss" scoped>
.cancel_pop {
// padding: 40rpx 40rpx 0 40rpx;
padding: 40rpx;
.can_txt {
display: flex;
flex-direction: column;
align-items: center;
margin: 20rpx 150rpx 60rpx 150rpx;
.qx {
font-size: 34rpx;
font-family: Noto Sans SC, Noto Sans SC;
font-weight: 520;
color: #222222;
}
.qr {
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #222222;
margin-top: 40rpx;
}
}
.canpop_btn {
display: flex;
justify-content: space-between;
height: 88rpx;
.quxiaobtn {
width: 48%;
height: 88rpx;
line-height: 88rpx;
border-radius: 48rpx;
font-size: 34rpx;
font-weight: 400;
color: #222222;
background: #EDEDED;
text-align: center;
font-family: Noto Sans SC, Noto Sans SC;
}
.surebtn {
width: 48%;
height: 88rpx;
line-height: 88rpx;
border-radius: 48rpx;
font-size: 34rpx;
font-weight: 400;
color: #fff;
background: #333333;
text-align: center;
font-family: Noto Sans SC, Noto Sans SC;
}
}
}
.con_btnview {
padding: 8rpx 24rpx;
width: 100%;

View File

@@ -50,8 +50,8 @@
components: { imageUpload },
data(){
return{
uploadIcon:'../../static/images/images/order_upLoadbg.png',
clearIcon:'../../static/images/images/order_close.png',
uploadIcon:'https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/order_upLoadbg.png',
clearIcon:'https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/order_close.png',
orderObj:{},
pushData:{

View File

@@ -7,14 +7,14 @@
<view class="positionview">
<view class="postop">
<view class="posleft">
<!-- <image class="leftimg" src="@/static/images/images/position.png" mode=""></image> -->
<!-- <image class="leftimg" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/position.png" mode=""></image> -->
<u-icon name="map-fill" color="#3D3D3D" size="14"></u-icon>
<text class="lefttxt">选择门店</text>
</view>
<view class="posright" @click="link('/pages/repair/selectCity')">
<text class="righttxt">{{ cityname?cityname:citySave }}</text>
<u-icon name="arrow-right" color="#999999" size="10"></u-icon>
<!-- <image class="rightimg" src="@/static/images/images/right.png" mode=""></image> -->
<!-- <image class="rightimg" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/right.png" mode=""></image> -->
</view>
</view>
<z-paging ref="paging" :fixed="false" use-page-scroll auto-full-height v-model="dataList"
@@ -23,7 +23,7 @@
<view class="footview" hover-class="hover-footview" v-for="(item,index) in dataList" :key="item.id"
@click="link(`/pages/repair/repairDetail?id=${item.id}`,`${item.id}`)">
<view class="footleft">
<image class="footleft_img" :src="item.avatar"></image>
<image class="footleft_img" :src="item.backImage"></image>
<!-- coverImage 封面图 backImage 背景图 avatar 头像 -->
</view>
<view class="footright">
@@ -40,10 +40,10 @@
</view>
<view class="down_r">
<view class="down_r_icon" @click.stop="callPhone(JSON.stringify(item.phone))">
<image src="@/static/images/images/phone_fill.png" mode=""></image>
<image src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/phone_fill.png" mode=""></image>
</view>
<view class="down_r_icon">
<image src="@/static/images/images/pos_icon.png" mode=""></image>
<image src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/pos_icon.png" mode=""></image>
</view>
</view>
</view>

View File

@@ -10,7 +10,8 @@
<view class="up_left">
<view class="up_l_one"> {{dataObj.name}} </view>
<view class="up_l_two">
<view class='twotxt'>{{homenum==1?'常规保养':homenum==2?'故障维修':homenum==3?'事故维修':homenum==4?'退车':'保养保养'}}</view>
<view class='twotxt'>
{{homenum==1?'常规保养':homenum==2?'故障维修':homenum==3?'事故维修':homenum==4?'退车':'保养保养'}}</view>
<view class='twotxt'>{{dataObj.keywords}}</view>
</view>
<view class="up_l_three">
@@ -23,11 +24,15 @@
</view>
</view>
<view class="up_right">
<view class="up_r_icon" @click.stop="callPhone(JSON.stringify(dataObj.phone))">
<image class="up_r_iconimg" src="@/static/images/images/phone_fill.png" mode=""></image>
<view class="up_r_icon" @click.stop="callPhone(JSON.stringify(dataObj.phone))">
<image class="up_r_iconimg"
src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/phone_fill.png"
mode=""></image>
</view>
<view class="up_r_icon">
<image class="up_r_iconimg" src="@/static/images/images/pos_icon.png" mode=""></image>
<image class="up_r_iconimg"
src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/pos_icon.png"
mode=""></image>
</view>
</view>
</view>
@@ -37,24 +42,30 @@
<view class="cheview_r">
<text slot="value" class="u-slot-value formtxt">
{{ createData.repairType==1?'常规保养':createData.repairType==2?'故障维修':
createData.repairType==3?'事故维修':createData.repairType==4?'退车':'保养保养'}}
createData.repairType==3?'事故维修':createData.repairType==4?'退车':'保养保养'}}
</text>
</view>
</view>
<view class="cheview" @click="popupShow = true">
<view class="cheview_l"> 预约信息 </view>
<view class="infoview_r">
<view class="r_txt"> {{formObj.carNo?formObj.carNo:''}} {{myInfo.realName?myInfo.realName:''}} </view>
<!-- <view class="r_txt"> {{formObj.carNo}} {{myInfo.nickname?myInfo.nickname:''}} </view> -->
<view class="r_txt"> {{formObj.carNo?formObj.carNo:''}}
{{myInfo.realName?myInfo.realName:''}} </view>
<!-- <view class="r_txt"> {{formObj.carNo}} {{myInfo.nickname?myInfo.nickname:''}} </view> -->
<!-- 浙A·15JD6 章程 -->
<image class="r_icon" src="@/static/images/images/r_icon.png" mode=""></image>
<image class="r_icon"
src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png"
mode=""></image>
</view>
</view>
<view class="cheview" @click="openTime">
<view class="cheview_l"> 预约时间 </view>
<view class="infoview_r">
<view class="r_txt"> {{createData.workingDay?createData.workingDay:''}} {{ createData.workingTime?createData.workingTime:'请填写' }} </view>
<image class="r_icon" src="@/static/images/images/r_icon.png" mode=""></image>
<view class="r_txt"> {{createData.workingDay?createData.workingDay:''}}
{{ createData.workingTime?createData.workingTime:'请填写' }} </view>
<image class="r_icon"
src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/r_icon.png"
mode=""></image>
</view>
</view>
<view class="descview">
@@ -102,107 +113,127 @@
<view class="carnum">
<view class="num_l"> 姓名 </view>
<view class="num_r"> {{myInfo.realName?myInfo.realName:''}} </view>
<!-- <view class="num_r"> {{myInfo.nickname}} </view> -->
<!-- <view class="num_r"> {{myInfo.nickname}} </view> -->
</view>
<view class="carnum">
<view class="num_l"> 电话 </view>
<view class="num_r"> {{myInfo.phone?myInfo.phone:''}} </view>
<view class="num_r"> {{myInfo.phone?myInfo.phone:''}} </view>
</view>
</view>
<view class="popupbtn" @click="popupSubmit"> </view>
</view>
</u-popup>
<!-- 是否确认 -->
<u-popup :show="cancelShow" :round="10" mode="center" @close="quxiaoBtn">
<view class="cancel_pop">
<view class="can_txt">
<text class="qr"> 请完善车辆信息 </text>
</view>
<view class="canpop_btn">
<view class="quxiaobtn" @click="quxiaoBtn"> </view>
<view class="surebtn" @click="sureBtn"> </view>
</view>
</view>
</u-popup>
<!-- 预约时间 -->
<!-- <liu-delivery-time @change="changeTime" ref="chooseTime" title="预约时间" radius='16rpx'></liu-delivery-time> -->
</view>
</template>
<script>
import { getStoreList } from '@/api/index'
import { reservationCreateAPI,getMyCarAPI } from '@/api/repair'
import { getMineInfoAPI , realNameDetailAPI } from '@/api/mine'
import { mapGetters } from 'vuex'
import {
getStoreList
} from '@/api/index'
import {
reservationCreateAPI,
getMyCarAPI
} from '@/api/repair'
import {
getMineInfoAPI,
realNameDetaiNowlAPI
} from '@/api/mine'
import {
mapGetters
} from 'vuex'
export default {
data() {
return {
cancelShow: false,
popupShow: false,
dayTime: {
workingDay:'',
workingTime:''
workingDay: '',
workingTime: ''
},
popupShowTime: false,
tabledata:{
limit:10,
page:1,
tabledata: {
limit: 10,
page: 1,
latitude: '30',
longitude: '126'
},
dataObj:{},
formObj:{},
myInfo:{},
createData:{
dataObj: {},
formObj: {},
myInfo: {},
createData: {
carId: null,
merId: null,
merId: null,
repairDescribe: "",
repairType: 1,
workingDay: "",
workingTime: ""
},
reId:null,
reId: null,
// merId:null,
// repairType:null,
timerCar:null,
timerReal:null,
timerCar: null,
timerReal: null,
}
},
computed: {
...mapGetters(['checkIds','homenum','merId','workingDay','workingTime'])
...mapGetters(['checkIds', 'homenum', 'merId', 'workingDay', 'workingTime'])
},
onShow() {
this.getStoreList()
},
methods: {
async getStoreList(){
// console.log(this.homenum,'this.homenum--在repairdetail中');
// console.log(this.checkIds,'this.checkIds[0]--detail--1111111111111');
// this.reId=this.merId? this.merId: this.checkIds[this.checkIds.length - 1]
// this.createData.repairType=this.repairType ? this.repairType : this.homenum
// this.reId=this.orderMerId? this.orderMerId: this.merId
this.createData.merId=this.merId
this.createData.repairType= this.homenum
this.createData.workingDay=this.workingDay
this.createData.workingTime=this.workingTime
sureBtn() {
this.cancelShow = false
uni.navigateTo({
url: '/pages/user/userBinding'
})
},
quxiaoBtn() {
this.cancelShow = false
},
async getStoreList() {
this.createData.merId = this.merId
this.createData.repairType = this.homenum
this.createData.workingDay = this.workingDay
this.createData.workingTime = this.workingTime
// console.log(this.reId,'this.reId------detail里面的');
// 门店
const res=await getStoreList(this.tabledata)
res.data.list.forEach(ele => {
// console.log(ele,'elelelelelelelel');
if(ele.id==this.merId){
this.dataObj=ele
const res = await getStoreList(this.tabledata)
res.data.list.forEach(ele => {
if (ele.id == this.merId) {
this.dataObj = ele
}
});
});
// 获取我的汽车
// const car=await getMyCarAPI()
// this.formObj=car.data
getMyCarAPI().then(res=>{
if(res.data){
this.formObj=res.data
this.createData.carId=res.data.id
}else{
getMyCarAPI().then(res => {
if (res.data) {
this.formObj = res.data
this.createData.carId = res.data.id
} else {
this.$toast('请完善车辆信息')
this.timerCar=setTimeout(()=>{
uni.navigateTo({
url:'/pages/user/userBinding'
})
},2000)
this.cancelShow = true
}
})
// 我的信息
const my = await getMineInfoAPI()
const detail=await realNameDetailAPI(my.data.id)
this.myInfo=detail.data
// const my = await getMineInfoAPI()
const detail = await realNameDetaiNowlAPI()
this.myInfo = detail.data
},
// 去选择时间
openTime() {
@@ -211,40 +242,30 @@
});
},
// 确认提交
groupSubmit() {
// console.log('groupSubmit');
// this.createData.merId=this.merId
// this.createData.carId=this.formObj.id
// this.createData.workingDay=this.dayTime.workingDay
// this.createData.workingTime=this.dayTime.workingTime
console.log(this.createData,'this.createData--确认提交的数据');
groupSubmit() {
console.log(this.createData, 'this.createData--确认提交的数据');
// await reservationCreateAPI(this.createData)
reservationCreateAPI(this.createData)
.then((res) => {
// console.log(res,'then-res');
uni.navigateTo({
url: '/pages/repair/repairResult'
});
})
.catch((err) => {
console.log(err,'err');
// err提示 您已经预约了, XXX 该时间段了 XXX 该时间段已经预约满! 维修商户 不存在 请先完善个人信息
if(err=='请先完善个人信息'){
this.$toast(err)
this.timerReal = setTimeout(()=>{
if (this.createData.carId) {
reservationCreateAPI(this.createData)
.then((res) => {
// console.log(res,'then-res');
uni.navigateTo({
url: '/pages/user/realName'
url: '/pages/repair/repairResult'
});
},2000)
}else{
this.$toast(err)
}
});
})
.catch((err) => {
// err提示 您已经预约了, XXX 该时间段了 XXX 该时间段已经预约满! 维修商户 不存在 请先完善个人信息
this.$toast(err)
});
} else {
this.cancelShow = true
}
},
popupSubmit() {
console.log('预约信息');
this.popupShow=false
this.popupShow = false
},
callPhone(phoneNumber) {
console.log(phoneNumber);
@@ -253,15 +274,69 @@
})
},
},
beforeUnmount(){
clearTimeout(this.timerReal)
clearTimeout(this.timerCar)
// wx.removeStorageSync('isItem')
}
}
</script>
<style lang="scss" scoped>
.cancel_pop {
// padding: 40rpx 40rpx 0 40rpx;
padding: 40rpx;
.can_txt {
display: flex;
flex-direction: column;
align-items: center;
margin: 20rpx 150rpx 60rpx 150rpx;
.qx {
font-size: 34rpx;
font-family: Noto Sans SC, Noto Sans SC;
font-weight: 520;
color: #222222;
}
.qr {
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #222222;
margin-top: 40rpx;
}
}
.canpop_btn {
display: flex;
justify-content: space-between;
height: 88rpx;
.quxiaobtn {
width: 48%;
height: 88rpx;
line-height: 88rpx;
border-radius: 48rpx;
font-size: 34rpx;
font-weight: 400;
color: #222222;
background: #EDEDED;
text-align: center;
font-family: Noto Sans SC, Noto Sans SC;
}
.surebtn {
width: 48%;
height: 88rpx;
line-height: 88rpx;
border-radius: 48rpx;
font-size: 34rpx;
font-weight: 400;
color: #fff;
background: #333333;
text-align: center;
font-family: Noto Sans SC, Noto Sans SC;
}
}
}
.repairdeyail {
height: 100vh;
background-color: #f5f5f5;
@@ -332,7 +407,7 @@
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
.twotxt {
padding: 4rpx 12rpx;
border-radius: 4rpx;
@@ -484,7 +559,7 @@
}
}
}
.line-one {
white-space: nowrap;
overflow: hidden;

View File

@@ -3,7 +3,7 @@
<view class="re_result">
<view class="conview">
<view class="imgview">
<image class="img" src="@/static/images/images/homeResult.png" mode=""></image>
<image class="img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/homeResult.png" mode=""></image>
</view>
<view class="txtview">
<view class="bigtxt">预约成功</view>
@@ -34,11 +34,15 @@
methods: {
toMyBtn() {
console.log('去我的工单');
this.$store.dispatch('WorkingDay','')
this.$store.dispatch('WorkingTime','')
uni.navigateTo({
url: `/pages/order/myOrder`
});
},
toHomePage() {
this.$store.dispatch('WorkingDay','')
this.$store.dispatch('WorkingTime','')
console.log('去首页');
uni.switchTab({
url: '/pages/home/index'

View File

@@ -1,7 +1,7 @@
<template>
<view class="authentication">
<view class="au_img">
<image class="img" src="@/static/images/images/authentication.png" mode=""></image>
<image class="img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/authentication.png" mode=""></image>
</view>
<view class="au_card">
<view class="card_row">
@@ -24,7 +24,7 @@
</template>
<script>
import { getMineInfoAPI,realNameDetailAPI } from '@/api/mine'
import { getMineInfoAPI,realNameDetaiNowlAPI } from '@/api/mine'
export default{
data(){
return{
@@ -45,8 +45,8 @@
},
methods: {
async getMineInfo(){
const res =await getMineInfoAPI()
const detail=await realNameDetailAPI(res.data.id)
// const res =await getMineInfoAPI()
const detail=await realNameDetaiNowlAPI()
this.myInfo=detail.data
// this.myInfo.phone=this.phoneHide(detail.data.phone)
// this.myInfo.idCard=this.idCardHide(detail.data.idCard)

View File

@@ -31,7 +31,7 @@
<!-- <view class="u-flex u-flex-fill u-flex-items-center u-flex-end" @click.stop="updateHeadTap">
</view> -->
</view>
<image class="r_icon" src="@/static/images/images/right.png" mode=""></image>
<image class="r_icon" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/right.png" mode=""></image>
</view>
</view>
<view class="conrow">
@@ -57,7 +57,7 @@
export default {
data() {
return {
uploadIcon: '../../static/images/images/mine_xing.png',
uploadIcon: 'https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/mine_xing.png',
formData: {},
editData:{
nickname:'',
@@ -134,14 +134,20 @@
align-items: center;
padding: 48rpx 0;
border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
width: 100%;
.rowl{
// border: 1px solid red;
width: 33%;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #666666;
}
.rowr{
// border: 1px solid blue;
width: 63%;
display: flex;
justify-content: flex-end;
align-items: center;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;

View File

@@ -4,7 +4,7 @@
<view class="warp">
<view class="rect_all">
<view class="rect" @tap.stop @click="callphone">
<image class="icon" src="@/static/images/images/line_ptone.png" mode=""></image>
<image class="icon" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/line_ptone.png" mode=""></image>
<view class="phone"> {{ servicePhone }} </view>
</view>
<view class="quxiao" @tap.stop @click="quxiaoBtn"> 取消 </view>

View File

@@ -1,17 +1,17 @@
<template>
<view class="setup">
<view class="au_img">
<!-- <image class="img" src="@/static/images/images/setuplogo.png" mode=""></image> -->
<image class="img" src="@/static/images/images/logo.jpg" mode=""></image>
<!-- <image class="img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/setuplogo.png" mode=""></image> -->
<image class="img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/logo.jpg" mode=""></image>
</view>
<view class="au_card">
<view class="card_row" @click="toUserAgreePages(1)">
<view class='rowl'> 用户协议 </view>
<image class="icon" src="@/static/images/images/right.png" mode=""></image>
<image class="icon" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/right.png" mode=""></image>
</view>
<view class="card_row" @click="toUserAgreePages(2)">
<view class='rowl'> 隐私协议 </view>
<image class="icon" src="@/static/images/images/right.png" mode=""></image>
<image class="icon" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/right.png" mode=""></image>
</view>
<view class="card_row">
<view class='rowl'> 版本号 </view>

View File

@@ -3,13 +3,7 @@
<!-- 绑定成功 -->
<view class="allview">
<view class="topview">
<u-image :showLoading="true" src="@/static/images/images/user_result.png" width="148rpx" height="148rpx"></u-image>
<!-- <view>
<u-image :showLoading="true" :src="src" width="92rpx" height="68rpx"></u-image>
</view>
<view class="topfoot">
<u-text color="#000" size='12' bold="true" text="绑定成功"></u-text>
</view> -->
<u-image :showLoading="true" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/user_result.png" width="148rpx" height="148rpx"></u-image>
</view>
<view class="contentview">
<u-cell-group :border="false">
@@ -42,13 +36,11 @@
<script>
import { getMyCarAPI,getUserInfoAPI } from '@/api/car'
import { getCarInfoAPI } from '@/api/user'
import { realNameDetailAPI } from '@/api/mine'
import { realNameDetaiNowlAPI } from '@/api/mine'
import { mapGetters } from 'vuex'
export default {
data() {
return {
// src: '../../static/user/user_car.png'
src: 'https://cdn.uviewui.com/uview/album/1.jpg',
formObj:{},
userInfo:{}
}
@@ -79,9 +71,9 @@
// console.log(err);
// })
const user= await getUserInfoAPI() // 用户完整信息
// const user= await getUserInfoAPI() // 用户完整信息
// console.log(user,'user-info');
const detail=await realNameDetailAPI(user.data.id) // 实名详情
const detail=await realNameDetaiNowlAPI() // 实名详情
this.userInfo=detail.data
},
toHomePage() {

View File

@@ -10,7 +10,7 @@
<view class="top">
<view class="top_txt">填写个人信息</view>
<view class="top_imgview">
<image src="@/static/images/images/user_frame.png"></image>
<image src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/user_frame.png"></image>
</view>
</view>
<view class="formview">
@@ -74,8 +74,8 @@
],
idCard: { required: true, message: '请填写身份证号', trigger: ['blur','change'] },
},
uploadIcon: '../../static/images/images/user_upload.png',
clearIcon: '../../static/images/images/user_clear.png',
uploadIcon: 'https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/user_upload.png',
clearIcon: 'https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/user_clear.png',
imageUrls: '',
timeoutId:null
}

View File

@@ -15,7 +15,7 @@
<view class="f_car_num" >
<view class="fcn_l"> {{ formData.carNo.charAt(0) }} </view>
<view class="fcn_r">
<image class="fcn_r_img" src="@/static/images/images/user_down.png" mode=""></image>
<image class="fcn_r_img" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/user_down.png" mode=""></image>
</view>
</view>
<view class="letter_number">
@@ -27,6 +27,7 @@
<view class="ln_one"> {{ formData.carNo.charAt(5) }} </view>
<view class="ln_one"> {{ formData.carNo.charAt(6) }} </view>
<view class="ln_one"> {{ formData.carNo.charAt(7) }} </view>
<view class="ln_one"> {{ formData.carNo.charAt(8) }} </view>
</view>
</view>
</u-form-item>
@@ -49,7 +50,7 @@
<u-form-item label="上传行驶证" border-bottom='true'>
<view class="lr">
<u-image v-if="carInfo.driveLicense" width="60" height="60" :src="carInfo.driveLicense"></u-image>
<image v-else style="width: 112rpx; height: 112rpx;" src="../../static/images/images/user_travel.png" mode=""></image>
<image v-else style="width: 112rpx; height: 112rpx;" src="https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/user_travel.png" mode=""></image>
</view>
</u-form-item>
<u-form-item label="解绑日期" border-bottom='true'>
@@ -150,8 +151,8 @@
export default {
data() {
return {
top_bgImg: '../../../static/images/images/user_bgr.png',
uploadIcon: '../../static/images/images/user_travel.png',
top_bgImg: 'https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/user_bgr.png',
uploadIcon: 'https://qicheoss.oss-cn-shanghai.aliyuncs.com/static/images/images/user_travel.png',
keyboardShow: false,
datetimeShow: false,
@@ -342,6 +343,7 @@
display: flex;
align-items: center;
justify-content: space-around;
border: 1px solid red;
.ln_one{
width: 40rpx;
height: 44rpx;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -126,4 +126,4 @@ const user = {
}
}
export default user
export default user