<!--packageE/shopfor/shopfor.wxml-->
<view class="shopfor" style="margin-top: {{datas.margin_top}}px;margin-bottom: {{datas.margin_bottom}}px;margin-left:{{datas.margin_left}}px;margin-right: {{datas.margin_right}}px;">
	<view class="shop">
		<image src="{{datas.preview_image? datas.preview_image: emptyImage}}" mode="widthFix" style="width: 100%"></image>
		<view class="content-style1" wx:if="{{datas.shop_style == 1}}">
			<view class="image" wx:if="{{datas.show_logo}}" style="width: {{datas.logo_size}}px;height: {{datas.logo_size}}px;">
				<image src="{{mailInfo.logo || 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/component-shop.png'}}"></image>
			</view>
			<view class="title" wx:if="{{datas.show_name}}" style="color: {{datas.font_color}};font-size: {{datas.font_size}}px;">{{mailInfo.name|| 'XX商城'}}</view>
		</view>
		<view class="content-style2" wx:if="{{datas.shop_style == 2}}">
			<view class="image" wx:if="{{datas.show_logo}}" style="width: {{datas.logo_size}}px;height: {{datas.logo_size}}px;">
				<image src="{{mailInfo.logo || 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/component-shop.png'}}"></image>
			</view>
			<view class="title" wx:if="{{datas.show_name}}" style="color: {{datas.font_color}};font-size: {{datas.font_size}}px;">{{mailInfo.name|| 'XX商城'}}</view>
		</view>
	</view>
</view>




