上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页
摘要: https://blog.csdn.net/ixygj197875/article/details/79090578 阅读全文
posted @ 2020-08-13 14:51 Action_swt 阅读(171) 评论(0) 推荐(0) 编辑
摘要: https://uniapp.dcloud.io/platform 条件编译 阅读全文
posted @ 2020-08-12 17:27 Action_swt 阅读(181) 评论(0) 推荐(0) 编辑
摘要: https://uniapp.dcloud.io/api/media/image?id=chooseimage uniapp地址 https://uniapp.dcloud.io/api/media/image <template> <view> <view class="_c"> uniapp中的 阅读全文
posted @ 2020-08-12 17:15 Action_swt 阅读(1090) 评论(0) 推荐(0) 编辑
摘要: onReachBottom onReachBottom使用注意 可在pages.json里定义具体页面底部的触发距离onReachBottomDistance,比如设为50,那么滚动页面到距离底部50px时,就会触发onReachBottom事件。 阅读全文
posted @ 2020-08-12 15:59 Action_swt 阅读(1209) 评论(0) 推荐(0) 编辑
摘要: https://i.cnblogs.com/posts/edit uniapp地址。 第一步 需要在page.json中配置 enablePullDownRefresh 字段,分为全局配置和页面配置。 <template> <view> <view class="on_pull_t"> onPull 阅读全文
posted @ 2020-08-12 15:52 Action_swt 阅读(2247) 评论(0) 推荐(0) 编辑
摘要: 其实uniapp中内置了Vuex,因此无需下载,直接使用即可。 第一个小坑。 根目录新建store文件夹。 依赖注入: ****************************************************************************************** 阅读全文
posted @ 2020-08-11 17:09 Action_swt 阅读(1513) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="use_com"> <text>uniapp 组件</text> <view>1、 scroll-view</view> <scroll-view class="com_scroll_view" scroll-x="true"> <view v-for 阅读全文
posted @ 2020-08-11 11:56 Action_swt 阅读(3052) 评论(0) 推荐(1) 编辑
摘要: uniapp获取DOM位置信息(准确的来说应该是获取节点信息) 首先要获取uniapp节点的信息。 https://uniapp.dcloud.io/api/ui/nodes-info?id=selectorqueryin const query = uni.createSelectorQuery( 阅读全文
posted @ 2020-08-10 16:33 Action_swt 阅读(3890) 评论(0) 推荐(0) 编辑
摘要: 1.单行省略 width:100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -o-text-overflow: ellipsis; 2.多行省略 overflow:hidden; text-overflow: 阅读全文
posted @ 2020-08-10 14:44 Action_swt 阅读(278) 评论(0) 推荐(0) 编辑
摘要: App.vue文件中写内容在 微信小程序中是无效的。 template部分。javascript部分还是有效的。 阅读全文
posted @ 2020-08-10 13:51 Action_swt 阅读(248) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页