摘要: 零。官方文档 一。例子:日历 文档选择扩展组件 点击使用hbuilderX导入插件 导入成功后,查看组件使用方法 使用组件 <template> <view class="content"> <view> <uni-calendar :insert="true" :lunar="true" :sta 阅读全文
posted @ 2020-09-03 17:57 ♥之 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 零。官方文档 一。父组件给子组件传值 父组件 <template> <view class="content"> <login :title="title"></login> </view> </template> <script> import login from '../../componen 阅读全文
posted @ 2020-09-03 17:46 ♥之 阅读(363) 评论(0) 推荐(0) 编辑
摘要: uni-app组件生命周期与vue同 index <template> <view> <login></login> </view> </template> <script> import login from '../../components/login/login.vue' export de 阅读全文
posted @ 2020-09-03 17:19 ♥之 阅读(169) 评论(0) 推荐(0) 编辑
摘要: .title { margin: 0 auto; width: 40vw; margin-left: 15vw; word-break: break-all; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: verti 阅读全文
posted @ 2020-09-03 11:23 ♥之 阅读(173) 评论(0) 推荐(0) 编辑