Commit 0de6eabb231cf490d683c209e10f7c76777f5127

Authored by F5VT98DI7XY4X12\Administrator
1 parent 9f5ce8c0

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

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