huifeijiaojiaoRukou.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <template>
  2. <view class="container menus-box">
  3. <view class="main-btn" @click="toPage('个人会费缴交')">
  4. <image :src="`${FILE_URL}/person-fee.png`"></image>
  5. <text>个人会费缴交</text>
  6. </view>
  7. <view class="main-btn" @click="toPage('代缴个人会费')">
  8. <image :src="`${FILE_URL}/fee.png`"></image>
  9. <text>代缴个人会费</text>
  10. </view>
  11. <view class="main-btn" @click="toPage('代缴单位会费')">
  12. <image :src="`${FILE_URL}/change.png`"></image>
  13. <text>代缴单位会费</text>
  14. </view>
  15. <view class="">
  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. }
  70. .menus-box {
  71. padding: 30rpx 0;
  72. .main-btn {
  73. width: 85%;
  74. background-color: #006af4;
  75. border-radius: 20rpx;
  76. margin: 0 auto 30rpx;
  77. padding: 40rpx 30rpx;
  78. display: flex;
  79. align-items: center;
  80. image {
  81. width: 100rpx;
  82. height: 100rpx;
  83. flex: 0 0 auto;
  84. }
  85. text {
  86. margin-left: 20rpx;
  87. color: #fff;
  88. font-size: 40rpx;
  89. }
  90. }
  91. .menus-item-box {
  92. width: 100%;
  93. padding: 35rpx 50rpx;
  94. margin-bottom: 35rpx;
  95. display: flex;
  96. gap: 30rpx;
  97. align-items: center;
  98. justify-content: center;
  99. background-color: #006AF4;
  100. border-radius: $uni-card-border-radius;
  101. &:active {
  102. background-color: #005AF4;
  103. }
  104. .icon-box {
  105. width: 40%;
  106. text-align: center;
  107. width: 100rpx;
  108. height: 100rpx;
  109. line-height: 100rpx;
  110. text-align: center;
  111. border-radius: 50%;
  112. border: 3rpx solid $uni-text-color-inverse;
  113. background-color: #004DC9;
  114. .iconfont {
  115. font-size: 60rpx;
  116. color: $uni-text-color-inverse;
  117. }
  118. }
  119. .text-box {
  120. font-size: 50rpx;
  121. font-weight: bold;
  122. color: $uni-text-color-inverse;
  123. }
  124. }
  125. }
  126. </style>