detection-user/pages/detection/reser-details.vue
2024-09-01 18:16:43 +08:00

1437 lines
28 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- 商家商品详情 -->
<template>
<view class="content">
<view class="top-title">
<view class="">机动车小助手</view>
</view>
<!-- <view class="m-top">
<view class="cont-box">
<view class="dis">
<view class="ju">{{obj.realPrice /100 }}</view>
<view class="hui" v-if="obj.realPrice != obj.originalPrice ">原价{{obj.originalPrice / 100}}</view>
</view>
<view class="t-title">
{{titles}}
</view>
<view class="san">
<view class="dis" @click="gocoun()">
<view class="o-icon">
<image src="http://www.nuoyunr.com/lananRsc/detection/sst.png" mode=""></image>
</view>
<view class="sb">优惠券</view>
</view>
<view class="dis">
<view class="o-icon">
<image src="http://www.nuoyunr.com/lananRsc/j1.png" mode=""></image>
</view>
<view class="sb">上门取车</view>
</view>
<view class="dis">
<view class="o-icon">
<image src="http://www.nuoyunr.com/lananRsc/detection/xyy.png" mode=""></image>
</view>
<view class="sb">随时预约</view>
</view>
</view>
<view class="zui-di">
<view class="popup-box">
<view :class="{'lan':skuid == item.id}" class="p-box" v-for="(item,index) in skulist"
:key="index" @click="getsku(item.id,item.skuName,item.price)">
<text>{{item.skuName}}</text>
</view>
</view>
</view>
<view class="quan" @click="gocoun()">
<view class="dis">
<view class="q-zuo">
<image src="http://www.nuoyunr.com/lananRsc/detection/hongbao.png" mode=""></image>
</view>
<view class="zhong" @click="gocoun()">
<view class="q-hei" v-if="!discount">点击查看您的可用优惠券</view>
<view class="dis" v-else>
<view class="xh">
<text>¥{{discount || 0}}</text>
</view>
</view>
</view>
</view>
<view class="q-you" @click="gocoun()">
<uni-icons type="right" size="20" color="#AFAFAF"></uni-icons>
</view>
</view>
</view>
</view> -->
<!-- <view style="width: 100%; height: 110px;"></view> -->
<view class="ail-box">
<view class="h-title">预约日期</view>
<scroll-view scroll-x="true" class="box-bottom">
<view class="santu" :class="{'lanbox' : tapindex == index}" v-for="(items,index) in itmelist"
:key="index" @click="gettap(index,items)">
<view class="" style="font-size: 18px;">{{items.dateStr.substring(5,10).replace('-','月')}}
</view>
<view class="">{{items.weekStr}}</view>
</view>
</scroll-view>
<view class="h-title">预约时段</view>
<view class="dis">
<view class="wushi" :class="{'lanbox' : sx == 0}" @click=" sw(0)">
<view class="">上午</view>
<view class="">当前预约:{{renshu.morningCount}}人</view>
</view>
<view class="wushi" :class="{'lanbox' : sx == 1}" @click=" sw(1) ">
<view class="">下午</view>
<view class="">当前预约:{{renshu.afterCount}}人</view>
</view>
</view>
</view>
<view class="ail-box" style="margin-bottom: 1px;">
<view class="h-dx">
<view class="">重传证件</view>
<view class="ds">
<view class="d-button" :class="{'lx' : zjShow == 1 }" @click="ifzjShow(1)">
<u-icon name="checkbox-mark" color="#fff" size="16" v-if=" zjShow == 1"></u-icon>
</view>
<view style="margin-right: 10px;">是</view>
<view class="d-button" :class="{'lx' : zjShow == 0 }" @click="ifzjShow(0)">
<u-icon name="checkbox-mark" color="#fff" size="16" v-if=" zjShow == 0"></u-icon>
</view>
<view style="margin-right: 10px;">否</view>
</view>
</view>
<!-- <view class="h-dx">
<view class="">使用本机号码</view>
<view class="ds">
<view class="d-button" :class="{'lx' : telShow == 1 }" @click="iftelShow(1)">
<u-icon name="checkbox-mark" color="#fff" size="16" v-if=" telShow == 1"></u-icon>
</view>
<view style="margin-right: 10px;">是</view>
<view class="d-button" :class="{'lx' : telShow == 0 }" @click="iftelShow(0)">
<u-icon name="checkbox-mark" color="#fff" size="16" v-if=" telShow == 0"></u-icon>
</view>
<view style="margin-right: 10px;">否</view>
</view>
</view> -->
<view class="h-dx">
<view class="">请输入联系方式</view>
<view class="ds" style="text-align: right;">
<input type="text" placeholder="请输入联系方式" v-model="dataObj.otherPhone">
</view>
</view>
<!-- <view class="h-dx">
<view class="">线上支付</view>
<view class="ds">
<view class="d-button" :class="{'lx' : dataObj.isPayOnline == 1 }" @click="iftimeShow(1)">
<u-icon name="checkbox-mark" color="#fff" size="16" v-if=" dataObj.isPayOnline == 1"></u-icon>
</view>
<view style="margin-right: 10px;">是</view>
<view class="d-button" :class="{'lx' : dataObj.isPayOnline == 0 }" @click="iftimeShow(0)">
<u-icon name="checkbox-mark" color="#fff" size="16" v-if=" dataObj.isPayOnline == 0"></u-icon>
</view>
<view style="margin-right: 10px;">否</view>
</view>
</view> -->
<view class="h-dx">
<view class="">上门取车</view>
<view class="ds">
<view class="d-button" :class="{'lx' : dataObj.isPickCar == 1 }" @click="ifcarShow(1)"> <u-icon
name="checkbox-mark" color="#fff" size="16" v-if=" dataObj.isPickCar == 1"></u-icon>
</view>
<view style="margin-right: 10px;">是</view>
<view class="d-button" :class="{'lx' : dataObj.isPickCar == 0 }" @click="ifcarShow(0)"> <u-icon
name="checkbox-mark" color="#fff" size="16" v-if=" dataObj.isPickCar == 0"></u-icon>
</view>
<view style="margin-right: 10px;">否</view>
</view>
</view>
<view class="h-dx">
<view class="">备注</view>
<input type="text" style="z-index: 1;text-align: right;" placeholder="请输入备注" v-model="dataObj.remark">
</view>
<view class="h-dx">
<view class="">车牌号:</view>
<view class="">{{dataObj.carNo||""}}</view>
</view>
<view class="h-dx">
<view class="">品牌型号:</view>
<view class="">{{dataObj.carModel||""}}</view>
</view>
<view class="h-dx">
<view class="">性质:</view>
<view class="">{{dataObj.carNature||""}}</view>
</view>
<view class="h-dx">
<view class="">车架号:</view>
<view class="">{{dataObj.carIdNo||""}}</view>
</view>
</view>
<view class="ds_buttom" style="margin-top: 15px;">
<view class="aniu1" @click="delAppointment()">取消预约</view>
<view class="aniu2" @click="editAppointment()">立即修改</view>
</view>
<view class="fanhuixx" @click="dafan()">
<uni-icons type="left" size="24"></uni-icons>
</view>
</view>
</template>
<script>
import config from '@/config'
import request from '../../utils/request';
export default {
data() {
return {
type: 'sku',
detaulsObj: '',
skuName: '',
show: false,
id: '',
payobj: '',
skuid: '',
indexid: 0,
imgs: '',
indicatorDots: false,
autoplay: true,
interval: 2000,
xprice: 0,
duration: 500,
pid: '',
couponId: null,
coupontitle: null,
discount: null,
couponType: null,
idCardImage: null,
partnerName: '',
address: '',
partnerId: '',
itmelist: '',
appointmentday: '',
tapindex: null,
sx: null,
renshu: {
morningCount: 0,
afterCount: 0
},
dataObj: {
couponId: null,
driverLicenesImg: null, //证件
isPayOnline: null, //线上支付
isPickCar: null, //是否上门
otherPhone: null, //电话号码
remark: null, //备注
},
pickCarId: null,
zjShow: null,
telShow: null,
zjData: '',
carShow: null,
dateStr: ''
}
},
onLoad(option) {
this.imgs = this.$baseUrl
this.id = option.id
this.getDetails(option.id)
// this.sange()
uni.$on('pickCar', (data) => {
this.pickCarId = data
})
uni.$on('imgUrl', (data) => {
console.log(data, '1111');
this.dataObj.driverLicenesImg = data
this.getimg(data)
})
uni.$on('userCouponDiscount', (data) => {
console.log('jianting', data);
//优惠券页面返回的东西
this.couponId = data.couponId
this.coupontitle = data.title
this.discount = data.discount
this.couponType = data.couponType
})
},
methods: {
// 取消
async delAppointment() {
let data = {
appointmentId: this.id
}
let res = await request({
url: '/appInspection/goods/delAppointment',
method: 'post',
params: data
})
uni.showModal({
title: '取消成功',
})
uni.navigateBack()
console.log(res);
},
// 修改
async editAppointment() {
console.log(this.appointmentday);
this.dataObj.appointmentDay = this.appointmentday
this.dataObj.appointmentPeriod = this.sx
this.dataObj.pickCarId = this.pickCarId
console.log(this.appointmentDay, this.dataObj.appointmentDay);
let res = await request({
url: '/appInspection/goods/editAppointment',
method: 'post',
data: this.dataObj
})
uni.showModal({
title: '修改成功',
})
uni.navigateBack()
console.log(res);
},
// 详情
async getDetails(id) {
let res = await request({
url: '/inspection/appointment/getDetail?id=' + id,
method: 'get',
})
this.dataObj = res.data
this.appointmentDay = res.data.appointmentDay
this.sx = res.data.appointmentPeriod
this.reservationCom(res.data.skuId)
this.zjShow = 0
if (res.data.otherPhone) {
this.telShow = 0
}
},
async createOrder() {
if (this.zjShow == null) {
uni.showToast({
title: '必填项为空',
icon: 'error'
})
return
}
if (this.telShow == null) {
uni.showToast({
title: '必填项为空',
icon: 'error'
})
return
}
if (!this.appointmentday) {
uni.showToast({
title: '预约日期未填',
icon: 'error'
})
return
}
if (this.sx == null) {
uni.showToast({
title: '上午下午未填',
icon: 'error'
})
return
}
if (this.telShow == 0 && this.dataObj.otherPhone == null) {
uni.showToast({
title: '联系方式未填',
icon: 'error'
})
return
}
if (this.zjShow == 1 && this.dataObj.driverLicenesImg == null) {
uni.showToast({
title: '证据照片未填',
icon: 'error'
})
return
}
if (this.dataObj.isPayOnline == null) {
uni.showToast({
title: '没选支付方式',
icon: 'error'
})
return
}
let data = {
skuId: this.skuid,
appointmentDay: this.appointmentday,
appointmentPeriod: this.sx,
otherPhone: this.dataObj.otherPhone,
driverLicenesImg: this.dataObj.driverLicenesImg,
isPayOnline: this.dataObj.isPayOnline,
isPickCar: this.dataObj.isPickCar,
remark: this.dataObj.remark,
carModel: this.zjData.Model,
carNature: this.zjData.UseCharacter,
carIdNo: this.zjData.Vin,
carNo: this.zjData.PlateNo,
pickCarId: this.pickCarId
}
let restime = await request({
url: '/appInspection/goods/appointmentInspection',
method: 'post',
data: data
})
if (this.dataObj.isPayOnline == 0) {
uni.navigateBack()
return
}
let datas = {
goodsType: 'jc',
mdAmount: this.obj.realPrice / 100,
skuId: this.skuid,
otherPhone: this.dataObj.otherPhone,
driverLicenesImg: this.dataObj.driverLicenesImg,
isPayOnline: this.dataObj.isPayOnline,
isPickCar: this.dataObj.isPickCar,
remark: this.dataObj.dataObj,
carModel: this.zjData.Model,
carNature: this.zjData.UseCharacter,
carIdNo: this.zjData.Vin,
carNo: this.zjData.PlateNo,
couponId: this.couponId,
pickCarId: this.pickCarId
}
let res = await request({
url: '/orderApi/createOrder',
method: 'post',
data: datas
})
if (res.data) {
console.log('执行');
const ress = await request({
url: '/payApi/jcPrepayment?type=jsapi' + '&orderId=' + res.data,
})
console.log(ress);
wx.requestPayment({
timeStamp: ress.timeStamp, // 时间戳从1970年1月1日00:00:00至今的秒数即当前的时间
nonceStr: ress.nonceStr, // 随机字符串长度为32个字符以下。
package: ress.package, // 统一下单接口返回的 prepay_id 参数值格式如“prepay_id=*”
signType: ress.signType, // 签名算法类型,默认为 MD5支持RSA等其他加密算法
paySign: ress.paySign, // 签名,详见签名生成算法
success: function(res) {
console.log('成功', res);
if (res.errMsg = 'requestPayment:ok') {
uni.showToast({
title: '支付成功'
})
uni.navigateTo({
url: '/pages/detection/success'
})
}
// 支付成功后的回调函数, res.errMsg = 'requestPayment:ok'
},
fail: function(res) {
console.log('执行失败1', res);
that.cancelpay()
}
})
}
},
ifzjShow(id) {
if (id == 1) {
this.gohomemy()
}
this.zjShow = id
},
iftelShow(id) {
this.telShow = id
if (id == 1) {
}
},
iftimeShow(id) {
this.dataObj.isPayOnline = id
},
ifcarShow(id) {
this.dataObj.isPickCar = id
if (id == 1) {
uni.navigateTo({
url: '/pages/detection/godoor?goodsName=' + this.dataObj.goodsTitle + '&goodsId=' + this
.dataObj.skuId + "&type=" + this.type
})
}
},
gohomemy() {
uni.navigateTo({
url: '/pages/detection/my-user'
})
},
async reservationCom(id) {
let data = {
goodsId: id,
type: 'sku'
}
let res = await request({
url: '/appInspection/goods/appointmentDateList',
method: 'get',
params: data
})
this.partnerName = res.data.partnerName
this.address = res.data.address
this.partnerId = res.data.partnerId
this.itmelist = res.data.dataList
this.appointmentday = res.data.dataList[0].dateStr
for (var i = 0; i < this.itmelist.length; i++) {
if (this.itmelist[i].dateStr == this.appointmentDay) {
console.log(i);
this.tapindex = i
}
}
// console.log(this.appointmentday.substring(5, 10).replace('-', '月'));
},
sw(id) {
this.sx = id
},
gettap(index, items) {
this.tapindex = index
this.renshu = items
this.appointmentday = items.dateStr
console.log(this.appointmentday);
},
async getimg(url) {
let data = {
// licenseImage :this.licenseImage,
imagePath: url,
}
const res = await request({
url: '/system/userCar/appVehicleLicenseOCR2',
method: 'post',
params: data
})
if (res.code == 200) {
console.log('识别成功', res.data);
this.dataObj.carIdNo = res.data.Vin
this.dataObj.carNo = res.data.PlateNo
this.dataObj.carNature = res.data.UseCharacter
this.dataObj.carModel = res.data.Model
} else {
uni.showToast({
title: '识别失败 请从新上传',
icon: 'none'
})
}
},
shang(val) {
console.log('父级', val);
},
xia(val) {
console.log('父级', val);
},
gocoun() {
uni.navigateTo({
url: '/pages/detection/coupon?id=' + this.pid + "&type=" + this.type
})
},
//
open() {
console.log('open');
},
close() {
this.getindex()
this.show = false
console.log('close');
},
async getindex() {
let res = await request({
url: '/appInspection/goods/goodsDetail?goodsId=' + this.id,
method: 'get',
})
this.obj = res.data
if (!res.data.couponList) {
res.data.couponList = []
}
console.log(res);
this.couponList = res.data.couponList.slice(0, 3);
this.bannerlist = res.data.imageList
console.log(this.bannerlist)
this.titles = this.obj.title
console.log(res);
},
async sange() {
let res = await request({
url: '/appInspection/goods/goodsSkuList?goodsId=' + this.id,
method: 'get',
})
if (res.data.length == 0) {
uni.navigateTo({
url: '/pages/detection/payment?id=' + this.id + '&type=goods'
})
} else {
this.skulist = res.data
this.skuid = res.data[0].id
this.pid = res.data[0].id
this.skuName = res.data[0].skuName
this.obj.realPrice = res.data[0].price
this.paymentComponemts()
}
},
async getpayment() {
let res = await request({
url: '/appInspection/goods/goodsSkuList?goodsId=' + this.id,
method: 'get',
})
if (res.data.length == 0) {
uni.navigateTo({
url: '/pages/detection/payment?id=' + this.id + '&type=goods'
})
} else {
this.skulist = res.data
this.skuid = this.skulist[0].id
this.show = true
}
},
dafan() {
uni.navigateBack()
},
getsku(Id, name, price) {
this.skuid = Id
this.pid = Id
this.skuName = name
this.obj.realPrice = price
console.log(this.pid);
},
twopayment() {
uni.navigateTo({
url: '/pages/detection/payment?id=' + this.skuid + '&type=sku'
})
}
}
}
</script>
<style scoped lang="scss">
.content {
width: 100%;
height: calc(100vh);
background-color: #F6F6F6;
box-sizing: border-box;
// padding-bottom: 90px;
}
.fanhuixx {
z-index: 9999;
position: fixed;
top: 45px;
left: 20px;
}
.skupopup {
background-color: white;
width: 100%;
box-sizing: border-box;
padding: 15px;
border-radius: 10px 10px 0px 0px;
}
.lan {
color: #0D2E8D !important;
background-color: #E1E7FB !important;
border: 1px solid #0D2E8D !important;
}
.p-box {
display: flex;
justify-content: center;
align-items: center;
border-radius: 3px;
border: 1px solid #DDDDDD;
box-sizing: border-box;
padding: 10px;
font-size: 15px;
font-weight: 400;
color: #333333;
margin-bottom: 10px;
margin-right: 10px;
}
.p-boxlan {
display: flex;
justify-content: center;
align-items: center;
border-radius: 3px;
border: 1px solid #DDDDDD;
box-sizing: border-box;
padding: 10px;
font-size: 15px;
font-weight: 400;
color: #0D2E8D !important;
margin-bottom: 10px;
background-color: #E1E7FB !important;
border: 1px solid #0D2E8D !important;
margin-right: 10px;
}
.p-boxlan2 {
display: flex;
padding: 10px;
font-size: 15px;
font-weight: 400;
color: #0D2E8D !important;
margin-bottom: 10px;
margin-right: 10px;
}
.p-anniu {
width: 95%;
height: 40px;
margin: 20px auto;
border-radius: 50px;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 16px;
font-weight: bold;
background: #0D2E8D;
}
.popup-box {
// border-top: 1px solid #EEEEEE;
width: 100%;
box-sizing: border-box;
padding-top: 5px;
// margin-top: 20px;
display: flex;
flex-wrap: wrap;
}
.ys1 {
text-align: center;
font-size: 30px;
font-weight: 500;
color: #63330B;
}
.ys2 {
font-size: 15px;
font-weight: 400;
color: #333333;
}
.ys3 {
font-size: 15px;
font-weight: 400;
color: #63330B;
}
.q-hei {
font-size: 15px;
font-weight: 500;
color: #333333;
margin-bottom: 10px;
}
.quan {
width: 100%;
height: 68px;
background: #FDF7F7;
border-radius: 8px;
box-sizing: border-box;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.xh {
width: 48px;
height: 20px;
background: #FF571A;
border-radius: 2px;
color: white;
font-size: 14px;
display: flex;
justify-content: center;
align-items: center;
margin-right: 5px;
}
.q-zuo {
width: 70px;
height: 70px;
image {
width: 100%;
height: 100%;
}
}
.bott {
width: 100%;
height: 50px;
background-color: #EEEEEE;
position: fixed;
background: white;
bottom: 0px;
box-sizing: border-box;
padding: 10px;
z-index: 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
}
.dju {
font-size: 25px;
font-weight: bold;
color: #FF571A;
}
.b-left {
position: fixed;
bottom: 20px;
right: 10%;
z-index: 99999;
font-size: 18px;
font-weight: 400;
color: #FFFFFF;
;
}
.b-right {
width: 40%;
height: 60px;
position: fixed;
bottom: 0px;
right: 0px;
image {
z-index: 99999;
width: 100%;
height: 100%;
}
}
.bgang {
width: 100%;
height: 50px;
background-color: white;
}
.m-top {
width: 100%;
height: 375px;
// overflow: hidden;
position: relative;
box-sizing: border-box;
padding: 1px;
}
.uni-margin-wrap {
height: 375px;
}
.swiper {
height: 375px;
}
.swiper-item {
display: block;
height: 375px;
width: 100%;
line-height: 300rpx;
text-align: center;
}
.swiper-list {
margin-top: 40rpx;
margin-bottom: 0;
}
.uni-common-mt {
margin-top: 60rpx;
position: relative;
}
.info {
position: absolute;
right: 20rpx;
}
.uni-padding-wrap {
height: 375px;
padding: 0 100rpx;
}
.top-img {
width: 100%;
height: 375px;
image {
width: 100%;
height: 100%;
}
}
.cont-box {
width: 85%;
// position: absolute;
// z-index: 9999;
// left: 50%;
// transform: translate(-50%, -75%);
border-radius: 8px;
padding: 15px;
background: white;
margin: 15px auto;
margin-top: 100px;
}
.bai-box {
width: 93%;
margin: 0 auto;
border-radius: 6px;
margin-bottom: 10px;
background-color: white;
box-sizing: border-box;
padding: 15px;
margin-top: 15px;
}
.xia-box {
width: 90%;
margin: 0 auto;
box-sizing: border-box;
padding: 15px;
border-radius: 6px;
margin-bottom: 10px;
background-color: white
}
.pinglun {
width: 100%;
display: flex;
}
.ptouxiang {
width: 35px;
height: 35px;
border-radius: 50%;
overflow: hidden;
image {
width: 100%;
height: 100%;
}
}
.pp-box {
width: 80%;
}
.p-bse {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.p-nr {}
.xiab-box {
width: 100%;
margin: 0 auto;
box-sizing: border-box;
padding: 15px;
border-radius: 6px;
margin-bottom: 10px;
background-color: white
}
.dis {
z-index: 9;
display: flex;
align-items: center;
}
.san {
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
margin: 10px auto;
border-bottom: 1px solid #EEEEEE;
box-sizing: border-box;
padding-bottom: 10px;
}
.o-icon {
width: 20px;
height: 20px;
image {
width: 100%;
height: 100%;
}
}
.sb {
font-size: 15px;
font-weight: 400;
color: #666666;
margin-left: 5px;
}
.zui-di {
width: 100%;
display: flex;
align-items: center;
// justify-content: space-between;
}
.hui {
font-size: 14px;
font-weight: 400;
text-decoration: line-through;
color: #AAAAAA;
}
.ju {
font-size: 30px;
font-weight: bold;
color: #FF571A;
margin-right: 10px;
}
.t-title {
font-size: 20px;
font-weight: 400;
color: #333333;
margin: 10px 0px;
}
// .bai-box{
// width: 100px;
// box-sizing: border-box;
// padding: 15px;
// }
.biaoti {
width: 70%;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.zxi {
font-size: 17px;
font-weight: 500;
color: #333333;
}
.xian {
width: 65px;
height: 0px;
opacity: 1;
border: 1px solid #999999;
}
.yhz {
position: absolute;
color: #63330B;
top: 3px;
left: 50%;
transform: translate(-50%, -50%);
}
.yhzc {
width: 144px;
height: 26px;
position: absolute;
color: #63330B;
top: 3px;
left: 50%;
transform: translate(-50%, -50%);
image {
width: 100%;
height: 100%;
}
}
.xsa {
width: 100%;
position: relative;
background: linear-gradient(180deg, #FFF4DB 0%, #FFFFFF 100%);
border-radius: 8px;
box-sizing: border-box;
padding: 15px;
margin: 0 auto;
display: flex;
justify-content: space-between;
}
.zui-bottom {
z-index: 999;
width: 100%;
height: 60px;
background-color: #AAAAAA;
}
.anniu {
z-index: 999;
width: 30%;
height: 100%;
image {
width: 100%;
height: 100%;
}
}
.baigang {
width: 100%;
height: 50px;
background: #FFFFFF;
padding: 16px;
}
.h-dang {
width: 100%;
display: flex;
align-items: center;
}
.top-title {
width: 100%;
height: 88px;
background: #fff;
position: fixed;
top: 0;
left: 0;
text-align: center;
box-sizing: border-box;
padding-top: 50px;
z-index: 999;
}
.twob {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
//
.ail-box {
width: 100%;
border-radius: 8px;
box-sizing: border-box;
padding: 15px;
background: #FFFFFF;
margin-bottom: 10px;
margin-top: 30px;
}
.c-top {
width: 100%;
box-sizing: border-box;
padding: 15px;
padding-top: 16%;
display: flex;
justify-content: space-between;
align-items: center;
background-color: white;
}
.on-input {
width: 100%;
border-bottom: 1px solid #EEEEEE;
box-sizing: border-box;
padding: 10px 0px;
display: flex;
align-items: center;
}
.baoti {
width: 25%;
font-size: 15px;
font-weight: 400;
color: #666666;
line-height: 15px;
margin-right: 10px;
}
.box-bottom {
width: 100%;
box-sizing: border-box;
white-space: nowrap;
}
.santu {
width: 32%;
display: inline-block;
box-sizing: border-box;
padding: 10px;
background: #F8FAFB;
border-radius: 8px;
font-size: 15px;
font-weight: 400;
color: #999999;
margin-top: 15px;
margin-right: 10px;
}
.lanbox {
background: #E3EAFF !important;
color: #0D2E8D !important;
}
.wushi {
width: 49%;
box-sizing: border-box;
padding: 10px;
background: #F8FAFB;
border-radius: 8px;
font-size: 15px;
font-weight: 400;
color: #999999;
}
.h-title {
font-size: 16px;
font-weight: 400;
color: #333333;
margin: 10px auto;
}
.bottom-d {
width: 100%;
height: 80px;
background-color: white;
position: fixed;
bottom: 0px;
display: flex;
align-items: center;
justify-content: center;
}
.annniu {
height: 40px;
background: #0D2E8D;
width: 90%;
border-radius: 50px;
display: flex;
align-items: center;
color: white;
justify-content: center;
}
.x-top {
width: 100%;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #EEEEEE;
box-sizing: border-box;
padding-bottom: 10px;
}
.x-left {
display: flex;
align-items: center;
}
.chebiao {
width: 70px;
height: 70px;
margin-right: 10px;
image {
width: 100%;
height: 100%;
}
}
.dh-title {
font-size: 20px;
font-weight: 400;
color: #333333;
line-height: 20px;
margin-bottom: 15px;
}
.xh-title {
font-size: 15px;
font-weight: 400;
color: #666666;
line-height: 15px;
}
.x-right {
display: flex;
align-items: center;
}
.x-xia {
margin-top: 15px;
}
.x-icon {
width: 18px;
height: 18px;
margin-right: 5px;
image {
width: 100%;
height: 100%;
}
}
.x-icon {
width: 18px;
height: 18px;
margin-right: 5px;
image {
width: 100%;
height: 100%;
}
}
.dix {
display: flex;
align-items: center;
}
.dixx {
display: flex;
align-items: center;
margin-top: 10px;
}
.h-dx {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin-bottom: 15px;
}
.ds {
display: flex;
align-items: center;
}
.d-button {
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
border: 1px solid #999999;
background: #eeeeee;
width: 18px;
height: 18px;
font-size: 14px;
margin-right: 10px;
// margin: 0px 10px;
}
.lx {
border: 1px solid #1c3d9c !important;
background-color: #1c3d9c;
color: #fff;
}
.ds_buttom {
width: 100%;
display: flex;
align-items: center;
justify-content: space-around;
}
.aniu1 {
width: 45%;
height: 40px;
background: #c7c7c7;
border-radius: 50px;
display: flex;
align-items: center;
justify-content: center;
}
.aniu2 {
width: 45%;
height: 40px;
background: #0D2E8D;
border-radius: 50px;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
</style>