Commit d604ec1f96a12f56472891bf138e931db21e58b9

Authored by wangfan
1 parent d780b488

activity

... ... @@ -11,7 +11,7 @@
<stat stat="{{seller.score}}"></stat>
</view>
<view wx:if="{{hasActivity}}" class="activity flex-ll">
<view wx:for="{{seller.activity}}" class="activity-item" wx:key="seller.activity.key" wx:if="{{index<3}}">
<view wx:for="{{seller.activity}}" class="activity-item flex-vc" wx:key="seller.activity.key" wx:if="{{index<3}}">
{{item.title}}
</view>
</view>
... ...
... ... @@ -81,7 +81,7 @@
}
.activity-item{
height: 34rpx;
width: 100rpx;
width: 104rpx;
line-height: 34rpx;
overflow: hidden;
max-height: 34rpx;
... ... @@ -89,6 +89,8 @@
border: 2rpx solid #F8A990;
margin-left: 10rpx;
text-align: center;
overflow: hidden;
white-space:nowrap;
}
.activity-item:first-child{
margin-left: 0;
... ...
... ... @@ -31,7 +31,7 @@
<view class="icon car" wx:if="{{seller.is_parking==1}}">停车场</view>
</view>
</view>
<formids wx:if="{{seller.activity.length>0}}" url="{{seller.activity.length>2?'/pages/reserve/activity?id='+seller.id:''}}">
<formids wx:if="{{seller.activity.length>0}}" url="/pages/reserve/activity?id={{seller.id}}">
<view class="activity flex-lr" >
<view class="activity-left">
<view class="activity-first flex-ll" style="align-items: flex-start">
... ...
... ... @@ -249,6 +249,7 @@
line-height: 42rpx;
overflow: hidden;
text-align: left;
height: 42rpx;
}
.activity-first image{
width: 30rpx;
... ... @@ -256,7 +257,7 @@
margin-right: 20rpx;
min-width: 30rpx;
margin-left: 8rpx;
margin-top: 7rpx;
margin-top: 8rpx;
}
.activity-text{
margin-left: 60rpx;
... ... @@ -265,6 +266,7 @@
margin-top: 10rpx;
overflow: hidden;
text-align: left;
height: 42rpx;
}
.more{
background-image: url("http://qn.colorcun.com/custom/lite-online/image%E6%9B%B4%E5%A4%9A.png");
... ...