<view class="workmode definemenu">
    <view class="definemenu_list">
        <view class="definemenu_box create">
            <view class="definemenu_box_headline">{{cookdata[0].name}}</view>
            <view class="definemenu_box_row">
                <input class="input" value="{{cookdata[0].value}}" placeholder="请输入食谱名称"/>
            </view>
        </view>
        <view class="definemenu_box">
            <view class="definemenu_box_title">{{cookdata[1].name}}</view>
            <view class="definemenu_box_title">{{cookdata[1].value}}</view>
            <view class="definemenu_box_switch" bind:tap="getHotList"></view>
        </view>
        <view class="definemenu_box">
            <view class="definemenu_box_title">{{cookdata[2].name}}</view>
            <view class="definemenu_box_title">{{cookdata[2].value}}</view>
            <view class="definemenu_box_switch" bind:tap="getTime"></view>
        </view>
    </view> 
</view>
<page-container show="{{showDefinemenuDialog}}" duration="300" round="{{true}}" custom-style="border-radius: 16rpx 16rpx 0rpx 0rpx;" position="bottom" bind:clickoverlay="onClickOverlay">
    <view class="definemenu_dialog">
        <view class="dialog_title">{{dialog_title}}</view> 
        <view class="dialog_delete" bindtap="closeDefinemenuDialog"></view> 
        <radio-group class="radio-group dialog_list" bind:change="radioChange">
            <view class="dialog_item {{item.checked ? 'checked' : ''}}" ty:for="{{hotList}}" ty:key="name">
                <label >
                    <view class="dialog_item_name">{{item.name}}</view>
                    <radio class="dialog_item_radio" value="{{item.value}}" checked="{{item.checked}}"></radio>
                </label>
            </view>
        </radio-group>
    </view>
</page-container>
