时间 分类 | 早餐 | 中餐 | 晚餐 |
{{each}}
{{$value.sunday}}
{{$value.recipe_date}}
{{set BreakfastCount=$value.Breakfastdish.length}}
{{each $value.Breakfastdish}}
{{if $index!=BreakfastCount-1}}
{{$value.dish_name}}、
{{else}}
{{$value.dish_name}}
{{/if}}
{{/each}}
{{set InmealCount=$value.Inmealdish.length}}
{{each $value.Inmealdish}}
{{if $index!=InmealCount-1}}
{{$value.dish_name}}、
{{else}}
{{$value.dish_name}}
{{/if}}
{{/each}}
{{set DinnerCount=$value.Dinnerdish.length}}
{{each $value.Dinnerdish}}
{{if $index!=DinnerCount-1}}
{{$value.dish_name}}、
{{else}}
{{$value.dish_name}}
{{/if}}
{{/each}}
{{/each}}
原文:https://www.cnblogs.com/yyjspace/p/11599286.html