Showing
4 changed files
with
8 additions
and
9 deletions
| @@ -2,9 +2,10 @@ | @@ -2,9 +2,10 @@ | ||
| 2 | @import '../../app.wxss'; | 2 | @import '../../app.wxss'; |
| 3 | .cook-class{ | 3 | .cook-class{ |
| 4 | width:100%; | 4 | width:100%; |
| 5 | - top:0; | 5 | + top:150rpx; |
| 6 | left:0; | 6 | left:0; |
| 7 | bottom:0; | 7 | bottom:0; |
| 8 | + position: fixed; | ||
| 8 | background:#353535; | 9 | background:#353535; |
| 9 | z-index:1000; | 10 | z-index:1000; |
| 10 | padding-top:80rpx; | 11 | padding-top:80rpx; |
| @@ -65,7 +66,7 @@ | @@ -65,7 +66,7 @@ | ||
| 65 | border-bottom-width:0 ; | 66 | border-bottom-width:0 ; |
| 66 | background-color:#FEFEFE; | 67 | background-color:#FEFEFE; |
| 67 | color:#353535; | 68 | color:#353535; |
| 68 | - font-weight: 400; | 69 | + font-weight: blod; |
| 69 | } | 70 | } |
| 70 | .hasListModel .cook-class-single-active:before{ | 71 | .hasListModel .cook-class-single-active:before{ |
| 71 | position: absolute; | 72 | position: absolute; |
| @@ -114,17 +114,15 @@ | @@ -114,17 +114,15 @@ | ||
| 114 | } | 114 | } |
| 115 | .reduce-conent{ | 115 | .reduce-conent{ |
| 116 | width:570rpx; | 116 | width:570rpx; |
| 117 | - min-height: 430rpx; | ||
| 118 | height:auto; | 117 | height:auto; |
| 119 | background: #fff; | 118 | background: #fff; |
| 120 | - padding-bottom:40rpx; | 119 | + padding-bottom:62rpx; |
| 121 | border-radius: 10rpx; | 120 | border-radius: 10rpx; |
| 122 | position: fixed; | 121 | position: fixed; |
| 123 | - top: 50%; | 122 | + top: 0; |
| 124 | left:0; | 123 | left:0; |
| 125 | right:0; | 124 | right:0; |
| 126 | - margin:0 auto; | ||
| 127 | - margin-top:-400rpx; | 125 | + margin:50% auto; |
| 128 | z-index: 9999; | 126 | z-index: 9999; |
| 129 | /* overflow: hidden; */ | 127 | /* overflow: hidden; */ |
| 130 | } | 128 | } |
| @@ -272,7 +272,7 @@ Page({ | @@ -272,7 +272,7 @@ Page({ | ||
| 272 | let activeId=''; | 272 | let activeId=''; |
| 273 | Object.keys(this.scrollHeightList).forEach(tid=>{ | 273 | Object.keys(this.scrollHeightList).forEach(tid=>{ |
| 274 | let mx=parseInt(e.detail.scrollTop)-parseInt(this.scrollHeightList[tid].top) | 274 | let mx=parseInt(e.detail.scrollTop)-parseInt(this.scrollHeightList[tid].top) |
| 275 | - if(mx>-100){ | 275 | + if(mx>-120){ |
| 276 | if(mx<maxMX) { | 276 | if(mx<maxMX) { |
| 277 | maxMX=mx; | 277 | maxMX=mx; |
| 278 | activeId=tid; | 278 | activeId=tid; |
| 1 | <!--cookbook/index.wxml--> | 1 | <!--cookbook/index.wxml--> |
| 2 | -<nav>提前点菜</nav> | 2 | +<nav>{{order.seller.seller_name||'提前点菜'}}</nav> |
| 3 | <loading wx:if="{{isloading}}">数据加载中</loading> | 3 | <loading wx:if="{{isloading}}">数据加载中</loading> |
| 4 | <view class="{{hasListModel?'page-list flex-ll-top':'page'}}" wx:if="{{!isloading}}"> | 4 | <view class="{{hasListModel?'page-list flex-ll-top':'page'}}" wx:if="{{!isloading}}"> |
| 5 | <!--第四部分 原始菜无图或有图展示--> | 5 | <!--第四部分 原始菜无图或有图展示--> |
-
Please register or login to post a comment