index.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <template>
  2. <view class="page" :style="{'min-height':(h-th)+'px'}">
  3. <c-nav-bar title="核销"></c-nav-bar>
  4. <view class="content">
  5. <view class="content-one" @click="SweepIt">
  6. <view class="image">
  7. <image src="https://i.ringzle.com/file/20240224/f7c81755b4f74f47b80c53ba4e6b051a.png" mode="">
  8. </image>
  9. </view>
  10. <view class="text">
  11. 扫一扫核销
  12. </view>
  13. </view>
  14. <view class="content-two" @click="handiwork">
  15. <view class="image">
  16. <image src="https://i.ringzle.com/file/20240224/49af25724572427fadff57f73a29d15b.png" mode="">
  17. </image>
  18. </view>
  19. <view class="text">
  20. 手工核销
  21. </view>
  22. </view>
  23. </view>
  24. <Tabbares :tabbarid="1"></Tabbares>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. h: uni.getSystemInfoSync().windowHeight - 87,
  32. mt: uni.getSystemInfoSync().statusBarHeight + 44,
  33. }
  34. },
  35. methods: {
  36. // 扫码
  37. SweepIt() {
  38. },
  39. // 手工
  40. handiwork() {
  41. uni.navigateTo({
  42. url: '/pagesHouse/Verification/handiwork'
  43. })
  44. },
  45. }
  46. }
  47. </script>
  48. <style lang="less">
  49. * {
  50. margin: 0;
  51. padding: 0;
  52. box-sizing: border-box
  53. }
  54. .page {
  55. height: 100%;
  56. background-color: #FFFFFF;
  57. .content {
  58. // height: 100%;
  59. // line-height: 100%;
  60. // padding: 40rpx auto;
  61. margin: 34% 64rpx;
  62. display: flex;
  63. flex-wrap: wrap;
  64. .content-one,
  65. .content-two {
  66. box-sizing: border-box;
  67. width: 100%;
  68. height: 224rpx;
  69. background-color: #F0F8F6;
  70. padding: 40rpx 0;
  71. margin-top: 60rpx;
  72. border-radius: 24rpx;
  73. .image {
  74. width: 88rpx;
  75. height: 88rpx;
  76. margin: auto;
  77. image {
  78. width: 100%;
  79. height: 100%;
  80. }
  81. }
  82. .text {
  83. margin-top: 24rpx;
  84. text-align: center;
  85. font-size: 32rpx;
  86. color: #111111;
  87. font-weight: Regular;
  88. }
  89. }
  90. }
  91. }
  92. </style>