Commit fee8388fea2ae5886803f0b1d5acdc2d2dc2bfc5

Authored by pengye
1 parent a0ff0c84

提前点餐菜品分类锚点定位失效问题处理、提前点餐样式调整

@@ -86,7 +86,7 @@ @@ -86,7 +86,7 @@
86 <view class="canteen_box" bindtap="getReserve"> 86 <view class="canteen_box" bindtap="getReserve">
87 <image src="{{sellerObj.seller_image}}" mode="heightFix" /> 87 <image src="{{sellerObj.seller_image}}" mode="heightFix" />
88 <view class="info_right"> 88 <view class="info_right">
89 - <view class="font38r sellerName">{{sellerObj.sellername}}</view> 89 + <view class="font36r sellerName">{{sellerObj.sellername}}</view>
90 <view class="font24r">{{sellerObj.cateStr}}</view> 90 <view class="font24r">{{sellerObj.cateStr}}</view>
91 <view class="font28r">{{sellerObj.real_address}}</view> 91 <view class="font28r">{{sellerObj.real_address}}</view>
92 </view> 92 </view>
@@ -19,11 +19,9 @@ @@ -19,11 +19,9 @@
19 .texts_right { 19 .texts_right {
20 font-weight: 500; 20 font-weight: 500;
21 width: 76%; 21 width: 76%;
22 - display: -webkit-box;  
23 - word-break: break-all;  
24 - word-wrap: break-word;  
25 - overflow: hidden;  
26 - text-align: right; 22 + display: flex;
  23 + flex-wrap: wrap;
  24 + justify-content: flex-end;
27 } 25 }
28 26
29 .info input { 27 .info input {
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <view class="page" style="background: rgba({{themeColor}});"> 2 <view class="page" style="background: rgba({{themeColor}});">
3 <nav backgroundColor="rgba({{themeColor}})" color="rgba({{navColor}})">{{options.sellerName||'提前点菜'}}</nav> 3 <nav backgroundColor="rgba({{themeColor}})" color="rgba({{navColor}})">{{options.sellerName||'提前点菜'}}</nav>
4 <loading wx:if="{{isloading}}">数据加载中</loading> 4 <loading wx:if="{{isloading}}">数据加载中</loading>
5 - <scroll-view style="background: rgba({{themeColor}});" class="content" scroll-into-view="{{toView}}" scroll-y="true" scroll-with-animation="true"> 5 + <scroll-view style="background: rgba({{themeColor}});" class="contentBox" scroll-into-view="{{toView}}" scroll-y="true" scroll-with-animation="true">
6 <block wx:for="{{cookbooklist}}" wx:key="cookbooklist-key" wx:for-index="indexs"> 6 <block wx:for="{{cookbooklist}}" wx:key="cookbooklist-key" wx:for-index="indexs">
7 <view class="dishWrap" id="{{ 'inToView'+item.id}}"> 7 <view class="dishWrap" id="{{ 'inToView'+item.id}}">
8 <view class="heand flex-vc flex-cc"> 8 <view class="heand flex-vc flex-cc">
@@ -138,7 +138,7 @@ @@ -138,7 +138,7 @@
138 </view> 138 </view>
139 </userinfo> 139 </userinfo>
140 </view> 140 </view>
141 -</view> 141 +</view>
142 <my-modal id="checkModal" height="410px" fadeStyle="center"> 142 <my-modal id="checkModal" height="410px" fadeStyle="center">
143 <view slot="modalContent" class="normsModel"> 143 <view slot="modalContent" class="normsModel">
144 <scroll-view scroll-y style="height: 78%;overflow: auto;"> 144 <scroll-view scroll-y style="height: 78%;overflow: auto;">
@@ -442,4 +442,7 @@ page { @@ -442,4 +442,7 @@ page {
442 } 442 }
443 .twoItem .box .num { 443 .twoItem .box .num {
444 font-size: 60rpx; 444 font-size: 60rpx;
  445 +}
  446 +.contentBox{
  447 + height: 100%;
445 } 448 }
@@ -179,7 +179,6 @@ @@ -179,7 +179,6 @@
179 word-wrap: break-word; 179 word-wrap: break-word;
180 overflow: hidden; 180 overflow: hidden;
181 text-align: left; 181 text-align: left;
182 - margin-left: 18rpx;  
183 } 182 }
184 183
185 .top text:nth-of-type(1) { 184 .top text:nth-of-type(1) {