闫增涛
2024-09-18 c96612e8a63ecef9590be0f8b5199277ec94e5b9
packageBookService/pages/bookServices/detail/components/learnResource/learnResource.wxml
@@ -1,6 +1,11 @@
<!--pages/bookServices/detail/components/learnResource/learnResource.wxml-->
<view class="learnResource" theme="primary">
<view
  class="learnResource"
  theme="primary"
  style="justify-content: {{!isshowDrawBtn ? 'flex-end' : ''}};"
>
  <t-button
    wx:if="{{isshowDrawBtn}}"
    loading="{{receive}}"
    class="btn"
    theme="primary"
@@ -14,11 +19,12 @@
    </view>
  </t-button>
  <t-button
    wx:if="{{!isShowBuyCloundMenu}}"
    loading="{{buy}}"
    class="btn"
    theme="primary"
    style="height: 72rpx; font-size: 28rpx"
    bind:tap="goBuyResource"
    style="height: 72rpx; font-size: 28rpx;margin: {{!isshowDrawBtn ? '0 20rpx' : ''}}"
  >
    <view slot="content" class="btn-content">
      <image src="/static/images/bookService/detail/yijiangoumai.png" />
@@ -26,12 +32,25 @@
    </view>
  </t-button>
  <t-button
    theme="primary"
    class="btn"
    style="height: 72rpx; font-size: 28rpx"
    wx:if="{{isShowBuyCloundMenu}}"
  >
    <view slot="content" class="btn-content">
      <image src="/static/images/bookService/detail/yijiangoumai.png" />
      <text>全部购买</text>
    </view>
  </t-button>
  <t-button
    class="btn"
    theme="primary"
    style="height: 72rpx; font-size: 28rpx"
    wx:if="{{false}}"
    style="height: 72rpx; font-size: 28rpx; margin: 0 20rpx"
    bind:tap="goLearnTask"
  >
    <image src="/static/images/bookService/detail/renwudan/icon.png" />
    学习任务单
    <view slot="content" class="btn-content">
      <image src="/static/images/bookService/detail/renwudan/icon.png" />
      <text>学习任务单</text>
    </view>
  </t-button>
</view>