随笔分类 -  前端

摘要:1.首先在父组件methods中定义一个方法: thumbsUpChange(item) { console.log("子组件传来的值", item) }, 2.在父组件引用子组件时绑定该方法: <cate-top :list="list" v-on:pThumbsUp="thumbsUpChang 阅读全文
posted @ 2022-05-15 16:08 安详的苦丁茶 阅读(1914) 评论(0) 推荐(0) 编辑
摘要:uniapp有多钟下拉刷新方式,这里只要说两种(整体下拉、非整体下拉) 整体下拉刷新 <template> <view> <scroll-view scroll-y :refresher-threshold="45" :refresher-enabled="true" :refresher-trig 阅读全文
posted @ 2022-04-28 00:35 安详的苦丁茶 阅读(2026) 评论(1) 推荐(1) 编辑
摘要:主要代码如下: title:步骤标题 description:步骤描述 <el-steps :active="active" finish-status="success" class="step"> <el-step :title="item.note" :description="item.cr 阅读全文
posted @ 2021-10-09 11:34 安详的苦丁茶 阅读(2003) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示