navigation.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <template>
  2. <Index v-show="value==0"/>
  3. <User v-show="value==1"/>
  4. <uv-tabbar :border="false" :value="value" @change="index=>value = index">
  5. <uv-tabbar-item @click="value==0" text="首页" icon="home" iconSize="30"></uv-tabbar-item>
  6. <uv-tabbar-item @click="value==1" text="我的" icon="account" iconSize="30"></uv-tabbar-item>
  7. </uv-tabbar>
  8. </template>
  9. <script setup>
  10. import {ref} from 'vue'
  11. import Index from '@/pages/index/index.vue'
  12. import User from '@/pages/user/index.vue'
  13. const value=ref(0)
  14. </script>
  15. <style lang="less">
  16. page {
  17. background-color: #fff;
  18. overflow: hidden;
  19. }
  20. .zp-swiper-super.data-v-bd8ff6a5 {
  21. background-color: rgb(244, 245, 249);
  22. }
  23. .search {
  24. margin: 20rpx 20rpx 0 20rpx;
  25. }
  26. .zp-swiper-container-fixed.data-v-bd8ff6a5 {
  27. // top: 100rpx !important;
  28. }
  29. swiper {
  30. min-height: 95vh;
  31. // overflow-y:auto;
  32. }
  33. .yiqijie{
  34. width: 280rpx;
  35. height: 90rpx;
  36. background-color: #2d8cf0;
  37. position: absolute;
  38. bottom: 250rpx !important;
  39. right: 50%;
  40. transform: translate(50%, 50%);
  41. border-radius: 50rpx;
  42. line-height: 90rpx;
  43. text-align: center;
  44. color: #fff;
  45. font-size: 35rpx;
  46. z-index: 99999;
  47. }
  48. .jie_card {
  49. width: 94%;
  50. margin: 30rpx auto;
  51. height: 270rpx;
  52. border-radius: 20rpx;
  53. background-color: #fff;
  54. // padding: 10rpx 0;
  55. }
  56. .tihuan_box {
  57. width: 84%;
  58. height: 500rpx;
  59. padding: 30rpx;
  60. background-color: #fff;
  61. margin: 30% auto;
  62. border-radius: 20rpx;
  63. }
  64. .jie_card_title {
  65. width: 100%;
  66. height: 84rpx;
  67. line-height: 84rpx;
  68. }
  69. .jie_swiper {
  70. // min-height: 1000rpx;
  71. background-color: rgb(244, 245, 249);
  72. }
  73. .jie_card_title_text {
  74. margin-left: 15rpx;
  75. line-height: center;
  76. // color: #606266;
  77. font-size: 28rpx;
  78. }
  79. .jie_tags {
  80. float: right;
  81. background-color: #E1F3D8;
  82. width: 104rpx;
  83. height: 42rpx;
  84. margin-top: 22rpx;
  85. border-radius: 23rpx 0 0 23rpx;
  86. font-size: 25rpx;
  87. padding-left: 10rpx;
  88. line-height: 40rpx;
  89. color: #529B2E;
  90. }
  91. .jie_tags2 {
  92. color: #B88230;
  93. background-color: #FAECD8;
  94. }
  95. .jie_contend {
  96. margin-left: 15rpx;
  97. margin-top: 15rpx;
  98. float: left;
  99. font-size: 31rpx;
  100. line-height: 42rpx;
  101. }
  102. .jie_contend_text {
  103. margin-bottom: 10rpx;
  104. }
  105. .jie_contend_text1 {
  106. color: #606266;
  107. }
  108. .jie_contend_text2 {
  109. color: #000;
  110. }
  111. .jie_card_ztai {
  112. width: 134rpx;
  113. height: 134rpx;
  114. background-color: #F89898;
  115. border-radius: 50%;
  116. line-height: 134rpx;
  117. float: right;
  118. color: #fff;
  119. font-size: 32rpx;
  120. text-align: center;
  121. margin-top: 25rpx;
  122. margin-right: 40rpx;
  123. }
  124. .jie_card_ztai2 {
  125. background-color: #A0CFFF;
  126. }
  127. </style>