huifeijiaojiaoRukou.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <view class="container">
  3. <view class="menus-box">
  4. <view class="menus-item-box" @click="toPage('个人会费缴交')">
  5. <view class="text-box">
  6. 个人会费缴交
  7. </view>
  8. </view>
  9. <view class="menus-item-box" @click="toPage('代缴个人会费')">
  10. <view class="text-box">
  11. 代缴个人会费
  12. </view>
  13. </view>
  14. <view class="menus-item-box" @click="toPage('代缴单位会费')">
  15. <view class="text-box">
  16. 代缴单位会费
  17. </view>
  18. </view>
  19. </view>
  20. </view>
  21. </template>
  22. <script setup>
  23. function toPage(name) {
  24. switch (name) {
  25. case '个人会费缴交':
  26. uni.navigateTo({
  27. url: '/pages/huiFeiJiaoJiao/huiFeiJiaoJiao'
  28. });
  29. break;
  30. case '代缴个人会费':
  31. uni.navigateTo({
  32. url: '/pages/daiJiaoGeRenHuiFei/daiJiaoGeRenHuiFei'
  33. })
  34. break;
  35. case '代缴单位会费':
  36. uni.navigateTo({
  37. url: '/pages/daiJiaoDanWeiHuiFei/daiJiaoDanWeiHuiFei'
  38. })
  39. break;
  40. }
  41. }
  42. </script>
  43. <style lang="scss">
  44. .container {
  45. height: 100vh;
  46. width: 100vw;
  47. background-color: $uni-text-color-inverse;
  48. .menus-box {
  49. padding: 20rpx;
  50. .menus-item-box {
  51. width: 100%;
  52. padding: 35rpx 50rpx;
  53. margin-bottom: 35rpx;
  54. display: flex;
  55. gap: 30rpx;
  56. align-items: center;
  57. justify-content: center;
  58. background-color: #006AF4;
  59. border-radius: $uni-card-border-radius;
  60. &:active {
  61. background-color: #005AF4;
  62. }
  63. .icon-box {
  64. width: 40%;
  65. text-align: center;
  66. width: 100rpx;
  67. height: 100rpx;
  68. line-height: 100rpx;
  69. text-align: center;
  70. border-radius: 50%;
  71. border: 3rpx solid $uni-text-color-inverse;
  72. background-color: #004DC9;
  73. .iconfont {
  74. font-size: 60rpx;
  75. color: $uni-text-color-inverse;
  76. }
  77. }
  78. .text-box {
  79. font-size: 50rpx;
  80. font-weight: bold;
  81. color: $uni-text-color-inverse;
  82. }
  83. }
  84. }
  85. }
  86. </style>