<!-- components/diy-store/index.wxml -->
<nav type="back" background-color="#ffffff" title="店铺主页"></nav>
<block wx:if="{{style.column == 'template1'}}">
    <block wx:for="{{list}}" wx:key="index">
        <view class="two_index">
            <image class="two_image" src="{{item.cover}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
            <view class="two_info">
                <image class="two_avatar" src="{{item.logo}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
                <view class="two_right">
                    <view class="two_name">{{item.storeName}}</view>
                    <view class="two_desc">
                        所有商品：123
                        <div class="i">|</div>
                        在销商品：76
                    </view>
                </view>
            </view>
        </view>
    </block>
</block>
<block wx:if="{{style.column == 'template2'}}">
    <block wx:for="{{list}}" wx:key="index">
        <view class="one_index">
            <view class="one_info" style="background-image: url({{item.cover}})">
                <image class="one_image" src="{{item.logo}}" lazy-load="false" binderror="" bindload="" />
                <view class="one_right">
                    <view class="one_name">{{item.storeName}}</view>
                    <view class="one_desc">
                        所有商品：123
                        <div class="i">|</div>
                        在销商品：76
                    </view>
                </view>
            </view>
        </view>
    </block>
</block>
<block wx:if="{{style.column == 'template3'}}">
    <block wx:for="{{list}}" wx:key="index">
        <view class="three_index">
            <view class="three_info">
                <image class="three_image" src="{{item.cover}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
                <image class="three_avatar" src="{{item.logo}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
                <view class="three_name">{{item.storeName}}</view>
                <view class="three_desc">
                    所有商品：123
                    <div class="i">|</div>
                    在销商品：76
                </view>
            </view>
        </view>
    </block>
</block>
<block wx:if="{{style.column == 'template4'}}">
    <block wx:for="{{list}}" wx:key="index">
        <view class="four_index">
            <view class="four_info" style="background-image: url({{item.cover}})">
                <image class="four_avatar" src="{{item.logo}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
                <view class="four_name">{{item.storeName}}</view>
                <view class="four_line"></view>
                <view class="four_desc">
                    所有商品：123
                    <div class="i">|</div>
                    在销商品：76
                </view>
            </view>
        </view>
    </block>
</block>