随笔分类 - 微信小程序
摘要:<view class='sudoku'> <view class='canvas-box'> <canvas canvas-id='canvasIn' id='canvas' class='canvas canvas-in' style='{{canvasWH}}' wx:if='{{canvas
阅读全文
摘要:先来张效果图 <view> <canvas type="2d" class="canvas" id="firstCanvas"></canvas> </view> <button wx:if="{{imageTempPath !=''}}" class='btn' catchtap='saveIma
阅读全文
摘要:一.先来波效果图(自行拷贝代码查看) <view> <view v-for="(item,index) in dmData" :key="index"> <!-- :style="'animation-name:mymove;animation-name:mymove;animation-durat
阅读全文
摘要:测试数据自己动手组建先上效果图(动画滚动,体现在代码定时器里) //抽奖 runLottery() { const that = this const { getLuckyBoxHomepage, classData, numType } = this.data let openOneRewardF
阅读全文
摘要:<view class="scrollbox dis-flex"> <view class="imgItem dis-flex" style="animation: {{computedAni}};"> <view class="imgFlex" style="{{item.level==0?'bo
阅读全文
摘要:.cell-class{ display: block; width: 100%; border-bottom: 4rpx solid #EBEBEB; font-size:26rpx; } .kind-list-item-bd { height: 0; overflow: hidden; } .k
阅读全文
摘要://单选 select: function(e) { var that = this; var index = e.currentTarget.dataset.index; //获取当前点击的下标 var navbarActiveIndex = that.data.navbarActiveIndex
阅读全文
摘要:1 var t, c; 2 //定位当前家庭 3 for (var i = 0; i < homeList.length; i++) { 4 if (homeList[i].homeId == homeNumberr) { 5 t = homeList[i]; 6 } 7 } 8 var setio
阅读全文
摘要:1 <view wx:for="{{hommer}}" wx:for-item="item" wx:for-index="index" wx:key="{{item.id}}"> 2 <view bindtap="onTap" data-ide="{{item.id}}"> 3 <view styl
阅读全文
摘要:<view class="movie-container"> <!-- 导航栏 --> <view > <scroll-view scroll-x="true" class="navbar" scroll-left="{{navScrollLeft}}" scroll-with-animation=
阅读全文
摘要:<view class="title"> <view class="titleName">{{cname}}</view> <view class="rightBorder"> <view> <text class="titleAddress">地址:</text> <text class="tit
阅读全文
摘要:1 <view wx:for="{{array}}" wx:key="this" class="borderContainer"> 2 <view class="borderContainer1"> 3 <view class="firstBorder"> 4 <view class="firstB
阅读全文
浙公网安备 33010602011771号