<view><block wx:if="{{value.selectedTemplate=='custom-rubik-cube'}}"><view><view style="position:relative;"><rich-text nodes="{{customHtml}}"></rich-text></view></view></block><block wx:else><view class="rubik-cube" style="{{'background:'+(value.backgroundColor)+';'}}"><block wx:if="{{value.selectedTemplate=='row1-lt-of2-rt'}}"><view class="template-left"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index==0}}"><view data-event-opts="{{[['tap',[['redirectTo',['$0'],[[['value.list','',index,'link']]]]]]]}}" class="{{['item',value.selectedTemplate]}}" style="{{'padding:'+(value.imageGap+'rpx')+';'}}" bindtap="__e"><image src="{{item.g0}}" mode="widthFix"></image></view></block></block></view><view class="template-right"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index!=0}}"><view data-event-opts="{{[['tap',[['redirectTo',['$0'],[[['value.list','',index,'link']]]]]]]}}" class="{{['item',value.selectedTemplate]}}" style="{{'padding:'+(value.imageGap+'rpx')+';'}}" bindtap="__e"><image src="{{item.g1}}" mode="widthFix"></image></view></block></block></view></block><block wx:else><block wx:if="{{value.selectedTemplate=='row1-lt-of1-tp-of2-bm'}}"><view class="template-left" style="{{'padding-right:'+(value.imageGap+'rpx')+';'}}"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index==0}}"><view data-event-opts="{{[['tap',[['redirectTo',['$0'],[[['value.list','',index,'link']]]]]]]}}" class="{{['item',value.selectedTemplate]}}" bindtap="__e"><image src="{{item.g2}}" mode="widthFix"></image></view></block></block></view><view class="template-right" style="{{'padding-left:'+(value.imageGap+'rpx')+';'}}"><view class="template-top" style="{{'padding-bottom:'+(value.imageGap+'rpx')+';'}}"><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index==1}}"><view data-event-opts="{{[['tap',[['redirectTo',['$0'],[[['value.list','',index,'link']]]]]]]}}" class="{{['item',value.selectedTemplate]}}" bindtap="__e"><image src="{{item.g3}}" mode="widthFix"></image></view></block></block></view><view class="template-bottom" style="{{'padding-top:'+(value.imageGap+'rpx')+';'}}"><block wx:for="{{$root.l4}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{index!=0&&index!=1}}"><view data-event-opts="{{[['tap',[['redirectTo',['$0'],[[['value.list','',index,'link']]]]]]]}}" class="{{['item',value.selectedTemplate]}}" style="{{'width:'+('calc((100% - '+value.imageGap*2+'rpx) / 2)')+';'}}" bindtap="__e"><image src="{{item.g4}}" mode="widthFix"></image></view></block></block></view></view></block><block wx:else><block wx:if="{{value.selectedTemplate=='row1-of3'}}"><block wx:for="{{$root.l5}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['redirectTo',['$0'],[[['value.list','',index,'link']]]]]]]}}" class="{{['item',value.selectedTemplate]}}" style="{{'width:'+('calc((100% - '+value.imageGap*2*2+'rpx) / 3)')+';'}}" bindtap="__e"><image src="{{item.g5}}" mode="widthFix"></image></view></block></block><block wx:else><block wx:if="{{value.selectedTemplate=='row1-of4'}}"><block wx:for="{{$root.l6}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['redirectTo',['$0'],[[['value.list','',index,'link']]]]]]]}}" class="{{['item',value.selectedTemplate]}}" style="{{'width:'+('calc((100% - '+value.imageGap*2*3+'rpx) / 4)')+';'}}" bindtap="__e"><image src="{{item.g6}}" mode="widthFix"></image></view></block></block><block wx:else><block wx:for="{{$root.l7}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['redirectTo',['$0'],[[['value.list','',index,'link']]]]]]]}}" class="{{['item',value.selectedTemplate]}}" style="{{'padding:'+(value.imageGap+'rpx')+';'}}" bindtap="__e"><image src="{{item.g7}}" mode="widthFix"></image></view></block></block></block></block></block></view></block></view>