Commit 16b4aff1db564beacc0b59fe789e2c07e903abcd

Authored by vking
1 parent 7ef2daaa

fix ui

... ... @@ -103,8 +103,8 @@
<view class="detail-info-right">{{detail.cusdem}}</view>
</view>
</view>
<view class="hr" style="margin-top: 78rpx;margin-bottom: 78rpx;"></view>
<block wx:if="{{detail.customers.length>1}}">
<view class="hr" style="margin-top: 52rpx;margin-bottom: 48rpx;"></view>
<formids url="./detail_owner_part?id={{detail.id}}" hover-class="navigator-hover" wx:if="{{detail.customers.length>0}}">
<view class="flex-lr customers_view">
<view class="customers flex-ll">
... ... @@ -117,6 +117,7 @@
</view>
</formids>
</block>
<view class="detail-info Medium tuiding">
<view class="flex-rr">
<view class="item" bindtap="callSeller">联系商家</view>
... ...
... ... @@ -148,8 +148,9 @@
}
.transverse-list{
background-color: #fefefe;
width: 100%;
width: 110%;
margin-top: 40rpx;
margin-left: -5%;
}
.transverse-list .seller{
width: 98%;
... ...
... ... @@ -12,28 +12,6 @@
<image src="http://qn.colorcun.com/reserve/images/order-empty.png"></image>
<view class="Medium">暂无订单</view>
</view>
<block wx:if="{{rsl.length>0}}">
<view class="line-push">为你推荐</view>
<view class="transverse-list">
<swiper
indicator-dots="{{false}}" autoplay="{{false}}" circular="{{false}}" vertical="{{false}}"
interval="2000" duration="500"
previous-margin="{{15}}px" next-margin="{{15}}px" style="height: 350rpx;"
current="{{current}}" bindchange="bindtransition" bindanimationfinish="bindtransition">
<block wx:for="{{rsl}}" wx:key="rsl.key">
<swiper-item bindtap="gotoSellerDetail" id="{{item.id}}">
<view class="seller" id="seller-{{item.id}}">
<sb-tr seller="{{item}}"
hasActivityTags="{{false}}"
hasActivityShort="{{true}}"
hasBrand="true" hasActivityTese="true"
hasSlogan="{{false}}"></sb-tr>
</view>
</swiper-item>
</block>
</swiper>
</view>
</block>
</block>
<block wx:else="">
<block wx:for="{{list}}" wx:key="success.key" wx:for-item="detail" wx:for-index="dateIndex">
... ... @@ -45,4 +23,28 @@
</block>
</block>
</view>
<block wx:if="{{list.length==0 && rsl.length>0}}">
<view class="rsl-block">
<view class="line-push">为你推荐</view>
<view class="transverse-list">
<swiper
indicator-dots="{{false}}" autoplay="{{false}}" circular="{{false}}" vertical="{{false}}"
interval="2000" duration="500"
previous-margin="{{15}}px" next-margin="{{15}}px" style="height: 350rpx;"
current="{{current}}" bindchange="bindtransition" bindanimationfinish="bindtransition">
<block wx:for="{{rsl}}" wx:key="rsl.key">
<swiper-item bindtap="gotoSellerDetail" id="{{item.id}}">
<view class="seller" id="seller-{{item.id}}">
<sb-tr seller="{{item}}"
hasActivityTags="{{false}}"
hasActivityShort="{{true}}"
hasBrand="true" hasActivityTese="true"
hasSlogan="{{false}}"></sb-tr>
</view>
</swiper-item>
</block>
</swiper>
</view>
</view>
</block>
<getpos bindpos="onpos" id="getpos" hasAllowFail hasAllowLoading="{{false}}"></getpos>
\ No newline at end of file
... ...
... ... @@ -3,6 +3,7 @@
width: 90%;
margin: 90rpx 5% 0;
color:#353535;
padding-bottom: 60rpx;
}
.card{
... ... @@ -119,12 +120,16 @@
line-height: 24rpx;
background-repeat: no-repeat;
text-align: center;
margin-top: 158rpx;
margin-bottom: 60rpx;
}
.rsl-block{
position: fixed;
bottom: 0rpx;
width: 100%;
}
.transverse-list{
background-color: #fefefe;
width: 100%;
margin-top: 40rpx;
}
.transverse-list .seller{
width: 98%;
... ...