工作中遇到问题记录
工作中遇到问题记录
前端小白111
前端小白一枚
展开
-
小程序内嵌H5刷新
小程序内嵌H5实现强制刷新原创 2022-07-06 22:55:59 · 949 阅读 · 1 评论 -
微信小程序实现字体渐变色
工作学习中记录一下。效果:css: .words { font-size: 30rpx; font-weight: bold; background: linear-gradient(to right, red, yellow); -webkit-background-clip: text; background-clip: text; /*以文字的范围对背景进行裁剪*/ color: transparent; }...原创 2022-02-23 23:16:56 · 1621 阅读 · 0 评论 -
小程序抽奖转盘走马灯
工作学习中记录,方便以后查看。效果图:html:<view class="draw-container"> <view class="draw-table-box"> <image animation="{{animationData}}" src="{{tableBg}}" class="draw-table-bg"/> <image bindtap="tableroll" src="{{go}}" class="dra.原创 2022-02-22 00:35:24 · 763 阅读 · 0 评论 -
微信小程序实现抽奖大轮盘
最近遇到做活动抽奖要用转盘,记录下做个笔记。最终效果图:xml部分:<view class="draw-container"> <view class="draw-table-box"> <image animation="{{animationData}}" src="{{tableBg}}" class="draw-table-bg"/> <image bindtap="tableroll" src="{{go}}" .转载 2022-02-17 00:29:32 · 3072 阅读 · 6 评论