裂变星小程序-25.03.04
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

87 lines
1.4 KiB

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
  1. <template>
  2. <view class="page">
  3. <navbar title="首页" bgColor="#001137" color="#FFFFFF" />
  4. <view class="btns">
  5. <button
  6. v-for="item in list"
  7. :key="item.title"
  8. class="btn"
  9. plain
  10. @click="$utils.navigateTo(item.path)"
  11. >
  12. {{ item.title }}
  13. </button>
  14. </view>
  15. <tabber select="home"/>
  16. </view>
  17. </template>
  18. <script>
  19. import tabber from '@/components/base/tabbar.vue'
  20. export default {
  21. components : {
  22. tabber,
  23. },
  24. data() {
  25. return {
  26. list: [
  27. {
  28. title: '个人分享',
  29. path: '/pages_order/record/personalSharing'
  30. },
  31. {
  32. title: '视频分享',
  33. path: '/pages_order/record/videoSharing'
  34. },
  35. {
  36. title: '群分享',
  37. path: '/pages_order/record/groupSharing'
  38. },
  39. {
  40. title: '文章分享',
  41. path: '/pages_order/record/articleSharing'
  42. },
  43. ]
  44. }
  45. },
  46. }
  47. </script>
  48. <style scoped lang="scss">
  49. .page{
  50. & /deep/ .uv-icon__icon{
  51. font-size: 30rpx !important;
  52. }
  53. position: relative;
  54. height: 100vh;
  55. background-color: $uni-bg-color-highlight;
  56. .btns {
  57. display: grid;
  58. grid-column-gap: 34rpx;
  59. grid-row-gap: 34rpx;
  60. grid-template-columns: repeat(2, 1fr);
  61. position: absolute;
  62. bottom: 466rpx;
  63. width: 100%;
  64. padding: 0 58rpx;
  65. box-sizing: border-box;
  66. }
  67. .btn {
  68. color: $uni-text-color-highlight;
  69. border-color: #04D6A3;
  70. width: 100%;
  71. padding: 55rpx 0;
  72. }
  73. }
  74. </style>