zf
litian
2024-09-27 3ec10b0c2654e1243e42a5ad563d088ac89c87fe
pages/cart/paymentPage/index.wxml
@@ -23,22 +23,21 @@
          </view>
          <view class="cartListContent">
            <view class="cartListDetails">
              <view wx:if="{{item.type == 'product'}}" style="width: 386rpx">
              <view style="width: 500rpx">
                <view class="boosName">
                  <text class="eBook">电子书</text>
                  <text class="eBook">{{item.typeTxt}}</text>
                  <text> {{item.orderSaleMethod.product.name}}</text>
                </view>
              </view>
              <view wx:if="{{item.type == 'item'}}" style="width: 386rpx">
              <!-- <view wx:if="{{item.type == 'item'}}" style="width: 386rpx">
                <view class="boosName">
                  <text class="cloudLearning">云学习</text>
                  <text> {{item.orderSaleMethod.product.name}}</text>
                </view>
              </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.orderSaleMethod.price}}</view>
            <view class="textBox">{{item.productType}}</view>
            <view class="priceBox">¥{{price}}</view>
          </view>
        </view>
      </view>
@@ -49,7 +48,6 @@
            我的积分:{{integral}}
          </view>
          <t-switch defaultValue="{{defaultVal}}" slot="note" bindchange="handleChange" />
        </view>
      </view>
      <view class="priceBreakdown">
@@ -74,7 +72,7 @@
    <view class="paymentBox">
      <view class="residue">待支付:<text class="residueTextBox">¥{{payPrice}}</text></view>
      <view>
        <t-button wx:if="{{ImmediatelyReceive === 0}}" class="buttonBox" shape="round" catch:tap="onReceive">立即领取</t-button>
        <t-button wx:if="{{payPrice === '0.00'}}" class="buttonBox" shape="round" catch:tap="onReceive">立即领取</t-button>
        <t-button wx:else class="buttonBox" shape="round" catch:tap="confirmOrderGet">微信支付</t-button>
      </view>
    </view>