litian
2024-09-02 b0e2bf29dd96e7100f06b27997a6d4c6c3630374
pages/digitalCourses/digitalCoursesDetails/index.wxml
@@ -94,15 +94,16 @@
          <view class="course-content">
            <view class="certificateChart">
              <view class="chart" bind:tap="onClick1">
                <image src="/static/images/certificate/szkc.jpg" mode="" />
                <image src="https://jsek.bnuic.com/home/certificate/szkc.jpg" mode="" />
              </view>
              <view class="chart" bind:tap="onClick2">
                <image src="/static/images/certificate/kczs.jpg" mode="" />
                <image src="https://jsek.bnuic.com/home/certificate/kczs.jpg" mode="" />
              </view>
            </view>
          </view>
          <!-- <view id="pubCertificate" wx:if="pubCertificateHide">
            <image src="/static/images/certificate/szkc.jpg" mode="" class="bgImg" />
          <canvas canvas-id="share"></canvas>
          <view id="pubCertificate" wx:if="pubCertificateHide">
            <image src="https://jsek.bnuic.com/home/certificate/szkc.jpg" mode="" class="bgImg" />
            <view class="certificateInfo">
              <view class="bookName">{{digitalsData.name}}</view>
              <view class="author">{{digitalsData.courseLeader || '-' }}</view>
@@ -113,7 +114,7 @@
              <view class="website">{{website}}</view>
              <view class="codeBox"></view>
            </view>
          </view> -->
          </view>
        </t-tab-panel>
        <t-tab-panel icon="{{ tabValue == '2' ? courseLearningClick : courseLearning}}" label="课程学习" value="2">
          <view class="course-content">
@@ -123,10 +124,38 @@
            </view>
            <view class="list-box">
              <view wx:if="{{selectActive == 'learn'}}">
                <view wx:if="{{relationTextBook}}" class="textBook">
                  <view class="textTile">
                    <image src="/static/images/bookService/detail/shuzijiaocai.png" mode="" class="leftImg" />
                    <view>数字教材</view>
                  </view>
                  <view class="reabtn" bind:tap="readTextBook">
                    <image src="/static/images/digitalCourses/shidu@2x.png" class="readImage"></image>
                    <view>{{isTextBookBuy ? '阅读' : '试看'}}</view>
                  </view>
                </view>
                <tree id="test-tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" treeList="{{learnList}}">
                </tree>
              </view>
              <view wx:if="{{selectActive == 'test'}}">
                <view class="testBtnBox">
                  <view class="textTile">共{{}}个</view>
                  <view class="note-btn">
                    <t-button theme="primary" class="make-note" bind:tap="goMycollect" data-answerType="errorQuestion" style="width: 220rpx">
                      <view slot="content" class="btn-content">
                        <image src="/static/images/bookService/detail/cuoti.png" />
                        <text class="note-btn-text">我的错题</text>
                      </view>
                    </t-button>
                    <t-button theme="primary" class="make-note" bind:tap="goMycollect" data-answerType="collectQuestion" style="width: 220rpx;margin-left:10rpx;">
                      <view slot="content" class="btn-content">
                        <image src="/static/images/bookService/detail/wodeshoucang.png" />
                        <text class="note-btn-text">我的收藏</text>
                      </view>
                    </t-button>
                  </view>
                </view>
                <testTree id="tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" tab="{{tab}}" treeList="{{testList}}"></testTree>
              </view>
            </view>