From adf9817cb21781eceb6de6a40a58e38893d7e9b9 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 6 Jun 2024 17:30:05 +0800 Subject: [PATCH] =?UTF-8?q?bug=E5=9C=B0=E5=9D=80=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 112 +++++++++++++++---------------- src/views/index.vue | 2 +- src/views/module/bookDetails.vue | 4 +- 3 files changed, 59 insertions(+), 59 deletions(-) diff --git a/package.json b/package.json index 71d53b4..1965584 100644 --- a/package.json +++ b/package.json @@ -1,56 +1,56 @@ -{ - "name": "intelligence-bookshelf", - "version": "1.0.0", - "description": "智慧书架", - "scripts": { - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", - "lint": "vue-cli-service lint" - }, - "dependencies": { - "@babel/core": "^7.19.0", - "@babel/preset-env": "^7.19.0", - "@jiaminghi/data-view": "^2.7.3", - "@types/echarts": "^4.4.3", - "axios": "^0.27.2", - "core-js": "^3.6.4", - "echarts": "^4.6.0", - "element-ui": "^2.15.9", - "swiper": "^8.4.2", - "vue": "^2.6.11", - "vue-awesome": "^4.0.2", - "vue-router": "^3.1.5", - "vuex": "^3.1.2" - }, - "devDependencies": { - "@vue/cli-plugin-babel": "^4.2.0", - "@vue/cli-plugin-eslint": "^4.2.0", - "@vue/cli-service": "^4.2.0", - "babel-eslint": "^10.0.3", - "babel-plugin-transform-remove-console": "^6.9.4", - "eslint": "^6.7.2", - "eslint-plugin-vue": "^6.1.2", - "sass": "^1.25.0", - "sass-loader": "^8.0.2", - "vue-awesome-swiper": "^3.1.3", - "vue-template-compiler": "^2.6.11" - }, - "eslintConfig": { - "root": true, - "env": { - "node": true - }, - "extends": [ - "plugin:vue/essential", - "eslint:recommended" - ], - "parserOptions": { - "parser": "babel-eslint" - }, - "rules": {} - }, - "browserslist": [ - "> 1%", - "last 2 versions" - ] -} +{ + "name": "intelligence-bookshelf", + "version": "1.0.0", + "description": "智慧书架", + "scripts": { + "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", + "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", + "lint": "vue-cli-service lint" + }, + "dependencies": { + "@babel/core": "^7.19.0", + "@babel/preset-env": "^7.19.0", + "@jiaminghi/data-view": "^2.7.3", + "@types/echarts": "^4.4.3", + "axios": "^0.27.2", + "core-js": "^3.6.4", + "echarts": "^4.6.0", + "element-ui": "^2.15.9", + "swiper": "^8.4.2", + "vue": "^2.6.11", + "vue-awesome": "^4.0.2", + "vue-router": "^3.1.5", + "vuex": "^3.1.2" + }, + "devDependencies": { + "@vue/cli-plugin-babel": "^4.2.0", + "@vue/cli-plugin-eslint": "^4.2.0", + "@vue/cli-service": "^4.2.0", + "babel-eslint": "^10.0.3", + "babel-plugin-transform-remove-console": "^6.9.4", + "eslint": "^6.7.2", + "eslint-plugin-vue": "^6.1.2", + "sass": "^1.25.0", + "sass-loader": "^8.0.2", + "vue-awesome-swiper": "^3.1.3", + "vue-template-compiler": "^2.6.11" + }, + "eslintConfig": { + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/essential", + "eslint:recommended" + ], + "parserOptions": { + "parser": "babel-eslint" + }, + "rules": {} + }, + "browserslist": [ + "> 1%", + "last 2 versions" + ] +} diff --git a/src/views/index.vue b/src/views/index.vue index b20a95e..eacf43b 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -94,7 +94,7 @@ export default { }, methods: { toSearch() { - window.location.href = 'http://219.140.69.151/opac' + window.location.href = 'https://opac.whlib.org.cn/opac' }, toPath(path) { if (path === '/CurrentRackBook') { diff --git a/src/views/module/bookDetails.vue b/src/views/module/bookDetails.vue index 40fd3de..30d8435 100644 --- a/src/views/module/bookDetails.vue +++ b/src/views/module/bookDetails.vue @@ -85,8 +85,8 @@ export default { display: inline-block; font-family: "ZhenyanGB"; font-size: 40px; - width: 494px; - height: 76px; + width: 26%; + height: calc(100%/3); line-height: 76px; background: url("~@/assets/images/list/list-title.png") no-repeat 0 0; }