From ce32469aa73a5926e0b35c053e5b8e5f9a5d850d Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期三, 24 十二月 2025 17:35:18 +0800
Subject: [PATCH] feat: 修改支付页面
---
src/components/page/IndexXTYH.vue | 727 ++++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 521 insertions(+), 206 deletions(-)
diff --git a/src/components/page/IndexXTYH.vue b/src/components/page/IndexXTYH.vue
index 3e9c0d0..97fb194 100644
--- a/src/components/page/IndexXTYH.vue
+++ b/src/components/page/IndexXTYH.vue
@@ -1,11 +1,16 @@
<template>
<div class="weizhang-box" v-loading="dataLoading">
- <!--<div class="weizhang-header">-->
- <!--<div class="iconfont leftjiantou"></div>-->
- <!--<div class="text"><h1>宄板嘲鐭垮尯缁煎悎琛屾斂鎵ф硶灞�</h1></div>-->
- <!--<div class="right"></div>-->
- <!--</div>-->
- <div class="weizhang-main-box">
+ <!-- 棣栧睆楠ㄦ灦灞忥紙鍒濆鍖栧畬鎴愬墠鏄剧ず锛� -->
+ <div class="loading-tips" v-if="!initCompleted">
+ <div class="tips-text">璇风◢鍚�...</div>
+ <!-- 鍙�夛細鍔犱釜鍔犺浇鍔ㄧ敾鍦嗙偣 -->
+ <div class="loading-dots">
+ <span></span>
+ <span></span>
+ <span></span>
+ </div>
+ </div>
+ <div class="weizhang-main-box" v-else>
<div class="weizhang-main-top">
<!-- <img class="logoPhone" src="../../assets/images/logoImg.png" alt="">-->
<span class="weizhang">鍋滆溅鏀惰垂</span>
@@ -33,29 +38,67 @@
{{this.statisticData.code}}
<!--<el-input v-model="statisticData.code" readonly></el-input>-->
</el-form-item>
- <el-form-item v-if="isShowjiaofei" class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 4.498vh" label-width="0" v-show="showFlag">
- <el-button class="jiaofei-btn" type="primary" @click="pay()" :loading="payFlag">鍘荤即璐�</el-button>
+ <el-form-item v-if="isShowjiaofei" class="weizhang-footer-box" style="margin-top: 4.498vh" label-width="0" v-show="showFlag">
+ <div style="flex: 1; text-align: center;">
+ <el-button class="jiaofei-btn" type="primary" @click="pay()" :loading="payFlag">鍘荤即璐�</el-button>
+ </div>
</el-form-item>
</el-form>
- <!-- <el-form-->
- <!-- class="carSearch"-->
- <!-- label-position="left">-->
- <!-- <el-form-item-->
- <!-- class='formLabel'-->
- <!-- style="display: flex;-->
- <!-- flex-direction: column;align-items: center;justify-content: center"-->
- <!-- label="鏃� 鐗� 杞� 杈� 鏌� 璇�">-->
- <!-- <el-input prefix-icon="el-icon-search" style="margin-top: 20px;border: solid 1px #ccc!important;" v-model="carNo" placeholder="璇疯緭鍏ユ墜鏈哄彿"></el-input>-->
- <!-- </el-form-item>-->
- <!--<!– <el-form-item class="weizhang-footer-box" style="display: flex;justify-content: center;margin-top: 5.498vh" label-width="0">–>-->
- <!--<!– <el-button–>-->
- <!--<!– style="borderColor:'none';background:#121215e0 "–>-->
- <!--<!– class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">鏌ヨ</el-button>–>-->
- <!--<!– </el-form-item>–>-->
- <!-- </el-form>-->
+ <el-form
+ class="carSearch"
+ label-position="left">
+ <el-form-item
+ class='formLabel'
+ style="display: flex;
+ flex-direction: column;align-items: center;justify-content: center"
+ label="鏃� 鐗� 杞� 杈� 鏌� 璇�">
+ <el-input prefix-icon="el-icon-search" style="margin-top: 20px;border: solid 1px #ccc!important;" v-model="carNo" placeholder="璇疯緭鍏ユ墜鏈哄彿"></el-input>
+ </el-form-item>
+ <el-form-item class="weizhang-footer-box" style="margin-top: 5.498vh" label-width="0">
+ <div style="flex: 1; text-align: center;">
+ <el-button
+ style="borderColor:'none';background:#121215e0 "
+ class="jiaofei-btn" type="primary" @click="noCarOut()" v-show="showFlag">鏌ヨ</el-button>
+ </div>
+ </el-form-item>
+ </el-form>
</div>
+ </div>
+ </div>
+
+
+ <div class="moreCarNum" v-if="pipaiCarNumShow">
+ <h1 class="title">浠ヤ笅鏄笌鎮ㄨ溅鐗屽彿鐩镐技鐨勫叆鍦鸿褰�</h1>
+ <div class="moreCarNum-main">
+ <el-table :data="moreCarNumData">
+ <el-table-column
+ prop="carNo"
+ label="杞︾墝"
+ align="left"
+ header-align="center"
+ min-width="30%"
+ >
+ </el-table-column>
+ <el-table-column
+ prop="createTime"
+ label="鍏ュ満鏃堕棿"
+ align="left"
+ header-align="center"
+ min-width="50%"
+ >
+ </el-table-column>
+ <el-table-column
+ label="鎿嶄綔"
+ header-align="center"
+ min-width="20%"
+ >
+ <template slot-scope="scope">
+ <el-button size="mini" type="success" @click="handleClickCarNum(scope.row)">纭畾</el-button>
+ </template>
+ </el-table-column>
+ </el-table>
</div>
</div>
<div class="dialog-box">
@@ -78,11 +121,15 @@
</div>
<div class="wx-img-box">
<div class="wx-img-l">
- <img src="../../assets/images/wxIcon.png" alt="">
+ <img src="../../assets/images/wxIcon.png" alt="" style="width: 5.33vw;object-fit: contain;">
<h1>寰俊鏀粯</h1>
</div>
<div class="wx-img-r">
- <img src="../../assets/images/duigouIcon.png" alt="">
+ <!-- 鏇夸唬 duigouIcon.png -->
+ <svg width="30" height="30" viewBox="0 0 24 24" fill="#4CAF50">
+ <path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/>
+ </svg>
+<!-- <img src="../../assets/images/duigouIcon.png" alt="">-->
</div>
</div>
</div>
@@ -100,7 +147,7 @@
width="100%">
<div class="again-dialog-main">
<h1>
- 鎮ㄥ凡鍙戣捣杩囨璁㈠崟缂磋垂鐢宠锛屽纭缂磋垂鎴愬姛锛岃鍘熷湴绛夊緟鎶潌锛屽缂磋垂鏈垚鍔燂紝璇风户缁敮浠�
+ 鎮ㄥ凡鍙戣捣杩囨璁㈠崟缂磋垂鐢宠锛屽纭缂磋垂鎴愬姛锛岃鍘熷湴绛夊緟鎶潌鎴栬仈绯荤鐞嗗憳锛屽缂磋垂鏈垚鍔燂紝璇风户缁敮浠�
</h1>
</div>
<span slot="footer" class="dialog-footer">
@@ -109,24 +156,52 @@
</span>
</el-dialog>
</div>
+
+ <div class="pipeicarNum-dialog-box" v-if="pipeicardialogVisible">
+ <el-dialog
+ title="璇烽�夋嫨璇嗗埆姝g‘鐨勮褰�"
+ :close-on-click-modal="false"
+ :visible.sync="pipeicardialogVisible"
+ width="100%">
+ <div class="peipeiCarnum">
+ <el-button size="mini" type="primary" @click="handleCarType(0)">鍏ュ満姝g‘</el-button>
+ <el-button size="mini" type="primary" @click="handleCarType(1)">鍑哄満姝g‘</el-button>
+ </div>
+ </el-dialog>
+ </div>
<tishi-dialog ref="TishiDialog" v-if="tishiDialogVisiable"></tishi-dialog>
<tishi-dialog2 ref="TishiDialog" v-if="tishiDialogVisiable2"></tishi-dialog2>
</div>
</template>
<script>
-import wx from 'weixin-js-sdk'
-import TishiDialog from "@/components/page/TishiDialog";
-import TishiDialog2 from "@/components/page/TishiDialog2";
+import { Button, Form, FormItem, Table, TableColumn, Dialog, Input, Loading, Message } from 'element-ui';
+import 'element-ui/lib/theme-chalk/index.css';
+import fa from "element-ui/src/locale/lang/fa"; // 鎸夐渶寮曞叆鏍峰紡锛堜粎蹇呰鏍峰紡锛�
+// 鏇挎崲鍘熸湁鐨刬mport
+const TishiDialog = () => import('@/components/page/TishiDialog');
+const TishiDialog2 = () => import('@/components/page/TishiDialog2');
export default {
name: 'dashboard',
components: {
TishiDialog,
TishiDialog2,
-
+ ElButton: Button,
+ ElForm: Form,
+ ElFormItem: FormItem,
+ ElTable: Table,
+ ElTableColumn: TableColumn,
+ ElDialog: Dialog,
+ ElInput: Input,
+ ElLoading: Loading
},
data() {
return {
+ moreCarNumData:[], //鍖归厤杞︾墝Data
+ pipaiCar:false, //鍖归厤杞︾墝
+ pipeicardialogVisible: false, //鍖归厤寮规
+ enterParkId:null, //鍏ュ満id
+ pipaiCarNumShow:false, //鍖归厤鍐呭
tishiDialogVisiable: false,
tishiDialogVisiable2: false,
isShowjiaofei: true,
@@ -139,23 +214,35 @@
statisticData:{
},
+ initCompleted: false,
showFlag:true,
+ querying:false,
+ paying:false,
showFlag2:true,
status3:0,
carNo:"",
code2:"",
code:"",
dataLoading:false, //鏁版嵁鍥炴樉鍓嶅姞loading锛岄槻姝㈡病鏈夋暟鎹� 鐐瑰嚮鈥樼珛鍗虫敮浠樻寜閽��
+ wx: null,
}
},
created(){
+ this.$message = Message; // 鎸傝浇鍏ㄥ眬Message锛岄伩鍏嶉噸澶嶅紩鍏�
this.code = ''
this.code2 = ''
let ua = window.navigator.userAgent.toLowerCase();
+ this.querying = false; // 鏂板锛氭煡璇㈢姸鎬侀攣
+ this.paying = false; // 鏂板锛氭敮浠樼姸鎬侀攣
+ this.initCompleted = false; // 鏂板锛氶灞忓垵濮嬪寲鐘舵��
//鍒ゆ柇鏄笉鏄井淇�
if (ua.match(/MicroMessenger/i) == "micromessenger") {
// 寰俊
this.type = 0
+ // 鍔ㄦ�佸姞杞藉井淇DK
+ import('weixin-js-sdk').then(wx => {
+ this.wx = wx; // 鎸傝浇鍒板疄渚嬩笂
+ });
}
//鍒ゆ柇鏄笉鏄敮浠樺疂
if (ua.match(/AlipayClient/i) == "alipayclient") {
@@ -167,37 +254,34 @@
return;
}
- var url = window.location.href;
- url = decodeURIComponent(url)
- var count = url.split('?').length-1;
- if(count >1){ //鑾峰彇鐢ㄦ埛淇℃伅鍚庤烦鍥炴潵鏈〉闈�
- let data = this.getCodeFromUrl(url)
- // window.location.href = "http://192.168.0.8:8082/#/IndexXTYH39?code="+data.code+"&state=STATE&code2="+data.code2
- window.location.href = `http://hesuancj.cn/#/index2?code=${encodeURIComponent(data.code)}&state=STATE&code2=${encodeURIComponent(data.code2)}`
+ var url = decodeURIComponent(window.location.href);
+ const getUrlParams=(url) => {
+ const params = {};
+ const queryIndex = url.indexOf('?');
+ if (queryIndex === -1) return params;
+ const query = url.slice(queryIndex + 1);
+ query.split('&').forEach(item => {
+ const [key, val] = item.split('=');
+ if (key) params[key] = val || '';
+ });
+ return params;
+ }
+
+ const params = getUrlParams(url);
+ this.code = params.code || '';
+ this.code2 = params.code2 || '';
+
+ // 浼樺寲璺宠浆閫昏緫锛堥伩鍏嶉噸澶嶈烦杞級
+ if (Object.keys(params).length > 2 && params.code && params.code2) {
+ // 浠呭綋鍙傛暟瀹屾暣鏃惰烦杞紙閬垮厤鏃犻檺寰幆锛�
+ window.location.href = `http://hesuancj.cn/#/index2?code=${encodeURIComponent(params.code)}&state=STATE&code2=${encodeURIComponent(params.code2)}`;
return;
}
- var cs = url.split('?')[1];
- var cs_arr = cs.split('&');
- var cs={};
- for(var i=0;i<cs_arr.length;i++){
- cs[cs_arr[i].split('=')[0]] = cs_arr[i].split('=')[1]
- }
- // console.log(cs,'鎴戞槸cs=====')
- // this.outParkId = cs.code;
- this.code2 = cs.code2;
- this.code = cs.code;
- // console.log(this.code2,'this.code2=====2')
- // console.log(this.code,'this.code=====1')
+
//鍒濆鍖栬烦杞� 39 鏈嶅姟鍣�
if(this.code2 == null || this.code2 == ''){
- // this.$message({
- // message: '1绉掑悗鑷姩璺宠浆锛岃绋嶇瓑',
- // type: 'success',
- // duration:1000,
- // });
- window.location.href = "http://hesuancj.cn/#/index2?code2="+cs.code //姝e紡
- // window.location.href = "http://192.168.0.8:8082/#/IndexXTYH39?code2="+cs.code //娴嬭瘯鐢ㄧ殑
- // setTimeout(function(){window.location.href = "http://192.168.0.8:8082/#/IndexXTYH39?code2="+cs.code},1000);
+ window.location.href = `http://hesuancj.cn/#/index2?code2=${params.code || ''}`;
+ //window.location.href = "http://60.0.121.40:8889/#/IndexXTYH39?code2="+cs.code //娴嬭瘯鐢ㄧ殑
return;
}
if(this.code != null && this.code != '') {
@@ -214,29 +298,38 @@
this.dataLoading = true //鍥炴樉鏁版嵁鐨刲oading
this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/outpark/findByBarrierCode2', {code2:this.code2}, res => {
this.statisticData = res.data;
+ this.initCompleted = true; // 鏄剧ず鐪熷疄鍐呭
this.outParkId = this.statisticData.id;
this.status3 = this.statisticData.status3;
this.oldCarNo = this.statisticData.carNo;
this.dataLoading = false
this.payFlag = false
if(!this.statisticData.enterTime) { //娌℃湁鍏ュ満
- this.isShowjiaofei = false
- this.tishiDialogVisiable = true
- // this.$message({
- // showClose: false,
- // duration:0,
- // type: 'success',
- // message: '鍏ュ満寮傚父锛岃鑱旂郴绠$悊鍛�'
- // });
+ if(this.statisticData.carNo =='_鏃燺' || this.statisticData.carNo=='鏃犵墝杞�'){
+ this.isShowjiaofei = false
+ }else {
+ this.isShowjiaofei = false
+ this.pipaiCarNumShow = true //鍖归厤鍖哄煙鏄剧ず
+ this.$byutil.getData(this,this.$systemconfig.basePath + '/ffzf/outpark/getLikeCar',{outParkId:this.outParkId},res => {
+ if(res.code == 0) {
+ if(res.data.length > 0) {
+ this.moreCarNumData = res.data.map(item => {
+ return {
+ ...item,
+ createTime: this.$moment(item.createTime).format('YYYY-MM-DD HH:mm:ss')
+ }
+ })
+ }else {
+ this.tishiDialogVisiable = true //鍏ュ満淇℃伅 寮傚父鎻愮ず
+ }
+ }
+ })
+ }
}else if(this.statisticData.enterTime && (!this.statisticData.price || this.statisticData.price == 0)) { //閲戦涓�0
this.isShowjiaofei = false
- this.tishiDialogVisiable2 = true
- // this.$message({
- // showClose: false,
- // duration:0,
- // type: 'success',
- // message: '鏃犻渶缂磋垂锛岃鍘熷湴绛夊緟锛屾垨鑱旂郴绠$悊鍛�'
- // });
+ if(this.statisticData.carNo !='_鏃燺' && this.statisticData.carNo!='鏃犵墝杞�') {
+ this.tishiDialogVisiable2 = true
+ }
}else {
this.isShowjiaofei = true
}
@@ -254,46 +347,69 @@
// this.dataLoading = false
}
},
- pay(){
- this.payFlag = true; //鍘荤即璐筶oading
- // this.payNowFlag = true;
- // this.showFlag = true
- if(this.status3==1){
- this.$message({
- message: '鎮ㄦ湁杩濈珷鏈鐞嗭紝璇峰厛澶勭悊鎴栬仈绯诲仠杞﹀満绠$悊浜哄憳',
- type: 'error',
- duration:3000,
- });
- return;
- }
- this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/api/parkJudg', {id:this.outParkId}, res => {
- if(res.code === 0){
- this.payFlag = false; //鍘荤即璐筶oading
- if(res.data == 1) { //1 寮瑰嚭寮规(宸茬即璐规彁绀�)
- this.againDialogVisible = true
- }else {
- // this.dialogVisible = true; //绔嬪嵆鏀粯鐨勫脊妗�
- this.parkXT(this.outParkId) //鍘昏幏鍙栧井淇′俊鎭�
- }
- // this.getCode()
- // this.showFlag = false
+ handleClickCarNum(item) { //鐐瑰嚮鍖归厤鍖哄煙鐨勭‘瀹氭寜閽�
+ console.log(item,'纭畾鎸夐挳')
+ this.pipeicardialogVisible = true
+ this.enterParkId = item.id
+
+ },
+ handleCarType(type) { //璇嗗埆姝g‘鐨勮褰�
+ this.$byutil.getData(this,this.$systemconfig.basePath + '/ffzf/outpark/editOutPark',{type:type,outParkId:this.outParkId,enterParkId:this.enterParkId},res => {
+ console.log(res,'res==========')
+ if(res.code == 0) {
+ this.pipeicardialogVisible = false
+ this.statisticData = res.data
+ this.isShowjiaofei = true //缂磋垂鎸夐挳鏄剧ず
+ this.pipaiCarNumShow = false //鍏虫帀杞︾墝鍖归厤鍖哄煙
+ this.$message.success(res.msg)
}else {
- this.$message({
- message:res.msg,
- type: 'error',
- duration:3000,
- });
- this.payFlag = false;
+ this.pipeicardialogVisible = false
+ this.$message.error('鏇存柊澶辫触,璇疯仈绯荤鐞嗗憳')
}
})
},
- againPay() {
- this.againDialogVisible = false
- this.dataLoading = true //椤甸潰loading鎵撳紑
- this.parkXT(this.outParkId) //鑾峰彇寰俊鐢ㄦ埛淇℃伅
+ pay(){
+ if (this.paying || this.dataLoading) return; // 闃叉閲嶅鏀粯+鏁版嵁鍔犺浇涓姝�
+ this.paying = true;
+ this.payFlag = true;
+ if (this.status3 === 1) {
+ this.$message.error('鎮ㄦ湁杩濈珷鏈鐞嗭紝璇峰厛澶勭悊鎴栬仈绯诲仠杞﹀満绠$悊浜哄憳', 3000);
+ this.payFlag = false;
+ this.paying = false;
+ return;
+ }
+ this.$byutil.postData(
+ this,
+ `${this.$systemconfig.basePath}/ffzf/api/parkJudg`,
+ { id: this.outParkId },
+ res => {
+ this.payFlag = false;
+ if (res.code === 0) {
+ res.data === 1 ? (this.againDialogVisible = true) : this.parkXT(this.outParkId);
+ } else {
+ this.$message.error(res.msg || '鏀粯楠岃瘉澶辫触锛岃閲嶈瘯', 3000);
+ }
+ this.paying = false;
+ },
+ err => {
+ this.payFlag = false;
+ this.$message.error('缃戠粶寮傚父锛岃閲嶈瘯', 3000);
+ this.paying = false;
+ }
+ )
- // this.dialogVisible = true //鎵撳紑绔嬪嵆鏀粯寮规
- // this.parkXT(this.outParkId)
+ },
+ againPay() {
+ console.log('this.paying=', this.paying);
+ if (this.paying) return;
+ this.paying = true;
+ this.againDialogVisible = false;
+ this.dataLoading = true;
+ this.parkXT(this.outParkId)
+ // .finally(() => {
+ // this.dataLoading = false;
+ // this.paying = false;
+ // });
},
parkXT(outParkId) {
this.payNowFlag = true //绔嬪嵆鏀粯loading
@@ -315,29 +431,46 @@
})
} catch (err) {
this.payNowFlag = false;
+ } finally {
+ this.dataLoading = false;
+ this.paying = false;
}
},
noCarOut(){
- if(this.carNo){
- this.$byutil.postData(this, this.$systemconfig.basePath + '/outPark/outPark2', {code2:this.code2,carNo:this.carNo}, res => {
- if(res.success){
- this.outParkId = res.data.id;
- this.pay();
- this.showFlag = false;
- }else{
- this.$message({
- message: res.msg, type: 'error', duration:2000,
- });
- }
+ // 闃叉姈锛氶槻姝㈤噸澶嶇偣鍑�
+ if (this.querying) return;
+ this.querying = true;
- })
- }else{
- this.$message({
- message: '璇疯緭鍏ユ墜鏈哄彿',
- type: 'error',
- duration:2000,
- });
+ const { oldCarNo, carNo, code2 } = this;
+ // 绠�鍖栨潯浠跺垽鏂�
+ if (!['鏃犵墝杞�', '_鏃燺'].includes(oldCarNo)) {
+ this.$message.error('闈炴硶杈撳叆');
+ this.querying = false;
+ return;
}
+ if (!carNo.trim()) {
+ this.$message.error('璇疯緭鍏ユ墜鏈哄彿');
+ this.querying = false;
+ return;
+ }
+
+ this.$byutil.postData(
+ this,
+ `${this.$systemconfig.basePath}/ffzf/car/outParkByPhone`,
+ { code2, carNo: carNo.trim() },
+ res => {
+ if (res.code === 0) {
+ this.statisticData = res.data;
+ this.outParkId = this.statisticData.id;
+ this.isShowjiaofei = true;
+ this.$message.success('鏌ヨ鎴愬姛');
+ } else {
+ this.$message.error(res.message || '鏌ヨ澶辫触锛岃閲嶈瘯');
+ }
+ }
+ ).finally(() => {
+ this.querying = false; // 閲嶇疆鐘舵�侀攣
+ });
},
GetQueryString(name) {
@@ -474,28 +607,184 @@
}
</script>
+<style lang="scss" scoped>
+//楠ㄦ灦灞忔牱寮�
+.loading-tips {
+ width: 100%;
+ height: 80vh; // 鍗犳弧灞忓箷涓昏鍖哄煙
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ .tips-text {
+ font-size: 4.27vw; // 閫傞厤绉诲姩绔瓧鍙�
+ color: #666;
+ margin-bottom: 3vw;
+ }
-<style lang="scss">
-.el-message{
- padding: 6.944vh /* 75/10.8 */ 0.78125vw /* 15/19.2 */ 6.944vh /* 75/10.8 */ 1.042vw /* 20/19.2 */;
+ // 鍔犺浇鍦嗙偣鍔ㄧ敾锛堝彲閫夛紝澧炲姞鍔ㄦ晥锛�
+ .loading-dots {
+ display: flex;
+ gap: 1.33vw;
+
+ span {
+ width: 1.87vw;
+ height: 1.87vw;
+ border-radius: 50%;
+ background: #666;
+ animation: dot-flash 1.5s infinite ease-in-out;
+
+ &:nth-child(2) {
+ animation-delay: 0.3s;
+ }
+
+ &:nth-child(3) {
+ animation-delay: 0.6s;
+ }
+ }
+ }
}
-.el-icon-success:before{
- content: none;
+
+// 鍔犺浇鍦嗙偣鍔ㄧ敾
+@keyframes dot-flash {
+ 0%, 100% {
+ opacity: 0.3;
+ }
+ 50% {
+ opacity: 1;
+ }
}
-.el-message__content{
- font-size: 5vw;
-}
-.el-icon-error:before{
- font-size: 5vw
-}
-.weizhang-main-bootom{
- .el-input__inner{
- border:none;
+
+.weizhang-box{
+ .el-form-item{
+ margin-bottom: 3.8vw!important;
}
.el-form-item__label{
- color: #000;
- font-weight: 600;
+ font-size: 3.73vw /* 28/7.5 */;
+ line-height: 2.5;
+ }
+ .el-form-item__content{
+ font-size: 3.73vw /* 28/7.5 */;
+ line-height: 2.5;
+ }
+ .el-icon-success:before{
+ content: none;
+ }
+ .el-message__content{
+ font-size: 5vw;
+ }
+ .el-icon-error:before{
+ font-size: 5vw
+ }
+ .weizhang-main-bootom{
+ .el-input__inner{
+ border:none;
+ }
+ .el-form-item__label{
+ color: #000;
+ font-weight: 600;
+ }
+ }
+ .dialog-box{
+ .el-dialog{
+ bottom: 0;
+ position: fixed;
+ left: 0;
+ margin: 0;
+ }
+ ::v-deep .el-dialog__header {
+ background: rgba(103,201,122,0.1);
+ }
+ }
+ .dialog-box,.again-dialog-box{
+ .el-dialog__body{
+ padding: 2.67vw /* 20/7.5 */ 5.33vw /* 40/7.5 */;
+ }
+ .el-dialog__title{
+ font-size: 4vw /* 30/7.5 */;
+ }
+ .el-dialog__headerbtn{
+ top: 2.67vw /* 20/7.5 */;
+ }
+ .dialog-footer{
+ display: flex;
+ width: 100% !important;
+ .el-button{
+ width: 100%;
+ background: rgba(74,76,89,1);
+ //padding: 1.056vh /* 12/11.36 */ 1.761vh /* 20/11.36 */;
+ }
+ }
+ }
+ .again-dialog-box{
+ .el-button--success{
+ background: linear-gradient(to right, #33b1fe, #0679dc)!important;
+ }
+ .el-dialog__body{
+ padding: 8.67vw 5.33vw;
+ }
+ .el-dialog{
+ width: 80%!important;
+ margin-top: 47vh!important;
+ border-radius: 2.67vw /* 20/7.5 */;
+ }
+ ::v-deep .el-dialog__header {
+ background: rgba(103,201,122,0.1);
+ }
+ }
+ .moreCarNum{
+ tr{
+ td{
+ &:nth-child(3) {
+ .cell{
+ padding-left: 0;
+ }
+ }
+ }
+ }
+ .el-button--mini, .el-button--mini.is-round{
+ padding: 0.816vh /* 7/11.36 */ 4vw /* 15/7.5 */;
+ }
+ .el-button--mini, .el-button--small{
+ font-size: 3.2vw /* 24/7.5 */;
+ }
+ .el-table td, .el-table th{
+ padding: 2.5vw /* 12/7.5 */ 0;
+ }
+ .el-table::before{
+ height: 0;
+ }
+ .el-table{
+ font-size: 3.47vw /* 26/7.5 */;
+ }
+ tbody{
+ tr:last-child {
+ td{
+ border-bottom:1px solid transparent;
+ }
+ }
+ }
+ }
+ .pipeicarNum-dialog-box{
+ .el-dialog{
+ width: 85%!important;
+ margin-top: 45vh!important;
+ border-radius: 2.67vw /* 20/7.5 */;
+ }
+ .el-dialog__title{
+ font-size: 4vw /* 30/7.5 */;
+ }
+ .el-button--mini{
+ padding: 3vw /* 18/7.5 */ 8vw /* 44/7.5 */;
+ font-size:3.73vw /* 28/7.5 */;
+ }
+ .el-dialog__header{
+ padding: 7vw /* 48/7.5 */ 6.4vw 4vw /* 30/7.5 */;
+ }
+ .el-dialog__body{
+ padding: 10vw /* 60/7.5 */ 5.33vw /* 40/7.5 */ 14vw 5.33vw;
+ }
}
}
.weizhang-footer-box{
@@ -509,66 +798,13 @@
font-size: 0.347rem /* 26/75 */;
}
}
-.dialog-box{
- .el-dialog{
- bottom: 0;
- position: fixed;
- left: 0;
- margin: 0;
- }
- .el-dialog__header{
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 1.87vw /* 14/7.5 */;
- background: rgba(103,201,122,0.1);
- }
+.weizhang-box{
+ height: 100%;
+ overflow-y: auto;
+ display: flex;
+ flex-direction: column;
+ padding-bottom: 2.67vw /* 20/7.5 */;
}
-.dialog-box,.again-dialog-box{
- .el-dialog__body{
- padding: 2.67vw /* 20/7.5 */ 5.33vw /* 40/7.5 */;
- }
- .el-dialog__title{
- font-size: 4vw /* 30/7.5 */;
- }
- .el-dialog__headerbtn{
- top: 2.67vw /* 20/7.5 */;
- }
- .dialog-footer{
- display: flex;
- width: 100% !important;
- .el-button{
- width: 100%;
- background: rgba(74,76,89,1);
- //padding: 1.056vh /* 12/11.36 */ 1.761vh /* 20/11.36 */;
- }
- }
-}
-.again-dialog-box{
- .el-button--success{
- background: linear-gradient(to right, #33b1fe, #0679dc)!important;
- }
- .el-dialog__body{
- padding: 8.67vw 5.33vw;
- }
- .el-dialog{
- width: 80%!important;
- margin-top: 47vh!important;
- border-radius: 2.67vw /* 20/7.5 */;
- }
- .el-dialog__header{
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 1.87vw /* 14/7.5 */;
- background: rgba(103,201,122,0.1);
- }
-}
-
-</style>
-<style lang="scss" scoped>
h1,h2,h3,h4,h5{
font-family: '鑻规柟 涓瓑';
font-weight: normal;
@@ -600,10 +836,10 @@
width: 100%;
display: flex;
flex-direction: column;
- padding:5.33vw /* 40/7.5 */;
+ padding:0 /* 20/7.5 */ 5.33vw /* 40/7.5 */ 2.67vw /* 20/7.5 */ 5.33vw;
}
.weizhang-main-top{
- height: 21.489vh /* 300/13.34 */;
+ height: 15vh /* 300/13.34 */;
display: flex;
flex-direction: column;
justify-content: center;
@@ -647,9 +883,6 @@
}
.el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
margin-bottom: 10px;
-}
-.weizhang-main-bootom{
- margin-top: 0.333rem /* 25/75 */;
}
.dialog-main-box{
.dialog-main-line{
@@ -707,4 +940,86 @@
}
}
}
+.moreCarNum{
+ width: 90%;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+
+ .title{
+ font-size: 3.47vw /* 26/7.5 */;
+ margin-bottom: 2.67vw /* 20/7.5 */;
+ padding-left: 2.67vw /* 20/7.5 */;
+ font-weight: 550;
+ letter-spacing: 1px;
+ }
+ .moreCarNum-heard{
+ width: 100%;
+ display: flex;
+ .moreCarNum-block{
+ text-align: center;
+ h1{
+ font-size: 3.47vw /* 26/7.5 */;
+ }
+ &:nth-child(1){
+ width: 30%;
+ }
+ &:nth-child(2){
+ width: 50%;
+ }
+ &:nth-child(3){
+ width: 20%;
+ }
+ }
+ }
+ .moreCarNum-main{
+ border: 1px solid #dbdbdb;
+ border-radius: 2.67vw /* 20/7.5 */;
+ padding: 1.07vw /* 8/7.5 */ 2.67vw /* 20/7.5 */;
+ box-sizing: border-box;
+ width: 100%;
+ min-height: 17.366vh /* 220/11.36 */;
+ max-height: 25vh /* 250/11.36 */;
+ overflow-y: auto;
+ }
+ .moreCarNum-line{
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+ margin-top: 3.2vw /* 24/7.5 */;
+ .moreCarNum-block{
+ display: flex;
+ h1{
+ font-size: 3.73vw /* 28/7.5 */;
+ font-weight: 550;
+ margin-right: 5.33vw /* 40/7.5 */;
+ }
+ h2{
+ font-size: 3.73vw /* 28/7.5 */;
+ }
+ }
+ }
+}
+.peipeiCarnum{
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+}
+.formLabel{
+ ::v-deep .el-form-item__label{
+ font-size: 18px;
+ }
+ ::v-deep el-input{
+ border: solid 1px #ccc!important;
+
+ }
+
+}
+.carSearch{
+ border:solid 1px #ccc;
+ margin-top: 15%;
+ border-radius: 4%;
+ box-shadow: 0px 0px 0px 10px;
+
+}
</style>
--
Gitblit v1.9.1