litian
5 小时以前 aff8d054df4a638f399dc8f15d98c19b9c9aa785
packageBookService/pages/bookServices/detail/components/testResource/testResource.wxml
@@ -27,38 +27,6 @@
        <view class="btn-content-text">组卷</view>
      </view>
    </view>
    <!-- <t-radio-group
      class="test-radio"
      t-class="horizontal-box"
      value="{{radioItem}}"
      bind:change="onRadioChange"
      style="margin: 0"
    >
      <view class="card {{radioItem == 'test' ? 'card--active' : ''}}">
        <t-radio value="test" icon="none" borderless style="height: 80rpx">
          <view class="radio-content" slot="content">
            <image
              src="{{ radioItem == 'test' ? '/static/images/bookService/detail/practice-icon.png' : '/static/images/bookService/detail/notest.png'}}"
            ></image>
            <text style="color: {{radioItem == 'test' ? '#fff':'#ff6c00'}};"
              >练习</text
            >
          </view>
        </t-radio>
      </view>
      <view class="card {{radioItem == 'mock' ? 'card--active' : ''}}">
        <t-radio value="mock" icon="none" borderless style="height: 80rpx">
          <view class="radio-content" slot="content">
            <image
              src="{{ radioItem == 'mock' ? '/static/images/bookService/detail/checkpaper.png' : '/static/images/bookService/detail/zujuan.png'}}"
            ></image>
            <text style="color: {{radioItem == 'mock' ? '#fff':'#ff6c00'}};"
              >组卷</text
            >
          </view>
        </t-radio>
      </view>
    </t-radio-group> -->
    <view class="btn-box">
      <t-button
        class="error-btn"
@@ -102,8 +70,21 @@
  </view> -->
  <!-- 练习列表树结构 -->
  <view wx:if="{{radioItem == 'test'}}">
<<<<<<< Updated upstream
    <view class="buy-question-btn" wx:if="{{!isBuyBank}}">
      <t-button
        wx:if="{{!isShoppingBank}}"
        class="error-btn"
        theme="default"
        size="medium"
        style="padding: 0 12rpx"
        bind:tap="handleShoppingBank"
        data-answerType="errorQuestion"
      >
        <view slot="content" class="btn-content">
          <image src="/static/images/bookService/detail/cart.png" />
          <text class="primary-color">加入购物车</text>
        </view>
      </t-button>
      <t-button
        class="error-btn"
        theme="default"
@@ -120,8 +101,6 @@
        </view>
      </t-button>
    </view>
=======
>>>>>>> Stashed changes
    <tree
      id="test-tree"
      openIds="{{openIds}}"
@@ -129,12 +108,7 @@
      tab="{{tab}}"
      treeList="{{list}}"
      bind:goTest="goTest"
<<<<<<< Updated upstream
    ></tree>
=======
    >
    </tree>
>>>>>>> Stashed changes
  </view>
  <view
    wx:if="{{noResources}}"
@@ -145,10 +119,6 @@
    <empty />
  </view>
</view>
<<<<<<< Updated upstream
=======
>>>>>>> Stashed changes
<!-- 组卷列表 -->
<view class="mock-data" wx:if="{{radioItem == 'mock'}}">
  <view>