Commit a0ff0c84f029f4c2d43704f416d5a4f1a102c638

Authored by pengye
1 parent fcb26116

邀请函样式问题处理

@@ -74,7 +74,7 @@ @@ -74,7 +74,7 @@
74 <view class="left"> 74 <view class="left">
75 <view class="top"> 75 <view class="top">
76 <text>{{item.aname}}</text> 76 <text>{{item.aname}}</text>
77 - <text class="price" wx:if="{{item.price}}">¥{{item.price}}</text> 77 + <view class="price" wx:if="{{item.price}}"><view class="icons">¥</view>{{item.price}}</view>
78 <!-- is_cash 代金券 is_discount折扣券 is_dish菜品券 只有代金券有几折显示 --> 78 <!-- is_cash 代金券 is_discount折扣券 is_dish菜品券 只有代金券有几折显示 -->
79 <text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash)}}" class="discount">{{item.discount}}折</text> 79 <text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash)}}" class="discount">{{item.discount}}折</text>
80 </view> 80 </view>
@@ -452,18 +452,18 @@ @@ -452,18 +452,18 @@
452 452
453 453
454 .orderingFood { 454 .orderingFood {
455 - padding: 4rpx 20rpx; 455 + padding: 0 26rpx;
456 color: #fff; 456 color: #fff;
457 border-radius: 22rpx; 457 border-radius: 22rpx;
458 text-align: center; 458 text-align: center;
459 background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%); 459 background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%);
460 margin: 20rpx 0; 460 margin: 20rpx 0;
461 - line-height: 50rpx;  
462 - height: 50rpx; 461 + line-height: 44rpx;
  462 + height: 44rpx;
463 } 463 }
464 464
465 .preferential { 465 .preferential {
466 - margin: 16rpx 40rpx; 466 + margin: 16rpx 26rpx;
467 } 467 }
468 468
469 .preferentialItems { 469 .preferentialItems {
@@ -501,28 +501,42 @@ @@ -501,28 +501,42 @@
501 word-wrap: break-word; 501 word-wrap: break-word;
502 overflow: hidden; 502 overflow: hidden;
503 text-align: left; 503 text-align: left;
504 - margin-left: 18rpx;  
505 } 504 }
506 505
507 .top text:nth-of-type(1) { 506 .top text:nth-of-type(1) {
508 - font-size: 30rpx;  
509 - font-weight: 600; 507 + font-size: 28rpx;
  508 + font-weight: 500;
  509 + color: #515151;
510 } 510 }
511 511
512 .top .discount { 512 .top .discount {
513 - padding: 0 10rpx; 513 + padding: 0 6rpx;
514 color: #E34D59; 514 color: #E34D59;
515 border: 2rpx solid #E34D59; 515 border: 2rpx solid #E34D59;
516 border-radius: 6rpx; 516 border-radius: 6rpx;
517 margin: 0 10rpx 0 20rpx; 517 margin: 0 10rpx 0 20rpx;
518 font-family: PingFang SC; 518 font-family: PingFang SC;
519 - font-size: 14rpx; 519 + font-size: 24rpx;
520 height: 30rpx; 520 height: 30rpx;
521 line-height: 30rpx; 521 line-height: 30rpx;
522 } 522 }
523 523
524 .top .price { 524 .top .price {
525 color: #E34D59; 525 color: #E34D59;
  526 + font-weight: 500;
  527 + font-size: 30rpx;
  528 +}
  529 +
  530 +.price{
  531 + display: flex;
  532 + align-items: flex-end;
  533 + justify-content: center;
  534 +}
  535 +
  536 +.price .icons {
  537 + margin-left: 18rpx;
  538 + color: #E34D59;
  539 + font-size: 20rpx;
526 } 540 }
527 541
528 .vips image { 542 .vips image {