闫增涛
2024-10-24 a8083ebc19742ae8b178642219e1d9b1d0579a83
新书部署
4个文件已修改
27 ■■■■■ 已修改文件
src/assets/js/config.ts 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/child.ts 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/readerPages/home.vue 10 ●●●● 补丁 | 查看 | 原始文档 | 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,18 @@
    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开头的为子应用
  },
  botany:{
    name: 'app-content',
    entry: '//182.92.203.7:3007/books/book/botany',
    container: '#container',
    activeRule: '/home' //匹配所有以/subPath开头的为子应用
  }
}
src/views/readerPages/home.vue
@@ -61,11 +61,10 @@
  height: 100%;
}
.custom-dialog {
.el-dialog {
  padding: 0;
}
.el-dialog__header {
  background-color: rgba(0, 0, 0, 0.8);
@@ -96,12 +95,7 @@
    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'