litian
2024-09-07 ce3a08b28c16f5cce2185167f8a9030ee16898ed
xiugai
19个文件已修改
242 ■■■■■ 已修改文件
packageBookService/pages/bookServices/detail/components/teachResource/index.wxml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/components/webView/index.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/document/index.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/myAudio/index.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageDomain/pages/resourceDetails/myVideo/index.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bookExhibitionDetails/index.js 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bookExhibitionDetails/index.wxml 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/bookExhibitionDetails/index.wxss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalCourses/digitalCoursesDetails/components/testTree/index.js 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalCourses/digitalCoursesDetails/components/testTree/index.wxml 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalCourses/digitalCoursesDetails/components/tree/index.js 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalCourses/digitalCoursesDetails/components/tree/index.wxml 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalCourses/digitalCoursesDetails/components/tree/index.wxss 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalCourses/digitalCoursesDetails/index.js 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalCourses/digitalCoursesDetails/index.wxml 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalCourses/digitalCoursesDetails/index.wxss 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/digitalTextbooks/digitalTextbooksDetails/index.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/specialDiscussion/webView/index.wxml 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/specialDiscussion/webView/index.wxss 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packageBookService/pages/bookServices/detail/components/teachResource/index.wxml
@@ -10,7 +10,7 @@
      <text>上传资源</text>
    </view>
  </t-button>
  <!-- <t-button theme="primary" style="width: 120px; height: 36px">
<!-- <t-button theme="primary" style="width: 120px; height: 36px">
    <t-image src="/static/images/bookService/detail/download.png"></t-image>
    批量下载
  </t-button> -->
packageBookService/pages/components/webView/index.js
@@ -51,6 +51,8 @@
          this.getProgress(options)
        }
      })
    } else {
      this.getProgress(options)
    }
  },
packageDomain/pages/resourceDetails/document/index.js
@@ -76,6 +76,8 @@
          this.resourceDetailsData()
        }
      })
    } else {
      this.resourceDetailsData()
    }
  },
packageDomain/pages/resourceDetails/myAudio/index.js
@@ -118,6 +118,9 @@
          this.getNoteList()
        }
      })
    } else {
      this.resourceDetailsData()
      this.getNoteList()
    }
  },
packageDomain/pages/resourceDetails/myVideo/index.js
@@ -99,9 +99,9 @@
          this.resourceDetailsData()
        }
      })
    } else {
      this.resourceDetailsData()
    }
  },
  /**
pages/bookExhibitionDetails/index.js
@@ -1,5 +1,8 @@
// pages/bookExhibitionDetails/index.js
const app = getApp()
import {
  loginInfo
} from '../../assets/js/login';
Page({
  /**
@@ -27,8 +30,6 @@
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    const systInfo = wx.getSystemInfoSync();
    const menu = wx.getMenuButtonBoundingClientRect(); // 胶囊信息
    const navBarHeight = (menu.top - systInfo.statusBarHeight) * 2 + menu.height; // 导航栏高度
@@ -36,20 +37,26 @@
      navBarHeight: navBarHeight,
      barHeight: systInfo.statusBarHeight,
    })
    console.log();
    this.setData({
      bookName: options.bookName,
      subtitleName: options.subtitleName,
      passId: options.id
    })
    const token = wx.getStorageSync(app.config.tokenKey)
    if (!token) {
      loginInfo(app, (data) => {
        if (data) {
          this.bookExhibitionGet(this.data.passId)
          this.getBookExhibitionDetails()
        } else {
          this.bookExhibitionGet(this.data.passId)
          this.getBookExhibitionDetails()
        }
      })
    const passId = options.id
    this.bookExhibitionGet(passId)
    }
    this.bookExhibitionGet(this.data.passId)
    this.getBookExhibitionDetails()
    wx.setNavigationBarTitle({
      title: this.data.subtitleName
    });
@@ -109,10 +116,6 @@
      loading: true,
      hidden: true,
    })
    wx.showLoading({
      title: '加载中...',
    })
    console.log(passId, 8988989);
    app.MG.store.getProductDetail({
      storeInfo: 'jsek_bookFair', //商品库
      path: '*', //路径
@@ -132,18 +135,15 @@
        bookBeginDate: res.datas.beginDate,
        bookCreator: res.datas.datas.Creator.Name,
        bookContent: res.datas.content,
        bookImage: res.datas.icon
      });
      wx.hideLoading()
      this.setData({
        bookImage: res.datas.icon,
        loading: false,
        hidden: false,
      })
      });
      console.log(this.data.loading, 123)
    })
  },
  //书展详情接口
  getBookExhibitionDetails() {
    app.MG.store.getProductList({
      path: '*',
      storeInfo: 'jsek_bookFair',
@@ -161,15 +161,9 @@
        Creator: []
      }
    }).then(res => {
      this.setData({
        bookExhibitionList: res.datas,
        totalSize: res.total
      })
      this.setData({
        loading: false,
        hidden: false,
        totalSize: res.total,
      })
    })
  },
@@ -185,10 +179,7 @@
  },
  // 触底函数
  onReachBottom() {
    console.log(this.data.bookExhibitionList.length);
    console.log(this.data.totalSize);
    if (this.data.bookExhibitionList.length < this.data.totalSize) {
      console.log(11111);
      this.setData({
        isMore: true,
        start: this.data.start + 1
@@ -202,7 +193,6 @@
        this.setData({
          isMore: false
        })
        console.log('300');
      }, 300)
    }
  },
pages/bookExhibitionDetails/index.wxml
@@ -1,9 +1,9 @@
<!--pages/bookExhibitionDetails/index.wxml-->
<import src="index.skeleton.wxml" />
<template is="skeleton" wx:if="{{loading}}" />
<template is="skeleton" wx:if="{{loading && hidden}}" />
<view hidden="{{hidden}}" class="centerBox">
<view hidden="{{!hidden && !loading}}" class="centerBox">
  <!-- <view class="tltiBox">
    <view style="width: 100%; height: {{barHeight}}px; "></view>
    <view class="nacigationBar" style="width: 100%; height: {{navBarHeight}}px;">
@@ -49,11 +49,11 @@
        <view class="booksTextBox"> <text>{{item.name}}</text></view>
        <view class="boosAuthor">{{item.author}}</view>
      </view>
      <view wx:if="{{bookExhibitionList.length > 0}}" class="bottom-box">
    </view>
    <view wx:if="{{bookExhibitionList.length > 0}}" class="bottom-box">
        <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
        <text wx:if="{{isMore == false}}">没有更多了</text>
      </view>
    </view>
  </view>
</view>
pages/bookExhibitionDetails/index.wxss
@@ -7,6 +7,7 @@
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
}
.navbar-title {
@@ -140,10 +141,15 @@
}
.outsideHeadBox {
  margin-top: 20rpx;
  margin-bottom: env(safe-area-inset-bottom);
}
.bottom-box {
  height: 100rpx;
  text-align: center;
  margin: 0 auto;
  padding: 20rpx;
  color: #949494;
}
pages/digitalCourses/digitalCoursesDetails/components/testTree/index.js
@@ -17,12 +17,21 @@
      type: Array,
      value: [],
    },
    isBuy: {
      type: Boolean,
      value: false,
    },
  },
  data: {},
  data: {
    isBuy: false,
  },
  ready() {},
  onLoad() {
    console.log(this.properties.openIds, "1111")
    this.setData({
      isBuy: this.properties.isBuy
    });
  },
  methods: {
@@ -38,6 +47,7 @@
      console.log(e, 666)
      const value = e.currentTarget.dataset.item;
      const parent = e.currentTarget.dataset.parent;
      const isTry = e.currentTarget.dataset.istry;
      const token = wx.getStorageSync("jsek-token");
      if (!token) {
        return wx.getUserProfile({
@@ -47,6 +57,12 @@
          },
        });
      }
      if (!isTry && !this.data.isBuy) {
        return wx.showToast({
          icon: 'error',
          title: '请先购买该课程',
        })
      }
      // 获取章节下是否有题目
      let idPathList = [];
      let query = {
pages/digitalCourses/digitalCoursesDetails/components/testTree/index.wxml
@@ -3,8 +3,8 @@
    <view wx:for="{{treeList}}" wx:for-item="item" wx:for-index="index" wx:key="id" wx:if="{{!item.children }}">
      <view class="listItems" wx:if="{{!item.children}}">
        <view class="itemsInfo" data-item="{{item}}" data-index="{{index}}">
          <view class="contentBox" bind:tap="goTest" data-item="{{item}}" data-parent="{{''}}">
            <view class="box-image fl-cn" style="width: 80%">
          <view class="contentBox" >
            <view class="box-image fl-cn" style="width: 80%" bind:tap="goTest" data-item="{{item}}" data-parent="{{''}}">
              <!-- 测试题 -->
              <view class="teach-icon fl-cn">
                <image src="/static/images/bookService/detail/test-icon.png" mode="" />
@@ -12,7 +12,7 @@
              <!-- 名称 -->
              <text class="name" style="width: 100%">{{item.name || '-'}}</text>
            </view>
            <view>
            <view wx:if="{{!isBuy && item.istry ? true : false}}" bind:tap="goTest" data-item="{{item}}" data-parent="{{''}}" data-isTry="{{true}}">
              <image src="/static/images/bookService/detail/lianxi-icon.png" class="testSee"></image>
            </view>
          </view>
@@ -32,8 +32,8 @@
        <!-- // 判断 无子项 且为商品item 直接显示 -->
        <view class="listItems" wx:if="{{!citem.children}}">
          <view class="itemsInfo" data-item="{{citem}}" data-index="{{cindex}}">
            <view class="contentBox" bind:tap="goTest" data-item="{{citem}}" data-parent="{{item}}">
              <view class="box-image fl-cn">
            <view class="contentBox" >
              <view class="box-image fl-cn" bind:tap="goTest" data-item="{{citem}}" data-parent="{{item}}">
                <!-- 云测试图标 -->
                <view class="teach-icon fl-cn">
                  <image src="/static/images/bookService/detail/test-icon.png" mode="" />
@@ -41,14 +41,14 @@
                <!-- 名称 -->
                <text class="name">{{citem.name || '-'}}</text>
              </view>
              <view>
              <view wx:if="{{!isBuy && citem.istry ? true : false}}" bind:tap="goTest" data-item="{{citem}}" data-parent="{{item}}" data-isTry="{{true}}">
                <image src="/static/images/bookService/detail/lianxi-icon.png" class="testSee"></image>
              </view>
            </view>
          </view>
        </view>
        <!-- // 判断 不是商品 有子项 递归组件 -->
        <tree wx:if="{{ citem.children }}" bookInfo="{{bookInfo}}" treeList="{{[citem]}}" tab="{{tab}}" openIds="{{openIds}}"></tree>
        <tree wx:if="{{ citem.children }}" bookInfo="{{bookInfo}}" treeList="{{[citem]}}" tab="{{tab}}" openIds="{{openIds}}" isBuy="{{isBuy}}"></tree>
      </view>
    </t-collapse-panel>
  </t-collapse>
pages/digitalCourses/digitalCoursesDetails/components/tree/index.js
@@ -17,6 +17,10 @@
      type: Array,
      value: [],
    },
    isBuy: {
      type: Boolean,
      value: false,
    },
  },
  data: {
    sonPurchaseSaleMethodId: "",
@@ -28,13 +32,15 @@
    shoppingCart: true,
    stop: false,
    cart: true,
    canExecute: true
    canExecute: true,
    isBuy: false,
  },
  ready() {},
  onLoad() {
    this.setData({
      sonPurchaseSaleMethodId: [],
      isBuy: this.properties.isBuy
    });
  },
  methods: {
@@ -57,17 +63,23 @@
    // 跳转音视频播放器
    goPlayer(e) {
      // 检查登录状态
      console.log(123)
      const token = wx.getStorageSync(app.config.tokenKey);
      if (token) {
        const item = e.currentTarget.dataset.item;
        const parent = e.currentTarget.dataset.parent;
        console.log('item', item);
        const isTry = e.currentTarget.dataset.istry;
        const parentProductLinkPath = parent ?
          parent.productLinkPath :
          wx.getStorageSync("teachResourcesPath");
        const parentName = parent ? parent.name : "教学资源";
        let url;
        if (!isTry && !this.data.isBuy) {
          return wx.showToast({
            icon: 'error',
            title: '请先购买该课程',
          })
        }
        if (item.selectType == 'zip') {
          if (this.properties.applyState == 'Normal') {
            return wx.showToast({
pages/digitalCourses/digitalCoursesDetails/components/tree/index.wxml
@@ -2,10 +2,10 @@
  <t-collapse default-value="{{openIds}}" catchchange="handleChange">
    <view wx:for="{{treeList}}" wx:for-item="item" wx:for-index="index" wx:key="id" wx:if="{{item.sysType== 'CmsItem' }}">
      <view class="listItems" wx:if="{{item.childrenFolderCount <= 0 && item.sysType == 'CmsItem'}}">
        <view class="itemsInfo" data-item="{{item}}" data-index="{{index}}">
          <view class="contentBox" bind:tap="goPlayer" data-item="{{item}}" data-parent="{{''}}">
        <view class="itemsInfo">
          <view class="contentBox" >
            <!-- 云学习 图标 -->
            <view class="box-image fl-cn" style="width: 80%">
            <view class="box-image fl-cn" style="width: 80%" bind:tap="goPlayer" data-item="{{item}}" data-parent="{{''}}">
              <view class="teach-icon fl-cn">
                <image wx:if="{{item.selectType == 'audio' || item.learnSelectType == 'audio'}}" src="/static/images/bookService/detail/audioIcon.png" mode="aspectFill" />
                <image wx:elif="{{item.selectType == 'video' || item.learnSelectType == 'video'}}" src="/static/images/bookService/detail/video.png" mode="aspectFill" />
@@ -16,9 +16,9 @@
              <text class="name" style="width: 100%">{{item.name || '-'}}</text>
              <text>{{item.progress ? item.progress : 0}}%</text>
            </view>
            <view>
            <view class="seeBox"  wx:if="{{!isBuy && citem.freeFile ? true : false}}" bind:tap="goPlayer" data-item="{{citem}}" data-parent="" data-isTry="{{true}}">
              <!-- 云学习试看图标 -->
              <image src="/static/images/bookService/detail/shikan.png" class="testSee" wx:if="{{!item.isbuy ? false : item.freeFile ? true : false}}"></image>
              <image src="/static/images/bookService/detail/shikan.png" class="testSee" wx:if="{{!isBuy && item.freeFile ? true : false}}"></image>
            </view>
          </view>
        </view>
@@ -36,10 +36,10 @@
      <view class="list" wx:for="{{item.children}}" wx:for-item="citem" wx:for-index="cindex" wx:key="cindex">
        <!-- // 判断 无子项 且为商品item 直接显示 -->
        <view class="listItems" wx:if="{{citem.childrenFolderCount <= 0 && citem.sysType == 'CmsItem'}}">
          <view class="itemsInfo" data-item="{{citem}}" data-index="{{cindex}}">
            <view class="contentBox" bind:tap="goPlayer" data-item="{{citem}}" data-parent="{{item}}">
          <view class="itemsInfo">
            <view class="contentBox" >
              <!-- 云学习 图标 -->
              <view class="box-image fl-cn">
              <view class="box-image fl-cn" bind:tap="goPlayer" data-item="{{citem}}" data-parent="{{item}}">
                <view class="teach-icon fl-cn">
                  <image wx:if="{{citem.selectType == 'audio' || citem.learnSelectType == 'audio'}}" src="/static/images/bookService/detail/audioIcon.png" mode="aspectFill" />
                  <image wx:elif="{{citem.selectType == 'video' || citem.learnSelectType == 'video'}}" src="/static/images/bookService/detail/video.png" mode="aspectFill" />
@@ -47,18 +47,18 @@
                  <image wx:else src="/static/images/bookService/detail/word.png" mode="" />
                </view>
                <!-- 名称 -->
                <text class="name" style="width:440rpx">{{citem.name || '-'}}</text>
                <text class="name" style="width:410rpx">{{citem.name || '-'}}</text>
                <text>{{citem.progress ? citem.progress : 0}}%</text>
              </view>
              <view>
              <view class="seeBox" wx:if="{{!isBuy && citem.freeFile ? true : false}}" bind:tap="goPlayer" data-item="{{citem}}" data-parent="{{item}}" data-isTry="{{true}}">
                <!-- 云学习试看图标 -->
                <image src="/static/images/bookService/detail/shikan.png" class="testSee" wx:if="{{!citem.isbuy ? false : citem.freeFile ? true : false}}"></image>
                <image src="/static/images/bookService/detail/shikan.png" class="testSee" ></image>
              </view>
            </view>
          </view>
        </view>
        <!-- // 判断 不是商品 有子项 递归组件 -->
        <tree wx:if="{{ citem.sysType == 'CmsFolder' }}" isShowCheck="{{isShowCheck}}" bookInfo="{{bookInfo}}" treeList="{{[citem]}}" learnList="{{learnList}}" itemId="{{itemId}}" openIds="{{openIds}}"></tree>
        <tree wx:if="{{ citem.sysType == 'CmsFolder' }}" bookInfo="{{bookInfo}}" treeList="{{[citem]}}" learnList="{{learnList}}" itemId="{{itemId}}" openIds="{{openIds}}" isBuy="{{isBuy}}"></tree>
      </view>
      <!-- 暂无数据 -->
      <view wx:if="{{!item.children || !item.children.length}}" class="noData">
pages/digitalCourses/digitalCoursesDetails/components/tree/index.wxss
@@ -42,7 +42,7 @@
}
.contentBox {
  margin: 0 26rpx;
  margin: 0;
  padding: 0 20rpx;
  height: 88rpx;
  background-color: #fff6f0;
@@ -91,7 +91,7 @@
  height: 38rpx;
}
.testSee,
.shopCar {
  margin-right: 20rpx;
}
@@ -109,6 +109,7 @@
  padding: var(--td-collapse-content-padding, 0rpx) !important;
} */
.seeBox,
.fl-cn {
  display: flex;
  align-items: center;
pages/digitalCourses/digitalCoursesDetails/index.js
@@ -94,6 +94,7 @@
      fullName: '', //名称
      userPicture: '' //申请证书用户图片
    },
    userName: '',
    pictureMd5: '',
    publishingUnit: '',
    pubCertificateHide: true,
@@ -154,17 +155,25 @@
   */
  onLoad(options) {
    this.setData({
      bookId: options.id
      bookId: options.id,
      userName: wx.getStorageSync(app.config.tokenKey)
    })
    const token = wx.getStorageSync(app.config.tokenKey)
    if (!token) {
      loginInfo(app, (data) => {
        if (data) {} else {}
        if (data) {
          this.digitalCoursesDetailsGet(options.id)
          this.getPlayerList()
          this.getType()
        } else {}
      })
    }
    this.digitalCoursesDetailsGet(options.id)
    this.getPlayerList()
    this.getType()
    this.setData({
      userName: JSON.parse(wx.getStorageSync(app.config.userInfoKey)).name
    })
  },
  /**
@@ -512,6 +521,7 @@
      i.children = []
      this.getTreeList(rootList, pathLength + addNum, i.children, i.productLinkPath, addNum)
      if (i.children.length == 0) {
        newArr[0].istry = true
        delete i.children
      }
    }
pages/digitalCourses/digitalCoursesDetails/index.wxml
@@ -214,9 +214,9 @@
              <view class="codeBox"></view>
            </view>
          </view>
          <canvas canvas-id="myCanvas1" style="height:845px;width:595px" wx:if="{{pubCertificateHide}}"></canvas>
          <view id="textCertificate" class="my_canvas" wx:if="{{pubCertificateHide}}">
            <image data-type="image" data-url="https://jsek.bnuic.com/home/certificate/kczs.jpg" src="https://jsek.bnuic.com/home/certificate/kczs.jpg" mode="" class="bgImg" />
          <canvas canvas-id="myCanvas1" style="height:845px;width:595px" ></canvas>
          <view id="textCertificate" class="my_canvas" >
            <!-- <image data-type="image" data-url="https://jsek.bnuic.com/home/certificate/kczs.jpg" src="https://jsek.bnuic.com/home/certificate/kczs.jpg" mode="" class="bgImg" /> -->
            <view class="certificateInfo my_draw_canvas">
              <view class="userIcon my_draw_canvas">
                <view class="hexagon">
@@ -228,7 +228,6 @@
              <view class="author my_draw_canvas" data-type="text" data-text="{{digitalsData.courseLeader}}">{{digitalsData.courseLeader || '-' }}</view>
              <view class="classHours my_draw_canvas" data-type="text" data-text="{{digitalsData.classHours}}">{{digitalsData.classHours || '-' }}</view>
              <view class="affiliatedUnit my_draw_canvas" data-type="text" data-text="{{publishingUnit}}">{{publishingUnit || '-'}}</view>
              <view class="affiliatedUnit my_draw_canvas" data-type="text" data-text="{{digitalsData.isbn}}"> {{ digitalsData.isbn || '-'}}</view>
              <view class="studyTime my_draw_canvas" data-type="text" data-text="{{digitalsData.classHours}}">{{digitalsData.classHours}}</view>
              <view class="website my_draw_canvas" data-type="text" data-text="{{website}}">{{website}}</view>
              <view class="codeBox"></view>
@@ -278,12 +277,7 @@
                  </view>
                </view>
                <view wx:if="{{learnList.length > 0}}">
                  <tree
                    id="test-tree"
                    openIds="{{openTeachids}}"
                    bookInfo="{{digitalsData}}"
                    treeList="{{learnList}}"
                  >
                  <tree id="test-tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" treeList="{{learnList}}" isBuy="{{isBuy}}">
                  </tree>
                </view>
                <view wx:if="{{learnList.length == 0}}" class="noData">
@@ -324,13 +318,7 @@
                    </t-button>
                  </view>
                </view>
                <testTree
                  id="tree"
                  openIds="{{openTeachids}}"
                  bookInfo="{{digitalsData}}"
                  tab="{{tab}}"
                  treeList="{{testList}}"
                ></testTree>
                <testTree id="tree" openIds="{{openTeachids}}" bookInfo="{{digitalsData}}" tab="{{tab}}" treeList="{{testList}}" isBuy="{{isBuy}}"></testTree>
                <view wx:if="{{testList.length == 0}}" class="noData">
                  <empty />
                </view>
pages/digitalCourses/digitalCoursesDetails/index.wxss
@@ -425,11 +425,12 @@
  text-align: center;
}
#pubCertificate {
  width: 595px;
  height: 845px;
  position: relative;
  /* background-image: url('https://jsek.bnuic.com/home/certificate/szkc.jpg'); */
  background-image: url('https://jsek.bnuic.com/home/certificate/szkc.jpg');
}
#pubCertificate .bgImg {
@@ -485,6 +486,7 @@
  width: 595px;
  height: 845px;
  position: relative;
  background-image: url('https://jsek.bnuic.com/home/certificate/kczs.jpg');
}
#textCertificate .userIcon {
@@ -510,8 +512,8 @@
}
#textCertificate .userName {
  height: 120rpx;
  font-size: 38px;
  height: 74rpx;
  font-size: 70rpx;
  padding-top: 26px;
  text-align: center;
  font-family: 'FZXBSJW';
@@ -519,7 +521,7 @@
#textCertificate .bookName {
  padding-top: 30px;
  margin-left: 215px;
  margin-left: 460rpx;
  font-size: 20px;
  color: #000;
@@ -527,35 +529,35 @@
}
#textCertificate .author {
  margin-top: 43px;
  margin-top: 84rpx;
  margin-left: 52%;
  color: #000;
  font-family: 'SimHei', sans-serif;
}
#textCertificate .classHours {
  margin-top: 12px;
  margin-top: 20rpx;
  margin-left: 52%;
  color: #000;
  font-family: 'SimHei', sans-serif;
}
#textCertificate .affiliatedUnit {
  margin-top: 13px;
  margin-top: 24rpx;
  margin-left: 40%;
  color: #000;
  font-family: 'SimHei', sans-serif;
}
#textCertificate .studyTime {
  margin-top: 13px;
  margin-top: 24rpx;
  margin-left: 33%;
  color: #000;
  font-family: 'SimHei', sans-serif;
}
#textCertificate .website {
  margin-top: 22px;
  margin-top: 40rpx;
  margin-left: 27%;
  color: #000;
  font-family: 'SimHei', sans-serif;
pages/digitalTextbooks/digitalTextbooksDetails/index.js
@@ -92,7 +92,13 @@
    const token = wx.getStorageSync(app.config.tokenKey)
    if (!token) {
      loginInfo(app, (data) => {
        if (data) {} else {}
        if (data) {
          this.digitalTextbooksDetailsGet(this.data.digitalTextId)
          this.getType()
          this.getCertificateList()
        } else {
        }
      })
    }
    this.digitalTextbooksDetailsGet(this.data.digitalTextId)
pages/specialDiscussion/webView/index.wxml
@@ -1 +1,4 @@
<web-view src="{{link}}"></web-view>
<!-- <web-view src="{{link}}"></web-view> -->
<view class="tips">请复制链接在浏览器访问</view>
<view class="url">{{link}}</view>
pages/specialDiscussion/webView/index.wxss
@@ -1 +1,14 @@
/* pages/specialDiscussion/webView/index.wxss */
/* pages/specialDiscussion/webView/index.wxss */
.tips {
  font-size: 40rpx;
  font-weight: bold;
  margin: 60rpx 40rpx;
  text-align: center;
}
.url {
  margin: 40rpx;
  font-weight: bold;
  text-align: center;
  word-wrap: break-word;
}