Commit aafdba952d48cd60426997fd2a6845ebc340bbcc

Authored by vking
1 parent 47fbf8f7

fix list & detail ui

... ... @@ -15,6 +15,9 @@
.seller.noshadow{
box-shadow: none;
}
.seller.noradius{
border-radius: 0;
}
.seller.noborder.noshadow{
width: 100%;
}
... ... @@ -90,8 +93,8 @@
padding-right: 0;
}
.seller .price{
font-size: 30rpx;
color: #F05522;
font-size: 28rpx;
color: #353535;
height: 50rpx;
line-height: 50rpx;
width: 100%;
... ...
... ... @@ -51,7 +51,7 @@
<image src="http://qn.colorcun.com/custom/lite-online/image/%E5%AE%9A%E4%BD%8D.png"></image>
<view class="text">{{seller.real_address||seller.map_address}}</view>
</view>
<view class="addr-long">{{seller.distanceStr?'距您当前位置'+seller.distanceStr:''}}</view>
<view class="addr-long">{{seller.distanceStr?'距您'+seller.distanceStr:''}}</view>
</view>
<view class="more more-addr"></view>
</view>
... ... @@ -137,17 +137,17 @@
scroll-into-view="{{toView}}"
scroll-top="{{scrollTop}}"
>
<block wx:for="{{seller.dishes}}" wx:key="sellers.key">
<view class="image-view" wx:if="{{item.image}}">
<view class="cais-views" wx:if="{{item.image}}">
<view class="image-view" >
<view class="image">
<image mode="aspectFill" bindtap="reviweDishesImage" data-current="{{item.image}}"
src="{{item.image}}?imageView2/2/w/640/interlace/0/q/100"></image>
</view>
<view class="text Semibold">{{item.name}}</view>
</view>
</view>
</block>
</scroll-view>
<view class="cais-text">
<block wx:for="{{seller.dishes}}" wx:key="sellers.key">
... ...
... ... @@ -125,7 +125,7 @@
}
.block{
padding: 60rpx 0 60rpx;
padding: 60rpx 0 50rpx;
border-bottom: 2rpx solid #F5F5F5;
}
.block:last-child{
... ... @@ -199,31 +199,46 @@
}
.baos{
height: 324rpx;
width: 100%;
height: 330rpx;
width: 110%;
white-space: nowrap;
margin-left: -5%;
}
.baos .image{
width: 500rpx;
border-radius: 10rpx;
margin-right: 20rpx;
display: inline-block;
overflow: hidden;
height: 320rpx;
box-shadow:0px 4rpx 4rpx 0px rgba(198,198,198,1);
margin-right: 20rpx;
}
.baos .image:first-child{
margin-left: 5%;
}
.baos .image:last-child{
margin-right: 5%;
}
.baos .image image{
border-radius: 10rpx;
width: 500rpx;
height: 320rpx;
box-shadow:0px 4rpx 4rpx 0px rgba(198,198,198,1);
}
.cais{
width: 100%;
width: 110%;
white-space: nowrap;
height: 460rpx;
margin-left: -5%;
}
.cais .image-view{
.cais-views{
display: inline-block;
margin-right: 20rpx;
}
.cais-views:first-child{
margin-left: 5%;
}
.cais-views:last-child{
margin-right: 5%;
}
.cais .image-view{
border-radius: 10rpx;
border: 2rpx solid #F5F5F5;
box-shadow:0px 4px 4px 0px rgba(198,198,198,1);
... ... @@ -247,7 +262,6 @@
overflow: hidden;
}
.cais-text{
margin-top: 60rpx;
font-size: 28rpx;
}
.cais-text view{
... ... @@ -276,7 +290,7 @@
}
.activity-right{
min-width: 120rpx;
color: #C28C56;
color: #C0A369;
}
.activity-first{
width: 100%;
... ... @@ -304,7 +318,6 @@
.more{
background-image: url("http://qn.colorcun.com/reserve/images/%E5%8F%B3%E7%AE%AD%E5%A4%B4.png");
margin-left: 20rpx;
margin-right: 20rpx;
height: 24rpx;
}
.discount{
... ... @@ -382,6 +395,7 @@
color: #C0A369;
min-width: 135rpx;
margin-left: 120rpx;
text-align: right;
}
.name-info-text{
margin-right: 20rpx;
... ... @@ -440,7 +454,7 @@
width: 30rpx;
height: 32rpx;
background-size: 100% 100%;
margin-top: 10rpx;
margin-top: 8rpx;
margin-right: 20rpx;
}
.activity-view-easy .discount{
... ... @@ -448,7 +462,7 @@
height: 30rpx;
line-height: 30rpx;
font-size: 30rpx;
padding-right: 18rpx;
padding-right: 20rpx;
}
.activity-view-easy .discount:last-child{
border-right-width: 0;
... ...
... ... @@ -30,7 +30,7 @@
hasActivityShort="{{true}}"
hasBrand="true" hasActivityTese="true"
hasSlogan="{{false}}"
sellerStyle="noborder noshadow"></sb-tr>
sellerStyle="noborder noshadow noradius"></sb-tr>
</view>
<hr class="flex-vc nomore" wx:if="{{!hasMore}}" bgColor="#f5f5f5">我是有底线的</hr>
</view>
... ...
... ... @@ -66,7 +66,6 @@ page{
}
.follow .seller{
background-color: #ffffff;
border-radius: 6rpx;
overflow: hidden;
margin: 0 0 20rpx;
}
... ...