Commit eea222cdc34eb172a259871650555d643dfe0f70

Authored by zhiyangdu
1 parent 5b9b00ab

基数和双数背景颜色

src/pages/goodDetails/goodDetails.less
... ... @@ -158,13 +158,15 @@
158 158 font-weight: 300;
159 159 display: flex;
160 160 margin:0 30px;
  161 + div{
  162 + background: #FEF9F9;
  163 + }
161 164 .left{
162 165 color: #777777;
163 166 margin-right:10px;
164 167 width: 204px;
165 168 height:72px;
166 169 line-height: 72px;
167   - background: #FEF9F9;
168 170 text-align: center;
169 171 display: -webkit-box;
170 172 -webkit-line-clamp: 1;
... ... @@ -185,7 +187,6 @@
185 187 /*! autoprefixer: on */
186 188 text-overflow: ellipsis;
187 189 overflow: hidden;
188   - background: #FEF9F9;
189 190 flex: 1;
190 191 color:#333333;
191 192 span{
... ... @@ -193,6 +194,12 @@
193 194 }
194 195 }
195 196 }
  197 + .item_sku:nth-child(odd) > div{
  198 + background: #FEF9F9;
  199 + }
  200 + .item_sku:nth-child(even) > div{
  201 + background: rgba(249, 249, 249, 0.3);
  202 + }
196 203 }
197 204 /**相似商品*/
198 205 .column-list-box{
... ...