-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from Jarvay/develop
v1.1.0
- Loading branch information
Showing
15 changed files
with
343 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "desktop48", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"author": "jarvay <[email protected]>", | ||
"description": "", | ||
"license": null, | ||
|
@@ -68,49 +68,49 @@ | |
"iview": "^3.4.1", | ||
"lowdb": "^1.0.0", | ||
"m3u8-parser": "^4.3.0", | ||
"mux.js": "^5.1.0", | ||
"mux.js": "^5.1.3", | ||
"video.js": "^7.5.4", | ||
"vue": "^2.5.16", | ||
"vue": "^2.6.10", | ||
"vue-electron": "^1.0.6", | ||
"vue-router": "^3.0.1" | ||
"vue-router": "^3.0.6" | ||
}, | ||
"devDependencies": { | ||
"ajv": "^6.5.0", | ||
"ajv": "^6.10.0", | ||
"babel-core": "^6.26.3", | ||
"babel-loader": "^7.1.4", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-stage-0": "^6.24.1", | ||
"babel-register": "^6.26.0", | ||
"babili-webpack-plugin": "^0.1.2", | ||
"cfonts": "^2.1.2", | ||
"cfonts": "^2.4.3", | ||
"chalk": "^2.4.1", | ||
"copy-webpack-plugin": "^4.5.1", | ||
"cross-env": "^5.1.6", | ||
"css-loader": "^0.28.11", | ||
"del": "^3.0.0", | ||
"devtron": "^1.4.0", | ||
"electron": "^2.0.4", | ||
"electron-debug": "^1.5.0", | ||
"electron": "^4.2.1", | ||
"electron-builder": "^20.40.2", | ||
"electron-debug": "^3.0.0", | ||
"electron-devtools-installer": "^2.2.4", | ||
"electron-builder": "^20.19.2", | ||
"mini-css-extract-plugin": "0.4.0", | ||
"file-loader": "^1.1.11", | ||
"html-webpack-plugin": "^3.2.0", | ||
"mini-css-extract-plugin": "0.4.0", | ||
"multispinner": "^0.2.1", | ||
"node-loader": "^0.6.0", | ||
"node-sass": "^4.9.2", | ||
"node-sass": "^4.12.0", | ||
"sass-loader": "^7.0.3", | ||
"style-loader": "^0.21.0", | ||
"url-loader": "^1.0.1", | ||
"vue-html-loader": "^1.2.4", | ||
"vue-loader": "^15.2.4", | ||
"vue-loader": "^15.7.0", | ||
"vue-style-loader": "^4.1.0", | ||
"vue-template-compiler": "^2.5.16", | ||
"webpack": "^4.15.1", | ||
"webpack-cli": "^3.0.8", | ||
"webpack-dev-server": "^3.1.4", | ||
"webpack-hot-middleware": "^2.22.2", | ||
"vue-template-compiler": "^2.6.10", | ||
"webpack": "^4.31.0", | ||
"webpack-cli": "^3.3.2", | ||
"webpack-dev-server": "^3.3.1", | ||
"webpack-hot-middleware": "^2.25.0", | ||
"webpack-merge": "^4.1.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<template> | ||
<div> | ||
<Collapse> | ||
<Panel> | ||
<span slot="">不看她的直播|回放</span> | ||
<Collapse slot="content" simple accordion> | ||
<Panel v-for="(team, teamIndex) in teams"> | ||
<span>{{team.teamName}}</span> | ||
<div slot="content"> | ||
<Tag @on-change="onChange" checkable :checked="member.checked" | ||
:name="member.userId" | ||
:color="`#${team.teamColor}`" | ||
v-for="member in team.members"> | ||
{{member.realName}} | ||
</Tag> | ||
</div> | ||
</Panel> | ||
</Collapse> | ||
</Panel> | ||
</Collapse> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import Database from "../assets/js/database"; | ||
import Dev from "../assets/js/dev"; | ||
export default { | ||
name: "HiddenMembers", | ||
data() { | ||
return { | ||
teams: [] | ||
}; | ||
}, | ||
created() { | ||
this.teams = Database.teamsDB.value(); | ||
this.teams = this.teams.filter(team => { | ||
team.members = Database.membersDB.filter({teamId: team.teamId, status: 1}).value(); | ||
team.members = team.members.map(member => { | ||
member.checked = Database.getHiddenMembers().some(memberId => { | ||
return memberId == member.userId; | ||
}); | ||
return member; | ||
}); | ||
return team.members.length > 0; | ||
}); | ||
}, | ||
methods: { | ||
onChange: function (checked, memberId) { | ||
if (checked) { | ||
Database.addHiddenMember(memberId); | ||
} else { | ||
Database.removeHiddenMember(memberId); | ||
} | ||
Dev.log('hiddenMembers', Database.getHiddenMembers()); | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.