xuxy
2024-06-25 d1bb68d9f9054bbf87cd84956d3240c71d8e370c
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
.footer {
    position: fixed;
    // position: sticky;
    bottom: 60rpx;
    left: 0px;
    // width: 100vw;
    min-width: 600rpx;
    // height: 98rpx;
    // background: #fff;
    // background-image: url('../../static/imgs/home/foot-bg.png');
    background-size: 100% 100%;
    z-index: 99;
    // min-height: 160rpx;
    padding-top: 20rpx;
    
    justify-content: space-around;
    padding-bottom: constant(safe-area-inset-bottom);  ///兼容 IOS<11.2/
    padding-bottom: env(safe-area-inset-bottom);  ///兼容 IOS>11.2/
    // border-top: 2rpx solid #F2f2f2f2;
    .footer-item{
        flex: 1;
        border-radius: 50rpx;
        padding: 8rpx;
        .item {
 
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            // color: #A1A6B3;
            color: var(--topicgray);
            flex-direction: column;
            align-items: center;
            text-align: center;
            line-height: 40rpx;
            min-width: 252rpx;
            font-size: 28rpx;
            color: #20613D;
            height: 60rpx;
            line-height: 60rpx;
            
 
        
 
            
            // .footer-bottom-brand-icon{
            //     width: 90rpx;
            //     height:70rpx;
            // }
            // .footer-icon{
            //     width: 50rpx;
            //     height: 50rpx;
            //     margin-top: 20rpx;
            // }
            .footer-icon{
                width: 28rpx;
                height: 29rpx;
            }
            .footer-icon.0 {
              width: 28rpx;
              height: 29rpx;
            }
            .footer-icon.1 {
                width: 26rpx;
                height: 32rpx;
            }
        }
    }
    
}
// .aaa{
//     position:static;
//     position: sticky;
//     top: -10px;
// }
 
.footer.farmer-footer{
    left: 50%;
    transform: translateX(-50%);
    background-image: unset;
    background-color: #fff;
    border-radius: 50rpx;
    padding:8rpx;
    .footer-item{
        border-radius: 50rpx;
        width: 252rpx;
        
        .item {
            margin-top: 0rpx;
            padding-top: 0rpx;
            min-width: unset;
 
            // min-width: 252rpx;
            // max-width: 252rpx;;
            padding-top: 12rpx;
            line-height: 50rpx;
            .footer-icon{
                margin-top: 12rpx;
            }
        }
        &.cur {
            // font-weight: 600;
            // font-size: 28rpx;
            // color: #000000;
            // text-align: left;
            // font-style: normal;
            background: #E1F0E7;
            border-radius: 50rpx;
            color: var(--topicolor);
        }
    }
}