Commit 73a464a2b1dcde4854f30ba9ce082c3e8d6335b7

Authored by wangfan
1 parent 6aa5380c

快速预定

... ... @@ -11,7 +11,9 @@
>
<view style = "padding-left:180rpx;">
<view class="section" wx:for="{{cookbooklist}}" wx:key="cookbooklist-key">
<view id="{{'inToView'+item.id}}"></view>
<view id="{{'inToView'+item.id}}" class="class_name">
<view class="text">{{item.class_name}}</view>
</view>
<view class="list-model-masonry" >
<view class="list-model-column">
<block wx:for="{{item.cookbooklist[0]}}" wx:key="{{item.id}}" wx:for-index="itemIndex" >
... ...
... ... @@ -227,4 +227,28 @@
color: #fefefe;
font-size: 34rpx;
height: 100%;
}
.class_name{
font-size: 26rpx;
font-weight: bold;
height: 120rpx;
line-height: 120rpx;
position: relative;
}
.class_name .text{
background-color: #fefefe;
position: absolute;
padding-right: 20rpx;
}
.class_name:before{
position: absolute;
content: '';
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
width: 100%;
height: 2rpx;
background-color: #F5F5F5;
}
\ No newline at end of file
... ...
... ... @@ -47,7 +47,7 @@
<view class="hr"></view>
<view class="pages">
<view class="infos">
<view class="flex-lr item">
<view class="flex-lr item" wx:if="{{order.remark}}">
<view>备注:</view>
<view class="" style="max-width: 85%;line-height: 40rpx; ">{{order.remark||''}}</view>
</view>
... ...