Commit 0de6eabb231cf490d683c209e10f7c76777f5127

Authored by F5VT98DI7XY4X12\Administrator
1 parent 9f5ce8c0

参团商品名称没显示。提交订单提不了,订单总价

pages/cart/cart2/cart2.js
@@ -683,7 +683,9 @@ Page({ @@ -683,7 +683,9 @@ Page({
683 console.log("buy_new"); 683 console.log("buy_new");
684 684
685 if(th.data.bn_exp_type == 0 && th.data.user_addr==null ){ 685 if(th.data.bn_exp_type == 0 && th.data.user_addr==null ){
686 - ff = false; getApp().confirmBox("请新建收货地址"); } 686 + ff = false; getApp().my_warnning("请选择收货地址",0,th);
  687 + this.data.is_summit_ing = 0;
  688 + }
687 if (!ff) return false; 689 if (!ff) return false;
688 var addr = th.data.user_addr; 690 var addr = th.data.user_addr;
689 if (th.data.bn_exp_type == 1) addr=null; 691 if (th.data.bn_exp_type == 1) addr=null;
@@ -694,7 +696,7 @@ Page({ @@ -694,7 +696,7 @@ Page({
694 696
695 if(th.data.bn_exp_type==0) 697 if(th.data.bn_exp_type==0)
696 if(th.data.wu_arr==null || th.data.wu_arr.length<=0){ 698 if(th.data.wu_arr==null || th.data.wu_arr.length<=0){
697 - getApp().confirmBox("读取物流失败"); 699 + getApp().my_warnning("读取物流失败",0,th);
698 return false; 700 return false;
699 } 701 }
700 702
pages/cart/cart2_pt/cart2_pt.js
@@ -341,8 +341,10 @@ Page({ @@ -341,8 +341,10 @@ Page({
341 //------------立即购买------------- 341 //------------立即购买-------------
342 console.log("buy_new"); 342 console.log("buy_new");
343 343
344 - if(th.data.bn_exp_type == 0 && th.data.user_addr==null ){ ff = false;  
345 - getApp().confirmBox("请新建收货地址"); 344 + if(th.data.bn_exp_type == 0 && th.data.user_addr==null ){
  345 + ff = false;
  346 + getApp().my_warnning("请选择收货地址",0,this);
  347 + this.data.is_summit_ing = 0;
346 } 348 }
347 if (!ff) return false; 349 if (!ff) return false;
348 var addr = th.data.user_addr; 350 var addr = th.data.user_addr;
@@ -354,7 +356,8 @@ Page({ @@ -354,7 +356,8 @@ Page({
354 356
355 if(th.data.bn_exp_type==0) { 357 if(th.data.bn_exp_type==0) {
356 if (th.data.wu_arr == null || th.data.wu_arr.length <= 0) { 358 if (th.data.wu_arr == null || th.data.wu_arr.length <= 0) {
357 - getApp().confirmBox("读取物流失败"); 359 + getApp().my_warnning("读取物流失败",0,this);
  360 + this.data.is_summit_ing = 0;
358 return false; 361 return false;
359 } 362 }
360 } 363 }
pages/team/team_show/team_show.wxml
@@ -184,11 +184,19 @@ @@ -184,11 +184,19 @@
184 <view class='buy-option'> 184 <view class='buy-option'>
185 <!--头部图片--> 185 <!--头部图片-->
186 <view class='buy-top'> 186 <view class='buy-top'>
187 - <view class='buy-image'> 187 + <view class='buy-image mimg'>
188 <image src='{{image}}'></image> 188 <image src='{{image}}'></image>
189 - <span class='t1'>¥</span>  
190 - <text class='t2'>{{teamlist.price}}</text> 189 + <view style='float:left'>
  190 + <view>
  191 + <span class='t1'>¥</span><text class='t2'>{{teamlist.price}}</text>
  192 + </view>
  193 + <view class="ellipsis-1">
  194 + {{goods.goods_name}}
  195 + </view>
  196 + </view>
  197 +
191 </view> 198 </view>
  199 +
192 <view class='buy-cou' bindtap='cbcou'>⊗</view> 200 <view class='buy-cou' bindtap='cbcou'>⊗</view>
193 <view class='clear'></view> 201 <view class='clear'></view>
194 </view> 202 </view>
pages/team/team_show/team_show.wxss
@@ -589,7 +589,6 @@ flex-grow:1.7; @@ -589,7 +589,6 @@ flex-grow:1.7;
589 } 589 }
590 590
591 .buy-image text { 591 .buy-image text {
592 - float: left;  
593 margin-left: 10rpx; 592 margin-left: 10rpx;
594 color: red; 593 color: red;
595 } 594 }
@@ -709,7 +708,7 @@ flex-grow:1.7; @@ -709,7 +708,7 @@ flex-grow:1.7;
709 708
710 .buy-image { 709 .buy-image {
711 margin-right: 20rpx; 710 margin-right: 20rpx;
712 - width: 320rpx; 711 + width: 630rpx;
713 height: 200rpx; 712 height: 200rpx;
714 float: left; 713 float: left;
715 } 714 }
@@ -722,8 +721,8 @@ flex-grow:1.7; @@ -722,8 +721,8 @@ flex-grow:1.7;
722 margin-right: 16rpx; 721 margin-right: 16rpx;
723 } 722 }
724 723
  724 +
725 .buy-image text { 725 .buy-image text {
726 - float: left;  
727 margin-left: 10rpx; 726 margin-left: 10rpx;
728 color: red; 727 color: red;
729 } 728 }
@@ -742,7 +741,6 @@ flex-grow:1.7; @@ -742,7 +741,6 @@ flex-grow:1.7;
742 } 741 }
743 742
744 .t1 { 743 .t1 {
745 - float: left;  
746 font-size: 28rpx; 744 font-size: 28rpx;
747 padding-left: 4rpx; 745 padding-left: 4rpx;
748 color: red; 746 color: red;
pages/user/order_detail/order_detail.wxml
@@ -99,7 +99,7 @@ @@ -99,7 +99,7 @@
99 <view>¥ {{order.order_prom_amount}}元</view> 99 <view>¥ {{order.order_prom_amount}}元</view>
100 </view> 100 </view>
101 101
102 - <view class="item" wx:if="{{order.pt_tail_money>0}}"> 102 + <view class="item">
103 <view>订单总价</view> 103 <view>订单总价</view>
104 <view>¥ {{filters.toFix(order.order_amount+order.user_money+order.pt_tail_money)}}元</view> 104 <view>¥ {{filters.toFix(order.order_amount+order.user_money+order.pt_tail_money)}}元</view>
105 </view> 105 </view>