Skip to content

Commit 144576d

Browse files
author
青椒
committed
对接migu接口
1 parent 1733534 commit 144576d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+5185
-2847
lines changed

.env.dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
NODE_ENV = 'development'
22
VUE_APP_PUBLIC_PATH = '/'
3-
VUE_APP_API_BASE_URL = 'http://api.migu.jsososo.com'
3+
VUE_APP_API_BASE_URL = 'http://bknds.jiajiale.site'
44
BASE_URL = '/'

.prettierrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ module.exports = {
1010
bracketSpacing: true,
1111
jsxBracketSameLine: true,
1212
proseWrap: 'always',
13-
insertPragma: true
14-
};
13+
// insertPragma: true
14+
}

README.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1 @@
1-
# b726_desktop
2-
3-
## Project setup
4-
```
5-
npm install
6-
```
7-
8-
### Compiles and hot-reloads for development
9-
```
10-
npm run serve
11-
```
12-
13-
### Compiles and minifies for production
14-
```
15-
npm run build
16-
```
17-
18-
### Lints and fixes files
19-
```
20-
npm run lint
21-
```
22-
23-
### Customize configuration
24-
See [Configuration Reference](https://cli.vuejs.org/config/).
1+
<!-- @format -->

package-lock.json

Lines changed: 2766 additions & 2282 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"@vue/compiler-sfc": "^3.0.0-0",
3030
"@vue/eslint-config-prettier": "^6.0.0",
3131
"@vue/eslint-config-typescript": "^5.0.2",
32-
"eslint": "^6.7.2",
3332
"eslint-plugin-prettier": "^3.1.3",
3433
"eslint-plugin-vue": "^7.0.0-0",
3534
"prettier": "^1.19.1",
@@ -57,4 +56,4 @@
5756
"last 2 versions",
5857
"not dead"
5958
]
60-
}
59+
}

public/favicon.ico

0 Bytes
Binary file not shown.

public/index.html

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
<head>
4-
<meta charset="utf-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
7-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
8-
<title><%= htmlWebpackPlugin.options.title %></title>
9-
</head>
10-
<body>
11-
<noscript>
12-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13-
</noscript>
14-
<div id="app"></div>
15-
<!-- built files will be auto injected -->
16-
</body>
17-
</html>
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
8+
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
9+
<title>听青</title>
10+
</head>
11+
12+
<body>
13+
<div id="app"></div>
14+
</body>
15+
16+
</html>

src/App.vue

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
<!-- @format -->
2-
31
<template>
4-
<div id="app">
2+
<div id="app" onselectstart="return false;">
53
<div class="app-container">
64
<div class="layout-center">
75
<div class="layout-sidebar-wrapper">
@@ -42,23 +40,28 @@ export default {
4240
@import '@/assets/styles/styles.scss';
4341
4442
body {
45-
background: #eee;
43+
background: rgb(121, 121, 121);
4644
}
4745
4846
.app-container {
4947
display: flex;
5048
flex-flow: column nowrap;
51-
width: 800px;
52-
height: 500px;
49+
width: 1000px;
50+
/* height: 600px; */
5351
background: $body-bg;
52+
margin: 0 auto;
53+
border-radius: 18px;
54+
overflow: hidden;
5455
5556
.layout-center {
5657
flex: 1;
5758
display: flex;
5859
flex-flow: row nowrap;
5960
6061
.layout-sidebar-wrapper {
61-
width: 100px;
62+
width: 200px;
63+
background-color: $sidebar-bg;
64+
border-right: 1px solid $border-color;
6265
}
6366
6467
.layout-main-wrapper {
@@ -67,7 +70,7 @@ body {
6770
}
6871
6972
.layout-bottom {
70-
height: 50px;
73+
height: 70px;
7174
background: $player-bg;
7275
}
7376
}

src/assets/styles/styles.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
@import './theme/conf';
22
@import './theme/base';
3-
@import './theme/reset';
3+
@import './theme/reset';
4+
@import './theme/scrollbar';

src/assets/styles/theme/base.scss

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,55 @@
1+
@import './conf';
2+
13
* {
2-
padding: 0;
3-
margin: 0;
4+
padding: 0;
5+
margin: 0;
6+
font-family: Microsoft YaHei, tahoma, arial, Hiragino Sans GB, sans-serif;
47
}
8+
9+
.ellipsis-text {
10+
width: 100%;
11+
overflow: hidden;
12+
text-overflow: ellipsis;
13+
white-space: nowrap;
14+
height: 14px;
15+
line-height: 14px;
16+
font-size: 12px;
17+
}
18+
19+
*[data-occupy-show='show'] {
20+
position: relative;
21+
overflow: hidden;
22+
border-radius: 3px;
23+
24+
&::after {
25+
display: block;
26+
content: '';
27+
position: absolute;
28+
top: 0;
29+
left: 0;
30+
right: 0;
31+
bottom: 0;
32+
background-color: $placeholder;
33+
z-index: 1;
34+
}
35+
36+
&::before {
37+
display: block;
38+
content: '';
39+
position: absolute;
40+
top: 0;
41+
left: 0;
42+
width: 150%;
43+
height: 100%;
44+
transform: translateX(-100%);
45+
background: linear-gradient(90deg, transparent, rgba($font-second-color, 0.5), transparent);
46+
animation: loadingtranslate 900ms infinite;
47+
z-index: 2;
48+
}
49+
}
50+
51+
@keyframes loadingtranslate {
52+
100% {
53+
transform: translateX(100%);
54+
}
55+
}

0 commit comments

Comments
 (0)