jiangping
2024-07-16 b0b94a084ed6c1a685caebb8dfb1a0d65fdd9ef6
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
.search_wrap {
  width: 670rpx;
  height: 72rpx;
  margin: 24rpx auto;
  background: #F7F7F7;
  border-radius: 8rpx;
  padding: 0 40rpx;
  display: flex;
  align-items: center;
  background-color: #F7F7F7;
 
  image {
    width: 28rpx;
    margin-right: 16rpx;
  }
}
 
.app {
  height: 100%;
  width: 100%;
}
 
.main_content {
  height: calc(100% - 120rpx);
  .query_wrap {
    display: flex;
    padding: 0 16rpx;
    .item {
      height: 88rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666666;
      flex: 1;
      .name {
        margin-right: 6rpx;
      }
    }
  }
  .query_param {
    position: absolute;
    z-index: 99;
    background-color: #fff;
    width: 100%;
    .list {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      padding: 30rpx 40rpx;
      .item {
        width: 202rpx;
        height: 72rpx;
        text-align: center;
        line-height: 70rpx;
        background: #F7F7F7;
        border-radius: 8rpx;
        font-size: 26rpx;
        color: #333333;
        white-space: nowrap;
        overflow: hidden; //文本超出隐藏
        text-overflow: ellipsis;
        margin-right: 24rpx;
        margin-bottom: 24rpx;
 
        &:nth-of-type(3n) {
          margin-right: 0;
        }
      }
      .active {
        color: var(--themeColor);
        background: rgba(176, 135, 113, 0.08);
      }
    }
    .btns {
      display: flex;
      .btn {
        flex: 1;
        height: 88rpx;
        background: #E5E5E5;
        color: #666666;
        display: flex;
        justify-content: center;
        align-items: center;
      }
 
      .sub {
        background: var(--themeColor);
        color: #fff;
      }
    }
  }
 
  .status {
    display: flex;
    padding: 0rpx 40rpx;
    margin: 20rpx 0;
    align-items: center;
 
    .active {
      color: var(--themeColor);
    }
 
    .separate {
      margin: 0 12rpx;
      width: 1rpx;
      height: 28rpx;
      background-color: #333333;
    }
  }
  .goods_list{
    padding: 12rpx 40rpx;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .item{
      width: 324rpx;
      margin-bottom: 60rpx;
      .img_wrap{
        width: 100%;
        height: 182rpx;
        border-radius: 8rpx;
        overflow: hidden;
        position: relative;
        .img{
          width: 100%;
          height: 100%;
        }
        .tag{
          padding: 0 10rpx;
          height: 46rpx;
          line-height: 46rpx;
          text-align: center;
          background: rgba(0,0,0,0.4);
          border-radius: 8rpx;
          position: absolute;
          left: 12rpx;
          top: 16rpx;
          color: #fff;
          font-size: 24rpx;
          z-index: 10;
        }
      }
      .name{
        margin: 12rpx 0 8rpx;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
      }
      .info{
        display: flex;
        align-items: center;
        color: #666666;
        margin-left: 12rpx;
        .icon{
          width: 28rpx;
          margin-right: 8rpx;
        }
        .num{
          margin-right: 28rpx;
        }
        .primary{
          color: var(--themeColor);
        }
      }
    }
  }
}