xz
litian
2024-08-30 485fcbbc57cbf7495286359250135c482ec1360a
pages/digitalCourses/digitalCoursesDetails/index.wxml
@@ -94,13 +94,26 @@
          <view class="course-content">
            <view class="certificateChart">
              <view class="chart" bind:tap="onClick1">
                <image src="/static/images/certificate/cbzs.jpg" mode="" />
                <image src="/static/images/certificate/szkc.jpg" mode="" />
              </view>
              <view class="chart" bind:tap="onClick2">
                <image src="/static/images/certificate/rzzs.jpg" mode="" />
                <image src="/static/images/certificate/kczs.jpg" mode="" />
              </view>
            </view>
          </view>
          <!-- <view id="pubCertificate" wx:if="pubCertificateHide">
            <image src="/static/images/certificate/szkc.jpg" mode="" class="bgImg" />
            <view class="certificateInfo">
              <view class="bookName">{{digitalsData.name}}</view>
              <view class="author">{{digitalsData.courseLeader || '-' }}</view>
              <view class="affiliatedUnit">{{digitalsData.affiliatedUnit || '-'}}</view>
              <view class="affiliatedUnit"> {{ digitalsData.isbn || '-'}}</view>
              <view class="affiliatedUnit">{{digitalsData.publicationDate}}</view>
              <view class="affiliatedUnit">{{publishingUnit}}</view>
              <view class="website">{{website}}</view>
              <view class="codeBox"></view>
            </view>
          </view> -->
        </t-tab-panel>
        <t-tab-panel icon="{{ tabValue == '2' ? courseLearningClick : courseLearning}}" label="课程学习" value="2">
          <view class="course-content">
@@ -167,6 +180,27 @@
            </view> -->
          </view>
        </t-tab-panel>
        <t-tab-panel icon="{{tabValue == '5' ? testResourceClickIocn : testResourceIocn}}" value="5" label="相关课程" style="{{tabPanelstyle}}">
          <view class="rubricBox">
            <view class="rubricimgBox">
              <image src="/static/images/digitalTextbooks/Link@3x.png" mode="" />
            </view>
            <view class="basic"> 相关课程</view>
          </view>
          <view class="noDataBox" wx:if="{{relatedBookData.length <= 0}}">
            <empty />
          </view>
          <view class="correlation" wx:else>
            <view style="margin-bottom: 30rpx;" wx:for="{{relatedBookData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onCorrelationBook">
              <view class="correlationImage">
                <image src="{{item.icon}}" mode="" />
                <img wx:if="{{item.icon == ''}}" src="/static/images/default-book-img.png" alt="" />
              </view>
              <view class="correlationName">{{item.name}}</view>
              <view class="correlationAuthor">{{digitalsData.author}}</view>
            </view>
          </view>
        </t-tab-panel>
      </t-tabs>
    </view>
    <view class="box-bottom">
@@ -194,7 +228,7 @@
<!-- 弹窗 -->
<view wx:if="{{dialogBox}}">
  <view class="popup-box" bindtap="closeDialog"></view>
  <view class="info-center" style="top:{{height*0.4}}px;">
  <view class="info-center">
    <view>
      <view class="row-info">
        <view class="body">
@@ -203,6 +237,12 @@
          <view class="input-box">
            <t-input class="input" borderless placeholder="请输入真实姓名" value="{{userInfo.fullName}}" bind:change="onFullNameInput"></t-input>
          </view>
          <view class="contentImg">
            <image src="{{userInfo.userPicture}}" mode="aspectFill" />
          </view>
          <view class="buttonBox">
            <t-button size="small" class="right-btn" bind:tap="uploadPicture">上传照片</t-button>
          </view>
        </view>
        <view class="row-btn">
          <view class="left-btn" bindtap="closeDialog">取消</view>