2 回复
< view class = "item" wx:for = "{{itemLists}}" wx:key = "x" data-itemCd = "{{itemLists[index][1].value}}" data-barcode = "{{itemLists[index][5].value}}" wx:for-index = "index" data-name = "明细跳转" bindtap = 'chooseOneItem' style = 'background-image: url("{{watermark}}")' > < view class = "img" > < image src = '{{itemLists[index][1].imgUrl}}' mode = "aspectFit" binderror = 'imageError' data-index = "{{index}}" ></ image > </ view > < view class = "itemData" data-a = "{{itemLists[index][1].value}}" > < view class = "name" >{{itemLists[index][0].value}}</ view > < view class = "itemPrice" > < view class = "code" >{{itemLists[index][1].value}}======{{itemLists[index][1].value}}</ view > < view data-a = "{{itemLists[index][4].value =='-'}}" class = 'priceView' wx:if = "{{itemLists[index][4].value !='-'}}" > < text class = 'newSalePirce' >{{itemLists[index][4].value}}</ text > < text class = 'orderPirce' >{{itemLists[index][2].value==null?'':itemLists[index][2].value}}</ text > < text class = 'unitRight' >元/{{itemLists[index][3].value}}</ text > </ view > < view data-a = "{{itemLists[index][4].value =='-'}}" class = 'priceView' wx:else> < text class = 'pirceLeft' >{{itemLists[index][2].value==null?'':itemLists[index][2].value}}</ text > < text class = 'unitRight' >元/{{itemLists[index][3].value}}</ text > </ view > </ view > |