Authored by 李奇

店铺资源位楼层修改

... ... @@ -22,13 +22,9 @@ Component({
type: String, // start from 1
value: ''
},
marginClass: {
type: String,
value: ''
},
paddingClass: {
type: String,
value: ''
properties: {
type: Object,
value: {}
}
},
data: {
... ...
<wxs src="../../../../wxs/helper.wxs" module="helper" />
<view class="resource-shop-carousel {{marginClass}} {{paddingClass}}">
<view class="resource-shop-carousel {{properties.isModuleMargin ? 'margin-bottom-20' : ''}}">
<swiper class="swiper-wrapper" indicator-dots="{{indicatorDots}}"
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}"
circular="{{circular}}" bindchange="swiperChange">
... ...
.resource-shop-carousel {
position: relative;
width: 100%;
font-size: 0;
}
.resource-shop-carousel .swiper-wrapper {
... ... @@ -36,17 +37,3 @@
.resource-shop-carousel.margin-bottom-20 {
margin-bottom: 20rpx;
}
.resource-shop-carousel.margin-bottom-30 {
margin-bottom: 30rpx;
}
.resource-shop-carousel.padding-bottom-20 {
padding-bottom: 20rpx;
background-color: #f2f2f2;
}
.resource-shop-carousel.padding-bottom-30 {
padding-bottom: 30rpx;
background-color: #f2f2f2;
}
... ...
... ... @@ -4,13 +4,9 @@ Component({
type: Array,
value: []
},
marginClass: {
type: String,
value: ''
},
paddingClass: {
type: String,
value: ''
properties: {
type: Object,
value: {}
}
},
methods: {
... ...
<wxs src="../../../../wxs/helper.wxs" module="helper" />
<view class="resource-shop-double-image {{paddingClass}}">
<view class="resource-shop-double-image {{properties.isModuleMargin ? 'margin-bottom-20' : ''}}">
<anchor
class="anchor-item"
bindclickreport="report"
... ...
... ... @@ -4,13 +4,9 @@ Component({
type: Array,
value: []
},
marginClass: {
type: String,
value: ''
},
paddingClass: {
type: String,
value: ''
properties: {
type: Object,
value: {}
}
},
methods: {
... ...
<wxs src="../../../../wxs/helper.wxs" module="helper" />
<view class="resource-shop-four-image {{paddingClass}}">
<view class="resource-shop-four-image {{properties.isModuleMargin ? 'margin-bottom-20' : ''}}">
<anchor
wx:for="{{images}}"
wx:key="index"
... ...
.resource-shop-four-image {
font-size: 0;
}
.resource-shop-four-image .anchor-item {
display: inline-block;
width: 25%;
... ... @@ -5,6 +9,7 @@
box-sizing: border-box;
border-left: 1px solid #e0e0e0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.resource-shop-four-image .image-item {
... ...
... ... @@ -4,13 +4,9 @@ Component({
type: Array,
value: []
},
marginClass: {
type: String,
value: ''
},
paddingClass: {
type: String,
value: ''
properties: {
type: Object,
value: {}
}
},
methods: {
... ...
<wxs src="../../../../wxs/helper.wxs" module="helper" />
<view class="resource-shop-single-image {{paddingClass}}">
<view class="resource-shop-single-image {{properties.isModuleMargin ? 'margin-bottom-20' : ''}}">
<anchor
class="anchor-item"
bindclickreport="report"
... ...
... ... @@ -5,14 +5,13 @@
<view class="text"><image class="icon" src="../../static/images/search@2x.png"></image>搜索店铺内潮品</view>
</view>
</view>
<view class="shop-info">
<image class="info-bg" src="{{shopBanner}}"></image>
<view class="logo-mask"></view>
<image class="logo" src="{{helper.image(shopInfo.shop_logo, 100, 100)}}" wx:if="{{false}}"></image>
<text class="name" wx:if="{{false}}">{{shopInfo.shop_name}}</text>
<view class="fav" wx:if="{{false}}">粉丝:{{favCount}}</view>
</view>
<view class="separator"></view>
<!--<view class="shop-info">-->
<!--<image class="info-bg" src="{{shopBanner}}"></image>-->
<!--<view class="logo-mask"></view>-->
<!--<image class="logo" src="{{helper.image(shopInfo.shop_logo, 100, 100)}}" wx:if="{{false}}"></image>-->
<!--<text class="name" wx:if="{{false}}">{{shopInfo.shop_name}}</text>-->
<!--<view class="fav" wx:if="{{false}}">粉丝:{{favCount}}</view>-->
<!--</view>-->
<resources
floors="{{decorFloors}}"
floor-index="1"
... ...