select.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <template>
  2. <view class="page" :style="{'height':h+'px','padding-top':mt+'px'}">
  3. <c-nav-bar title="核销" backUrl="/pagesHouse/home/index" @goBack="goBack" :showHome="false"></c-nav-bar>
  4. <view class="card" @tap="toHome(0)">
  5. <view>
  6. <text>线上票核销</text>
  7. </view>
  8. </view>
  9. <view class="card" @tap="toHome(1)">
  10. <view>
  11. <text>线下票登记</text>
  12. </view>
  13. </view>
  14. <Tabbares :tabbarid="1" :value="1"></Tabbares>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. //userInfo: null,
  22. merchantId: '',
  23. types: [],
  24. list: []
  25. }
  26. },
  27. created() {
  28. },
  29. onLoad(option) {
  30. },
  31. methods: {
  32. toHome(type) {
  33. if (type == 0) {
  34. uni.navigateTo({
  35. url: '/pagesHouse/Verification/index'
  36. })
  37. }
  38. if (type == 1) {
  39. uni.navigateTo({
  40. url: '/pagesHouse/Verification/checkOffline'
  41. })
  42. }
  43. }
  44. }
  45. }
  46. </script>
  47. <style scoped lang="less">
  48. .page {
  49. background: #F3F4F4;
  50. padding-bottom: 20rpx;
  51. box-sizing: border-box;
  52. overflow-y: auto;
  53. .card {
  54. width: calc(100% - 60rpx);
  55. height: 180rpx;
  56. background: #FFFFFF;
  57. border-radius: 10rpx 10rpx 10rpx 10rpx;
  58. margin: 20rpx 30rpx 0;
  59. padding: 0 30rpx 0 60rpx;
  60. box-sizing: border-box;
  61. background: url(https://fsy.shengsi.gov.cn/file/20240109/1ee084be17f74dde94617dcb7f7c8af3.png) no-repeat;
  62. background-size: 100% 100%;
  63. display: flex;
  64. align-items: center;
  65. justify-content: space-between;
  66. &>view {
  67. &:first-child {
  68. display: flex;
  69. flex-direction: column;
  70. text {
  71. font-size: 38rpx;
  72. font-family: PingFang SC, PingFang SC;
  73. font-weight: 800;
  74. color: #1E3A62;
  75. }
  76. }
  77. }
  78. }
  79. }
  80. </style>