huifeijiaojiaoRukou.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <template>
  2. <view class="container">
  3. <view class="menus-box">
  4. <view class="main-btn" @click="toPage('个人会费缴交')">
  5. <image :src="`${FILE_URL}/person-fee.png`"></image>
  6. <text>个人会费缴交</text>
  7. </view>
  8. <view class="main-btn" @click="toPage('代缴个人会费')">
  9. <image :src="`${FILE_URL}/fee.png`"></image>
  10. <text>代缴个人会费</text>
  11. </view>
  12. <view class="main-btn" @click="toPage('代缴单位会费')">
  13. <image :src="`${FILE_URL}/change.png`"></image>
  14. <text>代缴单位会费</text>
  15. </view>
  16. <!-- <view class="menus-item-box" @click="toPage('个人会费缴交')">
  17. <view class="text-box">
  18. 个人会费缴交
  19. </view>
  20. </view>
  21. <view class="menus-item-box" @click="toPage('代缴个人会费')">
  22. <view class="text-box">
  23. 代缴个人会费
  24. </view>
  25. </view>
  26. <view class="menus-item-box" @click="toPage('代缴单位会费')">
  27. <view class="text-box">
  28. 代缴单位会费
  29. </view>
  30. </view> -->
  31. </view>
  32. </view>
  33. </template>
  34. <script setup>
  35. import configService from '@/utils/baseurl.js'
  36. const FILE_URL = configService.FILE_URL;
  37. function toPage(name) {
  38. switch (name) {
  39. case '个人会费缴交':
  40. uni.navigateTo({
  41. url: '/pages/huiFeiJiaoJiao/huiFeiJiaoJiao'
  42. });
  43. break;
  44. case '代缴个人会费':
  45. uni.navigateTo({
  46. url: '/pages/daiJiaoGeRenHuiFei/daiJiaoGeRenHuiFei'
  47. })
  48. break;
  49. case '代缴单位会费':
  50. uni.navigateTo({
  51. url: '/pages/daiJiaoDanWeiHuiFei/daiJiaoDanWeiHuiFei'
  52. })
  53. break;
  54. }
  55. }
  56. </script>
  57. <style lang="scss">
  58. $certificate-width: 220rpx;
  59. $certificate-height: 300rpx;
  60. .container {
  61. height: 100vh;
  62. width: 100vw;
  63. background: rgb(141, 204, 255);
  64. background: -moz-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  65. background: -webkit-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  66. background: -o-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  67. background: -ms-linear-gradient(90deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  68. background: linear-gradient(180deg, rgb(141, 204, 255) 10%, rgb(247, 247, 247) 30%);
  69. .menus-box {
  70. padding: 20rpx;
  71. .main-btn {
  72. width: 85%;
  73. background-color: #006af4;
  74. border-radius: 20rpx;
  75. margin: 30rpx auto;
  76. padding: 40rpx 30rpx;
  77. display: flex;
  78. align-items: center;
  79. image {
  80. width: 100rpx;
  81. height: 100rpx;
  82. flex: 0 0 auto;
  83. }
  84. text {
  85. margin-left: 20rpx;
  86. color: #fff;
  87. font-size: 40rpx;
  88. }
  89. }
  90. .menus-item-box {
  91. width: 100%;
  92. padding: 35rpx 50rpx;
  93. margin-bottom: 35rpx;
  94. display: flex;
  95. gap: 30rpx;
  96. align-items: center;
  97. justify-content: center;
  98. background-color: #006AF4;
  99. border-radius: $uni-card-border-radius;
  100. &:active {
  101. background-color: #005AF4;
  102. }
  103. .icon-box {
  104. width: 40%;
  105. text-align: center;
  106. width: 100rpx;
  107. height: 100rpx;
  108. line-height: 100rpx;
  109. text-align: center;
  110. border-radius: 50%;
  111. border: 3rpx solid $uni-text-color-inverse;
  112. background-color: #004DC9;
  113. .iconfont {
  114. font-size: 60rpx;
  115. color: $uni-text-color-inverse;
  116. }
  117. }
  118. .text-box {
  119. font-size: 50rpx;
  120. font-weight: bold;
  121. color: $uni-text-color-inverse;
  122. }
  123. }
  124. }
  125. }
  126. </style>