<view class="workmode multifunctional">
    <view class="multifunctional_action">
        <view class="multifunctional_action_item" ty:for="{{da_list}}" ty:key="{{index}}" bindtap="goAction">
            <view class="multifunctional_action_img img_box">
                <image mode="widthFix" lazy-load="true" src="{{item.imgUrl}}" />
            </view> 
            <view class="multifunctional_action_text">{{item.name}}</view>
        </view> 
    </view>
    <view class="multifunctional_definemenu">
        <view class="definemenu_header">
            <view class="definemenu_title">自定义食谱</view>
            <view class="definemenu_delete img_box" bind:tap="goAddDevice">
                <image mode="widthFix" lazy-load="true" src="/assets/images/xian/icon_delete.png" />
            </view> 
        </view> 
        <view class="definemenu_line"></view>
        <view class="definemenu_list" ty:if="{{define_list.length > 0}}">
            <view class="definemenu_box" ty:for="{{define_list}}" ty:key="{{index}}">
                <view class="definemenu_box_img img_box">
                    <image class="image" src="{{item.imgUrl}}" mode="widthFix"></image>
                </view>
                <view class="definemenu_box_title">{{item.name}}</view>
                <view class="definemenu_box_switch" data-id="{{index}}" bind:tap="goDefinemenu"></view>
            </view>
        </view>
    </view>
    <view class="multifunctional_cookbook" bind:tap="goMoremenu">更多食谱</view>
</view>