Commit 666ca1d089c72ff5e5d4e23195315b4807b486b3
1 parent
f9976583
键盘优化
Showing
3 changed files
with
36 additions
and
24 deletions
src/assets/images/carBg.png
0 → 100644
211 KB
src/components/parkRecord.vue
| @@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
| 15 | <div v-show="currentTabActive==0"> | 15 | <div v-show="currentTabActive==0"> |
| 16 | 16 | ||
| 17 | <div v-if="parkingData.length>0"> | 17 | <div v-if="parkingData.length>0"> |
| 18 | - <p class="free-tip" v-if="parkingData[0].parkDuration<=900">停车15分钟内无需缴费,请申请离场。</p> | 18 | + <p class="free-tip" v-if="parkingData[0].parkDuration<=900">无需缴费,请直接离场。</p> |
| 19 | 19 | ||
| 20 | <div class="cost-main" v-for="i in parkingData"> | 20 | <div class="cost-main" v-for="i in parkingData"> |
| 21 | <ul class="cost-header"> | 21 | <ul class="cost-header"> |
| @@ -330,7 +330,7 @@ export default { | @@ -330,7 +330,7 @@ export default { | ||
| 330 | 330 | ||
| 331 | } else { | 331 | } else { |
| 332 | //$('.dialog-out').show() | 332 | //$('.dialog-out').show() |
| 333 | - this.$msgbox('提示', '停车15分钟内无需缴费,申请成功。') | 333 | + this.$msgbox('提示', '无需缴费,请直接离场。') |
| 334 | } | 334 | } |
| 335 | 335 | ||
| 336 | }) | 336 | }) |
src/components/plateNumber.vue
| 1 | <template> | 1 | <template> |
| 2 | <div id="page"> | 2 | <div id="page"> |
| 3 | <div class="wrap"> | 3 | <div class="wrap"> |
| 4 | - <p style="margin-bottom: 18px;margin-top: 18px;">请选择车牌颜色</p> | 4 | + <!--<p style="margin-bottom: 18px;margin-top: 18px;">请选择车牌颜色</p>--> |
| 5 | 5 | ||
| 6 | - <ul class="color-choose"> | ||
| 7 | - <li v-for="(i,index) in colorList" :key="i.name" @click="chooseColor(index)" | ||
| 8 | - :style="{color:currentColor==index?'#FFF':'',background: currentColor==index?activeBG:'' }" | ||
| 9 | - > | ||
| 10 | - {{i.name}} | ||
| 11 | - </li> | 6 | + <!--<ul class="color-choose">--> |
| 7 | + <!--<li v-for="(i,index) in colorList" :key="i.name" @click="chooseColor(index)"--> | ||
| 8 | + <!--:style="{color:currentColor==index?'#FFF':'',background: currentColor==index?activeBG:'' }"--> | ||
| 9 | + <!-->--> | ||
| 10 | + <!--{{i.name}}--> | ||
| 11 | + <!--</li>--> | ||
| 12 | 12 | ||
| 13 | - </ul> | 13 | + <!--</ul>--> |
| 14 | 14 | ||
| 15 | - <p style="margin-bottom: 18px;margin-top: 18px;">请输入车牌号码</p> | 15 | + <p style="margin-bottom: 18px;margin-top: 18px;" class="titleBg">请输入车牌号码</p> |
| 16 | <div class="num-box"> | 16 | <div class="num-box"> |
| 17 | <div class="num0" @click="clickFirstWrap()"> | 17 | <div class="num0" @click="clickFirstWrap()"> |
| 18 | <span>{{formData.num0}}</span> | 18 | <span>{{formData.num0}}</span> |
| 19 | </div> | 19 | </div> |
| 20 | <div class="num1" @click="clickKeyWordWrap(1)"><span>{{formData.num1}}</span></div> | 20 | <div class="num1" @click="clickKeyWordWrap(1)"><span>{{formData.num1}}</span></div> |
| 21 | - <!--<em class="spot"></em>--> | 21 | + <em class="spot"></em> |
| 22 | <div class="num1" @click="clickKeyWordWrap(2)"><span>{{formData.num2}}</span></div> | 22 | <div class="num1" @click="clickKeyWordWrap(2)"><span>{{formData.num2}}</span></div> |
| 23 | <div class="num1" @click="clickKeyWordWrap(3)"><span>{{formData.num3}}</span></div> | 23 | <div class="num1" @click="clickKeyWordWrap(3)"><span>{{formData.num3}}</span></div> |
| 24 | <div class="num1" @click="clickKeyWordWrap(4)"><span>{{formData.num4}}</span></div> | 24 | <div class="num1" @click="clickKeyWordWrap(4)"><span>{{formData.num4}}</span></div> |
| @@ -299,8 +299,8 @@ export default { | @@ -299,8 +299,8 @@ export default { | ||
| 299 | activeBG:'#0054C0', | 299 | activeBG:'#0054C0', |
| 300 | formData: { | 300 | formData: { |
| 301 | commonCard: '1', | 301 | commonCard: '1', |
| 302 | - num0: '', | ||
| 303 | - num1: '', | 302 | + num0: '苏', |
| 303 | + num1: 'B', | ||
| 304 | num2: '', | 304 | num2: '', |
| 305 | num3: '', | 305 | num3: '', |
| 306 | num4: '', | 306 | num4: '', |
| @@ -538,6 +538,16 @@ export default { | @@ -538,6 +538,16 @@ export default { | ||
| 538 | } | 538 | } |
| 539 | </script> | 539 | </script> |
| 540 | <style lang="scss" scoped> | 540 | <style lang="scss" scoped> |
| 541 | + .titleBg{ | ||
| 542 | + width: 100%; | ||
| 543 | + height: 60px; | ||
| 544 | + line-height: 60px; | ||
| 545 | + color: #fff; | ||
| 546 | + font-size: 18px; | ||
| 547 | + background: url("../assets/images/carBg.png") no-repeat; | ||
| 548 | + background-size: 100% 100%; | ||
| 549 | + text-align: center; | ||
| 550 | + } | ||
| 541 | .flex-items-center { | 551 | .flex-items-center { |
| 542 | display: flex; | 552 | display: flex; |
| 543 | align-items: center; | 553 | align-items: center; |
| @@ -594,8 +604,8 @@ export default { | @@ -594,8 +604,8 @@ export default { | ||
| 594 | background-color: #d8d8d8; | 604 | background-color: #d8d8d8; |
| 595 | } | 605 | } |
| 596 | & > div { | 606 | & > div { |
| 597 | - width: 1.8rem; | ||
| 598 | - height: 1.8rem; | 607 | + width: 2.2rem; |
| 608 | + height: 2.2rem; | ||
| 599 | border: 1px solid #e4e4e4; | 609 | border: 1px solid #e4e4e4; |
| 600 | &.first { | 610 | &.first { |
| 601 | position: relative; | 611 | position: relative; |
| @@ -622,7 +632,7 @@ export default { | @@ -622,7 +632,7 @@ export default { | ||
| 622 | width: 100%; | 632 | width: 100%; |
| 623 | height: 100%; | 633 | height: 100%; |
| 624 | // background-color: #9cbce2; | 634 | // background-color: #9cbce2; |
| 625 | - color: #828282; | 635 | + color: #666; |
| 626 | line-height: 1.8rem; | 636 | line-height: 1.8rem; |
| 627 | } | 637 | } |
| 628 | } | 638 | } |
| @@ -638,8 +648,8 @@ export default { | @@ -638,8 +648,8 @@ export default { | ||
| 638 | justify-content: center; | 648 | justify-content: center; |
| 639 | width: 100%; | 649 | width: 100%; |
| 640 | height: 100%; | 650 | height: 100%; |
| 641 | - font-size: 1rem; | ||
| 642 | - color: #828282; | 651 | + font-size: 1.2rem; |
| 652 | + color: #666; | ||
| 643 | &.first { | 653 | &.first { |
| 644 | background-color: #9cbce2; | 654 | background-color: #9cbce2; |
| 645 | color: #fff; | 655 | color: #fff; |
| @@ -685,8 +695,8 @@ export default { | @@ -685,8 +695,8 @@ export default { | ||
| 685 | margin-bottom: 0.45rem; | 695 | margin-bottom: 0.45rem; |
| 686 | .word { | 696 | .word { |
| 687 | box-sizing: border-box; | 697 | box-sizing: border-box; |
| 688 | - width: 1.8rem; | ||
| 689 | - height: 1.8rem; | 698 | + width: 2.2rem; |
| 699 | + height: 2.2rem; | ||
| 690 | // border: 1px solid #9cbce2; | 700 | // border: 1px solid #9cbce2; |
| 691 | box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.35); | 701 | box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.35); |
| 692 | border-radius: 0.16rem; | 702 | border-radius: 0.16rem; |
| @@ -707,6 +717,7 @@ export default { | @@ -707,6 +717,7 @@ export default { | ||
| 707 | color: #000; | 717 | color: #000; |
| 708 | // border: 1px solid #fff; | 718 | // border: 1px solid #fff; |
| 709 | border-radius: 0.125rem; | 719 | border-radius: 0.125rem; |
| 720 | + font-size: 1.2rem; | ||
| 710 | } | 721 | } |
| 711 | img { | 722 | img { |
| 712 | width: 1.6rem; | 723 | width: 1.6rem; |
| @@ -728,15 +739,16 @@ export default { | @@ -728,15 +739,16 @@ export default { | ||
| 728 | display: flex; | 739 | display: flex; |
| 729 | justify-content: space-between; | 740 | justify-content: space-between; |
| 730 | align-items: center; | 741 | align-items: center; |
| 731 | - height: 2rem; | 742 | + height: 2.2rem; |
| 732 | margin-bottom: 0.3rem; | 743 | margin-bottom: 0.3rem; |
| 733 | span { | 744 | span { |
| 734 | text-align: center; | 745 | text-align: center; |
| 735 | display: flex; | 746 | display: flex; |
| 736 | - width: 1.8rem; | 747 | + width: 2.2rem; |
| 737 | align-items: center; | 748 | align-items: center; |
| 749 | + font-size: 1.2rem; | ||
| 738 | justify-content: center; | 750 | justify-content: center; |
| 739 | - height: 1.8rem; | 751 | + height: 2.2rem; |
| 740 | margin: 0 0.3rem; | 752 | margin: 0 0.3rem; |
| 741 | box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.35); | 753 | box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.35); |
| 742 | background-color: #fff; | 754 | background-color: #fff; |