![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uni-app
汇而不置
由于csdn图片url会转码,自己写的markdown图片无法识别,现在在博客园写博客 本人博客地址: https://www.cnblogs.com/sprite0521/ 欢迎关注,讨论,最近学习dart ,flutter 混合app,大家互相讨论学习
展开
-
uni-app登录表单简单验证demo
简单表单验证 html部分 <template> <view class='login'> <swiper vertical='true' style="height: 100vh;"> <swiper-item> <scroll-view> <view class='login-tel'>原创 2020-05-10 11:03:20 · 12373 阅读 · 2 评论 -
uni-app获取后端接口数据demo代码
//初始化函数 __init(){ uni.request({ // 192.168.2.111 本机ip localhost url:"http://localhost:3000/api/index_list/data", success: (res) => { console.log(res); //console.l...原创 2020-04-19 13:55:57 · 8393 阅读 · 2 评论 -
uni-app中的scroll-view组件使用记录
scroll-x: x轴滚动 scroll-into-view:id名 立即滚动到当前元素的区域 <scroll-view scroll-x="true" class="scroll-content" :scroll-into-view='scrollIntoIndex'> <view :id="'top'+index" v-for="(item,ind...原创 2020-04-19 13:49:02 · 1678 阅读 · 0 评论 -
uni-app获取当前节点下所有组件的高度总和
必须写在uni-app生命周期onready中 data() { return { //选中的索引 topBarIndex:0, //顶栏跟随的索引id值 scrollIntoIndex:"top0", //中间内容块的高度 mainClientHeight:0, //顶栏数据 topBar:[ ], ...原创 2020-04-19 13:39:29 · 2636 阅读 · 0 评论