yiming
2024-04-25 103db27cd0ca6b3305e95170dc297380f97fcc70
pages/cart/paymentPage/index.wxml
@@ -4,7 +4,7 @@
<view hidden="{{hidden}}">
  <view class="titleBox">
  <!-- <view class="titleBox">
    <view style="width: 100%; height: {{barHeight}}px; "></view>
    <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;">
      <view>
@@ -12,7 +12,7 @@
      </view>
      <view class="navbar-title">提交订单</view>
    </view>
  </view>
  </view> -->
  <view class="paymentPageBox">
    <view class="content">
@@ -25,50 +25,22 @@
          </view>
          <view class="cartListContent">
            <view class="cartListDetails">
              <!-- <view class="labelBox">
              <view class="eBook" wx:if="{{item.type == 'product'}}">电子书</view>
              <view wx:if="{{item.type == 'item'}}" class="cloudLearning">云学习</view>
            </view> -->
              <!-- <view class="boosName">
              {{item.orderSaleMethod.product.name}}
            </view> -->
              <view wx:if="{{item.type == 'product'}}" style="width: 386rpx;">
                <!-- <view>
                <text class="eBook">电子书</text> <text class="boosName">{{item.orderSaleMethod.product.name}}</text>
              </view> -->
                <view class="boosName">
                  <text class="eBook">电子书</text>
                  <text> {{item.orderSaleMethod.product.name}}</text>
                </view>
              </view>
              <view wx:if="{{item.type == 'item'}}" style="width: 386rpx;">
                <!--
              <view>
                <text class="cloudLearning">云学习</text> <text class="boosName">{{item.orderSaleMethod.product.name}}</text>
              </view> -->
                <view class="boosName">
                  <text class="cloudLearning">云学习</text>
                  <text> {{item.orderSaleMethod.product.name}}</text>
                </view>
              </view>
            </view>
            <view class="textBox" wx:if="{{item.type == 'product'}}">图书服务-电子书</view>
            <view class="textBox" wx:if="{{item.type == 'item'}}">图书服务-云学习</view>
            <view class="priceBox">¥{{item.payPrice}}</view>
            <view class="priceBox">¥{{payPrice}}</view>
          </view>
        </view>
      </view>
@@ -88,7 +60,9 @@
    <view class="paymentBox">
      <view class="residue">待支付:<text class="residueTextBox">¥{{payPrice}}</text></view>
      <view>
        <t-button class="buttonBox" shape="round" catch:tap="confirmOrderGet">微信支付</t-button>
        <t-button wx:if="{{ImmediatelyReceive === 0}}" class="buttonBox" shape="round" catch:tap="onReceive">立即领取</t-button>
        <t-button wx:else class="buttonBox" shape="round" catch:tap="confirmOrderGet">微信支付</t-button>
      </view>
    </view>
  </view>