-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.vue
77 lines (69 loc) Β· 1.26 KB
/
App.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<template>
<div id="app">
<h1>Image Draw</h1>
<!-- ζ¬ε°εΎη -->
<ImagePainter
class="image-painter"
:src="require('./assets/Crested_Ibis.jpg')">
<p class="loading-text">εΎηε θ½½δΈ...</p>
</ImagePainter>
<!-- η½η»εΎη -->
<!-- <ImagePainter
class="image-painter"
src="https://images3.alphacoders.com/825/825213.png">
<p class="loading-text">εΎηε θ½½δΈ...</p>
</ImagePainter> -->
</div>
</template>
<script>
require('./assets/Crested_Ibis.jpg')
export default {
name: 'App',
data () {
return {
loading: false,
}
},
methods: {
},
}
</script>
<style lang="stylus">
$headerHeight = 44px;
$baseColor = #6A9FB5;
$bgColor = #FAFAFA;
* {
padding: 0;
margin: 0;
border: none;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
}
#app {
width: 100%;
height: 100%;
overflow: hidden;
overflow-y: scroll;
box-sizing: border-box;
> h1 {
font-size: 24px;
padding: 0 15px;
padding-top: 40px;
padding-bottom: 20px;
// color: #6D7A80;
color: rgba(250, 140, 135, 1);
}
.image-painter {
min-height: 300px;
}
.loading-text {
font-size: 12px;
color: #6D7A80;
text-align: center;
margin: 160px 0;
}
}
</style>