|
@@ -15,7 +15,7 @@ |
|
@@ -15,7 +15,7 @@ |
|
15
|
<view class="round"></view>
|
15
|
<view class="round"></view>
|
|
16
|
</view>
|
16
|
</view>
|
|
17
|
</view>
|
17
|
</view>
|
|
18
|
- <block wx:for="{{item.cookbooklist[0]}}" wx:key="{{item.id}}" wx:for-index="index">
|
18
|
+ <block wx:for="{{item.cookbooklist[0]}}" wx:key="id" wx:for-index="index">
|
|
19
|
<!-- name_type 1左侧,2右侧,3顶部分开 image_type 1大图,2小图 -->
|
19
|
<!-- name_type 1左侧,2右侧,3顶部分开 image_type 1大图,2小图 -->
|
|
20
|
<view wx:if="{{item.image_type=='1'}}" class="oneBox" data-idx="{{item.image_type}}" data-nameType="{{item.name_type}}">
|
20
|
<view wx:if="{{item.image_type=='1'}}" class="oneBox" data-idx="{{item.image_type}}" data-nameType="{{item.name_type}}">
|
|
21
|
<block wx:if="{{item.name_type!='3'}}">
|
21
|
<block wx:if="{{item.name_type!='3'}}">
|
|
@@ -29,7 +29,7 @@ |
|
@@ -29,7 +29,7 @@ |
|
29
|
</view>
|
29
|
</view>
|
|
30
|
</view>
|
30
|
</view>
|
|
31
|
<view wx:if="{{item.specArr.length>0}}" class="norms {{item.name_type=='2'?'normsB':''}}" style="color:rgba({{navColor}})">
|
31
|
<view wx:if="{{item.specArr.length>0}}" class="norms {{item.name_type=='2'?'normsB':''}}" style="color:rgba({{navColor}})">
|
|
32
|
- <view wx:for="{{item.specArr}}" wx:key="{{item.id}}">
|
32
|
+ <view wx:for="{{item.specArr}}" wx:key="id">
|
|
33
|
{{item.str}}
|
33
|
{{item.str}}
|
|
34
|
{{item.member_str}}
|
34
|
{{item.member_str}}
|
|
35
|
</view>
|
35
|
</view>
|
|
@@ -45,7 +45,7 @@ |
|
@@ -45,7 +45,7 @@ |
|
45
|
{{item.name}}
|
45
|
{{item.name}}
|
|
46
|
</view>
|
46
|
</view>
|
|
47
|
<view wx:if="{{item.specArr.length>0}}" style="color:rgba({{textColor}})" class="norms {{item.name_type=='2'?'normsB':''}}" style="color:rgba({{navColor}})">
|
47
|
<view wx:if="{{item.specArr.length>0}}" style="color:rgba({{textColor}})" class="norms {{item.name_type=='2'?'normsB':''}}" style="color:rgba({{navColor}})">
|
|
48
|
- <view wx:for="{{item.specArr}}" wx:key="{{item.id}}">
|
48
|
+ <view wx:for="{{item.specArr}}" wx:key="id">
|
|
49
|
{{item.str}}
|
49
|
{{item.str}}
|
|
50
|
{{item.member_str}}
|
50
|
{{item.member_str}}
|
|
51
|
</view>
|
51
|
</view>
|
|
@@ -66,7 +66,7 @@ |
|
@@ -66,7 +66,7 @@ |
|
66
|
<view class="greens" wx:if="{{item.desc}}">
|
66
|
<view class="greens" wx:if="{{item.desc}}">
|
|
67
|
<view class="news" style="color:rgba({{textColor}})">{{item.desc}}</view>
|
67
|
<view class="news" style="color:rgba({{textColor}})">{{item.desc}}</view>
|
|
68
|
</view>
|
68
|
</view>
|
|
69
|
- <view wx:for="{{item.norms}}" wx:key="{{item.id}}" wx:for-index="normsIndex" class="algorithmImg flex-lr calculate">
|
69
|
+ <view wx:for="{{item.norms}}" wx:key="id" wx:for-index="normsIndex" class="algorithmImg flex-lr calculate">
|
|
70
|
<image src="{{themeColor!='251,246,241,1'?'https://qn.colorcun.com/WechatIMG697.png':'https://qn.colorcun.com/Line2.png'}}" mode="aspectFill" class="reduceImg" bindtap="subtraction" data-item="{{item}}" />
|
70
|
<image src="{{themeColor!='251,246,241,1'?'https://qn.colorcun.com/WechatIMG697.png':'https://qn.colorcun.com/Line2.png'}}" mode="aspectFill" class="reduceImg" bindtap="subtraction" data-item="{{item}}" />
|
|
71
|
<view class="box flex-cc">
|
71
|
<view class="box flex-cc">
|
|
72
|
<view class="num flex-cc">
|
72
|
<view class="num flex-cc">
|
|
@@ -88,7 +88,7 @@ |
|
@@ -88,7 +88,7 @@ |
|
88
|
<text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
88
|
<text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
|
89
|
</view>
|
89
|
</view>
|
|
90
|
<view wx:if="{{item.specArr.length>0}}" class="twoInfo twoSingle" style="color:rgba({{textColor}})">
|
90
|
<view wx:if="{{item.specArr.length>0}}" class="twoInfo twoSingle" style="color:rgba({{textColor}})">
|
|
91
|
- <view wx:for="{{item.specArr}}" wx:key="{{item.id}}">
|
91
|
+ <view wx:for="{{item.specArr}}" wx:key="id">
|
|
92
|
{{item.str}}
|
92
|
{{item.str}}
|
|
93
|
{{item.member_str}}
|
93
|
{{item.member_str}}
|
|
94
|
</view>
|
94
|
</view>
|
|
@@ -101,7 +101,7 @@ |
|
@@ -101,7 +101,7 @@ |
|
101
|
<view class="greens" wx:if="{{item.desc}}">
|
101
|
<view class="greens" wx:if="{{item.desc}}">
|
|
102
|
<view class="news" style="color:rgba({{textColor}})">{{item.desc}}</view>
|
102
|
<view class="news" style="color:rgba({{textColor}})">{{item.desc}}</view>
|
|
103
|
</view>
|
103
|
</view>
|
|
104
|
- <view wx:for="{{item.norms}}" wx:key="{{item.unit}}" wx:for-index="normsIndex" class="algorithmImg flex-lr calculate">
|
104
|
+ <view wx:for="{{item.norms}}" wx:key="unit" wx:for-index="normsIndex" class="algorithmImg flex-lr calculate">
|
|
105
|
<image src="{{themeColor!='251,246,241,1'?'https://qn.colorcun.com/WechatIMG697.png':'https://qn.colorcun.com/Line2.png'}}" mode="aspectFill" class="reduceImg" bindtap="subtraction" data-item="{{item}}" data-key="{{index}}" data-indexs="{{indexs}}" />
|
105
|
<image src="{{themeColor!='251,246,241,1'?'https://qn.colorcun.com/WechatIMG697.png':'https://qn.colorcun.com/Line2.png'}}" mode="aspectFill" class="reduceImg" bindtap="subtraction" data-item="{{item}}" data-key="{{index}}" data-indexs="{{indexs}}" />
|
|
106
|
<view class="box flex-cc">
|
106
|
<view class="box flex-cc">
|
|
107
|
<view class="num flex-cc">
|
107
|
<view class="num flex-cc">
|
|
@@ -150,7 +150,7 @@ |
|
@@ -150,7 +150,7 @@ |
|
150
|
<view class="checkLine" wx:if="{{checkItem.practice.length>0}}"></view>
|
150
|
<view class="checkLine" wx:if="{{checkItem.practice.length>0}}"></view>
|
|
151
|
<view class="textSty">规格</view>
|
151
|
<view class="textSty">规格</view>
|
|
152
|
<view class="itemBox">
|
152
|
<view class="itemBox">
|
|
153
|
- <view class="single {{checkItem.check2==item.id?'active':''}}" bindtap="checkSingle2" wx:for="{{checkItem.specArr}}" data-item="{{item}}">
|
153
|
+ <view class="single {{checkItem.check2==item.id?'active':''}}" bindtap="checkSingle2" wx:for="{{checkItem.specArr}}" wx:key="id" data-item="{{item}}">
|
|
154
|
{{item.specs}}</view>
|
154
|
{{item.specs}}</view>
|
|
155
|
</view>
|
155
|
</view>
|
|
156
|
</scroll-view>
|
156
|
</scroll-view>
|
|
@@ -164,7 +164,7 @@ |
|
@@ -164,7 +164,7 @@ |
|
164
|
<view slot="modalContent" class="assortModel">
|
164
|
<view slot="modalContent" class="assortModel">
|
|
165
|
<scroll-view scroll-y="true" style="height: 70%;">
|
165
|
<scroll-view scroll-y="true" style="height: 70%;">
|
|
166
|
<view class="boxs">
|
166
|
<view class="boxs">
|
|
167
|
- <view wx:for="{{assortArr}}" class="assortItem font48r {{toView==('inToView'+item.id)?'underline':''}}" data-item="{{item}}" bindtap="checkItem">
|
167
|
+ <view wx:for="{{assortArr}}" wx:key="id" class="assortItem font48r {{toView==('inToView'+item.id)?'underline':''}}" data-item="{{item}}" bindtap="checkItem">
|
|
168
|
{{item.class_name}}
|
168
|
{{item.class_name}}
|
|
169
|
</view>
|
169
|
</view>
|
|
170
|
</view>
|
170
|
</view>
|