Commit 73a464a2b1dcde4854f30ba9ce082c3e8d6335b7

Authored by wangfan
1 parent 6aa5380c

快速预定

@@ -11,7 +11,9 @@ @@ -11,7 +11,9 @@
11 > 11 >
12 <view style = "padding-left:180rpx;"> 12 <view style = "padding-left:180rpx;">
13 <view class="section" wx:for="{{cookbooklist}}" wx:key="cookbooklist-key"> 13 <view class="section" wx:for="{{cookbooklist}}" wx:key="cookbooklist-key">
14 - <view id="{{'inToView'+item.id}}"></view> 14 + <view id="{{'inToView'+item.id}}" class="class_name">
  15 + <view class="text">{{item.class_name}}</view>
  16 + </view>
15 <view class="list-model-masonry" > 17 <view class="list-model-masonry" >
16 <view class="list-model-column"> 18 <view class="list-model-column">
17 <block wx:for="{{item.cookbooklist[0]}}" wx:key="{{item.id}}" wx:for-index="itemIndex" > 19 <block wx:for="{{item.cookbooklist[0]}}" wx:key="{{item.id}}" wx:for-index="itemIndex" >
@@ -227,4 +227,28 @@ @@ -227,4 +227,28 @@
227 color: #fefefe; 227 color: #fefefe;
228 font-size: 34rpx; 228 font-size: 34rpx;
229 height: 100%; 229 height: 100%;
  230 +}
  231 +.class_name{
  232 + font-size: 26rpx;
  233 + font-weight: bold;
  234 + height: 120rpx;
  235 + line-height: 120rpx;
  236 + position: relative;
  237 +}
  238 +.class_name .text{
  239 + background-color: #fefefe;
  240 + position: absolute;
  241 + padding-right: 20rpx;
  242 +}
  243 +.class_name:before{
  244 + position: absolute;
  245 + content: '';
  246 + top: 0;
  247 + left: 0;
  248 + right: 0;
  249 + bottom: 0;
  250 + margin: auto;
  251 + width: 100%;
  252 + height: 2rpx;
  253 + background-color: #F5F5F5;
230 } 254 }
@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 <view class="hr"></view> 47 <view class="hr"></view>
48 <view class="pages"> 48 <view class="pages">
49 <view class="infos"> 49 <view class="infos">
50 - <view class="flex-lr item"> 50 + <view class="flex-lr item" wx:if="{{order.remark}}">
51 <view>备注:</view> 51 <view>备注:</view>
52 <view class="" style="max-width: 85%;line-height: 40rpx; ">{{order.remark||''}}</view> 52 <view class="" style="max-width: 85%;line-height: 40rpx; ">{{order.remark||''}}</view>
53 </view> 53 </view>