Skip to content

Commit 9c0edfa

Browse files
committed
init
1 parent da0ada5 commit 9c0edfa

File tree

4 files changed

+52
-116
lines changed

4 files changed

+52
-116
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# zeus-book
1+
# MediaPub 桌面文章视频发布软件
22

33
> An electron-vue project
44
@@ -24,5 +24,3 @@ npm run lint
2424
```
2525

2626
---
27-
28-
This project was generated with [electron-vue](https://github.com/SimulatedGREG/electron-vue)@[45a3e22](https://github.com/SimulatedGREG/electron-vue/tree/45a3e224e7bb8fc71909021ccfdcfec0f461f634) using [vue-cli](https://github.com/vuejs/vue-cli). Documentation about the original structure can be found [here](https://simulatedgreg.gitbooks.io/electron-vue/content/index.html).

src/main/modules/ipcEvent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ipcMain } from 'electron'
22

33
export default function () {
44
ipcMain.on('download-start', (e, args) => {
5-
let url = 'response:' + args.url
5+
// let url = 'response:' + args.url
66
console.log('send download msg')
77
})
88
}
Lines changed: 50 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,64 @@
11
<template>
2-
<div id="wrapper">
3-
4-
</div>
2+
<a-layout id="components-layout-demo-side" style="min-height: 100vh">
3+
<a-layout-sider collapsible v-model="collapsed">
4+
<div class="logo" />
5+
<a-menu theme="dark" :defaultSelectedKeys="['1']" mode="inline">
6+
<a-menu-item key="1">
7+
<a-icon type="pie-chart" />
8+
<span>Option 1</span>
9+
</a-menu-item>
10+
<a-menu-item key="2">
11+
<a-icon type="desktop" />
12+
<span>Option 2</span>
13+
</a-menu-item>
14+
<a-sub-menu key="sub1">
15+
<span slot="title"><a-icon type="user" /><span>User</span></span>
16+
<a-menu-item key="3">Tom</a-menu-item>
17+
<a-menu-item key="4">Bill</a-menu-item>
18+
<a-menu-item key="5">Alex</a-menu-item>
19+
</a-sub-menu>
20+
<a-sub-menu key="sub2">
21+
<span slot="title"><a-icon type="team" /><span>Team</span></span>
22+
<a-menu-item key="6">Team 1</a-menu-item>
23+
<a-menu-item key="8">Team 2</a-menu-item>
24+
</a-sub-menu>
25+
<a-menu-item key="9">
26+
<a-icon type="file" />
27+
<span>File</span>
28+
</a-menu-item>
29+
</a-menu>
30+
</a-layout-sider>
31+
<a-layout>
32+
<a-layout-header style="background: #fff; padding: 0" />
33+
<a-layout-content style="margin: 0 16px">
34+
<a-breadcrumb style="margin: 16px 0">
35+
<a-breadcrumb-item>User</a-breadcrumb-item>
36+
<a-breadcrumb-item>Bill</a-breadcrumb-item>
37+
</a-breadcrumb>
38+
<div :style="{ padding: '24px', background: '#fff', minHeight: '360px' }">
39+
Bill is a cat.
40+
</div>
41+
</a-layout-content>
42+
<a-layout-footer style="text-align: center">
43+
Ant Design ©2018 Created by Ant UED
44+
</a-layout-footer>
45+
</a-layout>
46+
</a-layout>
547
</template>
6-
748
<script>
849
export default {
9-
name: 'landing-page',
10-
components: {
11-
'down-log': DownLog
12-
},
1350
data () {
1451
return {
15-
cache: [],
16-
status: 'idle'
52+
collapsed: false
1753
}
18-
},
19-
computed: {
20-
isRunning () {
21-
return this.status === 'running'
22-
}
23-
},
24-
mounted () {
25-
26-
},
27-
methods: {
2854
}
2955
}
3056
</script>
3157

32-
33-
3458
<style>
35-
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
36-
* {
37-
box-sizing: border-box;
38-
margin: 0;
39-
padding: 0;
40-
}
41-
body { font-family: 'Source Sans Pro', sans-serif; }
42-
#wrapper {
43-
background:
44-
radial-gradient(
45-
ellipse at top left,
46-
rgba(255, 255, 255, 1) 40%,
47-
rgba(229, 229, 229, .9) 100%
48-
);
49-
height: 100vh;
50-
padding: 60px 80px;
51-
width: 100vw;
59+
#components-layout-demo-side .logo {
60+
height: 32px;
61+
background: rgba(255, 255, 255, 0.2);
62+
margin: 16px;
5263
}
5364
</style>

src/renderer/components/LandingPage/SystemInformation.vue

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

0 commit comments

Comments
 (0)