Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front end #4

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
46d401e
Create 开发日志
Xuyan-cmd Jul 11, 2022
7d0159f
Delete README.md
Xuyan-cmd Jul 11, 2022
8891cb6
创建开发日志
Xuyan-cmd Jul 11, 2022
feb98ad
Delete 开发日志
Xuyan-cmd Jul 11, 2022
d8aeb3b
Create README.md
Xuyan-cmd Jul 11, 2022
fc24d21
Update 开发日志.md
Xuyan-cmd Jul 11, 2022
7a70b47
前端项目搭建初始化
Xuyan-cmd Jul 12, 2022
b3bbc9e
更新前端开发日志7.12
Xuyan-cmd Jul 12, 2022
0b2b4c1
新增文件收集界面
Xuyan-cmd Jul 13, 2022
c233d6d
更改路由配置
Xuyan-cmd Jul 13, 2022
ddfdb6c
更新7.13前端工作日志
Xuyan-cmd Jul 13, 2022
f980e77
完成了前端登陆后各功能模块的编写,完善了开发日志
Kled-Skaarl Jul 15, 2022
4c07887
Merge pull request #6 from Kled-Skaarl/front_end
Kled-Skaarl Jul 15, 2022
dd72c9c
完善开发日志
Kled-Skaarl Jul 15, 2022
f6691ff
Merge pull request #7 from Kled-Skaarl/front_end
Kled-Skaarl Jul 15, 2022
562671b
更新7.16前端工作日志
Xuyan-cmd Jul 16, 2022
80a6aa5
更新前端开发日志7.17
Xuyan-cmd Jul 17, 2022
9d41a0c
更新前端开发进度7.19
Xuyan-cmd Jul 19, 2022
8f62caa
前端进度开发2022.8.1
Xuyan-cmd Aug 1, 2022
97124f3
Update README.md
Xuyan-cmd Aug 4, 2022
c00b8ac
Delete 开发日志.md
Xuyan-cmd Aug 4, 2022
8e8572a
修改8.12
Xuyan-cmd Aug 12, 2022
ec4adfe
Create AlbumNavBar.vue
dangyuyan Aug 12, 2022
05722a8
Merge pull request #16 from dangyuyan/front_end
Xuyan-cmd Aug 12, 2022
185394c
attribute提交
Lime-Cocoa Aug 12, 2022
23dc986
Merge pull request #18 from Lime-Cocoa/front_end
Lime-Cocoa Aug 12, 2022
e5e989a
增加拖动功能
Lime-Cocoa Aug 12, 2022
4b05d98
Merge branch 'Xuyan-cmd:front_end' into front_end
Lime-Cocoa Aug 12, 2022
1ec529c
Merge pull request #19 from Lime-Cocoa/front_end
Lime-Cocoa Aug 12, 2022
5295554
Add files via upload
zhouyuting-mafumafu Aug 13, 2022
757764f
修改
Xuyan-cmd Aug 13, 2022
a54f535
add AsideBar.vue
zhouyuting-mafumafu Aug 13, 2022
c749e76
folderDialog提交
HGWGW Aug 13, 2022
6544687
Merge pull request #23 from HGWGW/front_end
Xuyan-cmd Aug 13, 2022
9da536d
front_end
Kled-Skaarl Aug 14, 2022
805ac4f
Merge pull request #29 from Kled-Skaarl/front_end
Kled-Skaarl Aug 14, 2022
4fac831
前端开发手册2022.8.14
Xuyan-cmd Aug 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Front-end-project/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
23 changes: 23 additions & 0 deletions Front-end-project/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.DS_Store
node_modules
/dist


# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
5 changes: 5 additions & 0 deletions Front-end-project/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
25,016 changes: 25,016 additions & 0 deletions Front-end-project/package-lock.json

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions Front-end-project/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "cloudspace",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build"
},
"dependencies": {
"axios": "^0.21.1",
"clipboard": "^2.0.8",
"core-js": "^3.14.0",
"element-ui": "^2.15.2",
"qs": "^6.10.1",
"vue": "^2.6.13",
"vue-router": "^3.5.1",
"vuex": "^3.6.2"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.5.13",
"@vue/cli-plugin-router": "^4.5.13",
"@vue/cli-plugin-vuex": "^4.5.13",
"@vue/cli-service": "^4.5.13",
"less": "^3.13.1",
"less-loader": "^5.0.0",
"vue-template-compiler": "^2.6.13"
},
"author": "CodeMan",
"license": "MIT"
}
Binary file added Front-end-project/public/favicon.ico
Binary file not shown.
34 changes: 34 additions & 0 deletions Front-end-project/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="">

<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">
<meta name="referrer" content="no-referrer" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>
中传放心传
</title>
</head>

<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
<style>
html,
body {
/* 禁止页面滚动 */
overflow-y: hidden;
height: 100%;
min-width: 1260px;
min-height: 400px;
}
</style>

</html>
14 changes: 14 additions & 0 deletions Front-end-project/src/App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<template>
<div id="app">
<router-view></router-view>
</div>
</template>

<script>
export default {
name: "App",
};
</script>

<style lang="less">
</style>
23 changes: 23 additions & 0 deletions Front-end-project/src/assets/css/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* iconfont */
@import 'https://at.alicdn.com/t/font_2594789_b8tpbi3b8yk.css?spm=a313x.7781069.1998910419.47&file=font_2594789_b8tpbi3b8yk.css';

@import './normalize.css';

@import './element.css';

input:focus {
border:1px solid #1e9fd2 !important;
outline: none;
}

input {
color: rgb(65, 65, 65);
}

*::-webkit-scrollbar {
width: 10px;
}
*::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #ccc;
}
121 changes: 121 additions & 0 deletions Front-end-project/src/assets/css/element.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
.el-popover {
min-width: 50px !important;
padding: 0;
border: 1px solid #1e9fd2;
overflow: hidden;
}

.el-slider__bar {
background-color: #1e9fd2;
}

.el-slider__runway {
margin: 0;
}

.el-slider__button {
border: 2px solid #1e9fd2;
width: 10px;
height: 10px;
}

.el-button:focus {
background-color: unset !important;
color:#606266 !important;
border: 1px solid #ccc !important;
}

/* .el-dialog {

display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
} */

.el-main {
padding: 0;
}

.el-dialog__close:hover {
color: #1e9fd2 !important;
}

.el-button:hover {
background-color: #1e9fd2;
color: white;
border: 1px solid #1e9fd2;
}

.el-button:focus {
background-color: #fff !important;
color: #606266 !important;
border: 1px solid #dcdfe6 !important;
}

.el-button--primary {
background-color: #1e9fd2;
border: 1px solid #1e9fd2;
}

.el-button--primary:focus {
background-color: #1e9fd2 !important;
color: white !important;
border: 1px solid #1e9fd2 !important;
}

.el-input__inner:focus{
border-color:#1e9fd2;
}

/* dragImgContainer的样式,因为vue中的scoped会导致后插入的样式无效 */
.dragImgContainer {
height: 90px;
width: 90px;
position: fixed;
display: none;
z-index: 5000;
user-select: none;
}

.showDragImgContainer {
display: block;
}

.dragImgContainer img, .dragImgContainer video{
max-height: 80%;
max-width: 80%;
position: absolute;
transform-origin: 50% 100%;
border-radius: 5px;
}

.dragImgContainer img:nth-child(1),.dragImgContainer video:nth-child(1) {
z-index: 10;
}

.dragImgContainer img:nth-child(2),.dragImgContainer video:nth-child(2) {
z-index: 5;
transform: rotate(-15deg);
}

.dragImgContainer img:nth-child(3),.dragImgContainer video:nth-child(3) {
z-index: 1;
transform: rotate(15deg);
}

.shareDialog {
font-size: 13px;
color: rgb(114, 114, 114);
border-radius: 10px;
}

.shareDialog .el-dialog__title {
font-size: 15px;
}

.shareDialog .dialog-footer ,.shareDialog .el-dialog__body {
display: flex;
flex-direction: column;
align-items: center;
}
Loading