Explorar o código

sort commodity增加返回按钮

baolei hai 4 meses
pai
achega
83c89bbc5f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/header/header.js

+ 1 - 1
components/header/header.js

@@ -14,7 +14,7 @@ Component({
         // 是否是预售、新品、上架
         position:function(value){
            this.setData({ 
-            specialProds:value === "new" || value === "hot" || value === "presale"
+            specialProds:value === "new" || value === "hot" || value === "presale" || value === "sort" 
            })
         }
     },