- 博客(4)
- 资源 (8)
- 收藏
- 关注
转载 微信小程序左滑删除效果
一、核心代码1)wxml 核心代码<view class="items"> <view wx:for="{{list}}" wx:key="{{index}}" class="item"> <view bindtouchstart="touchS" bindtouchmove="touchM" bindtouchend="touchE" data-index="{{index}}" style="{{item.txtStyle}}" class
2021-07-21 10:26:25 222
原创 微信小程序画布实现星星闪烁
一、核心代码1)wxml 核心代码<view class="page"> <canvas canvas-id="myCanvas" style="width:{{width}}px;height:{{height}}px"></canvas></view>2)wxss代码page{background: #000000;}3)js核心代码 onLoad: function (options) { var th
2021-07-15 14:56:16 1443 1
原创 微信小程序画布实现冒泡点赞,三阶贝塞尔曲线
一、核心代码1)wxml 核心代码<canvas wx:for="{{bezierCount-0}}" wx:key="key" class="heart-center" canvas-id="bezier{{index}}" style="width:{{width}}px;height:{{height}}px;"></canvas><view class="love-new heart" bindtap="bubbleAnimate" style="mar
2021-07-14 15:08:13 574
原创 小程序实现大转盘
一、核心代码1)wxml 核心代码<!-- 背景图 --><image class="bgimg" src="/image/bg.jpg"></image><!-- 中间大转盘 --><view class="center bgimg"> <view class="turn-center"> <view class="plate-wrap" animation="{{animation}}" bin..
2021-07-05 17:01:50 1592
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人