yiming
2024-04-02 312fd09aaf90c0e52ab61bde22d0edbf105baa5e
pages/cart/index.wxml
@@ -1,4 +1,13 @@
<view class="outsideContentBox">
<scroll-view scroll-y="{{true}}" class="outsideContentBox">
  <view>
  <!-- <checkbox-group bindchange="HandelItemChange"> -->
  <view wx:if="{{shoppingCartData.length <= 0}}" class="noDataBox">
    <t-empty icon="folder-open" description="暂无数据" font-size="80" />
@@ -16,18 +25,41 @@
    <view class="itemWarp">
      <t-cell bordered="{{false}}">
        <view slot="title" class="titleBox">
          <view class="labelBox">
            <!-- <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.productMonWithLinkDto.product.name}}
          </view> -->
            <view wx:if="{{item.type == 'product'}}" style="width: 386rpx;">
              <view>
                <text class="eBook">电子书</text> <text class="boosName">{{item.productMonWithLinkDto.product.name}}</text>
          </view>
            </view>
            <view wx:if="{{item.type == 'item'}}" style="width: 386rpx;">
              <view>
                <text class="cloudLearning">云学习</text> <text class="boosName">{{item.productMonWithLinkDto.product.name}}</text>
              </view>
            </view>
        </view>
        <view slot="description" class="descriptionBox">
          <view>
            <view class="textBox" wx:if="{{type == 'product'}}">图书服务-电子书</view>
            <view class="textBox" wx:if="{{type == 'item'}}">图书服务-云学习</view>
              <view class="textBox" wx:if="{{item.type == 'product'}}">图书服务-电子书</view>
              <view class="textBox" wx:if="{{item.type == 'item'}}">图书服务-云学习</view>
          </view>
          <view wx:if="{{item.saleMethod.price != 0}}">
            ¥{{item.saleMethod.price}}
@@ -67,3 +99,4 @@
</view>
<t-toast id="t-toast" />
</scroll-view>