Skip to content

Commit

Permalink
Merge pull request #1 from wuyu8512/master
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
JustaNewbee committed Dec 19, 2020
2 parents ced7955 + a4e9d63 commit 25f889b
Show file tree
Hide file tree
Showing 22 changed files with 736 additions and 244 deletions.
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"singleQuote": true,
"useTabs": false,
"tabWidth": 2,
"endOfLine": "lf",
"printWidth": 120,
"trailingComma": "none",
"semi": false,
"htmlWhitespaceSensitivity": "strict",
"vueIndentScriptAndStyle": true
}
84 changes: 65 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@
},
"dependencies": {
"core-js": "^3.8.1",
"epubjs": "^0.3.88",
"epubjs-myh": "^0.3.111",
"prettier": "^2.2.1",
"v-viewer": "^1.5.1",
"vue": "^2.6.12",
"vue-router": "^3.2.0",
"vuetify": "^2.3.21",
"vuex": "^3.4.0"
},
"devDependencies": {
"@mdi/js": "^5.8.55",
"@vue/cli-plugin-babel": "~4.5.9",
"@vue/cli-plugin-eslint": "~4.5.9",
"@vue/cli-plugin-router": "^4.5.9",
Expand All @@ -42,7 +46,9 @@
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
"rules": {
"no-unused-vars": "off"
}
},
"browserslist": [
"> 1%",
Expand Down
Binary file added public/Test1.epub
Binary file not shown.
Binary file added public/Test2.epub
Binary file not shown.
3 changes: 1 addition & 2 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<html lang="zh">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css">
</head>
<body>
<noscript>
Expand Down
29 changes: 2 additions & 27 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,32 +1,7 @@
<template>
<div id="app">
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</div>
<router-view/>
</div>
<v-app><router-view /></v-app>
</template>

<style lang="scss">
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
#nav {
padding: 30px;
a {
font-weight: bold;
color: #2c3e50;
&.router-link-exact-active {
color: #42b983;
}
}
}
@import "assets/styles/default";
</style>
11 changes: 11 additions & 0 deletions src/assets/styles/default.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
body {
padding: 0 !important;
}

body::-webkit-scrollbar {
display: none;
}

html {
scrollbar-width: none;
}
3 changes: 3 additions & 0 deletions src/assets/styles/read.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.duokan-image-single img{
margin: 5px 0;
}

0 comments on commit 25f889b

Please sign in to comment.