litian
2024-11-05 18d886c2f23dc5c032ebcf42bbb39c739d908a4f
Merge branch 'master' of http://182.92.203.7:2001/r/TextbookReader
5个文件已修改
83 ■■■■■ 已修改文件
src/assets/js/config.ts 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/child.ts 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/examination/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/readerPages/home.vue 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/readerPages/webHome.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/js/config.ts
@@ -1,12 +1,14 @@
// 测试
export const requestCtx = "https://jsek.bnuic.com"; //jsek
export const appId = 3;
// export const requestCtx = "http://182.92.203.7:3007"; //jsek
// export const appId = 27
export const requestTimeOut = 300000; // 请求超时时间
export const tokenKey = "token";
export const userInfoKey = "website-front-userInfo"; // 用户信息key 
export const appRefCode = "jingshieke";
export const goodsStore = `defaultGoodsStore${appId}`; // 默认商品库(书城)
export const digitalTextbooks = "jsek_digitalTextbooks";//数字教材
export const loginCtx = "http://jsysf.bnuic.com/home/#/digitalTextbooks?login=true"; //登录链接
// export const loginCtx = ""; //登录链接
src/child.ts
@@ -58,6 +58,24 @@
    entry: '//jsek.bnuic.com/books/book/artAndDrama',
    container: '#container',
    activeRule: '/home' //匹配所有以/subPath开头的为子应用
  },
  civilAviation:{
    name: 'app-content',
    entry: '//jsek.bnuic.com/books/book/civilAviation',
    container: '#container',
    activeRule: '/home' //匹配所有以/subPath开头的为子应用
  },
  civilAviationServices:{
    name: 'app-content',
    entry: '//jsek.bnuic.com/books/book/civilAviationServices',
    container: '#container',
    activeRule: '/home' //匹配所有以/subPath开头的为子应用
  },
  botany:{
    name: 'app-content',
    entry: '//182.92.203.7:3007/books/book/botany',
    container: '#container',
    activeRule: '/home' //匹配所有以/subPath开头的为子应用
  }
}
src/views/examination/index.vue
@@ -210,7 +210,7 @@
      examination.loading = true
      examination.submitStatus = false
      examination.cardList = []
      examination.collectList = []
      // examination.collectList = []
      examination.errorList = []
      goTop()
      if (props.type == 'option') {
src/views/readerPages/home.vue
@@ -63,47 +63,41 @@
  height: 100%;
}
.el-dialog {
.custom-dialog {
  .el-dialog {
  padding: 0;
}
  .el-dialog__header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0;
    padding: 10px 0;
.el-dialog__header {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 0;
  padding: 10px 0;
    .header_title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #fff;
      font-weight: 900;
      font-size: 16px;
      font-family: 'FZLTXIHJW';
      padding: 5px 20px;
      box-sizing: border-box;
  .header_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    font-family: 'FZLTXIHJW';
    padding: 5px 20px;
    box-sizing: border-box;
      span:nth-child(2):hover {
        cursor: pointer;
      }
    }
    span:nth-child(2):hover {
      cursor: pointer;
    .el-dialog__title,
    .el-dialog__headerbtn .el-dialog__close {
      color: #fff;
      font-weight: 900;
      font-size: 16px;
      font-family: 'FZLTXIHJW';
    }
  }
  .el-dialog__title,
  .el-dialog__headerbtn .el-dialog__close {
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    font-family: 'FZLTXIHJW';
  }
}
.pdfModal {
src/views/readerPages/webHome.vue
@@ -1291,6 +1291,7 @@
  </el-dialog>
</template>
<script setup lang="ts">
import examination from '@/views/examination/index.vue'
import { ref, reactive, watch, onMounted, onBeforeMount, onBeforeUnmount, inject } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import { ElMessage, ElMessageBox, valueEquals } from 'element-plus'