EP-WachatApp/eaterplanet_ecommerce/pages/index/cube.wxml

9 lines
454 B
Plaintext
Raw Normal View History

2023-03-24 11:26:36 +08:00
<template name="cube">
<view class="rubik-cube" style="{{'background:'+(item.backgroundColor)+';'}}">
<block wx:for="{{item.list}}" wx:for-item="cubeItem" wx:for-index="idx" wx:key="idx">
<view class="item {{item.selectedTemplate}}" bindtap="goDiysliderUrl" data-link="{{cubeItem.link}}" style="padding:{{item.imageGap}}rpx">
<image src="{{cubeItem.imageUrl}}" mode="widthFix"></image>
</view>
</block>
</view>
</template>