| | |
| | | <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> --> |
| | |
| | | this.getProgress(options) |
| | | } |
| | | }) |
| | | } else { |
| | | this.getProgress(options) |
| | | } |
| | | }, |
| | | |
| | |
| | | this.resourceDetailsData() |
| | | } |
| | | }) |
| | | } else { |
| | | this.resourceDetailsData() |
| | | } |
| | | |
| | | }, |
| | |
| | | this.getNoteList() |
| | | } |
| | | }) |
| | | } else { |
| | | this.resourceDetailsData() |
| | | this.getNoteList() |
| | | } |
| | | }, |
| | | |
| | |
| | | this.resourceDetailsData() |
| | | } |
| | | }) |
| | | } else { |
| | | this.resourceDetailsData() |
| | | } |
| | | |
| | | |
| | | }, |
| | | |
| | | /** |
| | |
| | | // pages/bookExhibitionDetails/index.js |
| | | const app = getApp() |
| | | import { |
| | | loginInfo |
| | | } from '../../assets/js/login'; |
| | | Page({ |
| | | |
| | | /** |
| | |
| | | * 生命周期函数--监听页面加载 |
| | | */ |
| | | onLoad(options) { |
| | | |
| | | |
| | | const systInfo = wx.getSystemInfoSync(); |
| | | const menu = wx.getMenuButtonBoundingClientRect(); // 胶囊信息 |
| | | const navBarHeight = (menu.top - systInfo.statusBarHeight) * 2 + menu.height; // 导航栏高度 |
| | |
| | | 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 |
| | | }); |
| | |
| | | loading: true, |
| | | hidden: true, |
| | | }) |
| | | wx.showLoading({ |
| | | title: '加载中...', |
| | | }) |
| | | console.log(passId, 8988989); |
| | | app.MG.store.getProductDetail({ |
| | | storeInfo: 'jsek_bookFair', //商品库 |
| | | path: '*', //路径 |
| | |
| | | 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', |
| | |
| | | Creator: [] |
| | | } |
| | | }).then(res => { |
| | | |
| | | this.setData({ |
| | | bookExhibitionList: res.datas, |
| | | totalSize: res.total |
| | | }) |
| | | |
| | | this.setData({ |
| | | loading: false, |
| | | hidden: false, |
| | | totalSize: res.total, |
| | | }) |
| | | }) |
| | | }, |
| | |
| | | }, |
| | | // 触底函数 |
| | | 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 |
| | |
| | | this.setData({ |
| | | isMore: false |
| | | }) |
| | | console.log('300'); |
| | | }, 300) |
| | | } |
| | | }, |
| | |
| | | <!--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;"> |
| | |
| | | <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> |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | width: 100%; |
| | | height: 100vh; |
| | | } |
| | | |
| | | .navbar-title { |
| | |
| | | } |
| | | |
| | | .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; |
| | | } |
| | |
| | | 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: { |
| | |
| | | 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({ |
| | |
| | | }, |
| | | }); |
| | | } |
| | | if (!isTry && !this.data.isBuy) { |
| | | return wx.showToast({ |
| | | icon: 'error', |
| | | title: '请先购买该课程', |
| | | }) |
| | | } |
| | | // 获取章节下是否有题目 |
| | | let idPathList = []; |
| | | let query = { |
| | |
| | | <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="" /> |
| | |
| | | <!-- 名称 --> |
| | | <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> |
| | |
| | | <!-- // 判断 无子项 且为商品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="" /> |
| | |
| | | <!-- 名称 --> |
| | | <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> |
| | |
| | | type: Array, |
| | | value: [], |
| | | }, |
| | | isBuy: { |
| | | type: Boolean, |
| | | value: false, |
| | | }, |
| | | }, |
| | | data: { |
| | | sonPurchaseSaleMethodId: "", |
| | |
| | | shoppingCart: true, |
| | | stop: false, |
| | | cart: true, |
| | | canExecute: true |
| | | canExecute: true, |
| | | isBuy: false, |
| | | }, |
| | | ready() {}, |
| | | |
| | | onLoad() { |
| | | this.setData({ |
| | | sonPurchaseSaleMethodId: [], |
| | | isBuy: this.properties.isBuy |
| | | }); |
| | | }, |
| | | methods: { |
| | |
| | | // 跳转音视频播放器 |
| | | 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({ |
| | |
| | | <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" /> |
| | |
| | | <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> |
| | |
| | | <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" /> |
| | |
| | | <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"> |
| | |
| | | } |
| | | |
| | | .contentBox { |
| | | margin: 0 26rpx; |
| | | margin: 0; |
| | | padding: 0 20rpx; |
| | | height: 88rpx; |
| | | background-color: #fff6f0; |
| | |
| | | height: 38rpx; |
| | | } |
| | | |
| | | .testSee, |
| | | |
| | | .shopCar { |
| | | margin-right: 20rpx; |
| | | } |
| | |
| | | padding: var(--td-collapse-content-padding, 0rpx) !important; |
| | | } */ |
| | | |
| | | .seeBox, |
| | | .fl-cn { |
| | | display: flex; |
| | | align-items: center; |
| | |
| | | fullName: '', //名称 |
| | | userPicture: '' //申请证书用户图片 |
| | | }, |
| | | userName: '', |
| | | pictureMd5: '', |
| | | publishingUnit: '', |
| | | pubCertificateHide: true, |
| | |
| | | */ |
| | | 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 |
| | | }) |
| | | }, |
| | | |
| | | /** |
| | |
| | | i.children = [] |
| | | this.getTreeList(rootList, pathLength + addNum, i.children, i.productLinkPath, addNum) |
| | | if (i.children.length == 0) { |
| | | newArr[0].istry = true |
| | | delete i.children |
| | | } |
| | | } |
| | |
| | | <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"> |
| | |
| | | <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> |
| | |
| | | </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"> |
| | |
| | | </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> |
| | |
| | | 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 { |
| | |
| | | width: 595px; |
| | | height: 845px; |
| | | position: relative; |
| | | background-image: url('https://jsek.bnuic.com/home/certificate/kczs.jpg'); |
| | | } |
| | | |
| | | #textCertificate .userIcon { |
| | |
| | | } |
| | | |
| | | #textCertificate .userName { |
| | | height: 120rpx; |
| | | font-size: 38px; |
| | | height: 74rpx; |
| | | font-size: 70rpx; |
| | | padding-top: 26px; |
| | | text-align: center; |
| | | font-family: 'FZXBSJW'; |
| | |
| | | |
| | | #textCertificate .bookName { |
| | | padding-top: 30px; |
| | | margin-left: 215px; |
| | | margin-left: 460rpx; |
| | | |
| | | font-size: 20px; |
| | | color: #000; |
| | |
| | | } |
| | | |
| | | #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; |
| | |
| | | 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) |
| | |
| | | <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 */ |
| | | /* 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; |
| | | } |