|
1
|
-<view class="flex-ll hasListModel" style="width:100%;">
|
1
|
+<view class="flex-ll hasListModel" style="width:100%;" bindtap="{{item.num>0?'':'foodSpecAdd'}}" data-id="{{item.id}}">
|
|
2
|
<view class="avatar">
|
2
|
<view class="avatar">
|
|
3
|
<image mode="aspectFill" lazy-load="true" src="{{item.image}}"/>
|
3
|
<image mode="aspectFill" lazy-load="true" src="{{item.image}}"/>
|
|
4
|
</view>
|
4
|
</view>
|
|
@@ -32,7 +32,7 @@ |
|
@@ -32,7 +32,7 @@ |
|
32
|
</foodSpec>
|
32
|
</foodSpec>
|
|
33
|
<view class="t-align-c">{{item.num}}</view>
|
33
|
<view class="t-align-c">{{item.num}}</view>
|
|
34
|
</block>
|
34
|
</block>
|
|
35
|
- <foodSpec item="{{item}}" type="+"
|
35
|
+ <foodSpec item="{{item}}" type="+" id="foodSpecAdd-{{item.id}}"
|
|
36
|
sellerid="{{sellerid}}" orderid="{{orderid}}" identity="{{identity}}"
|
36
|
sellerid="{{sellerid}}" orderid="{{orderid}}" identity="{{identity}}"
|
|
37
|
fromSoucre="{{fromSoucre}}" request_uri="{{request_uri}}"
|
37
|
fromSoucre="{{fromSoucre}}" request_uri="{{request_uri}}"
|
|
38
|
bindfoodSpecCallback="foodSpecCallback">
|
38
|
bindfoodSpecCallback="foodSpecCallback">
|