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 | 15 | <div v-show="currentTabActive==0"> |
| 16 | 16 | |
| 17 | 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 | 20 | <div class="cost-main" v-for="i in parkingData"> |
| 21 | 21 | <ul class="cost-header"> |
| ... | ... | @@ -330,7 +330,7 @@ export default { |
| 330 | 330 | |
| 331 | 331 | } else { |
| 332 | 332 | //$('.dialog-out').show() |
| 333 | - this.$msgbox('提示', '停车15分钟内无需缴费,申请成功。') | |
| 333 | + this.$msgbox('提示', '无需缴费,请直接离场。') | |
| 334 | 334 | } |
| 335 | 335 | |
| 336 | 336 | }) | ... | ... |
src/components/plateNumber.vue
| 1 | 1 | <template> |
| 2 | 2 | <div id="page"> |
| 3 | 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 | 16 | <div class="num-box"> |
| 17 | 17 | <div class="num0" @click="clickFirstWrap()"> |
| 18 | 18 | <span>{{formData.num0}}</span> |
| 19 | 19 | </div> |
| 20 | 20 | <div class="num1" @click="clickKeyWordWrap(1)"><span>{{formData.num1}}</span></div> |
| 21 | - <!--<em class="spot"></em>--> | |
| 21 | + <em class="spot"></em> | |
| 22 | 22 | <div class="num1" @click="clickKeyWordWrap(2)"><span>{{formData.num2}}</span></div> |
| 23 | 23 | <div class="num1" @click="clickKeyWordWrap(3)"><span>{{formData.num3}}</span></div> |
| 24 | 24 | <div class="num1" @click="clickKeyWordWrap(4)"><span>{{formData.num4}}</span></div> |
| ... | ... | @@ -299,8 +299,8 @@ export default { |
| 299 | 299 | activeBG:'#0054C0', |
| 300 | 300 | formData: { |
| 301 | 301 | commonCard: '1', |
| 302 | - num0: '', | |
| 303 | - num1: '', | |
| 302 | + num0: '苏', | |
| 303 | + num1: 'B', | |
| 304 | 304 | num2: '', |
| 305 | 305 | num3: '', |
| 306 | 306 | num4: '', |
| ... | ... | @@ -538,6 +538,16 @@ export default { |
| 538 | 538 | } |
| 539 | 539 | </script> |
| 540 | 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 | 551 | .flex-items-center { |
| 542 | 552 | display: flex; |
| 543 | 553 | align-items: center; |
| ... | ... | @@ -594,8 +604,8 @@ export default { |
| 594 | 604 | background-color: #d8d8d8; |
| 595 | 605 | } |
| 596 | 606 | & > div { |
| 597 | - width: 1.8rem; | |
| 598 | - height: 1.8rem; | |
| 607 | + width: 2.2rem; | |
| 608 | + height: 2.2rem; | |
| 599 | 609 | border: 1px solid #e4e4e4; |
| 600 | 610 | &.first { |
| 601 | 611 | position: relative; |
| ... | ... | @@ -622,7 +632,7 @@ export default { |
| 622 | 632 | width: 100%; |
| 623 | 633 | height: 100%; |
| 624 | 634 | // background-color: #9cbce2; |
| 625 | - color: #828282; | |
| 635 | + color: #666; | |
| 626 | 636 | line-height: 1.8rem; |
| 627 | 637 | } |
| 628 | 638 | } |
| ... | ... | @@ -638,8 +648,8 @@ export default { |
| 638 | 648 | justify-content: center; |
| 639 | 649 | width: 100%; |
| 640 | 650 | height: 100%; |
| 641 | - font-size: 1rem; | |
| 642 | - color: #828282; | |
| 651 | + font-size: 1.2rem; | |
| 652 | + color: #666; | |
| 643 | 653 | &.first { |
| 644 | 654 | background-color: #9cbce2; |
| 645 | 655 | color: #fff; |
| ... | ... | @@ -685,8 +695,8 @@ export default { |
| 685 | 695 | margin-bottom: 0.45rem; |
| 686 | 696 | .word { |
| 687 | 697 | box-sizing: border-box; |
| 688 | - width: 1.8rem; | |
| 689 | - height: 1.8rem; | |
| 698 | + width: 2.2rem; | |
| 699 | + height: 2.2rem; | |
| 690 | 700 | // border: 1px solid #9cbce2; |
| 691 | 701 | box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.35); |
| 692 | 702 | border-radius: 0.16rem; |
| ... | ... | @@ -707,6 +717,7 @@ export default { |
| 707 | 717 | color: #000; |
| 708 | 718 | // border: 1px solid #fff; |
| 709 | 719 | border-radius: 0.125rem; |
| 720 | + font-size: 1.2rem; | |
| 710 | 721 | } |
| 711 | 722 | img { |
| 712 | 723 | width: 1.6rem; |
| ... | ... | @@ -728,15 +739,16 @@ export default { |
| 728 | 739 | display: flex; |
| 729 | 740 | justify-content: space-between; |
| 730 | 741 | align-items: center; |
| 731 | - height: 2rem; | |
| 742 | + height: 2.2rem; | |
| 732 | 743 | margin-bottom: 0.3rem; |
| 733 | 744 | span { |
| 734 | 745 | text-align: center; |
| 735 | 746 | display: flex; |
| 736 | - width: 1.8rem; | |
| 747 | + width: 2.2rem; | |
| 737 | 748 | align-items: center; |
| 749 | + font-size: 1.2rem; | |
| 738 | 750 | justify-content: center; |
| 739 | - height: 1.8rem; | |
| 751 | + height: 2.2rem; | |
| 740 | 752 | margin: 0 0.3rem; |
| 741 | 753 | box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.35); |
| 742 | 754 | background-color: #fff; | ... | ... |