diff --git a/.env.production b/.env.production
index 1d3db93..13955a4 100644
--- a/.env.production
+++ b/.env.production
@@ -3,7 +3,6 @@ ENV = 'production'
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
# VUE_APP_BASE_API = 'https://openapitest.aiyxlib.com'
-VUE_APP_BASE_API = 'http://192.168.99.107:7070'
+VUE_APP_BASE_API = 'http://120.76.47.59:8080'
# 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_WS_API = 'ws://192.168.99.107:7071'
-VUE_APP_CAMERA_API = '192.168.99.107'
diff --git a/src/router/index.js b/src/router/index.js
index a1233b7..e48eb6d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -4,14 +4,6 @@ import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
- {
- path: '/',
- name: 'index',
- component: () => import('../views/index.vue'),
- meta: {
- title: '自助查询机'
- }
- },
{
path: '/NewBookRecommend',
name: 'NewBookRecommend',
diff --git a/src/views/data.json b/src/views/data.json
deleted file mode 100644
index 54398c8..0000000
--- a/src/views/data.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "ranking":[
- {
- "img":"https://qiniu.aiyxlib.com/bg.png",
- "title": "大个子狗与小个子猫",
- "author": "高小定",
- "ranking": 1
- },
- {
- "img":"https://qiniu.aiyxlib.com/bg.png",
- "title": "森林大探险",
- "author": "卷毛老师",
- "ranking": 2
- },
- {
- "img":"https://qiniu.aiyxlib.com/bg.png",
- "title": "家有喵星人",
- "author": "查尔斯",
- "ranking": 3
- },
- {
- "img":"https://qiniu.aiyxlib.com/bg.png",
- "title": "奇妙的冒险",
- "author": "李小飞",
- "ranking": 4
- },
- {
- "img":"https://qiniu.aiyxlib.com/bg.png",
- "title": "豆豆龙成长记",
- "author": "卷毛老师",
- "ranking": 5
- },
- {
- "img":"https://qiniu.aiyxlib.com/bg.png",
- "title": "奇妙的冒险",
- "author": "李小飞",
- "ranking": 6
- },
- {
- "img":"https://qiniu.aiyxlib.com/bg.png",
- "title": "豆豆龙成长记",
- "author": "卷毛老师",
- "ranking": 7
- }
- ],
- "readstar":[
- {
- "des": "读者张山上周借阅图书30册",
- "date": "2022-09-06",
- "ranking": 1
- },
- {
- "des": "读者张山上周借阅图书30册",
- "date": "2022-09-06",
- "ranking": 2
- },
- {
- "des": "读者张山上周借阅图书30册",
- "date": "2022-09-06",
- "ranking": 3
- },
- {
- "des": "读者张山上周借阅图书30册",
- "date": "2022-09-06",
- "ranking": 4
- },
- {
- "des": "读者张山上周借阅图书30册",
- "date": "2022-09-06",
- "ranking": 5
- }
- ,
- {
- "des": "读者张山上周借阅图书30册",
- "date": "2022-09-06",
- "ranking": 6
- },
- {
- "des": "读者张山上周借阅图书30册",
- "date": "2022-09-06",
- "ranking": 7
- }
- ,
- {
- "des": "读者张山上周借阅图书30册",
- "date": "2022-09-06",
- "ranking": 8
- }
- ]
-}
\ No newline at end of file
diff --git a/src/views/digitalResource.vue b/src/views/digitalResource.vue
index 5456fea..a4259d9 100644
--- a/src/views/digitalResource.vue
+++ b/src/views/digitalResource.vue
@@ -64,15 +64,6 @@ export default {
},
jump(url) {
window.location.href = url
- },
- arrayBufferToBase64(buffer) {
- var binary = ''
- var bytes = new Uint8Array(buffer)
- var len = bytes.byteLength
- for (var i = 0; i < len; i++) {
- binary += String.fromCharCode(bytes[i])
- }
- return window.btoa(binary)
}
}
}
diff --git a/src/views/index.vue b/src/views/index.vue
deleted file mode 100644
index 18b85ec..0000000
--- a/src/views/index.vue
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-