ocpview-plus 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/efviewplus.min.esm.js +99954 -0
- package/dist/efviewplus.min.js +142 -0
- package/dist/locale/lang.js +1 -0
- package/dist/locale/zh-CN.js +1 -0
- package/dist/locale/zh-TW.js +1 -0
- package/dist/locale/zh-UG.js +1 -0
- package/dist/style.css +9 -0
- package/dist/styles/efviewplus.css +1 -0
- package/package.json +144 -0
- package/src/components/base/controlbase.vue +191 -0
- package/src/components/base/controlbox.vue +102 -0
- package/src/components/base/index.js +3 -0
- package/src/components/base/load.js +20 -0
- package/src/components/base/probase.js +220 -0
- package/src/components/base/size.js +78 -0
- package/src/components/billbox/billbox.vue +68 -0
- package/src/components/billbox/index.js +2 -0
- package/src/components/cascaderbox/cascaderbox.vue +184 -0
- package/src/components/cascaderbox/index.js +2 -0
- package/src/components/checkbox/checkbox.vue +76 -0
- package/src/components/checkbox/checkgroupbox.vue +104 -0
- package/src/components/checkbox/index.js +3 -0
- package/src/components/colorbox/colorbox.vue +44 -0
- package/src/components/colorbox/index.js +2 -0
- package/src/components/combobox/combobox.vue +220 -0
- package/src/components/combobox/index.js +2 -0
- package/src/components/conditionbox/conditionbase.vue +195 -0
- package/src/components/conditionbox/conditionbox.vue +63 -0
- package/src/components/conditionbox/conditionfilterbox.vue +477 -0
- package/src/components/conditionbox/conditionselectorbox.vue +237 -0
- package/src/components/conditionbox/index.js +5 -0
- package/src/components/conditionbox/queryconditionbox.vue +26 -0
- package/src/components/conditionbox/queryconditionboxbase.vue +124 -0
- package/src/components/conditionbox/searchconditionbox.vue +114 -0
- package/src/components/conditionbox/searchgrid.vue +391 -0
- package/src/components/datebox/datebox.vue +129 -0
- package/src/components/datebox/daterangebox.vue +155 -0
- package/src/components/datebox/index.js +3 -0
- package/src/components/form/baseform.vue +677 -0
- package/src/components/form/detailsbox.vue +487 -0
- package/src/components/form/formbox.vue +29 -0
- package/src/components/form/formcardbox.vue +268 -0
- package/src/components/form/formcardgroupbox.vue +252 -0
- package/src/components/form/formcompro.js +19 -0
- package/src/components/form/formdetail.vue +129 -0
- package/src/components/form/formdetailtwo.vue +302 -0
- package/src/components/form/index.js +8 -0
- package/src/components/form/toolanchor.js +46 -0
- package/src/components/form/workform.vue +168 -0
- package/src/components/grid/basegrid.vue +1061 -0
- package/src/components/grid/editgrid.vue +51 -0
- package/src/components/grid/editgridbase.vue +947 -0
- package/src/components/grid/editgridcard.vue +193 -0
- package/src/components/grid/expandrow.vue +137 -0
- package/src/components/grid/index.js +6 -0
- package/src/components/grid/viewgrid.vue +122 -0
- package/src/components/grid/viewgridbase.vue +1284 -0
- package/src/components/icon/common-icon.vue +53 -0
- package/src/components/icon/eicon.vue +29 -0
- package/src/components/icon/icons.vue +42 -0
- package/src/components/icon/index.js +2 -0
- package/src/components/label/index.js +3 -0
- package/src/components/label/showtext.vue +95 -0
- package/src/components/load/loadcartoon.vue +228 -0
- package/src/components/map/index.js +2 -0
- package/src/components/map/mapbox.vue +348 -0
- package/src/components/masterplate/appendix.vue +586 -0
- package/src/components/masterplate/approval.vue +803 -0
- package/src/components/masterplate/base.vue +985 -0
- package/src/components/masterplate/billasyncimport.vue +614 -0
- package/src/components/masterplate/billconditionbox.vue +224 -0
- package/src/components/masterplate/billconditionsbox.vue +427 -0
- package/src/components/masterplate/billdetailform.vue +990 -0
- package/src/components/masterplate/billimport.vue +263 -0
- package/src/components/masterplate/billquerygrid.vue +316 -0
- package/src/components/masterplate/billsinglegrid.vue +234 -0
- package/src/components/masterplate/birtreport.vue +185 -0
- package/src/components/masterplate/detailbtntoolbar.vue +311 -0
- package/src/components/masterplate/detailsbox.vue +386 -0
- package/src/components/masterplate/editgridcard.vue +222 -0
- package/src/components/masterplate/editgridcard2.vue +109 -0
- package/src/components/masterplate/formcard.vue +106 -0
- package/src/components/masterplate/formcardgroupbox.vue +168 -0
- package/src/components/masterplate/formdetailtwo.vue +356 -0
- package/src/components/masterplate/gridcolset.vue +227 -0
- package/src/components/masterplate/index.js +23 -0
- package/src/components/masterplate/layouttemplate.vue +33 -0
- package/src/components/masterplate/leftlistrightdetails.vue +474 -0
- package/src/components/masterplate/leftlistrightlist.vue +465 -0
- package/src/components/masterplate/lefttreerightdetails.vue +619 -0
- package/src/components/masterplate/levelreport.vue +510 -0
- package/src/components/masterplate/listbtntoolbar.vue +257 -0
- package/src/components/masterplate/listdetails.vue +769 -0
- package/src/components/masterplate/operlog.vue +272 -0
- package/src/components/masterplate/options.vue +110 -0
- package/src/components/masterplate/page.vue +102 -0
- package/src/components/masterplate/promptmessage.vue +74 -0
- package/src/components/masterplate/querybar.vue +490 -0
- package/src/components/masterplate/report.vue +357 -0
- package/src/components/masterplate/rowbtntoolbar.vue +126 -0
- package/src/components/masterplate/simpletree.vue +129 -0
- package/src/components/masterplate/simpleviewgrid.vue +144 -0
- package/src/components/mychart/bar/bar.vue +202 -0
- package/src/components/mychart/basechart.vue +190 -0
- package/src/components/mychart/complexmychart/barline.vue +154 -0
- package/src/components/mychart/gauge/gauge.vue +83 -0
- package/src/components/mychart/index.js +9 -0
- package/src/components/mychart/line/line.vue +202 -0
- package/src/components/mychart/liquidfill/liquidfill.vue +109 -0
- package/src/components/mychart/pie/pie.vue +96 -0
- package/src/components/mychart/radar/radar.vue +122 -0
- package/src/components/mychart/scatter/scatter.vue +76 -0
- package/src/components/numberbox/append.js +11 -0
- package/src/components/numberbox/index.js +3 -0
- package/src/components/numberbox/numberbox.vue +303 -0
- package/src/components/numberbox/numberrangebox.vue +423 -0
- package/src/components/picturebox/filebox.vue +365 -0
- package/src/components/picturebox/index.js +3 -0
- package/src/components/picturebox/picturebox.vue +541 -0
- package/src/components/picturebox/uploadbox.vue +164 -0
- package/src/components/poptagbox/index.js +2 -0
- package/src/components/poptagbox/poptagbox.vue +389 -0
- package/src/components/poptextbox/index.js +2 -0
- package/src/components/poptextbox/poptextbox.vue +601 -0
- package/src/components/radiobox/index.js +2 -0
- package/src/components/radiobox/radiogroupbox.vue +76 -0
- package/src/components/richtextbox/editor.vue +150 -0
- package/src/components/richtextbox/index.js +2 -0
- package/src/components/richtextbox/richtextbox.vue +448 -0
- package/src/components/textbox/index.js +2 -0
- package/src/components/textbox/textbox.vue +98 -0
- package/src/components/timebox/index.js +2 -0
- package/src/components/timebox/timebox.vue +76 -0
- package/src/components/toolbar/ebutton.vue +169 -0
- package/src/components/toolbar/index.js +3 -0
- package/src/components/toolbar/toolbar.vue +446 -0
- package/src/components/tree/basetree.vue +725 -0
- package/src/components/tree/index.js +3 -0
- package/src/components/tree/treedata.vue +51 -0
- package/src/components/tree/treedatabase.vue +189 -0
- package/src/components/upload/billimport.vue +233 -0
- package/src/components/upload/index.js +2 -0
- package/src/components/videobox/index.js +2 -0
- package/src/components/videobox/uploadbox.vue +148 -0
- package/src/components/videobox/videobox.vue +503 -0
- package/src/components/wrichtextbox/editor.vue +219 -0
- package/src/components/wrichtextbox/index.js +2 -0
- package/src/components/wrichtextbox/wrichtextbox.vue +63 -0
- package/src/index.js +215 -0
- package/src/locale/format.js +51 -0
- package/src/locale/index.js +63 -0
- package/src/locale/lang/zh-CN.js +123 -0
- package/src/locale/lang/zh-TW.js +114 -0
- package/src/locale/lang/zh-UG.js +115 -0
- package/src/locale/lang.js +15 -0
- package/src/method/case/case.js +1180 -0
- package/src/method/config/queryconfig.js +24 -0
- package/src/method/const/const.js +815 -0
- package/src/method/index.js +8 -0
- package/src/static/excel/exportexcel.js +627 -0
- package/src/static/iview/coustom.js +463 -0
- package/src/store/index.js +19 -0
- package/src/store/modules/app.js +53 -0
- package/src/styles/README.md +3 -0
- package/src/styles/common.less +75 -0
- package/src/styles/components/anchor.less +74 -0
- package/src/styles/components/approval.less +136 -0
- package/src/styles/components/button.less +208 -0
- package/src/styles/components/card.less +51 -0
- package/src/styles/components/content.less +38 -0
- package/src/styles/components/font.less +314 -0
- package/src/styles/components/form.less +72 -0
- package/src/styles/components/iconfont/fonts/iconfont.less +1376 -0
- package/src/styles/components/iconfont/fonts/iconfont.svg +699 -0
- package/src/styles/components/iconfont/fonts/iconfont.ttf +0 -0
- package/src/styles/components/iconfont/fonts/iconfont.woff +0 -0
- package/src/styles/components/iconfont/fonts/iconfont.woff2 +0 -0
- package/src/styles/components/index.less +16 -0
- package/src/styles/components/input.less +290 -0
- package/src/styles/components/modal.less +203 -0
- package/src/styles/components/page.less +340 -0
- package/src/styles/components/select.less +361 -0
- package/src/styles/components/steps.less +367 -0
- package/src/styles/components/table.less +544 -0
- package/src/styles/components/tabs.less +249 -0
- package/src/styles/components/upload.less +83 -0
- package/src/styles/custom.less +67 -0
- package/src/styles/index.less +6 -0
- package/src/styles/pack.less +6 -0
- package/src/utils/EfuMessenger.js +155 -0
- package/src/utils/assist.js +353 -0
- package/src/utils/index.js +1 -0
- package/src/utils/random_str.js +10 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<component :is="iconType" :type="iconName" :color="iconColor" :size="iconSize" :proConfig="proConfig" @click="click"/>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import Eicon from './eicon.vue';
|
|
7
|
+
// import Faicon from './faicon.vue';
|
|
8
|
+
export default {
|
|
9
|
+
name: 'commonicon',
|
|
10
|
+
components: {Eicon},
|
|
11
|
+
props: {
|
|
12
|
+
type: {
|
|
13
|
+
type: String,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
color: String,
|
|
17
|
+
size: [Number,String],
|
|
18
|
+
proConfig: {
|
|
19
|
+
type:Object,
|
|
20
|
+
default:() => {}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
computed: {
|
|
24
|
+
iconType () {
|
|
25
|
+
return this.type.indexOf('_') === 0 ? 'Eicon' : this.type.indexOf('fa_') === 0?'Faicon':'Icon';
|
|
26
|
+
},
|
|
27
|
+
iconName () {
|
|
28
|
+
return this.iconType === 'Eicon' ? this.getCustomIconName(this.type) : this.iconType === 'Faicon'? this.getCustomIconName2(this.type):this.type;
|
|
29
|
+
},
|
|
30
|
+
iconSize () {
|
|
31
|
+
return this.size || (this.iconType === 'Eicon' ? 12 : undefined);
|
|
32
|
+
},
|
|
33
|
+
iconColor () {
|
|
34
|
+
return this.color || '';
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
getCustomIconName (iconName) {
|
|
39
|
+
return iconName.slice(1);
|
|
40
|
+
},
|
|
41
|
+
getCustomIconName2(iconName) {
|
|
42
|
+
return iconName.slice(3);
|
|
43
|
+
},
|
|
44
|
+
click() {
|
|
45
|
+
this.$emit('click','');
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
</script>
|
|
50
|
+
|
|
51
|
+
<style>
|
|
52
|
+
|
|
53
|
+
</style>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
|
|
2
|
+
<template>
|
|
3
|
+
<svg class="eicon" aria-hidden="true" :font-size="size" :color="color" @click="click">
|
|
4
|
+
<use :xlink:href="'#icon-'+type" ></use>
|
|
5
|
+
</svg>
|
|
6
|
+
</template>
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'eicon',
|
|
10
|
+
props: {
|
|
11
|
+
type: String,
|
|
12
|
+
size: [Number, String],
|
|
13
|
+
color:String
|
|
14
|
+
},
|
|
15
|
+
methods: {
|
|
16
|
+
click() {
|
|
17
|
+
this.$emit('click','');
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
</script>
|
|
22
|
+
<style type="text/css">
|
|
23
|
+
.eicon {
|
|
24
|
+
width: 1em; height: 1em;
|
|
25
|
+
vertical-align: -0.15em;
|
|
26
|
+
fill: currentColor;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
</style>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<i :class="`iconfont icon-${type}`" :style="styles" @click="click"></i>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
export default {
|
|
7
|
+
name: 'Icons',
|
|
8
|
+
props: {
|
|
9
|
+
type: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
color: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: ''
|
|
16
|
+
},
|
|
17
|
+
size: {
|
|
18
|
+
type: Number,
|
|
19
|
+
default: 16
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
computed: {
|
|
23
|
+
styles () {
|
|
24
|
+
let style = {};
|
|
25
|
+
style.fontSize = `${this.size}px`;
|
|
26
|
+
if (this.color) {
|
|
27
|
+
style.color = this.color;
|
|
28
|
+
}
|
|
29
|
+
return style;
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
methods:{
|
|
33
|
+
click() {
|
|
34
|
+
this.$emit('click','');
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
<style>
|
|
41
|
+
|
|
42
|
+
</style>
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Tooltip transfer :content="labeltext" :disabled="!showTooltip" :max-width="maxWidth" class="ivu-table-cell-tooltip" >
|
|
3
|
+
<template v-if="textLink">
|
|
4
|
+
<a href="#" style="text-decoration:underline" @click.prevent="linkTo"><span ref="content" class="ivu-table-cell-tooltip-content" v-html="showText" :style="'text-align:'+ contentAlign" @mouseenter="handleTooltipIn" @mouseleave="handleTooltipOut"/> </a>
|
|
5
|
+
</template>
|
|
6
|
+
<template v-else>
|
|
7
|
+
<span ref="content" class="ivu-table-cell-tooltip-content" v-html="showText" :style="'text-align:'+ contentAlign" @mouseenter="handleTooltipIn" @mouseleave="handleTooltipOut"/>
|
|
8
|
+
</template>
|
|
9
|
+
</Tooltip>
|
|
10
|
+
</template>
|
|
11
|
+
<script>
|
|
12
|
+
export default {
|
|
13
|
+
name: 'showText',
|
|
14
|
+
data () {
|
|
15
|
+
return {
|
|
16
|
+
showTooltip:false,
|
|
17
|
+
labeltext: '',
|
|
18
|
+
showIcon:false,
|
|
19
|
+
iconWidth:0,
|
|
20
|
+
textLink:false
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
props:{
|
|
24
|
+
label:{
|
|
25
|
+
type: [String,Number],
|
|
26
|
+
default: ''
|
|
27
|
+
},
|
|
28
|
+
maxWidth:{
|
|
29
|
+
type: [String,Number],
|
|
30
|
+
default: 300
|
|
31
|
+
},
|
|
32
|
+
contentAlign: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: 'center'
|
|
35
|
+
},
|
|
36
|
+
resetText: {
|
|
37
|
+
type: Function,
|
|
38
|
+
default: null
|
|
39
|
+
},
|
|
40
|
+
config: {
|
|
41
|
+
type: Object,
|
|
42
|
+
default: () => {},
|
|
43
|
+
},
|
|
44
|
+
rowIndex: {
|
|
45
|
+
type: [String,Number],
|
|
46
|
+
default: ''
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
created() {
|
|
50
|
+
if (this.config && this.config.textLink !== undefined) {
|
|
51
|
+
this.textLink = this.config.textLink;
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
methods:{
|
|
55
|
+
handleTooltipIn () {
|
|
56
|
+
const $content = this.$refs.content;
|
|
57
|
+
this.showTooltip = $content.scrollWidth > $content.offsetWidth;
|
|
58
|
+
},
|
|
59
|
+
handleTooltipOut () {
|
|
60
|
+
this.showTooltip = false;
|
|
61
|
+
},
|
|
62
|
+
doSpecialSymbols(str) {
|
|
63
|
+
if (str) {
|
|
64
|
+
str = str + '';
|
|
65
|
+
//替换所有的换行符
|
|
66
|
+
str = str.replace(/\r\n/g,'<br>');
|
|
67
|
+
str = str.replace(/\n/g,'<br>');
|
|
68
|
+
//替换所有的空格(中文空格、英文空格都会被替换)
|
|
69
|
+
str = str.replace(/\s/g,' ');
|
|
70
|
+
}
|
|
71
|
+
return str;
|
|
72
|
+
},
|
|
73
|
+
linkTo() {
|
|
74
|
+
if (this.config.onLinkTo) {
|
|
75
|
+
let obj = this.$Method.copy(this.config);
|
|
76
|
+
obj.rowIndex = this.rowIndex;
|
|
77
|
+
this.config.onLinkTo(obj);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
watch:{
|
|
82
|
+
label: {
|
|
83
|
+
handler (data) {
|
|
84
|
+
this.labeltext = data;
|
|
85
|
+
if (this.resetText) {
|
|
86
|
+
this.showText = this.resetText(this.doSpecialSymbols(data),data);
|
|
87
|
+
} else {
|
|
88
|
+
this.showText = this.doSpecialSymbols(data);
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
immediate: true
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
</script>
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
<style>
|
|
2
|
+
html,
|
|
3
|
+
body,
|
|
4
|
+
#app {
|
|
5
|
+
height: 100%;
|
|
6
|
+
margin: 0px;
|
|
7
|
+
padding: 0px;
|
|
8
|
+
}
|
|
9
|
+
.chromeframe {
|
|
10
|
+
margin: 0.2em 0;
|
|
11
|
+
background: #ccc;
|
|
12
|
+
color: #000;
|
|
13
|
+
padding: 0.2em 0;
|
|
14
|
+
}
|
|
15
|
+
#loader-wrapper {
|
|
16
|
+
position: fixed;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
z-index: 999999;
|
|
22
|
+
}
|
|
23
|
+
#loader {
|
|
24
|
+
display: block;
|
|
25
|
+
position: relative;
|
|
26
|
+
left: 50%;
|
|
27
|
+
top: 50%;
|
|
28
|
+
width: 150px;
|
|
29
|
+
height: 150px;
|
|
30
|
+
margin: -75px 0 0 -75px;
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
border: 3px solid transparent;
|
|
33
|
+
/* COLOR 1 */
|
|
34
|
+
border-top-color: #FFF;
|
|
35
|
+
-webkit-animation: spin 2s linear infinite;
|
|
36
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
37
|
+
-ms-animation: spin 2s linear infinite;
|
|
38
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
39
|
+
-moz-animation: spin 2s linear infinite;
|
|
40
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
41
|
+
-o-animation: spin 2s linear infinite;
|
|
42
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
43
|
+
animation: spin 2s linear infinite;
|
|
44
|
+
/* Chrome, Firefox 16+, IE 10+, Opera */
|
|
45
|
+
z-index: 1001;
|
|
46
|
+
}
|
|
47
|
+
#loader:before {
|
|
48
|
+
content: "";
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 5px;
|
|
51
|
+
left: 5px;
|
|
52
|
+
right: 5px;
|
|
53
|
+
bottom: 5px;
|
|
54
|
+
border-radius: 50%;
|
|
55
|
+
border: 3px solid transparent;
|
|
56
|
+
/* COLOR 2 */
|
|
57
|
+
border-top-color: #FFF;
|
|
58
|
+
-webkit-animation: spin 3s linear infinite;
|
|
59
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
60
|
+
-moz-animation: spin 3s linear infinite;
|
|
61
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
62
|
+
-o-animation: spin 3s linear infinite;
|
|
63
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
64
|
+
-ms-animation: spin 3s linear infinite;
|
|
65
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
66
|
+
animation: spin 3s linear infinite;
|
|
67
|
+
/* Chrome, Firefox 16+, IE 10+, Opera */
|
|
68
|
+
}
|
|
69
|
+
#loader:after {
|
|
70
|
+
content: "";
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 15px;
|
|
73
|
+
left: 15px;
|
|
74
|
+
right: 15px;
|
|
75
|
+
bottom: 15px;
|
|
76
|
+
border-radius: 50%;
|
|
77
|
+
border: 3px solid transparent;
|
|
78
|
+
border-top-color: #FFF;
|
|
79
|
+
/* COLOR 3 */
|
|
80
|
+
-moz-animation: spin 1.5s linear infinite;
|
|
81
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
82
|
+
-o-animation: spin 1.5s linear infinite;
|
|
83
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
84
|
+
-ms-animation: spin 1.5s linear infinite;
|
|
85
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
86
|
+
-webkit-animation: spin 1.5s linear infinite;
|
|
87
|
+
/* Chrome, Opera 15+, Safari 5+ */
|
|
88
|
+
animation: spin 1.5s linear infinite;
|
|
89
|
+
/* Chrome, Firefox 16+, IE 10+, Opera */
|
|
90
|
+
}
|
|
91
|
+
@-webkit-keyframes spin {
|
|
92
|
+
0% {
|
|
93
|
+
-webkit-transform: rotate(0deg);
|
|
94
|
+
/* Chrome, Opera 15+, Safari 3.1+ */
|
|
95
|
+
-ms-transform: rotate(0deg);
|
|
96
|
+
/* IE 9 */
|
|
97
|
+
transform: rotate(0deg);
|
|
98
|
+
/* Firefox 16+, IE 10+, Opera */
|
|
99
|
+
}
|
|
100
|
+
100% {
|
|
101
|
+
-webkit-transform: rotate(360deg);
|
|
102
|
+
/* Chrome, Opera 15+, Safari 3.1+ */
|
|
103
|
+
-ms-transform: rotate(360deg);
|
|
104
|
+
/* IE 9 */
|
|
105
|
+
transform: rotate(360deg);
|
|
106
|
+
/* Firefox 16+, IE 10+, Opera */
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
@keyframes spin {
|
|
110
|
+
0% {
|
|
111
|
+
-webkit-transform: rotate(0deg);
|
|
112
|
+
/* Chrome, Opera 15+, Safari 3.1+ */
|
|
113
|
+
-ms-transform: rotate(0deg);
|
|
114
|
+
/* IE 9 */
|
|
115
|
+
transform: rotate(0deg);
|
|
116
|
+
/* Firefox 16+, IE 10+, Opera */
|
|
117
|
+
}
|
|
118
|
+
100% {
|
|
119
|
+
-webkit-transform: rotate(360deg);
|
|
120
|
+
/* Chrome, Opera 15+, Safari 3.1+ */
|
|
121
|
+
-ms-transform: rotate(360deg);
|
|
122
|
+
/* IE 9 */
|
|
123
|
+
transform: rotate(360deg);
|
|
124
|
+
/* Firefox 16+, IE 10+, Opera */
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
#loader-wrapper .loader-section {
|
|
128
|
+
position: fixed;
|
|
129
|
+
top: 0;
|
|
130
|
+
width: 51%;
|
|
131
|
+
height: 100%;
|
|
132
|
+
background: #7171C6;
|
|
133
|
+
/* Old browsers */
|
|
134
|
+
z-index: 1000;
|
|
135
|
+
-webkit-transform: translateX(0);
|
|
136
|
+
/* Chrome, Opera 15+, Safari 3.1+ */
|
|
137
|
+
-ms-transform: translateX(0);
|
|
138
|
+
/* IE 9 */
|
|
139
|
+
transform: translateX(0);
|
|
140
|
+
/* Firefox 16+, IE 10+, Opera */
|
|
141
|
+
}
|
|
142
|
+
#loader-wrapper .loader-section.section-left {
|
|
143
|
+
left: 0;
|
|
144
|
+
}
|
|
145
|
+
#loader-wrapper .loader-section.section-right {
|
|
146
|
+
right: 0;
|
|
147
|
+
}
|
|
148
|
+
/* Loaded */
|
|
149
|
+
.loaded #loader-wrapper .loader-section.section-left {
|
|
150
|
+
-webkit-transform: translateX(-100%);
|
|
151
|
+
/* Chrome, Opera 15+, Safari 3.1+ */
|
|
152
|
+
-ms-transform: translateX(-100%);
|
|
153
|
+
/* IE 9 */
|
|
154
|
+
transform: translateX(-100%);
|
|
155
|
+
/* Firefox 16+, IE 10+, Opera */
|
|
156
|
+
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
|
157
|
+
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
|
158
|
+
}
|
|
159
|
+
.loaded #loader-wrapper .loader-section.section-right {
|
|
160
|
+
-webkit-transform: translateX(100%);
|
|
161
|
+
/* Chrome, Opera 15+, Safari 3.1+ */
|
|
162
|
+
-ms-transform: translateX(100%);
|
|
163
|
+
/* IE 9 */
|
|
164
|
+
transform: translateX(100%);
|
|
165
|
+
/* Firefox 16+, IE 10+, Opera */
|
|
166
|
+
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
|
167
|
+
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
|
168
|
+
}
|
|
169
|
+
.loaded #loader {
|
|
170
|
+
opacity: 0;
|
|
171
|
+
-webkit-transition: all 0.3s ease-out;
|
|
172
|
+
transition: all 0.3s ease-out;
|
|
173
|
+
}
|
|
174
|
+
.loaded #loader-wrapper {
|
|
175
|
+
visibility: hidden;
|
|
176
|
+
-webkit-transform: translateY(-100%);
|
|
177
|
+
/* Chrome, Opera 15+, Safari 3.1+ */
|
|
178
|
+
-ms-transform: translateY(-100%);
|
|
179
|
+
/* IE 9 */
|
|
180
|
+
transform: translateY(-100%);
|
|
181
|
+
/* Firefox 16+, IE 10+, Opera */
|
|
182
|
+
-webkit-transition: all 0.3s 1s ease-out;
|
|
183
|
+
transition: all 0.3s 1s ease-out;
|
|
184
|
+
}
|
|
185
|
+
/* JavaScript Turned Off */
|
|
186
|
+
.no-js #loader-wrapper {
|
|
187
|
+
display: none;
|
|
188
|
+
}
|
|
189
|
+
.no-js h1 {
|
|
190
|
+
color: #222222;
|
|
191
|
+
}
|
|
192
|
+
#loader-wrapper .load_title {
|
|
193
|
+
font-family: 'Open Sans';
|
|
194
|
+
color: #FFF;
|
|
195
|
+
font-size: 19px;
|
|
196
|
+
width: 100%;
|
|
197
|
+
text-align: center;
|
|
198
|
+
z-index: 9999999999999;
|
|
199
|
+
position: absolute;
|
|
200
|
+
top: 60%;
|
|
201
|
+
opacity: 1;
|
|
202
|
+
line-height: 30px;
|
|
203
|
+
}
|
|
204
|
+
#loader-wrapper .load_title span {
|
|
205
|
+
font-weight: normal;
|
|
206
|
+
font-style: italic;
|
|
207
|
+
font-size: 13px;
|
|
208
|
+
color: #FFF;
|
|
209
|
+
opacity: 0.5;
|
|
210
|
+
}
|
|
211
|
+
</style>
|
|
212
|
+
<template>
|
|
213
|
+
<div id="app">
|
|
214
|
+
<div id="loader-wrapper">
|
|
215
|
+
<div id="loader"></div>
|
|
216
|
+
<div class="loader-section section-left"></div>
|
|
217
|
+
<div class="loader-section section-right"></div>
|
|
218
|
+
<div class="load_title">
|
|
219
|
+
<slot name="content"></slot>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
</template>
|
|
224
|
+
<script>
|
|
225
|
+
export default {
|
|
226
|
+
name: 'ladcartoon'
|
|
227
|
+
};
|
|
228
|
+
</script>
|