Commit 941f3460054f04c204971a0b7d6cbaed086d55a1

Authored by yiren
1 parent a47704dc

提前点餐样式修改

@@ -489,6 +489,7 @@ Page({ @@ -489,6 +489,7 @@ Page({
489 navColor = "81,81,81,1" 489 navColor = "81,81,81,1"
490 } else { 490 } else {
491 navColor = "255,255,255,1" 491 navColor = "255,255,255,1"
  492 + textColor = "255,255,255,1"
492 } 493 }
493 this.setData({ 494 this.setData({
494 themeColor, 495 themeColor,
1 <!--pack-cookbook/pages/index_new.wxml--> 1 <!--pack-cookbook/pages/index_new.wxml-->
2 <nav backgroundColor="rgba({{themeColor}})" color="rgba({{navColor}})">{{options.sellerName||'提前点菜'}}</nav> 2 <nav backgroundColor="rgba({{themeColor}})" color="rgba({{navColor}})">{{options.sellerName||'提前点菜'}}</nav>
3 <loading wx:if="{{isloading}}">数据加载中</loading> 3 <loading wx:if="{{isloading}}">数据加载中</loading>
4 -<scroll-view style="height:100vh;background: rgba({{themeColor}});" class="content" scroll-into-view="{{toView}}" scroll-y="true" scroll-with-animation="true"> 4 +<scroll-view style="background: rgba({{themeColor}});" class="content" scroll-into-view="{{toView}}" scroll-y="true" scroll-with-animation="true">
5 <block wx:for="{{cookbooklist}}" wx:key="cookbooklist-key" wx:for-index="indexs"> 5 <block wx:for="{{cookbooklist}}" wx:key="cookbooklist-key" wx:for-index="indexs">
6 <view class="dishWrap" id="{{ 'inToView'+item.id}}"> 6 <view class="dishWrap" id="{{ 'inToView'+item.id}}">
7 <block> 7 <block>
@@ -62,7 +62,6 @@ page { @@ -62,7 +62,6 @@ page {
62 font-family: PingFang SC; 62 font-family: PingFang SC;
63 font-weight: 500; 63 font-weight: 500;
64 font-size: 40rpx; 64 font-size: 40rpx;
65 - -webkit-text-stroke: 1rpx #fff;  
66 } 65 }
67 66
68 .dishTexts .texts { 67 .dishTexts .texts {
@@ -80,8 +79,7 @@ page { @@ -80,8 +79,7 @@ page {
80 color: #000; 79 color: #000;
81 font-family: PingFang SC; 80 font-family: PingFang SC;
82 font-size: 24rpx; 81 font-size: 24rpx;
83 - padding: 0 40rpx 30rpx 40rpx;  
84 - -webkit-text-stroke: 1rpx #fff; 82 + padding: 0 40rpx 30rpx 10rpx;
85 } 83 }
86 84
87 .dishImg { 85 .dishImg {
@@ -139,8 +137,8 @@ page { @@ -139,8 +137,8 @@ page {
139 font-family: PingFang SC; 137 font-family: PingFang SC;
140 font-weight: 500; 138 font-weight: 500;
141 font-size: 80rpx; 139 font-size: 80rpx;
142 - -webkit-text-stroke: 1rpx #fff;  
143 margin-right: 20rpx; 140 margin-right: 20rpx;
  141 + -webkit-text-stroke: 1rpx #fff;
144 } 142 }
145 143
146 .practice { 144 .practice {
@@ -171,7 +169,6 @@ page { @@ -171,7 +169,6 @@ page {
171 font-family: PingFang SC; 169 font-family: PingFang SC;
172 font-weight: 500; 170 font-weight: 500;
173 font-size: 40rpx; 171 font-size: 40rpx;
174 - -webkit-text-stroke: 1rpx #fff;  
175 } 172 }
176 173
177 .twoSingle, 174 .twoSingle,
@@ -186,7 +183,6 @@ page { @@ -186,7 +183,6 @@ page {
186 font-weight: 500; 183 font-weight: 500;
187 font-size: 24rpx; 184 font-size: 24rpx;
188 padding: 0 10rpx 20rpx 10rpx; 185 padding: 0 10rpx 20rpx 10rpx;
189 - -webkit-text-stroke: 1rpx #fff;  
190 } 186 }
191 187
192 .twoItem image { 188 .twoItem image {
@@ -292,7 +288,7 @@ page { @@ -292,7 +288,7 @@ page {
292 .names .dishTexts { 288 .names .dishTexts {
293 width: auto; 289 width: auto;
294 box-sizing: border-box; 290 box-sizing: border-box;
295 - padding: 0 40rpx 0 40rpx; 291 + padding: 0 0 0 40rpx;
296 } 292 }
297 293
298 .names .bottom { 294 .names .bottom {