yiming
2024-04-02 312fd09aaf90c0e52ab61bde22d0edbf105baa5e
pages/cart/paymentPage/index.wxml
@@ -19,17 +19,39 @@
        </view>
        <view class="cartListContent">
          <view class="cartListDetails">
            <view class="labelBox">
              <view class="eBook" wx:if="{{type == 'product'}}">电子书</view>
              <view wx:if="{{type == 'item'}}" class="cloudLearning">云学习</view>
            </view>
            <view class="boosName">
              {{item.orderSaleMethod.product.name}}
            </view>
          </view>
            <!-- <view class="labelBox">
              <view class="eBook" wx:if="{{item.type == 'product'}}">电子书</view>
              <view wx:if="{{item.type == 'item'}}" class="cloudLearning">云学习</view>
            </view> -->
          <view class="textBox" wx:if="{{type == 'product'}}">图书服务-电子书</view>
          <view class="textBox" wx:if="{{type == 'item'}}">图书服务-云学习</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>
            <view wx:if="{{item.type == 'item'}}" style="width: 386rpx;">
              <view>
                <text class="cloudLearning">云学习</text> <text class="boosName">{{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>
      </view>
@@ -50,7 +72,7 @@
  <view class="paymentBox">
    <view class="residue">待支付:<text class="residueTextBox">¥{{payPrice}}</text></view>
    <view>
      <t-button class="buttonBox" shape="round" bind:tap="confirmOrderGet">微信支付</t-button>
      <t-button class="buttonBox" shape="round" catch:tap="confirmOrderGet">微信支付</t-button>
    </view>
  </view>
</view>