Skip to content

Commit 8d80cfe

Browse files
committed
1、尝试修改滚动条默认样式;2、删除数据库备份;
1 parent 71c2f1d commit 8d80cfe

File tree

13 files changed

+37
-306
lines changed

13 files changed

+37
-306
lines changed

app.js

Lines changed: 0 additions & 74 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"vue-canvas-nest": "^2.0.0",
1919
"vue-particles": "^1.0.9",
2020
"vue-router": "^3.0.1",
21-
"vuex": "^3.0.1"
21+
"vuex": "^3.0.1",
22+
"yarn": "^1.22.10"
2223
},
2324
"devDependencies": {
2425
"@vue/cli-plugin-babel": "^3.0.3",

src/App.vue

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div>
2+
<div class="my-scrollbar">
33
<TopBar></TopBar>
44
<router-view></router-view>
55
<Footer></Footer>
@@ -29,3 +29,33 @@
2929
}
3030
}
3131
</script>
32+
33+
<style scoped lang="less">
34+
.my-scrollbar::-webkit-scrollbar {/*滚动条整体样式*/
35+
36+
width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
37+
38+
height: 1px;
39+
40+
}
41+
42+
.my-scrollbar::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
43+
44+
border-radius: 10px;
45+
46+
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
47+
48+
background: #535353;
49+
50+
}
51+
52+
.my-scrollbar::-webkit-scrollbar-track {/*滚动条里面轨道*/
53+
54+
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
55+
56+
border-radius: 10px;
57+
58+
background: #EDEDED;
59+
60+
}
61+
</style>

src/components/MainPage/FriendUrl.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,17 @@
154154
}
155155
},
156156
Success:function (data) {
157+
// 将有order标记的数据,按order顺序排在前面
157158
for(let i=0;i<data.length;i++){
158159
if(data[i].order){
159160
mvpUrl[data[i].order] = data[i];//根据数据order字段组成一个数组
160161
data.splice(i,1);
161162
}
162163
}
163-
164164
newArray = mvpUrl.concat(data); //得到一个将有标记的值提前了的数组
165165
166-
That.FriendUrlPlaceholder = false;
167-
That.FriendsUrlList = newArray;
166+
That.FriendUrlPlaceholder = false;
167+
That.FriendsUrlList = newArray;
168168
}
169169
});
170170
},

src/components/MainPage/MessageBoard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
</div>
7373
<div class="Content">
7474
<div class="GitName">孙权的Github</div>
75-
<a class="BlueButton" href="https://github.com/SunQQQ" target="_blank">Follow Me</a>
75+
<a class="BlueButton" href="https://github.com/SunQQQ" target="_blank">博客源码</a>
7676
<div class="BlogStatistic">
7777
<div class="BlogStatisticItem">
7878
<div class="BlogStatisticItemNum">8</div>

sunqBlogCollecitons/FriendsUrl.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

sunqBlogCollecitons/Heartfelt.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)