微信小程序頭像疊加循環渲染

首先來看看效果圖css 經過動態控制圖片偏移量來實現效果(transform:translateX);html 此案例相對簡單,這裏就不詳細說了直接看代碼xss index.wxmlflex <view class='index'> <view wx:for="{{images}}" wx:key style='transform:translateX({{-index*30}}rpx)'> <
相關文章
相關標籤/搜索