yiming
2024-04-11 a9bd2df4da1cf7b198db7bf2d67ce8adbbe89b32
pages/cart/index.wxml
@@ -1,3 +1,9 @@
<import src="index.skeleton.wxml" />
<template is="skeleton" wx:if="{{loading}}" />
<!-- loading
hidden -->
<view hidden="{{hidden}}">
<scroll-view scroll-y="{{true}}" class="outsideContentBox" bindscrolltolower="onScrollToLower">
  <view>
@@ -8,20 +14,16 @@
    </view>
    <!-- <button bind:tap="onLogin"> 去登录</button> -->
    <t-swipe-cell wx:for="{{shoppingCartData}}" wx:key="index" wx:for-item="item" wx:for-index="index" opened="{{swipeOpened}}">
      <view class="itemWarp">
        <t-cell bordered="{{false}}">
          <view slot="title" class="titleBox">
            <view wx:if="{{item.type == 'product'}}" style="width: 386rpx;">
              <view class="boosName">
                <text class="eBook">电子书</text>
                <text> {{item.name}}</text>
              </view>
            </view>
            <view wx:if="{{item.type == 'item'}}" style="width: 386rpx;">
              <view class="boosName">
                <text class="cloudLearning">云学习</text>
                <text> {{item.name}}</text>
@@ -74,3 +76,4 @@
    </view>
  </view>
</view>
</view>