| | |
| | | <div class="invoice-wrap"> |
| | | <div class="invoice-main"> |
| | | <img class="logoPhone" src="@/assets/images/logoImg.png" alt=""> |
| | | <h1>发票查询</h1> |
| | | </div> |
| | | <div class="invoice-main2"> |
| | | <el-form |
| | |
| | | prop="carNo" |
| | | class="carNum" |
| | | label="车牌号:" |
| | | label-width="100px"> |
| | | label-width="80px"> |
| | | <el-input v-model="form.carNo" placeholder="输入车牌号"></el-input> |
| | | </el-form-item> |
| | | <el-form-item |
| | | prop="mobile" |
| | | prop="phone" |
| | | class="carNum" |
| | | label="手机号:" |
| | | label-width="100px"> |
| | | <el-input v-model="form.mobile" placeholder="输入手机号"></el-input> |
| | | label-width="80px"> |
| | | <el-input v-model="form.phone" placeholder="输入手机号"></el-input> |
| | | </el-form-item> |
| | | <el-form-item class="invoice-btn"> |
| | | <el-button |
| | |
| | | return { |
| | | form: { |
| | | carNo:'', |
| | | mobile:'' |
| | | phone:'' |
| | | }, |
| | | rules:{ |
| | | carNo: [ |
| | | {required: true, message: '车牌号码不能为空',trigger: 'blur'} |
| | | ], |
| | | mobile: [ |
| | | phone: [ |
| | | { required: true, message: '手机号不能为空' }, |
| | | {validator: validateMobile, trigger: 'blur'} |
| | | ] |
| | |
| | | path: '/invoiceForm', |
| | | query: { |
| | | carNo: this.form.carNo, |
| | | //mobile: this.form.mobile |
| | | phone: this.form.phone |
| | | } |
| | | }) |
| | | } |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | .invoice-wrap{ |
| | | .jiaofei-btn{ |
| | | span{ |
| | | color: #fff; |
| | | } |
| | | } |
| | | } |
| | | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | *{ |
| | | font-family: '苹方'; |
| | | color: #626262; |
| | | } |
| | | ::v-deep{ |
| | | .el-form{ |
| | | width: 88%; |
| | | padding-right: 2.67vw /* 20/7.5 */; |
| | | } |
| | | .el-form-item__content{ |
| | | display: flex; |
| | |
| | | .invoice-main{ |
| | | width: 100%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | align-items: center; |
| | | margin-top: 10vw; |
| | | h1{ |
| | | font-size: 3.73vw /* 28/7.5 */; |
| | | line-height: 2; |
| | | margin-top: 2.67vw /* 20/7.5 */; |
| | | } |
| | | } |
| | | .logoPhone{ |
| | | margin-top: 10vw; |
| | |
| | | display: flex; |
| | | justify-content: center; |
| | | margin-top: 10vw; |
| | | height: calc(100% - 50vw); |
| | | height: calc(100% - 60vw); |
| | | position: relative; |
| | | } |
| | | .jiaofei-btn{ |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | </style> |