上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 42 下一页

小程序注释快捷键

摘要: /** 回车 自动生成注释 阅读全文
posted @ 2021-06-18 12:00 土匪7 阅读(151) 评论(0) 推荐(0)

css缩放动画

摘要: .right { background: #9DE4DB; -webkit-animation-name: scaleDraw; /*关键帧名称*/ -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/ -webkit-animati 阅读全文
posted @ 2021-04-27 11:29 土匪7 阅读(58) 评论(0) 推荐(0)

小程序音频url带空格,iOS不能播: url = encodeURI(url)就行了

摘要: 小程序音频url带空格,iOS不能播: url = encodeURI(url)就行了 阅读全文
posted @ 2021-04-12 10:45 土匪7 阅读(167) 评论(1) 推荐(0)

多行Text显示...

摘要: .lbName { font-family: PingFangSC-Regular; font-size: 32rpx; color: #333333; letter-spacing: 0; font-weight: 400; margin-right: 16rpx; max-height: 90r 阅读全文
posted @ 2021-03-10 17:56 土匪7 阅读(63) 评论(0) 推荐(0)

如果控件被压缩,试试flex-shrink: 0;

摘要: 右边被压缩了: 加上 flex-shrink: 0; .rightBox { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; margin-left: 26rpx; } OK了 阅读全文
posted @ 2021-03-10 17:54 土匪7 阅读(102) 评论(0) 推荐(0)

小程序数组嵌套赋值

摘要: <view class="rtbItemBox" wx:for="{{sourceArr[outIdx].list}}" wx:key='rtbKey' bindtap="cellClick" data-item="{{item}}"> <text class="rtbTitle">{{item.n 阅读全文
posted @ 2021-03-10 09:51 土匪7 阅读(213) 评论(0) 推荐(0)

小程序scroll-view联动,滚动定位

摘要: 思路: 0: 可以手动设置Scroll偏移量 scroll-left='{{scrollLeft}}' 1:计算正确的位置: _formRightOffset, posArr 2:点击,或者下面滚动的时候,判断新的和旧的index是否一致 一致的话不用操作, 不一致,设置为正确的offset scr 阅读全文
posted @ 2021-02-05 16:14 土匪7 阅读(501) 评论(0) 推荐(0)

隐藏Scrollview的滑动条

摘要: ::-webkit-scrollbar { display:none; width:0; height:0; color:transparent; } 阅读全文
posted @ 2020-12-29 17:11 土匪7 阅读(305) 评论(0) 推荐(0)

小程序,显示隐藏动画;位移动画, 底弹窗动画,旋转动画

摘要: .root { width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; position: fixed; top 阅读全文
posted @ 2020-12-09 11:36 土匪7 阅读(637) 评论(0) 推荐(0)

小程序 button open-type= getUserInfo 无法修改样式

摘要: 在wxml里面写style:height:300rpx 不要在css里面写样式 这样样式就生效了 阅读全文
posted @ 2020-11-17 16:44 土匪7 阅读(263) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 42 下一页