| | |
| | | loading: false, |
| | | openLearnids: result |
| | | }) |
| | | console.log('教学资源', list); |
| | | } |
| | | } else { |
| | | // 无数据 |
| | |
| | | "usingComponents": { |
| | | "t-icon": "tdesign-miniprogram/icon/icon", |
| | | "tree": "/packageBookService/pages/bookServices/detail/components/tree/index", |
| | | "t-loading": "tdesign-miniprogram/loading/loading" |
| | | "t-loading": "tdesign-miniprogram/loading/loading", |
| | | "t-button": "tdesign-miniprogram/button/button" |
| | | }, |
| | | "navigationStyle": "custom" |
| | | } |
| | |
| | | <view class="noData" wx:if="{{loading}}"> |
| | | <t-loading size="60rpx" loading="{{loading}}" /> |
| | | </view> |
| | | |
| | | <view class="page-bottom"> |
| | | <t-button theme="primary" size="large" class="btn-buy">批量购买</t-button> |
| | | </view> |
| | |
| | | font-weight: bold; |
| | | } |
| | | |
| | | .buy-resource { |
| | | overflow-y: auto; |
| | | height: calc(100vh - env(safe-area-inset-bottom) - 140px); |
| | | } |
| | | |
| | | .flex { |
| | | display: flex; |
| | | } |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | --td-loading-color: #ff6c00; |
| | | } |
| | | |
| | | .page-bottom { |
| | | position: fixed; |
| | | bottom: env(safe-area-inset-bottom); |
| | | width: 100%; |
| | | height: 100rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | |
| | | |
| | | |
| | | .page-bottom { |
| | | --td-button-primary-bg-color: #ff6c00; |
| | | --td-button-primary-border-color: #ff6c00; |
| | | --td-button-primary-active-bg-color: #ff984d; |
| | | --td-button-primary-active-border-color: #ff984d; |
| | | --td-button-border-radius: 60rpx; |
| | | } |
| | | |
| | | .btn-buy { |
| | | width: 86vw; |
| | | } |