| | |
| | | export const digitalTextbooks = "jsek_digitalTextbooks"; //数字教材 |
| | | export const seminar = "jsek_seminar"; //专题研讨 |
| | | export const digitalRead = "jsek_digitalReading"; //数字阅读 |
| | | export const textReaderUrl = "http://182.92.203.7:3007/testBookReader/#/home"; //数字教材阅读器 |
| | | export const textReaderUrl = "https://jsek.bnuic.com/testBookReader/#/home"; //数字教材阅读器 |
| | | // export const seminar ="jsek_seminar";//书展 |
| | | |
| | | export const reg_tel = |
| | |
| | | digitalsData: {}, |
| | | isFavourite: true, |
| | | richStyle: 'font-size: 28rpx;color: #333; line-height: 48rpx;text-align: justify;margin: 20rpx; ', |
| | | briefIconClick: { |
| | | name: "/static/images/bookService/detail/tushujianjie-g.png", |
| | | }, |
| | | tabValue: "brief", |
| | | relatedBookData: [], |
| | | publicationDate: '', |
| | | isBuy: false, |
| | | loading: true, |
| | | briefIcon: { |
| | | name: "/static/images/digitalTextbooks/jibenxinxi-t@2x.png", |
| | | }, |
| | | briefIconClick: { |
| | | name: "/static/images/digitalTextbooks/jibenxinxi @2x.png", |
| | | }, |
| | | eBookIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie-t@2x.png", |
| | | }, |
| | | eBookClickIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie@2x.png", |
| | | }, |
| | | teachResourcesIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie-t@2x.png", |
| | | }, |
| | | teachResourcesClickIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie@2x.png", |
| | | }, |
| | | learnResourceIcon: { |
| | | name: "/static/images/digitalTextbooks/shengshu-t@2x.png", |
| | | }, |
| | | learnResourceClickIcon: { |
| | | name: "/static/images/digitalTextbooks/zhengshu@2x.png", |
| | | }, |
| | | testResourceIocn: { |
| | | name: "/static/images/digitalTextbooks/link-t@2x.png", |
| | | }, |
| | | testResourceClickIocn: { |
| | | name: "/static/images/digitalTextbooks/Link@2x.png", |
| | | } |
| | | |
| | | }, |
| | | |
| | | /** |
| | |
| | | } |
| | | }, |
| | | onTabsChange(event) { |
| | | console.log(`Change tab, tab-panel value is ${event.detail.value}.`); |
| | | |
| | | this.setData({ |
| | | tabValue: event.detail.value, |
| | | }) |
| | | |
| | | |
| | | console.log(this.data.tabValue); |
| | | }, |
| | | |
| | | onTabsClick(event) { |
| | | console.log(`Click tab, tab-panel value is ${event.detail.value}.`); |
| | | // console.log(`Click tab, tab-panel value is ${event.detail.value}.`); |
| | | }, |
| | | |
| | | // 获取相关教材 |
| | |
| | | </view> |
| | | |
| | | <view style="margin-top: 20rpx;"> |
| | | <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel"> |
| | | <t-tab-panel icon="{{ briefIconClick}}" label="基本信息" value="0" style="{{tabPanelstyle}}"> |
| | | <t-tabs defaultValue="{{tabValue}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs" t-class-content="custom-panel"> |
| | | <t-tab-panel icon="{{ tabValue == 'brief' ? briefIconClick : briefIcon}}" value="brief" label="基本信息" style="{{tabPanelstyle}}"> |
| | | <view class="rubricBox"> |
| | | <view class="rubricimgBox"> |
| | | <image src="/static/images/bookService/detail/label.png" mode="" /> |
| | |
| | | </view> |
| | | |
| | | </t-tab-panel> |
| | | <t-tab-panel icon="{{ briefIconClick}}" label="作者信息" value="1" style="{{tabPanelstyle}}"> |
| | | <t-tab-panel icon="{{tabValue == 'jsek_teachingResources' ? teachResourcesClickIcon : teachResourcesIcon}}" value="jsek_teachingResources" label="作者信息" style="{{tabPanelstyle}}"> |
| | | <view class="rubricBox"> |
| | | <view class="rubricimgBox"> |
| | | <image src="/static/images/bookService/detail/author.png" mode="" /> |
| | |
| | | |
| | | |
| | | </t-tab-panel> |
| | | <t-tab-panel icon="{{ briefIconClick}}" label="目录" value="2" style="{{tabPanelstyle}}"> |
| | | <t-tab-panel icon="{{tabValue == 'jsek_cloudLearning' ? learnResourceClickIcon : learnResourceIcon}}" value="jsek_cloudLearning" label="目录" style="{{tabPanelstyle}}"> |
| | | |
| | | <view class="rubricBox"> |
| | | <view class="rubricimgBox"> |
| | |
| | | |
| | | |
| | | </t-tab-panel> |
| | | <t-tab-panel icon="{{ briefIconClick}}" label="相关教材" value="3" style="{{tabPanelstyle}}"> |
| | | <t-tab-panel icon="{{tabValue == 'questionBank' ? testResourceClickIocn : testResourceIocn}}" value="questionBank" label="相关教材" style="{{tabPanelstyle}}"> |
| | | |
| | | |
| | | <view class="correlation"> |