< view bindtap= "shopselect" wx:key= "speckone" wx:for= "{{pagedata.Specs}}" class=" {{item.RealStock > 0? "zl": "nohave"} "data-max= "{{item.RealStock}}" data-id= "{{item.Id}}"
{{item.SpecValue}} < / view >
this is the view that is looped out.
but through the shopselect event. When you click on a view. Add the act class to the view. Other view cancels act. How do you write it?