摘要:
1、横向滚动基本写法 <template> <view> <!-- 横向滚动条 --> <view class="uni-padding-wrap uni-common-mt"> <scroll-view class="scroll-view_H" scroll-x="true" @scroll=" 阅读全文
posted @ 2020-01-06 17:51
Alex-Song
阅读(16973)
评论(0)
推荐(1)
摘要:
1、父组件传子组件 父组件内部写法: <template> <view> <h2>首页</h2> <!-- 绑定自定义属性传递数据 --> <Two :value="valPar"></Two> </view> </template> <script> //引入子组件 import Two from 阅读全文
posted @ 2020-01-06 16:26
Alex-Song
阅读(8918)
评论(0)
推荐(0)
摘要:
1、settimeout var timeOut=setOutout(()=>{ console.log("我是定时器"); },2000) //此时打印的是定时器的id值timeOut和定时器内部数据 console.log(timeOut); //加上清除后,不会打印内部数据,只会打印id值ti 阅读全文
posted @ 2020-01-06 15:35
Alex-Song
阅读(504)
评论(0)
推荐(0)

浙公网安备 33010602011771号