|
...
|
...
|
@@ -15,7 +15,7 @@ |
|
|
|
<view class="round"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<block wx:for="{{item.cookbooklist[0]}}" wx:key="{{item.id}}" wx:for-index="index">
|
|
|
|
<block wx:for="{{item.cookbooklist[0]}}" wx:key="id" wx:for-index="index">
|
|
|
|
<!-- name_type 1左侧,2右侧,3顶部分开 image_type 1大图,2小图 -->
|
|
|
|
<view wx:if="{{item.image_type=='1'}}" class="oneBox" data-idx="{{item.image_type}}" data-nameType="{{item.name_type}}">
|
|
|
|
<block wx:if="{{item.name_type!='3'}}">
|
|
...
|
...
|
@@ -29,7 +29,7 @@ |
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.specArr.length>0}}" class="norms {{item.name_type=='2'?'normsB':''}}" style="color:rgba({{navColor}})">
|
|
|
|
<view wx:for="{{item.specArr}}" wx:key="{{item.id}}">
|
|
|
|
<view wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
{{item.str}}
|
|
|
|
{{item.member_str}}
|
|
|
|
</view>
|
|
...
|
...
|
@@ -45,7 +45,7 @@ |
|
|
|
{{item.name}}
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.specArr.length>0}}" style="color:rgba({{textColor}})" class="norms {{item.name_type=='2'?'normsB':''}}" style="color:rgba({{navColor}})">
|
|
|
|
<view wx:for="{{item.specArr}}" wx:key="{{item.id}}">
|
|
|
|
<view wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
{{item.str}}
|
|
|
|
{{item.member_str}}
|
|
|
|
</view>
|
|
...
|
...
|
@@ -66,7 +66,7 @@ |
|
|
|
<view class="greens" wx:if="{{item.desc}}">
|
|
|
|
<view class="news" style="color:rgba({{textColor}})">{{item.desc}}</view>
|
|
|
|
</view>
|
|
|
|
<view wx:for="{{item.norms}}" wx:key="{{item.id}}" wx:for-index="normsIndex" class="algorithmImg flex-lr calculate">
|
|
|
|
<view wx:for="{{item.norms}}" wx:key="id" wx:for-index="normsIndex" class="algorithmImg flex-lr calculate">
|
|
|
|
<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}}" />
|
|
|
|
<view class="box flex-cc">
|
|
|
|
<view class="num flex-cc">
|
|
...
|
...
|
@@ -88,7 +88,7 @@ |
|
|
|
<text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{item.specArr.length>0}}" class="twoInfo twoSingle" style="color:rgba({{textColor}})">
|
|
|
|
<view wx:for="{{item.specArr}}" wx:key="{{item.id}}">
|
|
|
|
<view wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
{{item.str}}
|
|
|
|
{{item.member_str}}
|
|
|
|
</view>
|
|
...
|
...
|
@@ -101,7 +101,7 @@ |
|
|
|
<view class="greens" wx:if="{{item.desc}}">
|
|
|
|
<view class="news" style="color:rgba({{textColor}})">{{item.desc}}</view>
|
|
|
|
</view>
|
|
|
|
<view wx:for="{{item.norms}}" wx:key="{{item.unit}}" wx:for-index="normsIndex" class="algorithmImg flex-lr calculate">
|
|
|
|
<view wx:for="{{item.norms}}" wx:key="unit" wx:for-index="normsIndex" class="algorithmImg flex-lr calculate">
|
|
|
|
<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}}" />
|
|
|
|
<view class="box flex-cc">
|
|
|
|
<view class="num flex-cc">
|
|
...
|
...
|
@@ -150,7 +150,7 @@ |
|
|
|
<view class="checkLine" wx:if="{{checkItem.practice.length>0}}"></view>
|
|
|
|
<view class="textSty">规格</view>
|
|
|
|
<view class="itemBox">
|
|
|
|
<view class="single {{checkItem.check2==item.id?'active':''}}" bindtap="checkSingle2" wx:for="{{checkItem.specArr}}" data-item="{{item}}">
|
|
|
|
<view class="single {{checkItem.check2==item.id?'active':''}}" bindtap="checkSingle2" wx:for="{{checkItem.specArr}}" wx:key="id" data-item="{{item}}">
|
|
|
|
{{item.specs}}</view>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
...
|
...
|
@@ -164,7 +164,7 @@ |
|
|
|
<view slot="modalContent" class="assortModel">
|
|
|
|
<scroll-view scroll-y="true" style="height: 70%;">
|
|
|
|
<view class="boxs">
|
|
|
|
<view wx:for="{{assortArr}}" class="assortItem font48r {{toView==('inToView'+item.id)?'underline':''}}" data-item="{{item}}" bindtap="checkItem">
|
|
|
|
<view wx:for="{{assortArr}}" wx:key="id" class="assortItem font48r {{toView==('inToView'+item.id)?'underline':''}}" data-item="{{item}}" bindtap="checkItem">
|
|
|
|
{{item.class_name}}
|
|
|
|
</view>
|
|
|
|
</view>
|
...
|
...
|
|