1
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
<view class="choice_box">
|
||||
<view class="choice_list">
|
||||
<block wx:for="{{products}}" wx:for-item="cell" wx:for-index="index0">
|
||||
<view class='block' bindtap="gotodetail" data-id="{{cell._id}}">
|
||||
<view class='block {{products.length > 1 ? "block0" : ""}} {{products.length > 1 && index0 % 2 == 0 ? "l" : ""}} {{products.length > 1 && index0 % 2 == 1 ? "r" : ""}}' bindtap="gotodetail" data-id="{{cell._id}}">
|
||||
<view class='choice_item'>
|
||||
<view class='choice_item_image'>
|
||||
<image src="{{cell.image}}" />
|
||||
@@ -151,7 +151,7 @@
|
||||
<view class="choice_box">
|
||||
<view class="choice_list">
|
||||
<block wx:for="{{products0}}" wx:for-item="cell" wx:for-index="index0">
|
||||
<view class='block' bindtap="gotoPointDetail" data-id="{{cell._id}}">
|
||||
<view class='block {{products0.length > 1 ? "block0" : ""}} {{products0.length > 1 && index0 % 2 == 0 ? "l" : ""}} {{products0.length > 1 && index0 % 2 == 1 ? "r" : ""}}' bindtap="gotoPointDetail" data-id="{{cell._id}}">
|
||||
<view class='choice_item'>
|
||||
<view class='choice_item_image'>
|
||||
<image src="{{cell.image}}" />
|
||||
|
||||
Reference in New Issue
Block a user