本文给大家讲解,美食杰项目中 实现菜品信息页的效果,和具体代码。

美食杰菜品信息页
点击跳转至 element-ui 中 input 输入框使用方法:https://element.eleme.cn/#/zh-CN/component/input
点击跳转至 element-ui 中 button 按钮使用方法:https://element.eleme.cn/#/zh-CN/component/button
菜品信息页中可以引入 element-ui 框架使用,本文引入了 input 输入框方法,button 则使用了原生 js。
当然静态页面其他地方你也可以使用 element-ui 框架或其他框架进行布局。
{{ menuInfo.title }}
{{ menuInfo.isCollection ? "已收藏" : "未收藏" }}
{{ item.parent_name }}
{{ item.name }}
{{ menuInfo.product_story }}
用料
主料
{{ item.name }} {{ item.specs }}
辅料
{{ item.name }} {{ item.specs }}
{{ menuInfo.title }}的做法
-
{{ index + 1 }}.
{{ item.describe }}
烹饪技巧
{{ menuInfo.skill }}
总结:
以上就是 美食杰项目 中 菜品信息的具体实现方法,不懂得也可以在评论区里问我,以后会持续发布一些新的功能,敬请关注。
我的其他文章:https://blog.csdn.net/weixin_62897746?type=blog
{{ menuInfo.title }}的讨论
{{ item.commentText }}
{{ item.updateAt }}