zhengyiming
2025-02-17 b0371b64792e2a071e273cd57496c9f38a3118c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@import '@/styles/common.scss';
 
.bottom-tab {
  position: fixed;
  display: flex;
  width: 100%;
  height: 118px;
  // height: 100px;
  background: white;
  box-shadow: 0px -5px 6px 1px rgba(0, 0, 0, 0.04);
  bottom: 0;
 
  .bottom-tab-left,
  .bottom-tab-right {
    height: 100%;
    display: flex;
    width: 50%;
    justify-content: space-around;
  }
 
  .bottom-tab-left {
    padding-right: 20px;
  }
 
  .bottom-tab-right {
    padding-left: 20px;
  }
 
  &-item {
    // padding: 36px 20px 32px;
    // padding-bottom: 16px;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    position: relative;
 
    .bottom-tab-item-icon-wrapper {
      margin-bottom: 8px;
      position: relative;
    }
 
    .bottom-tab-item-icon {
      width: 48px;
      height: 48px;
    }
 
    .bottom-tab-item-text {
      color: #707070;
      font-size: 24px;
      line-height: 28px;
    }
 
    .bottom-tab-item-badge {
      line-height: 28px;
      padding: 0 8px;
      background: #ff4d4f;
      border-radius: 14px;
      color: #fff;
      font-size: 22px;
      position: absolute;
      top: -6px;
      right: -10px;
    }
 
    &.active {
      .bottom-tab-item-text {
        color: #3a71ff;
      }
    }
  }
 
  .publish-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
 
    .bottom-tab-item-text {
      margin-top: 50px;
    }
 
    .bottom-tab-item-img-publish {
      position: absolute;
      width: 103px;
      height: 103px;
      left: 50%;
      top: -50px;
      transform: translateX(-50%);
    }
 
    .bottom-tab-float-btn {
      position: absolute;
      width: 85px;
      height: 85px;
      background: #ffffff;
      box-shadow: 0px -9px 9px 1px rgba(209, 209, 209, 0.35);
      border-radius: 50%;
      left: 50%;
      top: -30px;
      transform: translateX(-50%);
      display: flex;
      justify-content: center;
      align-items: center;
 
      .bottom-tab-float-btn-inner {
        width: 70px;
        height: 70px;
        background: linear-gradient(88deg, #2c7eff, #629dfa);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
}