parent
f02a7db2a3
commit
b65b3fd796
|
@ -1 +0,0 @@
|
||||||
src/assets
|
|
27
.stylelintrc
27
.stylelintrc
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "stylelint-config-sass-guidelines",
|
|
||||||
"plugins": [
|
|
||||||
"stylelint-order"
|
|
||||||
],
|
|
||||||
"rules": {
|
|
||||||
"property-no-vendor-prefix": null,
|
|
||||||
"declaration-block-semicolon-newline-after": "always-multi-line",
|
|
||||||
"declaration-property-value-blacklist": null,
|
|
||||||
"selector-no-qualifying-type": null,
|
|
||||||
"selector-pseudo-element-no-unknown": null,
|
|
||||||
"selector-no-vendor-prefix": null,
|
|
||||||
"media-feature-name-no-vendor-prefix": null,
|
|
||||||
"scss/at-import-partial-extension-blacklist": null,
|
|
||||||
"scss/selector-no-redundant-nesting-selector": null,
|
|
||||||
"scss/at-mixin-pattern": null,
|
|
||||||
"scss/dollar-variable-pattern": null,
|
|
||||||
"order/properties-alphabetical-order": null,
|
|
||||||
"selector-max-id": null,
|
|
||||||
"property-no-unknown": null,
|
|
||||||
"color-named": null,
|
|
||||||
"value-no-vendor-prefix": null,
|
|
||||||
"selector-class-pattern": null,
|
|
||||||
"max-nesting-depth": 10,
|
|
||||||
"selector-max-compound-selectors": 10
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -10,7 +10,6 @@
|
||||||
"build:stage": "vue-cli-service build --mode staging",
|
"build:stage": "vue-cli-service build --mode staging",
|
||||||
"preview": "node build/index.js --preview",
|
"preview": "node build/index.js --preview",
|
||||||
"lint": "eslint --ext .js,.vue src",
|
"lint": "eslint --ext .js,.vue src",
|
||||||
"lint:css": "stylelint --aei .vue,.html src",
|
|
||||||
"test:unit": "jest --clearCache && vue-cli-service test:unit",
|
"test:unit": "jest --clearCache && vue-cli-service test:unit",
|
||||||
"test:ci": "npm run lint && npm run test:unit",
|
"test:ci": "npm run lint && npm run test:unit",
|
||||||
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
|
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
|
||||||
|
@ -100,9 +99,6 @@
|
||||||
"sass-loader": "^7.1.0",
|
"sass-loader": "^7.1.0",
|
||||||
"script-ext-html-webpack-plugin": "2.1.3",
|
"script-ext-html-webpack-plugin": "2.1.3",
|
||||||
"serve-static": "^1.13.2",
|
"serve-static": "^1.13.2",
|
||||||
"stylelint": "13.5.0",
|
|
||||||
"stylelint-config-sass-guidelines": "7.0.0",
|
|
||||||
"stylelint-order": "4.0.0",
|
|
||||||
"svg-sprite-loader": "4.1.3",
|
"svg-sprite-loader": "4.1.3",
|
||||||
"svgo": "1.2.0",
|
"svgo": "1.2.0",
|
||||||
"vue-template-compiler": "2.6.10"
|
"vue-template-compiler": "2.6.10"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<transition :name="transitionName">
|
<transition :name="transitionName">
|
||||||
<div v-show="visible" :style="customStyle" class="back-to-ceiling" @click="backToTop">
|
<div v-show="visible" :style="customStyle" class="back-to-ceiling" @click="backToTop">
|
||||||
<svg width="16" height="16" viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg" class="back-to-icon Icon--backToTopArrow" aria-hidden="true" style="height: 16px;width: 16px;"><path d="M12.036 15.59a1 1 0 0 1-.997.995H5.032a.996.996 0 0 1-.997-.996V8.584H1.03c-1.1 0-1.36-.633-.578-1.416L7.33.29a1.003 1.003 0 0 1 1.412 0l6.878 6.88c.782.78.523 1.415-.58 1.415h-3.004v7.004z" /></svg>
|
<svg width="16" height="16" viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg" class="Icon Icon--backToTopArrow" aria-hidden="true" style="height:16px;width:16px"><path d="M12.036 15.59a1 1 0 0 1-.997.995H5.032a.996.996 0 0 1-.997-.996V8.584H1.03c-1.1 0-1.36-.633-.578-1.416L7.33.29a1.003 1.003 0 0 1 1.412 0l6.878 6.88c.782.78.523 1.415-.58 1.415h-3.004v7.004z" /></svg>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
</template>
|
</template>
|
||||||
|
@ -96,15 +96,15 @@ export default {
|
||||||
|
|
||||||
.fade-enter-active,
|
.fade-enter-active,
|
||||||
.fade-leave-active {
|
.fade-leave-active {
|
||||||
transition: opacity 0.5s;
|
transition: opacity .5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fade-enter,
|
.fade-enter,
|
||||||
.fade-leave-to {
|
.fade-leave-to {
|
||||||
opacity: 0;
|
opacity: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-to-ceiling .back-to-icon {
|
.back-to-ceiling .Icon {
|
||||||
fill: #9aaabf;
|
fill: #9aaabf;
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="dnd-list">
|
<div class="dndList">
|
||||||
<div :style="{width:width1}" class="dnd-list-container">
|
<div :style="{width:width1}" class="dndList-list">
|
||||||
<h3>{{ list1Title }}</h3>
|
<h3>{{ list1Title }}</h3>
|
||||||
<draggable :set-data="setData" :list="list1" group="article" class="drag-area">
|
<draggable :set-data="setData" :list="list1" group="article" class="dragArea">
|
||||||
<div v-for="element in list1" :key="element.id" class="list-complete-item">
|
<div v-for="element in list1" :key="element.id" class="list-complete-item">
|
||||||
<div class="list-complete-item-handle">
|
<div class="list-complete-item-handle">
|
||||||
{{ element.id }}[{{ element.author }}] {{ element.title }}
|
{{ element.id }}[{{ element.author }}] {{ element.title }}
|
||||||
</div>
|
</div>
|
||||||
<div style="position: absolute;right: 0;">
|
<div style="position:absolute;right:0px;">
|
||||||
<span style="float: right;margin-top: -20px;margin-right: 5px;" @click="deleteEle(element)">
|
<span style="float: right ;margin-top: -20px;margin-right:5px;" @click="deleteEle(element)">
|
||||||
<i style="color: #ff4949;" class="el-icon-delete" />
|
<i style="color:#ff4949" class="el-icon-delete" />
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</draggable>
|
</draggable>
|
||||||
</div>
|
</div>
|
||||||
<div :style="{width:width2}" class="dnd-list-container">
|
<div :style="{width:width2}" class="dndList-list">
|
||||||
<h3>{{ list2Title }}</h3>
|
<h3>{{ list2Title }}</h3>
|
||||||
<draggable :list="list2" group="article" class="drag-area">
|
<draggable :list="list2" group="article" class="dragArea">
|
||||||
<div v-for="element in list2" :key="element.id" class="list-complete-item">
|
<div v-for="element in list2" :key="element.id" class="list-complete-item">
|
||||||
<div class="list-complete-item-handle2" @click="pushEle(element)">
|
<div class="list-complete-item-handle2" @click="pushEle(element)">
|
||||||
{{ element.id }} [{{ element.author }}] {{ element.title }}
|
{{ element.id }} [{{ element.author }}] {{ element.title }}
|
||||||
|
@ -105,25 +105,21 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.dnd-list {
|
.dndList {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
|
&:after {
|
||||||
&::after {
|
content: "";
|
||||||
content: '';
|
|
||||||
display: table;
|
display: table;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
.dndList-list {
|
||||||
.dnd-list-container {
|
|
||||||
float: left;
|
float: left;
|
||||||
padding-bottom: 30px;
|
padding-bottom: 30px;
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
margin-right: 2%;
|
margin-right: 2%;
|
||||||
}
|
}
|
||||||
|
.dragArea {
|
||||||
.drag-area {
|
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
padding-bottom: 30px;
|
padding-bottom: 30px;
|
||||||
|
@ -156,11 +152,11 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-complete-item.sortable-chosen {
|
.list-complete-item.sortable-chosen {
|
||||||
background: #4ab7bd;
|
background: #4AB7BD;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-complete-item.sortable-ghost {
|
.list-complete-item.sortable-ghost {
|
||||||
background: #30b08f;
|
background: #30B08F;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-complete-enter,
|
.list-complete-enter,
|
||||||
|
|
|
@ -50,9 +50,9 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.drag-select >>> .sortable-ghost {
|
.drag-select >>> .sortable-ghost {
|
||||||
opacity: 0.8;
|
opacity: .8;
|
||||||
color: #fff !important;
|
color: #fff!important;
|
||||||
background: #42b983 !important;
|
background: #42b983!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drag-select >>> .el-tag {
|
.drag-select >>> .el-tag {
|
||||||
|
|
|
@ -207,19 +207,19 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.dropzone {
|
.dropzone {
|
||||||
border: 2px solid #e5e5e5;
|
border: 2px solid #E5E5E5;
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
color: #777;
|
color: #777;
|
||||||
transition: background-color 0.2s linear;
|
transition: background-color .2s linear;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone:hover {
|
.dropzone:hover {
|
||||||
background-color: #f6f6f6;
|
background-color: #F6F6F6;
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
color: #ccc;
|
color: #CCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone .dz-image img {
|
.dropzone .dz-image img {
|
||||||
|
@ -232,7 +232,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone .dz-preview .dz-image {
|
.dropzone .dz-preview .dz-image {
|
||||||
border-radius: 0;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone .dz-preview:hover .dz-image img {
|
.dropzone .dz-preview:hover .dz-image img {
|
||||||
|
@ -243,16 +243,15 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone .dz-preview .dz-details {
|
.dropzone .dz-preview .dz-details {
|
||||||
bottom: 0;
|
bottom: 0px;
|
||||||
top: 0;
|
top: 0px;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: rgba(33, 150, 243, 0.8);
|
background-color: rgba(33, 150, 243, 0.8);
|
||||||
transition: opacity 0.2s linear;
|
transition: opacity .2s linear;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone .dz-preview .dz-details .dz-filename span,
|
.dropzone .dz-preview .dz-details .dz-filename span, .dropzone .dz-preview .dz-details .dz-size span {
|
||||||
.dropzone .dz-preview .dz-details .dz-size span {
|
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -286,14 +285,12 @@ export default {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone .dz-preview .dz-success-mark,
|
.dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark {
|
||||||
.dropzone .dz-preview .dz-error-mark {
|
|
||||||
margin-left: -40px;
|
margin-left: -40px;
|
||||||
margin-top: -50px;
|
margin-top: -50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropzone .dz-preview .dz-success-mark i,
|
.dropzone .dz-preview .dz-success-mark i, .dropzone .dz-preview .dz-error-mark i {
|
||||||
.dropzone .dz-preview .dz-error-mark i {
|
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
width="80"
|
width="80"
|
||||||
height="80"
|
height="80"
|
||||||
viewBox="0 0 250 250"
|
viewBox="0 0 250 250"
|
||||||
style="fill: #40c9c6; color: #fff;"
|
style="fill:#40c9c6; color:#fff;"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
>
|
>
|
||||||
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" />
|
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" />
|
||||||
|
@ -25,33 +25,30 @@
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.github-corner:hover .octo-arm {
|
.github-corner:hover .octo-arm {
|
||||||
animation: octocat-wave 560ms ease-in-out;
|
animation: octocat-wave 560ms ease-in-out
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes octocat-wave {
|
@keyframes octocat-wave {
|
||||||
0%,
|
0%,
|
||||||
100% {
|
100% {
|
||||||
transform: rotate(0);
|
transform: rotate(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
20%,
|
20%,
|
||||||
60% {
|
60% {
|
||||||
transform: rotate(-25deg);
|
transform: rotate(-25deg)
|
||||||
}
|
}
|
||||||
|
|
||||||
40%,
|
40%,
|
||||||
80% {
|
80% {
|
||||||
transform: rotate(10deg);
|
transform: rotate(10deg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width:500px) {
|
@media (max-width:500px) {
|
||||||
.github-corner:hover .octo-arm {
|
.github-corner:hover .octo-arm {
|
||||||
animation: none;
|
animation: none
|
||||||
}
|
}
|
||||||
|
|
||||||
.github-corner .octo-arm {
|
.github-corner .octo-arm {
|
||||||
animation: octocat-wave 560ms ease-in-out;
|
animation: octocat-wave 560ms ease-in-out
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -55,21 +55,18 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.json-editor {
|
.json-editor{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.json-editor >>> .CodeMirror {
|
.json-editor >>> .CodeMirror {
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
}
|
}
|
||||||
|
.json-editor >>> .CodeMirror-scroll{
|
||||||
.json-editor >>> .CodeMirror-scroll {
|
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.json-editor >>> .cm-s-rubyblue span.cm-string {
|
.json-editor >>> .cm-s-rubyblue span.cm-string {
|
||||||
color: #f08047;
|
color: #F08047;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -91,7 +91,7 @@ export default {
|
||||||
line-height: 54px;
|
line-height: 54px;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
|
box-shadow: 0px 1px 3px 0 rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -208,14 +208,14 @@ export default {
|
||||||
// Utils
|
// Utils
|
||||||
$spacer: 12px;
|
$spacer: 12px;
|
||||||
$transition: 0.2s ease all;
|
$transition: 0.2s ease all;
|
||||||
$index: 0;
|
$index: 0px;
|
||||||
$index-has-icon: 30px;
|
$index-has-icon: 30px;
|
||||||
// Theme:
|
// Theme:
|
||||||
$color-white: white;
|
$color-white: white;
|
||||||
$color-grey: #9e9e9e;
|
$color-grey: #9E9E9E;
|
||||||
$color-grey-light: #e0e0e0;
|
$color-grey-light: #E0E0E0;
|
||||||
$color-blue: #2196f3;
|
$color-blue: #2196F3;
|
||||||
$color-red: #f44336;
|
$color-red: #F44336;
|
||||||
$color-black: black;
|
$color-black: black;
|
||||||
// Base clases:
|
// Base clases:
|
||||||
%base-bar-pseudo {
|
%base-bar-pseudo {
|
||||||
|
@ -239,11 +239,9 @@ export default {
|
||||||
.material-input__component {
|
.material-input__component {
|
||||||
margin-top: 36px;
|
margin-top: 36px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconClass {
|
.iconClass {
|
||||||
.material-input__icon {
|
.material-input__icon {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -257,16 +255,13 @@ export default {
|
||||||
font-weight: $font-weight-normal;
|
font-weight: $font-weight-normal;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-label {
|
.material-label {
|
||||||
left: $index-has-icon;
|
left: $index-has-icon;
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-input {
|
.material-input {
|
||||||
text-indent: $index-has-icon;
|
text-indent: $index-has-icon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-input {
|
.material-input {
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
padding: $spacer $spacer $spacer - $apixel * 10 $spacer / 2;
|
padding: $spacer $spacer $spacer - $apixel * 10 $spacer / 2;
|
||||||
|
@ -275,14 +270,12 @@ export default {
|
||||||
border: none;
|
border: none;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border: none;
|
border: none;
|
||||||
border-bottom: 1px solid transparent; // fixes the height issue
|
border-bottom: 1px solid transparent; // fixes the height issue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-label {
|
.material-label {
|
||||||
font-weight: $font-weight-normal;
|
font-weight: $font-weight-normal;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -292,18 +285,15 @@ export default {
|
||||||
transition: $transition;
|
transition: $transition;
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-input-bar {
|
.material-input-bar {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
&:before {
|
||||||
&::before {
|
|
||||||
@extend %base-bar-pseudo;
|
@extend %base-bar-pseudo;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
}
|
}
|
||||||
|
&:after {
|
||||||
&::after {
|
|
||||||
@extend %base-bar-pseudo;
|
@extend %base-bar-pseudo;
|
||||||
right: 50%;
|
right: 50%;
|
||||||
}
|
}
|
||||||
|
@ -323,8 +313,8 @@ export default {
|
||||||
// Active state:
|
// Active state:
|
||||||
&.material--active {
|
&.material--active {
|
||||||
.material-input-bar {
|
.material-input-bar {
|
||||||
&::before,
|
&:before,
|
||||||
&::after {
|
&:after {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -333,21 +323,18 @@ export default {
|
||||||
|
|
||||||
.material-input__component {
|
.material-input__component {
|
||||||
background: $color-white;
|
background: $color-white;
|
||||||
|
|
||||||
.material-input {
|
.material-input {
|
||||||
background: none;
|
background: none;
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
text-indent: $index;
|
text-indent: $index;
|
||||||
border-bottom: 1px solid $color-grey-light;
|
border-bottom: 1px solid $color-grey-light;
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-label {
|
.material-label {
|
||||||
color: $color-grey;
|
color: $color-grey;
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-input-bar {
|
.material-input-bar {
|
||||||
&::before,
|
&:before,
|
||||||
&::after {
|
&:after {
|
||||||
background: $color-blue;
|
background: $color-blue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -362,10 +349,9 @@ export default {
|
||||||
&.material--active .material-label {
|
&.material--active .material-label {
|
||||||
color: $color-red;
|
color: $color-red;
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-input-bar {
|
.material-input-bar {
|
||||||
&::before,
|
&:before,
|
||||||
&::after {
|
&:after {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,7 +95,6 @@ export default {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 32px 16px;
|
padding: 32px 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pagination-container.hidden {
|
.pagination-container.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,7 +91,7 @@ export default {
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin: 0 60px;
|
margin: 0 60px;
|
||||||
padding: 22px 0 0;
|
padding: 22px 0 0 0;
|
||||||
height: 85px;
|
height: 85px;
|
||||||
font-family: 'Open Sans', Arial, sans-serif;
|
font-family: 'Open Sans', Arial, sans-serif;
|
||||||
text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.3);
|
text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0, 0, 0, 0.3);
|
||||||
|
@ -137,6 +137,6 @@ export default {
|
||||||
|
|
||||||
.pan-item:hover .pan-info p a {
|
.pan-item:hover .pan-info p a {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: translateX(0) rotate(0deg);
|
transform: translateX(0px) rotate(0deg);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -90,8 +90,8 @@ export default {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
transition: opacity .3s cubic-bezier(.7, .3, .1, 1);
|
||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, .2);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,15 +102,15 @@ export default {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.05);
|
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .05);
|
||||||
transition: all 0.25s cubic-bezier(0.7, 0.3, 0.1, 1);
|
transition: all .25s cubic-bezier(.7, .3, .1, 1);
|
||||||
transform: translate(100%);
|
transform: translate(100%);
|
||||||
background: #fff;
|
background: #fff;
|
||||||
z-index: 40000;
|
z-index: 40000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.show {
|
.show {
|
||||||
transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
transition: all .3s cubic-bezier(.7, .3, .1, 1);
|
||||||
|
|
||||||
.rightPanel-background {
|
.rightPanel-background {
|
||||||
z-index: 20000;
|
z-index: 20000;
|
||||||
|
@ -137,7 +137,6 @@ export default {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
line-height: 48px;
|
line-height: 48px;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
line-height: 48px;
|
line-height: 48px;
|
||||||
|
|
|
@ -52,7 +52,7 @@ export default {
|
||||||
.screenfull-svg {
|
.screenfull-svg {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
fill: #5a5e66;
|
fill: #5a5e66;;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
vertical-align: 10px;
|
vertical-align: 10px;
|
||||||
|
|
|
@ -39,14 +39,12 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" >
|
<style lang="scss" >
|
||||||
$n: 9; //和items.length 相同
|
$n: 9; //和items.length 相同
|
||||||
$t: 0.1s;
|
$t: .1s;
|
||||||
|
|
||||||
.share-dropdown-menu {
|
.share-dropdown-menu {
|
||||||
width: 250px;
|
width: 250px;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
height: auto !important;
|
height: auto!important;
|
||||||
|
|
||||||
&-title {
|
&-title {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -58,13 +56,11 @@ $t: 0.1s;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
transform: translate3d(0, 0, 0);
|
transform: translate3d(0,0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
&-wrapper {
|
&-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-item {
|
&-item {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -78,7 +74,6 @@ $t: 0.1s;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: transform 0.28s ease;
|
transition: transform 0.28s ease;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: black;
|
background: black;
|
||||||
color: white;
|
color: white;
|
||||||
|
@ -91,12 +86,10 @@ $t: 0.1s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
.share-dropdown-menu-wrapper {
|
.share-dropdown-menu-wrapper {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.share-dropdown-menu-item {
|
.share-dropdown-menu-item {
|
||||||
@for $i from 1 through $n {
|
@for $i from 1 through $n {
|
||||||
&:nth-of-type(#{$i}) {
|
&:nth-of-type(#{$i}) {
|
||||||
|
|
|
@ -56,7 +56,7 @@ export default {
|
||||||
|
|
||||||
.svg-external-icon {
|
.svg-external-icon {
|
||||||
background-color: currentColor;
|
background-color: currentColor;
|
||||||
mask-size: cover !important;
|
mask-size: cover!important;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -48,7 +48,7 @@ export default {
|
||||||
content: '';
|
content: '';
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 6px;
|
height: 6px;
|
||||||
margin: -3px 0 0;
|
margin: -3px 0 0 0;
|
||||||
background: #3888fa;
|
background: #3888fa;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
@ -104,7 +104,6 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.editor-slide-upload {
|
.editor-slide-upload {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
/deep/ .el-upload--picture-card {
|
/deep/ .el-upload--picture-card {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -218,28 +218,23 @@ export default {
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tinymce-container>>>.mce-fullscreen {
|
.tinymce-container>>>.mce-fullscreen {
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tinymce-textarea {
|
.tinymce-textarea {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-custom-btn-container {
|
.editor-custom-btn-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 4px;
|
right: 4px;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
/*z-index: 2005;*/
|
/*z-index: 2005;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.fullscreen .editor-custom-btn-container {
|
.fullscreen .editor-custom-btn-container {
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-upload-btn {
|
.editor-upload-btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,18 +78,15 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import '~@/styles/mixin.scss';
|
@import "~@/styles/mixin.scss";
|
||||||
|
|
||||||
.upload-container {
|
.upload-container {
|
||||||
@include clearfix;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@include clearfix;
|
||||||
.image-uploader {
|
.image-uploader {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-preview {
|
.image-preview {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
@ -97,18 +94,15 @@ export default {
|
||||||
border: 1px dashed #d9d9d9;
|
border: 1px dashed #d9d9d9;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 50px;
|
margin-left: 50px;
|
||||||
|
|
||||||
.image-preview-wrapper {
|
.image-preview-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-preview-action {
|
.image-preview-action {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -120,17 +114,15 @@ export default {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, .5);
|
||||||
transition: opacity 0.3s;
|
transition: opacity .3s;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 200px;
|
line-height: 200px;
|
||||||
|
|
||||||
.el-icon-delete {
|
.el-icon-delete {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.image-preview-action {
|
.image-preview-action {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
@ -81,30 +81,25 @@ export default {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.image-uploader {
|
.image-uploader {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-preview {
|
.image-preview {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0px;
|
||||||
top: 0;
|
top: 0px;
|
||||||
border: 1px dashed #d9d9d9;
|
border: 1px dashed #d9d9d9;
|
||||||
|
|
||||||
.image-preview-wrapper {
|
.image-preview-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-preview-action {
|
.image-preview-action {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -116,17 +111,15 @@ export default {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, .5);
|
||||||
transition: opacity 0.3s;
|
transition: opacity .3s;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 200px;
|
line-height: 200px;
|
||||||
|
|
||||||
.el-icon-delete {
|
.el-icon-delete {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.image-preview-action {
|
.image-preview-action {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
@ -86,18 +86,15 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import '~@/styles/mixin.scss';
|
@import "~@/styles/mixin.scss";
|
||||||
|
|
||||||
.upload-container {
|
.upload-container {
|
||||||
@include clearfix;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@include clearfix;
|
||||||
.image-uploader {
|
.image-uploader {
|
||||||
width: 35%;
|
width: 35%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-preview {
|
.image-preview {
|
||||||
width: 200px;
|
width: 200px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
|
@ -105,18 +102,15 @@ export default {
|
||||||
border: 1px dashed #d9d9d9;
|
border: 1px dashed #d9d9d9;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 50px;
|
margin-left: 50px;
|
||||||
|
|
||||||
.image-preview-wrapper {
|
.image-preview-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-preview-action {
|
.image-preview-action {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -128,24 +122,21 @@ export default {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, .5);
|
||||||
transition: opacity 0.3s;
|
transition: opacity .3s;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 200px;
|
line-height: 200px;
|
||||||
|
|
||||||
.el-icon-delete {
|
.el-icon-delete {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.image-preview-action {
|
.image-preview-action {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-app-preview {
|
.image-app-preview {
|
||||||
width: 320px;
|
width: 320px;
|
||||||
height: 180px;
|
height: 180px;
|
||||||
|
@ -153,7 +144,6 @@ export default {
|
||||||
border: 1px dashed #d9d9d9;
|
border: 1px dashed #d9d9d9;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 50px;
|
margin-left: 50px;
|
||||||
|
|
||||||
.app-fake-conver {
|
.app-fake-conver {
|
||||||
height: 44px;
|
height: 44px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<input ref="excel-upload-input" class="excel-upload-input" type="file" accept=".xlsx, .xls" @change="handleClick">
|
<input ref="excel-upload-input" class="excel-upload-input" type="file" accept=".xlsx, .xls" @change="handleClick">
|
||||||
<div class="drop" @drop="handleDrop" @dragover="handleDragover" @dragenter="handleDragover">
|
<div class="drop" @drop="handleDrop" @dragover="handleDragover" @dragenter="handleDragover">
|
||||||
Drop excel file here or
|
Drop excel file here or
|
||||||
<el-button :loading="loading" style="margin-left: 16px;" size="mini" type="primary" @click="handleUpload">
|
<el-button :loading="loading" style="margin-left:16px;" size="mini" type="primary" @click="handleUpload">
|
||||||
Browse
|
Browse
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -119,12 +119,11 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.excel-upload-input {
|
.excel-upload-input{
|
||||||
display: none;
|
display: none;
|
||||||
z-index: -9999;
|
z-index: -9999;
|
||||||
}
|
}
|
||||||
|
.drop{
|
||||||
.drop {
|
|
||||||
border: 2px dashed #bbb;
|
border: 2px dashed #bbb;
|
||||||
width: 600px;
|
width: 600px;
|
||||||
height: 160px;
|
height: 160px;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<template v-if="device!=='mobile'">
|
<template v-if="device!=='mobile'">
|
||||||
<search id="header-search" class="right-menu-item" />
|
<search id="header-search" class="right-menu-item" />
|
||||||
|
|
||||||
<error-log class="err-log-container right-menu-item hover-effect" />
|
<error-log class="errLog-container right-menu-item hover-effect" />
|
||||||
|
|
||||||
<screenfull id="screenfull" class="right-menu-item hover-effect" />
|
<screenfull id="screenfull" class="right-menu-item hover-effect" />
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<el-dropdown-item>Docs</el-dropdown-item>
|
<el-dropdown-item>Docs</el-dropdown-item>
|
||||||
</a>
|
</a>
|
||||||
<el-dropdown-item divided @click.native="logout">
|
<el-dropdown-item divided @click.native="logout">
|
||||||
<span style="display: block;">Log Out</span>
|
<span style="display:block;">Log Out</span>
|
||||||
</el-dropdown-item>
|
</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
|
@ -88,18 +88,18 @@ export default {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
box-shadow: 0 1px 4px rgba(0,21,41,.08);
|
||||||
|
|
||||||
.hamburger-container {
|
.hamburger-container {
|
||||||
line-height: 46px;
|
line-height: 46px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background 0.3s;
|
transition: background .3s;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color:transparent;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(0, 0, 0, 0.025);
|
background: rgba(0, 0, 0, .025)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ export default {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.err-log-container {
|
.errLog-container {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
@ -131,10 +131,10 @@ export default {
|
||||||
|
|
||||||
&.hover-effect {
|
&.hover-effect {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background 0.3s;
|
transition: background .3s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(0, 0, 0, 0.025);
|
background: rgba(0, 0, 0, .025)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,19 +90,19 @@ export default {
|
||||||
|
|
||||||
.drawer-title {
|
.drawer-title {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, .85);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer-item {
|
.drawer-item {
|
||||||
color: rgba(0, 0, 0, 0.65);
|
color: rgba(0, 0, 0, .65);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer-switch {
|
.drawer-switch {
|
||||||
float: right;
|
float: right
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -32,7 +32,6 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
.sidebarLogoFade-enter-active {
|
.sidebarLogoFade-enter-active {
|
||||||
transition: opacity 1.5s;
|
transition: opacity 1.5s;
|
||||||
}
|
}
|
||||||
|
@ -76,7 +75,7 @@ export default {
|
||||||
|
|
||||||
&.collapse {
|
&.collapse {
|
||||||
.sidebar-logo {
|
.sidebar-logo {
|
||||||
margin-right: 0;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,12 +82,10 @@ export default {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
/deep/ {
|
/deep/ {
|
||||||
.el-scrollbar__bar {
|
.el-scrollbar__bar {
|
||||||
bottom: 0;
|
bottom: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-scrollbar__wrap {
|
.el-scrollbar__wrap {
|
||||||
height: 49px;
|
height: 49px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -203,8 +203,7 @@ export default {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-bottom: 1px solid #d8dce5;
|
border-bottom: 1px solid #d8dce5;
|
||||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04);
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04);
|
||||||
|
|
||||||
.tags-view-wrapper {
|
.tags-view-wrapper {
|
||||||
.tags-view-item {
|
.tags-view-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -219,20 +218,16 @@ export default {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-of-type {
|
&:last-of-type {
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background-color: #42b983;
|
background-color: #42b983;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-color: #42b983;
|
border-color: #42b983;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
@ -246,7 +241,6 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.contextmenu {
|
.contextmenu {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
@ -258,13 +252,11 @@ export default {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #333;
|
color: #333;
|
||||||
box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
|
box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
|
||||||
|
|
||||||
li {
|
li {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 7px 16px;
|
padding: 7px 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: #eee;
|
background: #eee;
|
||||||
}
|
}
|
||||||
|
@ -283,15 +275,13 @@ export default {
|
||||||
vertical-align: 2px;
|
vertical-align: 2px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
||||||
transform-origin: 100% 50%;
|
transform-origin: 100% 50%;
|
||||||
|
&:before {
|
||||||
&::before {
|
transform: scale(.6);
|
||||||
transform: scale(0.6);
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: -3px;
|
vertical-align: -3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #b4bccc;
|
background-color: #b4bccc;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
|
@ -58,8 +58,8 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import '~@/styles/mixin.scss';
|
@import "~@/styles/mixin.scss";
|
||||||
@import '~@/styles/variables.scss';
|
@import "~@/styles/variables.scss";
|
||||||
|
|
||||||
.app-wrapper {
|
.app-wrapper {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
|
@ -93,7 +93,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.hideSidebar .fixed-header {
|
.hideSidebar .fixed-header {
|
||||||
width: calc(100% - 54px);
|
width: calc(100% - 54px)
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile .fixed-header {
|
.mobile .fixed-header {
|
||||||
|
|
|
@ -6,87 +6,94 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $color;
|
color: $color;
|
||||||
|
|
||||||
&::before,
|
&:before,
|
||||||
&::after {
|
&:after {
|
||||||
background: $color;
|
background: $color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.blue-btn {
|
.blue-btn {
|
||||||
@include colorBtn($blue); }
|
@include colorBtn($blue)
|
||||||
|
}
|
||||||
|
|
||||||
.light-blue-btn {
|
.light-blue-btn {
|
||||||
@include colorBtn($light-blue); }
|
@include colorBtn($light-blue)
|
||||||
|
}
|
||||||
|
|
||||||
.red-btn {
|
.red-btn {
|
||||||
@include colorBtn($red); }
|
@include colorBtn($red)
|
||||||
|
}
|
||||||
|
|
||||||
.pink-btn {
|
.pink-btn {
|
||||||
@include colorBtn($pink); }
|
@include colorBtn($pink)
|
||||||
|
}
|
||||||
|
|
||||||
.green-btn {
|
.green-btn {
|
||||||
@include colorBtn($green); }
|
@include colorBtn($green)
|
||||||
|
}
|
||||||
|
|
||||||
.tiffany-btn {
|
.tiffany-btn {
|
||||||
@include colorBtn($tiffany); }
|
@include colorBtn($tiffany)
|
||||||
|
}
|
||||||
|
|
||||||
.yellow-btn {
|
.yellow-btn {
|
||||||
@include colorBtn($yellow); }
|
@include colorBtn($yellow)
|
||||||
|
}
|
||||||
|
|
||||||
.pan-btn {
|
.pan-btn {
|
||||||
border: none;
|
|
||||||
border-radius: 8px;
|
|
||||||
color: #fff;
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
outline: none;
|
color: #fff;
|
||||||
padding: 14px 36px;
|
padding: 14px 36px;
|
||||||
position: relative;
|
border-radius: 8px;
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
transition: 600ms ease all;
|
transition: 600ms ease all;
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
||||||
&::before,
|
&:before,
|
||||||
&::after {
|
&:after {
|
||||||
transition: 600ms ease all;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
transition: 600ms ease all;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before,
|
&:before,
|
||||||
&::after {
|
&:after {
|
||||||
content: '';
|
content: '';
|
||||||
height: 2px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
|
||||||
top: 0;
|
top: 0;
|
||||||
transition: 400ms ease all;
|
right: 0;
|
||||||
|
height: 2px;
|
||||||
width: 0;
|
width: 0;
|
||||||
|
transition: 400ms ease all;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: inherit;
|
right: inherit;
|
||||||
top: inherit;
|
top: inherit;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-button {
|
.custom-button {
|
||||||
-webkit-appearance: none;
|
|
||||||
background: #fff;
|
|
||||||
border-radius: 4px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
color: #fff;
|
|
||||||
cursor: pointer;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 14px;
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin: 0;
|
|
||||||
outline: 0;
|
|
||||||
padding: 10px 15px;
|
|
||||||
text-align: center;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
cursor: pointer;
|
||||||
|
background: #fff;
|
||||||
|
color: #fff;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
text-align: center;
|
||||||
|
box-sizing: border-box;
|
||||||
|
outline: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 10px 15px;
|
||||||
|
font-size: 14px;
|
||||||
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
// cover some element-ui styles
|
// cover some element-ui styles
|
||||||
|
|
||||||
.el-breadcrumb__inner,
|
.el-breadcrumb__inner,
|
||||||
.el-breadcrumb__inner a {
|
.el-breadcrumb__inner a {
|
||||||
font-weight: 400 !important;
|
font-weight: 400 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-upload {
|
.el-upload {
|
||||||
input[type='file'] {
|
input[type="file"] {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,7 +17,7 @@
|
||||||
|
|
||||||
.cell {
|
.cell {
|
||||||
.el-tag {
|
.el-tag {
|
||||||
margin-right: 0;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,8 +30,8 @@
|
||||||
|
|
||||||
.fixed-width {
|
.fixed-width {
|
||||||
.el-button--mini {
|
.el-button--mini {
|
||||||
min-width: 60px;
|
|
||||||
padding: 7px 10px;
|
padding: 7px 10px;
|
||||||
|
min-width: 60px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,17 +41,17 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
.el-tag {
|
.el-tag {
|
||||||
margin-right: 0;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// to fixed https://github.com/ElemeFE/element/issues/2461
|
// to fixed https://github.com/ElemeFE/element/issues/2461
|
||||||
.el-dialog {
|
.el-dialog {
|
||||||
left: 0;
|
|
||||||
margin: 0 auto;
|
|
||||||
position: relative;
|
|
||||||
transform: none;
|
transform: none;
|
||||||
|
left: 0;
|
||||||
|
position: relative;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
// refine element ui upload
|
// refine element ui upload
|
||||||
|
@ -59,8 +60,8 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.el-upload-dragger {
|
.el-upload-dragger {
|
||||||
height: 200px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -68,7 +69,7 @@
|
||||||
// dropdown
|
// dropdown
|
||||||
.el-dropdown-menu {
|
.el-dropdown-menu {
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,9 @@ $--border-color-lighter: #e6ebf5;
|
||||||
$--table-border: 1px solid #dfe6ec;
|
$--table-border: 1px solid #dfe6ec;
|
||||||
|
|
||||||
/* icon font path, required */
|
/* icon font path, required */
|
||||||
$--font-path: '~element-ui/lib/theme-chalk/fonts';
|
$--font-path: "~element-ui/lib/theme-chalk/fonts";
|
||||||
|
|
||||||
@import '~element-ui/packages/theme-chalk/src/index';
|
@import "~element-ui/packages/theme-chalk/src/index";
|
||||||
|
|
||||||
// the :export directive is the magic sauce for webpack
|
// the :export directive is the magic sauce for webpack
|
||||||
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
@import './btn.scss';
|
@import './btn.scss';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
height: 100%;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
height: 100%;
|
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
|
@ -18,8 +18,8 @@ label {
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
box-sizing: border-box;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
|
@ -27,13 +27,13 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
*,
|
*,
|
||||||
*::before,
|
*:before,
|
||||||
*::after {
|
*:after {
|
||||||
box-sizing: inherit;
|
box-sizing: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.no-padding {
|
.no-padding {
|
||||||
padding: 0 !important;
|
padding: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.padding-content {
|
.padding-content {
|
||||||
|
@ -48,8 +48,8 @@ a:active {
|
||||||
a,
|
a,
|
||||||
a:focus,
|
a:focus,
|
||||||
a:hover {
|
a:hover {
|
||||||
color: inherit;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -81,33 +81,33 @@ div:focus {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.inline-block {
|
.inlineBlock {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clearfix {
|
.clearfix {
|
||||||
&::after {
|
&:after {
|
||||||
clear: both;
|
visibility: hidden;
|
||||||
content: ' ';
|
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
|
content: " ";
|
||||||
|
clear: both;
|
||||||
height: 0;
|
height: 0;
|
||||||
visibility: hidden;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
aside {
|
aside {
|
||||||
background: #eef1f6;
|
background: #eef1f6;
|
||||||
|
padding: 8px 24px;
|
||||||
|
margin-bottom: 20px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: #2c3e50;
|
|
||||||
display: block;
|
display: block;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
line-height: 32px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||||
|
color: #2c3e50;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
line-height: 32px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
padding: 8px 24px;
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #337ab7;
|
color: #337ab7;
|
||||||
|
@ -134,22 +134,22 @@ aside {
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-center {
|
.text-center {
|
||||||
text-align: center;
|
text-align: center
|
||||||
}
|
}
|
||||||
|
|
||||||
.sub-navbar {
|
.sub-navbar {
|
||||||
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
|
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
padding-right: 20px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: right;
|
|
||||||
transition: 600ms ease position;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
text-align: right;
|
||||||
|
padding-right: 20px;
|
||||||
|
transition: 600ms ease position;
|
||||||
|
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
|
||||||
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
color: #fff;
|
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.draft {
|
&.draft {
|
||||||
|
@ -176,8 +176,8 @@ aside {
|
||||||
|
|
||||||
.filter-item {
|
.filter-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 10px;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
@mixin clearfix {
|
@mixin clearfix {
|
||||||
&::after {
|
&:after {
|
||||||
clear: both;
|
content: "";
|
||||||
content: '';
|
|
||||||
display: table;
|
display: table;
|
||||||
|
clear: both;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,15 +22,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin relative {
|
@mixin relative {
|
||||||
height: 100%;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin pct($pct) {
|
@mixin pct($pct) {
|
||||||
margin: 0 auto;
|
|
||||||
position: relative;
|
|
||||||
width: #{$pct};
|
width: #{$pct};
|
||||||
|
position: relative;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin triangle($width, $height, $color, $direction) {
|
@mixin triangle($width, $height, $color, $direction) {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#app {
|
#app {
|
||||||
|
|
||||||
.main-container {
|
.main-container {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
transition: margin-left 0.28s;
|
transition: margin-left .28s;
|
||||||
margin-left: $sideBarWidth;
|
margin-left: $sideBarWidth;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -12,7 +13,7 @@
|
||||||
background-color: $menuBg;
|
background-color: $menuBg;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
font-size: 0;
|
font-size: 0px;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-scrollbar__bar.is-vertical {
|
.el-scrollbar__bar.is-vertical {
|
||||||
right: 0;
|
right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-scrollbar {
|
.el-scrollbar {
|
||||||
|
@ -145,11 +146,11 @@
|
||||||
// mobile responsive
|
// mobile responsive
|
||||||
.mobile {
|
.mobile {
|
||||||
.main-container {
|
.main-container {
|
||||||
margin-left: 0;
|
margin-left: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-container {
|
.sidebar-container {
|
||||||
transition: transform 0.28s;
|
transition: transform .28s;
|
||||||
width: $sideBarWidth !important;
|
width: $sideBarWidth !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -163,6 +164,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.withoutAnimation {
|
.withoutAnimation {
|
||||||
|
|
||||||
.main-container,
|
.main-container,
|
||||||
.sidebar-container {
|
.sidebar-container {
|
||||||
transition: none;
|
transition: none;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
/* fade-transform */
|
/* fade-transform */
|
||||||
.fade-transform-leave-active,
|
.fade-transform-leave-active,
|
||||||
.fade-transform-enter-active {
|
.fade-transform-enter-active {
|
||||||
transition: all 0.5s;
|
transition: all .5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fade-transform-enter {
|
.fade-transform-enter {
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
/* breadcrumb transition */
|
/* breadcrumb transition */
|
||||||
.breadcrumb-enter-active,
|
.breadcrumb-enter-active,
|
||||||
.breadcrumb-leave-active {
|
.breadcrumb-leave-active {
|
||||||
transition: all 0.5s;
|
transition: all .5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb-enter,
|
.breadcrumb-enter,
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb-move {
|
.breadcrumb-move {
|
||||||
transition: all 0.5s;
|
transition: all .5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb-leave-active {
|
.breadcrumb-leave-active {
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
// base color
|
// base color
|
||||||
$blue: #324157;
|
$blue:#324157;
|
||||||
$light-blue: #3a71a8;
|
$light-blue:#3A71A8;
|
||||||
$red: #c03639;
|
$red:#C03639;
|
||||||
$pink: #e65d6e;
|
$pink: #E65D6E;
|
||||||
$green: #30b08f;
|
$green: #30B08F;
|
||||||
$tiffany: #4ab7bd;
|
$tiffany: #4AB7BD;
|
||||||
$yellow: #fec171;
|
$yellow:#FEC171;
|
||||||
$panGreen: #30b08f;
|
$panGreen: #30B08F;
|
||||||
|
|
||||||
// sidebar
|
// sidebar
|
||||||
$menuText: #bfcbd9;
|
$menuText:#bfcbd9;
|
||||||
$menuActiveText: #409eff;
|
$menuActiveText:#409EFF;
|
||||||
$subMenuActiveText: #f4f4f5; // https://github.com/ElemeFE/element/issues/12951
|
$subMenuActiveText:#f4f4f5; // https://github.com/ElemeFE/element/issues/12951
|
||||||
|
|
||||||
$menuBg: #304156;
|
$menuBg:#304156;
|
||||||
$menuHover: #263445;
|
$menuHover:#263445;
|
||||||
|
|
||||||
$subMenuBg: #1f2d3d;
|
$subMenuBg:#1f2d3d;
|
||||||
$subMenuHover: #001528;
|
$subMenuHover:#001528;
|
||||||
|
|
||||||
$sideBarWidth: 210px;
|
$sideBarWidth: 210px;
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.chart-container {
|
.chart-container{
|
||||||
height: calc(100vh - 84px);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: calc(100vh - 84px);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.chart-container {
|
.chart-container{
|
||||||
height: calc(100vh - 84px);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: calc(100vh - 84px);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.chart-container {
|
.chart-container{
|
||||||
height: calc(100vh - 84px);
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: calc(100vh - 84px);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -2,21 +2,13 @@
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-tabs v-model="activeName">
|
<el-tabs v-model="activeName">
|
||||||
<el-tab-pane label="use clipboard directly" name="directly">
|
<el-tab-pane label="use clipboard directly" name="directly">
|
||||||
<el-input
|
<el-input v-model="inputData" placeholder="Please input" style="width:400px;max-width:100%;" />
|
||||||
v-model="inputData"
|
|
||||||
placeholder="Please input"
|
|
||||||
:style="inputStyle"
|
|
||||||
/>
|
|
||||||
<el-button type="primary" icon="el-icon-document" @click="handleCopy(inputData,$event)">
|
<el-button type="primary" icon="el-icon-document" @click="handleCopy(inputData,$event)">
|
||||||
copy
|
copy
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="use clipboard by v-directive" name="v-directive">
|
<el-tab-pane label="use clipboard by v-directive" name="v-directive">
|
||||||
<el-input
|
<el-input v-model="inputData" placeholder="Please input" style="width:400px;max-width:100%;" />
|
||||||
v-model="inputData"
|
|
||||||
placeholder="Please input"
|
|
||||||
:style="inputStyle"
|
|
||||||
/>
|
|
||||||
<el-button v-clipboard:copy="inputData" v-clipboard:success="clipboardSuccess" type="primary" icon="el-icon-document">
|
<el-button v-clipboard:copy="inputData" v-clipboard:success="clipboardSuccess" type="primary" icon="el-icon-document">
|
||||||
copy
|
copy
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -37,10 +29,6 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeName: 'directly',
|
activeName: 'directly',
|
||||||
inputStyle: {
|
|
||||||
maxWidth: '100%',
|
|
||||||
width: '400px'
|
|
||||||
},
|
|
||||||
inputData: 'https://github.com/PanJiaChen/vue-element-admin'
|
inputData: 'https://github.com/PanJiaChen/vue-element-admin'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,14 +7,7 @@
|
||||||
|
|
||||||
<pan-thumb :image="image" />
|
<pan-thumb :image="image" />
|
||||||
|
|
||||||
<el-button
|
<el-button type="primary" icon="el-icon-upload" style="position: absolute;bottom: 15px;margin-left: 40px;" @click="imagecropperShow=true">
|
||||||
type="primary"
|
|
||||||
icon="el-icon-upload"
|
|
||||||
style="bottom: 15px;
|
|
||||||
margin-left: 40px;
|
|
||||||
position: absolute;"
|
|
||||||
@click="imagecropperShow=true"
|
|
||||||
>
|
|
||||||
Change Avatar
|
Change Avatar
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
|
@ -59,10 +52,10 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.avatar {
|
.avatar{
|
||||||
border-radius: 50%;
|
|
||||||
height: 200px;
|
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
:autoplay="false"
|
:autoplay="false"
|
||||||
class="example"
|
class="example"
|
||||||
/>
|
/>
|
||||||
<div style="margin-left: 25%; margin-top: 40px;">
|
<div style="margin-left: 25%;margin-top: 40px;">
|
||||||
<label class="label" for="startValInput">startVal:
|
<label class="label" for="startValInput">startVal:
|
||||||
<input v-model.number="setStartVal" type="number" name="startValInput">
|
<input v-model.number="setStartVal" type="number" name="startValInput">
|
||||||
</label>
|
</label>
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
<label class="label" for="durationInput">duration:
|
<label class="label" for="durationInput">duration:
|
||||||
<input v-model.number="setDuration" type="number" name="durationInput">
|
<input v-model.number="setDuration" type="number" name="durationInput">
|
||||||
</label>
|
</label>
|
||||||
<div class="start-btn example-btn" @click="start">
|
<div class="startBtn example-btn" @click="start">
|
||||||
Start
|
Start
|
||||||
</div>
|
</div>
|
||||||
<div class="pause-resume-btn example-btn" @click="pauseResume">
|
<div class="pause-resume-btn example-btn" @click="pauseResume">
|
||||||
|
@ -124,96 +124,95 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.example-btn {
|
.example-btn {
|
||||||
background-color: #fff;
|
|
||||||
background-image: none;
|
|
||||||
border: 1px solid transparent;
|
|
||||||
border-color: #d9d9d9;
|
|
||||||
border-radius: 4px;
|
|
||||||
color: rgba(0, 0, 0, 0.65);
|
|
||||||
cursor: pointer;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 500;
|
|
||||||
line-height: 1.5;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding: 4px 15px;
|
font-weight: 500;
|
||||||
position: relative;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
-ms-touch-action: manipulation;
|
-ms-touch-action: manipulation;
|
||||||
touch-action: manipulation;
|
touch-action: manipulation;
|
||||||
-webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
cursor: pointer;
|
||||||
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
background-image: none;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
white-space: nowrap;
|
||||||
|
line-height: 1.5;
|
||||||
|
padding: 4px 15px;
|
||||||
|
font-size: 12px;
|
||||||
|
border-radius: 4px;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
white-space: nowrap;
|
-webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
||||||
|
transition: all .3s cubic-bezier(.645, .045, .355, 1);
|
||||||
|
position: relative;
|
||||||
|
color: rgba(0, 0, 0, .65);
|
||||||
|
background-color: #fff;
|
||||||
|
border-color: #d9d9d9;
|
||||||
}
|
}
|
||||||
|
|
||||||
.example-btn:hover {
|
.example-btn:hover {
|
||||||
|
color: #4AB7BD;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-color: #4ab7bd;
|
border-color: #4AB7BD;
|
||||||
color: #4ab7bd;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.example {
|
.example {
|
||||||
color: #f6416c;
|
|
||||||
display: block;
|
|
||||||
font-size: 50px;
|
font-size: 50px;
|
||||||
font-size: 80px;
|
color: #F6416C;
|
||||||
font-weight: 500;
|
display: block;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 80px;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
color: #2f4f4f;
|
color: #2f4f4f;
|
||||||
display: inline-block;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
display: inline-block;
|
||||||
margin: 15px 30px 15px 0;
|
margin: 15px 30px 15px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
padding: 4px 7px;
|
||||||
|
width: 70px;
|
||||||
|
height: 28px;
|
||||||
|
cursor: text;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 1.5;
|
||||||
|
color: rgba(0, 0, 0, .65);
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
border: 1px solid #d9d9d9;
|
border: 1px solid #d9d9d9;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: rgba(0, 0, 0, 0.65);
|
-webkit-transition: all .3s;
|
||||||
cursor: text;
|
transition: all .3s;
|
||||||
display: inline-block;
|
|
||||||
font-size: 12px;
|
|
||||||
height: 28px;
|
|
||||||
line-height: 1.5;
|
|
||||||
padding: 4px 7px;
|
|
||||||
position: relative;
|
|
||||||
-webkit-transition: all 0.3s;
|
|
||||||
transition: all 0.3s;
|
|
||||||
width: 70px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.start-btn {
|
.startBtn {
|
||||||
background-color: #fff;
|
|
||||||
color: #30b08f;
|
|
||||||
font-size: 20px;
|
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
|
font-size: 20px;
|
||||||
|
color: #30B08F;
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.start-btn:hover {
|
.startBtn:hover {
|
||||||
background-color: #30b08f;
|
background-color: #30B08F;
|
||||||
border-color: #30b08f;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
border-color: #30B08F;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pause-resume-btn {
|
.pause-resume-btn {
|
||||||
background-color: #fff;
|
|
||||||
color: #e65d6e;
|
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
color: #E65D6E;
|
||||||
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pause-resume-btn:hover {
|
.pause-resume-btn:hover {
|
||||||
background-color: #e65d6e;
|
background-color: #E65D6E;
|
||||||
border-color: #e65d6e;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
border-color: #E65D6E;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -38,27 +38,24 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.board {
|
.board {
|
||||||
align-items: flex-start;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: space-around;
|
|
||||||
margin-left: 20px;
|
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
|
margin-left: 20px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kanban {
|
.kanban {
|
||||||
&.todo {
|
&.todo {
|
||||||
.board-column-header {
|
.board-column-header {
|
||||||
background: #4a9ff9;
|
background: #4A9FF9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.working {
|
&.working {
|
||||||
.board-column-header {
|
.board-column-header {
|
||||||
background: #f9944a;
|
background: #f9944a;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.done {
|
&.done {
|
||||||
.board-column-header {
|
.board-column-header {
|
||||||
background: #2ac06d;
|
background: #2ac06d;
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="components-container">
|
<div class="components-container">
|
||||||
<el-drag-select v-model="value" style="width: 500px;" multiple placeholder="请选择">
|
<el-drag-select v-model="value" style="width:500px;" multiple placeholder="请选择">
|
||||||
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
|
||||||
</el-drag-select>
|
</el-drag-select>
|
||||||
|
|
||||||
<div style="margin-top: 30px;">
|
<div style="margin-top:30px;">
|
||||||
<el-tag v-for="item of value" :key="item" style="margin-right: 15px;">
|
<el-tag v-for="item of value" :key="item" style="margin-right:15px;">
|
||||||
{{ item }}
|
{{ item }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -28,9 +28,9 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.editor-container {
|
.editor-container{
|
||||||
height: 100%;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<markdown-editor ref="markdownEditor" v-model="content4" :language="language" height="300px" />
|
<markdown-editor ref="markdownEditor" v-model="content4" :language="language" height="300px" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-button style="margin-top: 80px;" type="primary" icon="el-icon-document" @click="getHtml">
|
<el-button style="margin-top:80px;" type="primary" icon="el-icon-document" @click="getHtml">
|
||||||
Get HTML
|
Get HTML
|
||||||
</el-button>
|
</el-button>
|
||||||
<div v-html="html" />
|
<div v-html="html" />
|
||||||
|
@ -92,11 +92,10 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.editor-container {
|
.editor-container{
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
.tag-title{
|
||||||
.tag-title {
|
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>Buttons</span>
|
<span>Buttons</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-bottom: 50px;">
|
<div style="margin-bottom:50px;">
|
||||||
<el-col :span="4" class="text-center">
|
<el-col :span="4" class="text-center">
|
||||||
<router-link class="pan-btn blue-btn" to="/documentation/index">
|
<router-link class="pan-btn blue-btn" to="/documentation/index">
|
||||||
Documentation
|
Documentation
|
||||||
|
@ -40,13 +40,13 @@
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20" style="margin-top: 50px;">
|
<el-row :gutter="20" style="margin-top:50px;">
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>Material Design 的input</span>
|
<span>Material Design 的input</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 100px;">
|
<div style="height:100px;">
|
||||||
<el-form :model="demo" :rules="demoRules">
|
<el-form :model="demo" :rules="demoRules">
|
||||||
<el-form-item prop="title">
|
<el-form-item prop="title">
|
||||||
<md-input v-model="demo.title" icon="el-icon-search" name="title" placeholder="输入标题">
|
<md-input v-model="demo.title" icon="el-icon-search" name="title" placeholder="输入标题">
|
||||||
|
@ -96,14 +96,14 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="20" style="margin-top: 50px;">
|
<el-row :gutter="20" style="margin-top:50px;">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>Share</span>
|
<span>Share</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="component-item" style="height: 420px;">
|
<div class="component-item" style="height:420px;">
|
||||||
<dropdown-menu :items="articleList" style="margin: 0 auto;" title="系列文章" />
|
<dropdown-menu :items="articleList" style="margin:0 auto;" title="系列文章" />
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -160,11 +160,10 @@ export default {
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.mixin-components-container {
|
.mixin-components-container {
|
||||||
background-color: #f0f2f5;
|
background-color: #f0f2f5;
|
||||||
min-height: calc(100vh - 84px);
|
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
|
min-height: calc(100vh - 84px);
|
||||||
}
|
}
|
||||||
|
.component-item{
|
||||||
.component-item {
|
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -39,29 +39,29 @@ export default {
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.components-container {
|
.components-container {
|
||||||
height: 100vh;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.left-container {
|
.left-container {
|
||||||
background-color: #f38181;
|
background-color: #F38181;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-container {
|
.right-container {
|
||||||
background-color: #fce38a;
|
background-color: #FCE38A;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-container {
|
.top-container {
|
||||||
background-color: #fce38a;
|
background-color: #FCE38A;
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom-container {
|
.bottom-container {
|
||||||
background-color: #95e1d3;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
background-color: #95E1D3;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<el-button plain>
|
<el-button plain>
|
||||||
Link<i class="el-icon-caret-bottom el-icon--right" />
|
Link<i class="el-icon-caret-bottom el-icon--right" />
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-dropdown-menu slot="dropdown" class="no-padding no-border" style="width: 300px;">
|
<el-dropdown-menu slot="dropdown" class="no-padding no-border" style="width:300px">
|
||||||
<el-input v-model="url" placeholder="Please enter the content">
|
<el-input v-model="url" placeholder="Please enter the content">
|
||||||
<template slot="prepend">
|
<template slot="prepend">
|
||||||
Url
|
Url
|
||||||
|
|
|
@ -29,7 +29,7 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.editor-content {
|
.editor-content{
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<el-card class="box-card-component" style="margin-left: 8px;">
|
<el-card class="box-card-component" style="margin-left:8px;">
|
||||||
<div slot="header" class="box-card-header">
|
<div slot="header" class="box-card-header">
|
||||||
<img src="https://wpimg.wallstcn.com/e7d23d71-cf19-4b90-a1cc-f56af8c0903d.png">
|
<img src="https://wpimg.wallstcn.com/e7d23d71-cf19-4b90-a1cc-f56af8c0903d.png">
|
||||||
</div>
|
</div>
|
||||||
<div style="position: relative;">
|
<div style="position:relative;">
|
||||||
<pan-thumb :image="avatar" class="pan-thumb" />
|
<pan-thumb :image="avatar" class="panThumb" />
|
||||||
<mallki class-name="mallki-text" text="vue-element-admin" />
|
<mallki class-name="mallki-text" text="vue-element-admin" />
|
||||||
<div style="padding-top: 35px;" class="progress-item">
|
<div style="padding-top:35px;" class="progress-item">
|
||||||
<span>Vue</span>
|
<span>Vue</span>
|
||||||
<el-progress :percentage="70" />
|
<el-progress :percentage="70" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -62,61 +62,55 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" >
|
<style lang="scss" >
|
||||||
.box-card-component {
|
.box-card-component{
|
||||||
.el-card__header {
|
.el-card__header {
|
||||||
padding: 0 !important;
|
padding: 0px!important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.box-card-component {
|
.box-card-component {
|
||||||
.box-card-header {
|
.box-card-header {
|
||||||
height: 220px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 220px;
|
||||||
img {
|
img {
|
||||||
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
transition: all 0.2s linear;
|
transition: all 0.2s linear;
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
filter: contrast(130%);
|
|
||||||
transform: scale(1.1, 1.1);
|
transform: scale(1.1, 1.1);
|
||||||
|
filter: contrast(130%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mallki-text {
|
.mallki-text {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
}
|
}
|
||||||
|
.panThumb {
|
||||||
.pan-thumb {
|
|
||||||
background-color: #fff;
|
|
||||||
border: 5px solid #fff;
|
|
||||||
box-shadow: none !important;
|
|
||||||
height: 70px !important;
|
|
||||||
left: 0;
|
|
||||||
margin: auto;
|
|
||||||
position: absolute !important;
|
|
||||||
top: -45px;
|
|
||||||
width: 70px !important;
|
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
height: 70px!important;
|
||||||
|
width: 70px!important;
|
||||||
|
position: absolute!important;
|
||||||
|
top: -45px;
|
||||||
|
left: 0px;
|
||||||
|
border: 5px solid #ffffff;
|
||||||
|
background-color: #fff;
|
||||||
|
margin: auto;
|
||||||
|
box-shadow: none!important;
|
||||||
/deep/ .pan-info {
|
/deep/ .pan-info {
|
||||||
box-shadow: none !important;
|
box-shadow: none!important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.progress-item {
|
.progress-item {
|
||||||
font-size: 14px;
|
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 1510px) {
|
@media only screen and (max-width: 1510px){
|
||||||
.mallki-text {
|
.mallki-text{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,15 +79,15 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel {
|
.card-panel {
|
||||||
background: #fff;
|
height: 108px;
|
||||||
border-color: rgba(0, 0, 0, 0.05);
|
|
||||||
box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.05);
|
|
||||||
color: #666;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
height: 108px;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
color: #666;
|
||||||
|
background: #fff;
|
||||||
|
box-shadow: 4px 4px 40px rgba(0, 0, 0, .05);
|
||||||
|
border-color: rgba(0, 0, 0, .05);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.card-panel-icon-wrapper {
|
.card-panel-icon-wrapper {
|
||||||
|
@ -107,7 +107,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-shopping {
|
.icon-shopping {
|
||||||
background: #34bfa3;
|
background: #34bfa3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,15 +124,15 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-shopping {
|
.icon-shopping {
|
||||||
color: #34bfa3;
|
color: #34bfa3
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel-icon-wrapper {
|
.card-panel-icon-wrapper {
|
||||||
border-radius: 6px;
|
|
||||||
float: left;
|
float: left;
|
||||||
margin: 14px 0 0 14px;
|
margin: 14px 0 0 14px;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
transition: all 0.38s ease-out;
|
transition: all 0.38s ease-out;
|
||||||
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel-icon {
|
.card-panel-icon {
|
||||||
|
@ -144,12 +144,12 @@ export default {
|
||||||
float: right;
|
float: right;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 26px;
|
margin: 26px;
|
||||||
margin-left: 0;
|
margin-left: 0px;
|
||||||
|
|
||||||
.card-panel-text {
|
.card-panel-text {
|
||||||
|
line-height: 18px;
|
||||||
color: rgba(0, 0, 0, 0.45);
|
color: rgba(0, 0, 0, 0.45);
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 18px;
|
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,14 +167,14 @@ export default {
|
||||||
|
|
||||||
.card-panel-icon-wrapper {
|
.card-panel-icon-wrapper {
|
||||||
float: none !important;
|
float: none !important;
|
||||||
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
.svg-icon {
|
.svg-icon {
|
||||||
display: block;
|
display: block;
|
||||||
float: none !important;
|
|
||||||
margin: 14px auto !important;
|
margin: 14px auto !important;
|
||||||
|
float: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,346 +1,298 @@
|
||||||
.todoapp {
|
.todoapp {
|
||||||
background: #fff;
|
|
||||||
color: #4d4d4d;
|
|
||||||
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
line-height: 1.4em;
|
||||||
|
color: #4d4d4d;
|
||||||
|
min-width: 230px;
|
||||||
|
max-width: 550px;
|
||||||
|
margin: 0 auto ;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
line-height: 1.4em;
|
background: #fff;
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 550px;
|
|
||||||
min-width: 230px;
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
position: relative;
|
||||||
button {
|
button {
|
||||||
-webkit-appearance: none;
|
|
||||||
appearance: none;
|
|
||||||
background: none;
|
|
||||||
border: 0;
|
|
||||||
color: inherit;
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: 100%;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
|
||||||
font-weight: inherit;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
background: none;
|
||||||
|
font-size: 100%;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
|
font-family: inherit;
|
||||||
|
font-weight: inherit;
|
||||||
|
color: inherit;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
:focus {
|
:focus {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todoapp {
|
.todoapp {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1);
|
margin: 130px 0 40px 0;
|
||||||
margin: 130px 0 40px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.todoapp input::-webkit-input-placeholder {
|
.todoapp input::-webkit-input-placeholder {
|
||||||
color: #e6e6e6;
|
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
|
color: #e6e6e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todoapp input::-moz-placeholder {
|
.todoapp input::-moz-placeholder {
|
||||||
color: #e6e6e6;
|
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
|
color: #e6e6e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todoapp input::input-placeholder {
|
.todoapp input::input-placeholder {
|
||||||
color: #e6e6e6;
|
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
|
color: #e6e6e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todoapp h1 {
|
.todoapp h1 {
|
||||||
color: rgba(175, 47, 47, 0.15);
|
position: absolute;
|
||||||
|
top: -155px;
|
||||||
|
width: 100%;
|
||||||
font-size: 100px;
|
font-size: 100px;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
position: absolute;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: rgba(175, 47, 47, 0.15);
|
||||||
-webkit-text-rendering: optimizeLegibility;
|
-webkit-text-rendering: optimizeLegibility;
|
||||||
-moz-text-rendering: optimizeLegibility;
|
-moz-text-rendering: optimizeLegibility;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
top: -155px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-todo,
|
.new-todo,
|
||||||
.edit {
|
.edit {
|
||||||
|
position: relative;
|
||||||
|
margin: 0;
|
||||||
|
width: 100%;
|
||||||
|
font-size: 18px;
|
||||||
|
font-family: inherit;
|
||||||
|
font-weight: inherit;
|
||||||
|
line-height: 1.4em;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
color: inherit;
|
||||||
|
padding: 6px;
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
box-shadow: inset 0 -1px 5px 0 rgba(0, 0, 0, 0.2);
|
box-shadow: inset 0 -1px 5px 0 rgba(0, 0, 0, 0.2);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: inherit;
|
|
||||||
font-family: inherit;
|
|
||||||
font-size: 18px;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
font-weight: inherit;
|
|
||||||
line-height: 1.4em;
|
|
||||||
margin: 0;
|
|
||||||
padding: 6px;
|
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-todo {
|
.new-todo {
|
||||||
background: rgba(0, 0, 0, 0.003);
|
|
||||||
border: none;
|
|
||||||
box-shadow: inset 0 -2px 1px rgba(0, 0, 0, 0.03);
|
|
||||||
padding: 10px 16px 16px 60px;
|
padding: 10px 16px 16px 60px;
|
||||||
|
border: none;
|
||||||
|
background: rgba(0, 0, 0, 0.003);
|
||||||
|
box-shadow: inset 0 -2px 1px rgba(0, 0, 0, 0.03);
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
border-top: 1px solid #e6e6e6;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
border-top: 1px solid #e6e6e6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-all {
|
.toggle-all {
|
||||||
|
text-align: center;
|
||||||
border: none;
|
border: none;
|
||||||
/* Mobile Safari */
|
/* Mobile Safari */
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-all+label {
|
.toggle-all+label {
|
||||||
font-size: 0;
|
width: 60px;
|
||||||
height: 34px;
|
height: 34px;
|
||||||
left: -13px;
|
font-size: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -52px;
|
top: -52px;
|
||||||
|
left: -13px;
|
||||||
-webkit-transform: rotate(90deg);
|
-webkit-transform: rotate(90deg);
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
width: 60px;
|
|
||||||
}
|
}
|
||||||
|
.toggle-all+label:before {
|
||||||
.toggle-all+label::before {
|
|
||||||
color: #e6e6e6;
|
|
||||||
content: '❯';
|
content: '❯';
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
padding: 10px 27px;
|
color: #e6e6e6;
|
||||||
|
padding: 10px 27px 10px 27px;
|
||||||
}
|
}
|
||||||
|
.toggle-all:checked+label:before {
|
||||||
.toggle-all:checked+label::before {
|
|
||||||
color: #737373;
|
color: #737373;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list {
|
.todo-list {
|
||||||
list-style: none;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li {
|
.todo-list li {
|
||||||
border-bottom: 1px solid #ededed;
|
|
||||||
font-size: 24px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
font-size: 24px;
|
||||||
|
border-bottom: 1px solid #ededed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li:last-child {
|
.todo-list li:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li.editing {
|
.todo-list li.editing {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li.editing .edit {
|
.todo-list li.editing .edit {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 0 0 43px;
|
|
||||||
padding: 12px 16px;
|
|
||||||
width: 506px;
|
width: 506px;
|
||||||
|
padding: 12px 16px;
|
||||||
|
margin: 0 0 0 43px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li.editing .view {
|
.todo-list li.editing .view {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li .toggle {
|
.todo-list li .toggle {
|
||||||
|
text-align: center;
|
||||||
|
width: 40px;
|
||||||
|
/* auto, since non-WebKit browsers doesn't support input styling */
|
||||||
|
height: auto;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
margin: auto 0;
|
||||||
|
border: none;
|
||||||
/* Mobile Safari */
|
/* Mobile Safari */
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
border: none;
|
|
||||||
bottom: 0;
|
|
||||||
/* auto, since non-WebKit browsers doesn't support input styling */
|
|
||||||
height: auto;
|
|
||||||
margin: auto 0;
|
|
||||||
position: absolute;
|
|
||||||
text-align: center;
|
|
||||||
top: 0;
|
|
||||||
width: 40px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li .toggle {
|
.todo-list li .toggle {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li .toggle+label {
|
.todo-list li .toggle+label {
|
||||||
/*
|
/*
|
||||||
Firefox requires `#` to be escaped - https://bugzilla.mozilla.org/show_bug.cgi?id=922433
|
Firefox requires `#` to be escaped - https://bugzilla.mozilla.org/show_bug.cgi?id=922433
|
||||||
IE and Edge requires *everything* to be escaped to render, so we do that instead of just the `#` - https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7157459/
|
IE and Edge requires *everything* to be escaped to render, so we do that instead of just the `#` - https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/7157459/
|
||||||
*/
|
*/
|
||||||
background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%22-10%20-18%20100%20135%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22none%22%20stroke%3D%22%23ededed%22%20stroke-width%3D%223%22/%3E%3C/svg%3E');
|
background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%22-10%20-18%20100%20135%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22none%22%20stroke%3D%22%23ededed%22%20stroke-width%3D%223%22/%3E%3C/svg%3E');
|
||||||
background-position: center left;
|
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
background-position: center left;
|
||||||
background-size: 36px;
|
background-size: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li .toggle:checked+label {
|
.todo-list li .toggle:checked+label {
|
||||||
background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%22-10%20-18%20100%20135%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22none%22%20stroke%3D%22%23bddad5%22%20stroke-width%3D%223%22/%3E%3Cpath%20fill%3D%22%235dc2af%22%20d%3D%22M72%2025L42%2071%2027%2056l-4%204%2020%2020%2034-52z%22/%3E%3C/svg%3E');
|
|
||||||
background-size: 36px;
|
background-size: 36px;
|
||||||
|
background-image: url('data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%22-10%20-18%20100%20135%22%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2250%22%20r%3D%2250%22%20fill%3D%22none%22%20stroke%3D%22%23bddad5%22%20stroke-width%3D%223%22/%3E%3Cpath%20fill%3D%22%235dc2af%22%20d%3D%22M72%2025L42%2071%2027%2056l-4%204%2020%2020%2034-52z%22/%3E%3C/svg%3E');
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li label {
|
.todo-list li label {
|
||||||
display: block;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 1;
|
|
||||||
padding: 15px 15px 15px 50px;
|
|
||||||
transition: color 0.4s;
|
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
padding: 15px 15px 15px 50px;
|
||||||
|
display: block;
|
||||||
|
line-height: 1.0;
|
||||||
|
font-size: 14px;
|
||||||
|
transition: color 0.4s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li.completed label {
|
.todo-list li.completed label {
|
||||||
color: #d9d9d9;
|
color: #d9d9d9;
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li .destroy {
|
.todo-list li .destroy {
|
||||||
bottom: 0;
|
|
||||||
color: #cc9a9a;
|
|
||||||
cursor: pointer;
|
|
||||||
display: none;
|
display: none;
|
||||||
font-size: 30px;
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 10px;
|
||||||
|
bottom: 0;
|
||||||
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
margin: auto 0;
|
margin: auto 0;
|
||||||
position: absolute;
|
font-size: 30px;
|
||||||
right: 10px;
|
color: #cc9a9a;
|
||||||
top: 0;
|
|
||||||
transition: color 0.2s ease-out;
|
transition: color 0.2s ease-out;
|
||||||
width: 40px;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li .destroy:hover {
|
.todo-list li .destroy:hover {
|
||||||
color: #af5b5e;
|
color: #af5b5e;
|
||||||
}
|
}
|
||||||
|
.todo-list li .destroy:after {
|
||||||
.todo-list li .destroy::after {
|
|
||||||
content: '×';
|
content: '×';
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li:hover .destroy {
|
.todo-list li:hover .destroy {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li .edit {
|
.todo-list li .edit {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li.editing:last-child {
|
.todo-list li.editing:last-child {
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
border-top: 1px solid #e6e6e6;
|
|
||||||
color: #777;
|
color: #777;
|
||||||
height: 40px;
|
|
||||||
padding: 10px 15px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: center;
|
padding: 10px 15px;
|
||||||
}
|
|
||||||
|
|
||||||
.footer::before {
|
|
||||||
bottom: 0;
|
|
||||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 8px 0 -3px #f6f6f6, 0 9px 1px -3px rgba(0, 0, 0, 0.2), 0 16px 0 -6px #f6f6f6, 0 17px 2px -6px rgba(0, 0, 0, 0.2);
|
|
||||||
content: '';
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
left: 0;
|
text-align: center;
|
||||||
overflow: hidden;
|
border-top: 1px solid #e6e6e6;
|
||||||
|
}
|
||||||
|
.footer:before {
|
||||||
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
height: 40px;
|
||||||
|
overflow: hidden;
|
||||||
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 8px 0 -3px #f6f6f6, 0 9px 1px -3px rgba(0, 0, 0, 0.2), 0 16px 0 -6px #f6f6f6, 0 17px 2px -6px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-count {
|
.todo-count {
|
||||||
float: left;
|
float: left;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-count strong {
|
.todo-count strong {
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filters {
|
.filters {
|
||||||
list-style: none;
|
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filters li {
|
.filters li {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filters li a {
|
.filters li a {
|
||||||
border: 1px solid transparent;
|
|
||||||
border-radius: 3px;
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding: 3px 7px;
|
padding: 3px 7px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filters li a:hover {
|
.filters li a:hover {
|
||||||
border-color: rgba(175, 47, 47, 0.1);
|
border-color: rgba(175, 47, 47, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.filters li a.selected {
|
.filters li a.selected {
|
||||||
border-color: rgba(175, 47, 47, 0.2);
|
border-color: rgba(175, 47, 47, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.clear-completed,
|
.clear-completed,
|
||||||
html .clear-completed:active {
|
html .clear-completed:active {
|
||||||
cursor: pointer;
|
|
||||||
float: right;
|
float: right;
|
||||||
line-height: 20px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
line-height: 20px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clear-completed:hover {
|
.clear-completed:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info {
|
.info {
|
||||||
|
margin: 65px auto 0;
|
||||||
color: #bfbfbf;
|
color: #bfbfbf;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
margin: 65px auto 0;
|
|
||||||
text-align: center;
|
|
||||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
|
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info p {
|
.info p {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info a {
|
.info a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-weight: 400;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info a:hover {
|
.info a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
@ -348,12 +300,11 @@
|
||||||
Hack to remove background from Mobile Safari.
|
Hack to remove background from Mobile Safari.
|
||||||
Can't use it globally since it destroys checkboxes in Firefox
|
Can't use it globally since it destroys checkboxes in Firefox
|
||||||
*/
|
*/
|
||||||
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||||
.toggle-all,
|
.toggle-all,
|
||||||
.todo-list li .toggle {
|
.todo-list li .toggle {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.todo-list li .toggle {
|
.todo-list li .toggle {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
@ -362,7 +313,6 @@
|
||||||
.footer {
|
.footer {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filters {
|
.filters {
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<el-table :data="list" style="padding-top: 15px;width: 100%;">
|
<el-table :data="list" style="width: 100%;padding-top: 15px;">
|
||||||
<el-table-column label="Order_No" min-width="200">
|
<el-table-column label="Order_No" min-width="200">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.order_no | orderNoFilter }}
|
{{ scope.row.order_no | orderNoFilter }}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<panel-group @handleSetLineChartData="handleSetLineChartData" />
|
<panel-group @handleSetLineChartData="handleSetLineChartData" />
|
||||||
|
|
||||||
<el-row style="background: #fff;margin-bottom: 32px;padding: 16px 16px 0;">
|
<el-row style="background:#fff;padding:16px 16px 0;margin-bottom:32px;">
|
||||||
<line-chart :chart-data="lineChartData" />
|
<line-chart :chart-data="lineChartData" />
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
|
@ -27,13 +27,13 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-row :gutter="8">
|
<el-row :gutter="8">
|
||||||
<el-col :xs="{span: 24}" :sm="{span: 24}" :md="{span: 24}" :lg="{span: 12}" :xl="{span: 12}" style="margin-bottom: 30px;padding-right: 8px;">
|
<el-col :xs="{span: 24}" :sm="{span: 24}" :md="{span: 24}" :lg="{span: 12}" :xl="{span: 12}" style="padding-right:8px;margin-bottom:30px;">
|
||||||
<transaction-table />
|
<transaction-table />
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom: 30px;">
|
<el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom:30px;">
|
||||||
<todo-list />
|
<todo-list />
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom: 30px;">
|
<el-col :xs="{span: 24}" :sm="{span: 12}" :md="{span: 12}" :lg="{span: 6}" :xl="{span: 6}" style="margin-bottom:30px;">
|
||||||
<box-card />
|
<box-card />
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -98,21 +98,21 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.dashboard-editor-container {
|
.dashboard-editor-container {
|
||||||
background-color: rgb(240, 242, 245);
|
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
|
background-color: rgb(240, 242, 245);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.github-corner {
|
.github-corner {
|
||||||
border: 0;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
border: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-wrapper {
|
.chart-wrapper {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
margin-bottom: 32px;
|
|
||||||
padding: 16px 16px 0;
|
padding: 16px 16px 0;
|
||||||
|
margin-bottom: 32px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="dashboard-editor-container">
|
<div class="dashboard-editor-container">
|
||||||
<div class=" clearfix">
|
<div class=" clearfix">
|
||||||
<pan-thumb :image="avatar" style="float: left;">
|
<pan-thumb :image="avatar" style="float: left">
|
||||||
Your roles:
|
Your roles:
|
||||||
<span v-for="item in roles" :key="item" class="pan-info-roles">{{ item }}</span>
|
<span v-for="item in roles" :key="item" class="pan-info-roles">{{ item }}</span>
|
||||||
</pan-thumb>
|
</pan-thumb>
|
||||||
<github-corner style=" border: 0;position: absolute; right: 0; top: 0;" />
|
<github-corner style="position: absolute; top: 0px; border: 0; right: 0;" />
|
||||||
<div class="info-container">
|
<div class="info-container">
|
||||||
<span class="display-name">{{ name }}</span>
|
<span class="display_name">{{ name }}</span>
|
||||||
<span style="display: inline-block;font-size: 20px;padding-top: 20px;">Editor's Dashboard</span>
|
<span style="font-size:20px;padding-top:20px;display:inline-block;">Editor's Dashboard</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<img :src="emptyGif" class="empty-gif">
|
<img :src="emptyGif" class="emptyGif">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -41,34 +41,31 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.empty-gif {
|
.emptyGif {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
|
||||||
width: 45%;
|
width: 45%;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dashboard-editor-container {
|
.dashboard-editor-container {
|
||||||
background-color: #e3e3e3;
|
background-color: #e3e3e3;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
padding: 50px 60px 0;
|
padding: 50px 60px 0px;
|
||||||
|
|
||||||
.pan-info-roles {
|
.pan-info-roles {
|
||||||
color: #333;
|
|
||||||
display: block;
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: #333;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-container {
|
.info-container {
|
||||||
|
position: relative;
|
||||||
|
margin-left: 190px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
line-height: 200px;
|
line-height: 200px;
|
||||||
margin-left: 190px;
|
.display_name {
|
||||||
position: relative;
|
|
||||||
|
|
||||||
.display-name {
|
|
||||||
color: #212121;
|
|
||||||
font-size: 48px;
|
font-size: 48px;
|
||||||
line-height: 48px;
|
line-height: 48px;
|
||||||
|
color: #212121;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 25px;
|
top: 25px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,23 +34,23 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.documentation-container {
|
.documentation-container {
|
||||||
|
margin: 50px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
margin: 50px;
|
|
||||||
|
|
||||||
.document-btn {
|
.document-btn {
|
||||||
|
flex-shrink: 0;
|
||||||
|
display: block;
|
||||||
|
cursor: pointer;
|
||||||
background: black;
|
background: black;
|
||||||
color: white;
|
color: white;
|
||||||
cursor: pointer;
|
|
||||||
display: block;
|
|
||||||
flex-shrink: 0;
|
|
||||||
font-size: 20px;
|
|
||||||
height: 60px;
|
height: 60px;
|
||||||
line-height: 60px;
|
|
||||||
margin-bottom: 16px;
|
|
||||||
text-align: center;
|
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
margin-bottom: 16px;
|
||||||
|
line-height: 60px;
|
||||||
|
font-size: 20px;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="err-page-container">
|
<div class="errPage-container">
|
||||||
<ErrorA />
|
<ErrorA />
|
||||||
<ErrorB />
|
<ErrorB />
|
||||||
<h3>Please click the bug icon in the upper right corner</h3>
|
<h3>Please click the bug icon in the upper right corner</h3>
|
||||||
|
@ -26,7 +26,7 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.err-page-container {
|
.errPage-container {
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="err-page-container">
|
<div class="errPage-container">
|
||||||
<el-button icon="el-icon-arrow-left" class="pan-back-btn" @click="back">
|
<el-button icon="el-icon-arrow-left" class="pan-back-btn" @click="back">
|
||||||
返回
|
返回
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -59,45 +59,37 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.err-page-container {
|
.errPage-container {
|
||||||
margin: 100px auto;
|
|
||||||
max-width: 100%;
|
|
||||||
width: 800px;
|
width: 800px;
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 100px auto;
|
||||||
.pan-back-btn {
|
.pan-back-btn {
|
||||||
background: #008489;
|
background: #008489;
|
||||||
border: none !important;
|
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
border: none!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pan-gif {
|
.pan-gif {
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pan-img {
|
.pan-img {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-jumbo {
|
.text-jumbo {
|
||||||
color: #484848;
|
|
||||||
font-size: 60px;
|
font-size: 60px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: #484848;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-unstyled {
|
.list-unstyled {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #008489;
|
color: #008489;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<div class="bullshit">
|
<div class="bullshit">
|
||||||
<div class="bullshit__oops">OOPS!</div>
|
<div class="bullshit__oops">OOPS!</div>
|
||||||
<div class="bullshit__info">All rights reserved
|
<div class="bullshit__info">All rights reserved
|
||||||
<a style="color: #20a0ff;" href="https://wallstreetcn.com" target="_blank">wallstreetcn</a>
|
<a style="color:#20a0ff" href="https://wallstreetcn.com" target="_blank">wallstreetcn</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="bullshit__headline">{{ message }}</div>
|
<div class="bullshit__headline">{{ message }}</div>
|
||||||
<div class="bullshit__info">Please check that the URL you entered is correct, or click the button below to return to the homepage.</div>
|
<div class="bullshit__info">Please check that the URL you entered is correct, or click the button below to return to the homepage.</div>
|
||||||
|
@ -33,216 +33,194 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.wscn-http404-container {
|
.wscn-http404-container{
|
||||||
left: 50%;
|
transform: translate(-50%,-50%);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40%;
|
top: 40%;
|
||||||
transform: translate(-50%, -50%);
|
left: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wscn-http404 {
|
.wscn-http404 {
|
||||||
overflow: hidden;
|
|
||||||
padding: 0 50px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
|
padding: 0 50px;
|
||||||
.pic-404 {
|
|
||||||
float: left;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
.pic-404 {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
float: left;
|
||||||
width: 600px;
|
width: 600px;
|
||||||
|
overflow: hidden;
|
||||||
&__parent {
|
&__parent {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__child {
|
&__child {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
||||||
&.left {
|
&.left {
|
||||||
animation-delay: 1s;
|
width: 80px;
|
||||||
animation-duration: 2s;
|
top: 17px;
|
||||||
animation-fill-mode: forwards;
|
|
||||||
animation-name: cloudLeft;
|
|
||||||
animation-timing-function: linear;
|
|
||||||
left: 220px;
|
left: 220px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 17px;
|
animation-name: cloudLeft;
|
||||||
width: 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.mid {
|
|
||||||
animation-delay: 1.2s;
|
|
||||||
animation-duration: 2s;
|
animation-duration: 2s;
|
||||||
animation-fill-mode: forwards;
|
|
||||||
animation-name: cloudMid;
|
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
animation-delay: 1s;
|
||||||
|
}
|
||||||
|
&.mid {
|
||||||
|
width: 46px;
|
||||||
|
top: 10px;
|
||||||
left: 420px;
|
left: 420px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 10px;
|
animation-name: cloudMid;
|
||||||
width: 46px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.right {
|
|
||||||
animation-delay: 1s;
|
|
||||||
animation-duration: 2s;
|
animation-duration: 2s;
|
||||||
animation-fill-mode: forwards;
|
|
||||||
animation-name: cloudRight;
|
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
animation-delay: 1.2s;
|
||||||
|
}
|
||||||
|
&.right {
|
||||||
|
width: 62px;
|
||||||
|
top: 100px;
|
||||||
left: 500px;
|
left: 500px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 100px;
|
animation-name: cloudRight;
|
||||||
width: 62px;
|
animation-duration: 2s;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
animation-delay: 1s;
|
||||||
}
|
}
|
||||||
@keyframes cloudLeft {
|
@keyframes cloudLeft {
|
||||||
0% {
|
0% {
|
||||||
|
top: 17px;
|
||||||
left: 220px;
|
left: 220px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 17px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
20% {
|
20% {
|
||||||
|
top: 33px;
|
||||||
left: 188px;
|
left: 188px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
top: 33px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
80% {
|
80% {
|
||||||
|
top: 81px;
|
||||||
left: 92px;
|
left: 92px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
top: 81px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
|
top: 97px;
|
||||||
left: 60px;
|
left: 60px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 97px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@keyframes cloudMid {
|
@keyframes cloudMid {
|
||||||
0% {
|
0% {
|
||||||
|
top: 10px;
|
||||||
left: 420px;
|
left: 420px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
20% {
|
20% {
|
||||||
|
top: 40px;
|
||||||
left: 360px;
|
left: 360px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
top: 40px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
70% {
|
70% {
|
||||||
|
top: 130px;
|
||||||
left: 180px;
|
left: 180px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
top: 130px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
|
top: 160px;
|
||||||
left: 120px;
|
left: 120px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 160px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@keyframes cloudRight {
|
@keyframes cloudRight {
|
||||||
0% {
|
0% {
|
||||||
|
top: 100px;
|
||||||
left: 500px;
|
left: 500px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 100px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
20% {
|
20% {
|
||||||
|
top: 120px;
|
||||||
left: 460px;
|
left: 460px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
top: 120px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
80% {
|
80% {
|
||||||
|
top: 180px;
|
||||||
left: 340px;
|
left: 340px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
top: 180px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
|
top: 200px;
|
||||||
left: 300px;
|
left: 300px;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
top: 200px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.bullshit {
|
.bullshit {
|
||||||
float: left;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 30px 0;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
float: left;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
padding: 30px 0;
|
||||||
|
overflow: hidden;
|
||||||
&__oops {
|
&__oops {
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-fill-mode: forwards;
|
|
||||||
animation-name: slideUp;
|
|
||||||
color: #1482f0;
|
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
color: #1482f0;
|
||||||
|
opacity: 0;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
opacity: 0;
|
animation-name: slideUp;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__headline {
|
&__headline {
|
||||||
animation-delay: 0.1s;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-fill-mode: forwards;
|
|
||||||
animation-name: slideUp;
|
|
||||||
color: #222;
|
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: bold;
|
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
margin-bottom: 10px;
|
color: #222;
|
||||||
|
font-weight: bold;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
margin-bottom: 10px;
|
||||||
|
|
||||||
&__info {
|
|
||||||
animation-delay: 0.2s;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-fill-mode: forwards;
|
|
||||||
animation-name: slideUp;
|
animation-name: slideUp;
|
||||||
color: grey;
|
animation-duration: 0.5s;
|
||||||
|
animation-delay: 0.1s;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
}
|
||||||
|
&__info {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 21px;
|
line-height: 21px;
|
||||||
margin-bottom: 30px;
|
color: grey;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
margin-bottom: 30px;
|
||||||
|
|
||||||
&__return-home {
|
|
||||||
animation-delay: 0.3s;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-fill-mode: forwards;
|
|
||||||
animation-name: slideUp;
|
animation-name: slideUp;
|
||||||
background: #1482f0;
|
animation-duration: 0.5s;
|
||||||
border-radius: 100px;
|
animation-delay: 0.2s;
|
||||||
color: #fff;
|
animation-fill-mode: forwards;
|
||||||
cursor: pointer;
|
}
|
||||||
|
&__return-home {
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 14px;
|
|
||||||
height: 36px;
|
|
||||||
line-height: 36px;
|
|
||||||
opacity: 0;
|
|
||||||
text-align: center;
|
|
||||||
width: 110px;
|
width: 110px;
|
||||||
|
height: 36px;
|
||||||
|
background: #1482f0;
|
||||||
|
border-radius: 100px;
|
||||||
|
text-align: center;
|
||||||
|
color: #ffffff;
|
||||||
|
opacity: 0;
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 36px;
|
||||||
|
cursor: pointer;
|
||||||
|
animation-name: slideUp;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
animation-delay: 0.3s;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
}
|
}
|
||||||
@keyframes slideUp {
|
@keyframes slideUp {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
|
||||||
transform: translateY(60px);
|
transform: translateY(60px);
|
||||||
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
opacity: 1;
|
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="create-post-container">
|
<div class="createPost-container">
|
||||||
<el-form ref="postForm" :model="postForm" :rules="rules" class="form-container">
|
<el-form ref="postForm" :model="postForm" :rules="rules" class="form-container">
|
||||||
|
|
||||||
<sticky :z-index="10" :class-name="'sub-navbar '+postForm.status">
|
<sticky :z-index="10" :class-name="'sub-navbar '+postForm.status">
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</sticky>
|
</sticky>
|
||||||
|
|
||||||
<div class="create-post-main-container">
|
<div class="createPost-main-container">
|
||||||
<el-row>
|
<el-row>
|
||||||
<Warning />
|
<Warning />
|
||||||
|
|
||||||
|
@ -25,10 +25,10 @@
|
||||||
</MDinput>
|
</MDinput>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<div class="post-info-container">
|
<div class="postInfo-container">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label-width="60px" label="Author:" class="post-info-container-item">
|
<el-form-item label-width="60px" label="Author:" class="postInfo-container-item">
|
||||||
<el-select v-model="postForm.author" :remote-method="getRemoteUserList" filterable default-first-option remote placeholder="Search user">
|
<el-select v-model="postForm.author" :remote-method="getRemoteUserList" filterable default-first-option remote placeholder="Search user">
|
||||||
<el-option v-for="(item,index) in userListOptions" :key="item+index" :label="item" :value="item" />
|
<el-option v-for="(item,index) in userListOptions" :key="item+index" :label="item" :value="item" />
|
||||||
</el-select>
|
</el-select>
|
||||||
|
@ -36,20 +36,20 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
<el-form-item label-width="120px" label="Publish Time:" class="post-info-container-item">
|
<el-form-item label-width="120px" label="Publish Time:" class="postInfo-container-item">
|
||||||
<el-date-picker v-model="displayTime" type="datetime" format="yyyy-MM-dd HH:mm:ss" placeholder="Select date and time" />
|
<el-date-picker v-model="displayTime" type="datetime" format="yyyy-MM-dd HH:mm:ss" placeholder="Select date and time" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label-width="90px" label="Importance:" class="post-info-container-item">
|
<el-form-item label-width="90px" label="Importance:" class="postInfo-container-item">
|
||||||
<el-rate
|
<el-rate
|
||||||
v-model="postForm.importance"
|
v-model="postForm.importance"
|
||||||
:max="3"
|
:max="3"
|
||||||
:colors="['#99A9BF', '#F7BA2A', '#FF9900']"
|
:colors="['#99A9BF', '#F7BA2A', '#FF9900']"
|
||||||
:low-threshold="1"
|
:low-threshold="1"
|
||||||
:high-threshold="3"
|
:high-threshold="3"
|
||||||
style="display: inline-block;"
|
style="display:inline-block"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
@ -250,40 +250,40 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import '~@/styles/mixin.scss';
|
@import "~@/styles/mixin.scss";
|
||||||
|
|
||||||
.create-post-container {
|
.createPost-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.create-post-main-container {
|
.createPost-main-container {
|
||||||
padding: 40px 45px 20px 50px;
|
padding: 40px 45px 20px 50px;
|
||||||
|
|
||||||
.post-info-container {
|
.postInfo-container {
|
||||||
|
position: relative;
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
position: relative;
|
|
||||||
|
|
||||||
.post-info-container-item {
|
.postInfo-container-item {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.word-counter {
|
.word-counter {
|
||||||
|
width: 40px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: 0;
|
top: 0px;
|
||||||
width: 40px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-textarea /deep/ {
|
.article-textarea /deep/ {
|
||||||
textarea {
|
textarea {
|
||||||
border: none;
|
|
||||||
border-bottom: 1px solid #bfcbd9;
|
|
||||||
border-radius: 0;
|
|
||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
resize: none;
|
resize: none;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-bottom: 1px solid #bfcbd9;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
Link
|
Link
|
||||||
<i class="el-icon-caret-bottom el-icon--right" />
|
<i class="el-icon-caret-bottom el-icon--right" />
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-dropdown-menu slot="dropdown" class="no-padding no-border" style="width: 400px;">
|
<el-dropdown-menu slot="dropdown" class="no-padding no-border" style="width:400px">
|
||||||
<el-form-item label-width="0px" style="margin-bottom: 0;" prop="source_uri">
|
<el-form-item label-width="0px" style="margin-bottom: 0px" prop="source_uri">
|
||||||
<el-input v-model="source_uri" placeholder="Please enter the content">
|
<el-input v-model="source_uri" placeholder="Please enter the content">
|
||||||
<template slot="prepend">
|
<template slot="prepend">
|
||||||
URL
|
URL
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-table v-loading="listLoading" :data="list" border fit highlight-current-row style="width: 100%;">
|
<el-table v-loading="listLoading" :data="list" border fit highlight-current-row style="width: 100%">
|
||||||
<el-table-column align="center" label="ID" width="80">
|
<el-table-column align="center" label="ID" width="80">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.id }}</span>
|
<span>{{ scope.row.id }}</span>
|
||||||
|
@ -104,7 +104,6 @@ export default {
|
||||||
.edit-input {
|
.edit-input {
|
||||||
padding-right: 100px;
|
padding-right: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cancel-btn {
|
.cancel-btn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 15px;
|
right: 15px;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="display: inline-block;">
|
<div style="display:inline-block;">
|
||||||
<label class="radio-label">Cell Auto-Width: </label>
|
<label class="radio-label">Cell Auto-Width: </label>
|
||||||
<el-radio-group v-model="autoWidth">
|
<el-radio-group v-model="autoWidth">
|
||||||
<el-radio :label="true" border>
|
<el-radio :label="true" border>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="display: inline-block;">
|
<div style="display:inline-block;">
|
||||||
<label class="radio-label">Book Type: </label>
|
<label class="radio-label">Book Type: </label>
|
||||||
<el-select v-model="bookType" style="width: 120px;">
|
<el-select v-model="bookType" style="width:120px;">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in options"
|
v-for="item in options"
|
||||||
:key="item"
|
:key="item"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="display: inline-block;">
|
<div style="display:inline-block;">
|
||||||
<label class="radio-label" style="padding-left: 0;">Filename: </label>
|
<label class="radio-label" style="padding-left:0;">Filename: </label>
|
||||||
<el-input v-model="filename" placeholder="Please enter the file name (default excel-list)" style="width: 345px;" prefix-icon="el-icon-document" />
|
<el-input v-model="filename" placeholder="Please enter the file name (default excel-list)" style="width:345px;" prefix-icon="el-icon-document" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
<FilenameOption v-model="filename" />
|
<FilenameOption v-model="filename" />
|
||||||
<AutoWidthOption v-model="autoWidth" />
|
<AutoWidthOption v-model="autoWidth" />
|
||||||
<BookTypeOption v-model="bookType" />
|
<BookTypeOption v-model="bookType" />
|
||||||
<el-button :loading="downloadLoading" style="margin: 0 0 20px 20px;" type="primary" icon="el-icon-document" @click="handleDownload">
|
<el-button :loading="downloadLoading" style="margin:0 0 20px 20px;" type="primary" icon="el-icon-document" @click="handleDownload">
|
||||||
Export Excel
|
Export Excel
|
||||||
</el-button>
|
</el-button>
|
||||||
<a href="https://panjiachen.github.io/vue-element-admin-site/feature/component/excel.html" target="_blank" style="margin-left: 15px;">
|
<a href="https://panjiachen.github.io/vue-element-admin-site/feature/component/excel.html" target="_blank" style="margin-left:15px;">
|
||||||
<el-tag type="info">Documentation</el-tag>
|
<el-tag type="info">Documentation</el-tag>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -108,8 +108,8 @@ export default {
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.radio-label {
|
.radio-label {
|
||||||
color: #606266;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
color: #606266;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
padding: 0 12px 0 30px;
|
padding: 0 12px 0 30px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
|
|
||||||
<el-button :loading="downloadLoading" style="margin-bottom: 20px;" type="primary" icon="el-icon-document" @click="handleDownload">Export</el-button>
|
<el-button :loading="downloadLoading" style="margin-bottom:20px" type="primary" icon="el-icon-document" @click="handleDownload">Export</el-button>
|
||||||
|
|
||||||
<el-table
|
<el-table
|
||||||
ref="multipleTable"
|
ref="multipleTable"
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-input v-model="filename" placeholder="Please enter the file name (default excel-list)" style="width: 350px;" prefix-icon="el-icon-document" />
|
<el-input v-model="filename" placeholder="Please enter the file name (default excel-list)" style="width:350px;" prefix-icon="el-icon-document" />
|
||||||
<el-button :loading="downloadLoading" style="margin-bottom: 20px;" type="primary" icon="el-icon-document" @click="handleDownload">
|
<el-button :loading="downloadLoading" style="margin-bottom:20px" type="primary" icon="el-icon-document" @click="handleDownload">
|
||||||
Export Selected Items
|
Export Selected Items
|
||||||
</el-button>
|
</el-button>
|
||||||
<a href="https://panjiachen.github.io/vue-element-admin-site/feature/component/excel.html" target="_blank" style="margin-left: 15px;">
|
<a href="https://panjiachen.github.io/vue-element-admin-site/feature/component/excel.html" target="_blank" style="margin-left:15px;">
|
||||||
<el-tag type="info">Documentation</el-tag>
|
<el-tag type="info">Documentation</el-tag>
|
||||||
</a>
|
</a>
|
||||||
<el-table
|
<el-table
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<upload-excel-component :on-success="handleSuccess" :before-upload="beforeUpload" />
|
<upload-excel-component :on-success="handleSuccess" :before-upload="beforeUpload" />
|
||||||
<el-table :data="tableData" border highlight-current-row style="margin-top: 20px;width: 100%;">
|
<el-table :data="tableData" border highlight-current-row style="width: 100%;margin-top:20px;">
|
||||||
<el-table-column v-for="item of tableHeader" :key="item" :prop="item" :label="item" />
|
<el-table-column v-for="item of tableHeader" :key="item" :prop="item" :label="item" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -72,20 +72,20 @@ export default {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.grid {
|
.grid {
|
||||||
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-item {
|
.icon-item {
|
||||||
color: #24292e;
|
|
||||||
cursor: pointer;
|
|
||||||
float: left;
|
|
||||||
font-size: 30px;
|
|
||||||
height: 85px;
|
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
|
height: 85px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
|
float: left;
|
||||||
|
font-size: 30px;
|
||||||
|
color: #24292e;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
|
|
@ -40,37 +40,32 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.social-signup-container {
|
.social-signup-container {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
|
|
||||||
.sign-btn {
|
.sign-btn {
|
||||||
cursor: pointer;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wx-svg-container,
|
.wx-svg-container,
|
||||||
.qq-svg-container {
|
.qq-svg-container {
|
||||||
border-radius: 4px;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 1px;
|
||||||
|
border-radius: 4px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
padding-top: 1px;
|
|
||||||
text-align: center;
|
|
||||||
width: 40px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.wx-svg-container {
|
.wx-svg-container {
|
||||||
background-color: #24da70;
|
background-color: #24da70;
|
||||||
}
|
}
|
||||||
|
|
||||||
.qq-svg-container {
|
.qq-svg-container {
|
||||||
background-color: #6ba2d6;
|
background-color: #6BA2D6;
|
||||||
margin-left: 50px;
|
margin-left: 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,15 +45,15 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
||||||
<el-button :loading="loading" type="primary" style="margin-bottom: 30px;width: 100%;" @click.native.prevent="handleLogin">Login</el-button>
|
<el-button :loading="loading" type="primary" style="width:100%;margin-bottom:30px;" @click.native.prevent="handleLogin">Login</el-button>
|
||||||
|
|
||||||
<div style="position: relative;">
|
<div style="position:relative">
|
||||||
<div class="tips">
|
<div class="tips">
|
||||||
<span>Username : admin</span>
|
<span>Username : admin</span>
|
||||||
<span>Password : any</span>
|
<span>Password : any</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="tips">
|
<div class="tips">
|
||||||
<span style="margin-right: 18px;">Username : editor</span>
|
<span style="margin-right:18px;">Username : editor</span>
|
||||||
<span>Password : any</span>
|
<span>Password : any</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -204,8 +204,8 @@ export default {
|
||||||
/* 修复input 背景不协调 和光标变色 */
|
/* 修复input 背景不协调 和光标变色 */
|
||||||
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
|
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
|
||||||
|
|
||||||
$bg: #283443;
|
$bg:#283443;
|
||||||
$light-gray: #fff;
|
$light_gray:#fff;
|
||||||
$cursor: #fff;
|
$cursor: #fff;
|
||||||
|
|
||||||
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
|
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
|
||||||
|
@ -222,25 +222,25 @@ $cursor: #fff;
|
||||||
width: 85%;
|
width: 85%;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
-webkit-appearance: none;
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0px;
|
||||||
border-radius: 0;
|
-webkit-appearance: none;
|
||||||
caret-color: $cursor;
|
border-radius: 0px;
|
||||||
color: $light-gray;
|
|
||||||
height: 47px;
|
|
||||||
padding: 12px 5px 12px 15px;
|
padding: 12px 5px 12px 15px;
|
||||||
|
color: $light_gray;
|
||||||
|
height: 47px;
|
||||||
|
caret-color: $cursor;
|
||||||
|
|
||||||
&:-webkit-autofill {
|
&:-webkit-autofill {
|
||||||
box-shadow: 0 0 0 1000px $bg inset !important;
|
box-shadow: 0 0 0px 1000px $bg inset !important;
|
||||||
-webkit-text-fill-color: $cursor !important;
|
-webkit-text-fill-color: $cursor !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-form-item {
|
.el-form-item {
|
||||||
background: rgba(0, 0, 0, 0.1);
|
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
background: rgba(0, 0, 0, 0.1);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: #454545;
|
color: #454545;
|
||||||
}
|
}
|
||||||
|
@ -248,28 +248,28 @@ $cursor: #fff;
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
$bg: #2d3a4b;
|
$bg:#2d3a4b;
|
||||||
$dark-gray: #889aa4;
|
$dark_gray:#889aa4;
|
||||||
$light-gray: #eee;
|
$light_gray:#eee;
|
||||||
|
|
||||||
.login-container {
|
.login-container {
|
||||||
background-color: $bg;
|
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
overflow: hidden;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
background-color: $bg;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
.login-form {
|
.login-form {
|
||||||
margin: 0 auto;
|
|
||||||
max-width: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 160px 35px 0;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 520px;
|
width: 520px;
|
||||||
|
max-width: 100%;
|
||||||
|
padding: 160px 35px 0;
|
||||||
|
margin: 0 auto;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tips {
|
.tips {
|
||||||
color: #fff;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
color: #fff;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
|
@ -280,39 +280,39 @@ $light-gray: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.svg-container {
|
.svg-container {
|
||||||
color: $dark-gray;
|
|
||||||
display: inline-block;
|
|
||||||
padding: 6px 5px 6px 15px;
|
padding: 6px 5px 6px 15px;
|
||||||
|
color: $dark_gray;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-container {
|
.title-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
color: $light-gray;
|
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
font-weight: bold;
|
color: $light_gray;
|
||||||
margin: 0 auto 40px;
|
margin: 0px auto 40px auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.show-pwd {
|
.show-pwd {
|
||||||
color: $dark-gray;
|
|
||||||
cursor: pointer;
|
|
||||||
font-size: 16px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: 7px;
|
top: 7px;
|
||||||
|
font-size: 16px;
|
||||||
|
color: $dark_gray;
|
||||||
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thirdparty-button {
|
.thirdparty-button {
|
||||||
bottom: 6px;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 470px) {
|
@media only screen and (max-width: 470px) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="padding: 30px;">
|
<div style="padding:30px;">
|
||||||
<el-alert :closable="false" title="menu 1">
|
<el-alert :closable="false" title="menu 1">
|
||||||
<router-view />
|
<router-view />
|
||||||
</el-alert>
|
</el-alert>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="padding: 30px;">
|
<div style="padding:30px;">
|
||||||
<el-alert :closable="false" title="menu 1-1" type="success">
|
<el-alert :closable="false" title="menu 1-1" type="success">
|
||||||
<router-view />
|
<router-view />
|
||||||
</el-alert>
|
</el-alert>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="padding: 30px;">
|
<div style="padding:30px;">
|
||||||
<el-alert :closable="false" title="menu 1-2" type="success">
|
<el-alert :closable="false" title="menu 1-2" type="success">
|
||||||
<router-view />
|
<router-view />
|
||||||
</el-alert>
|
</el-alert>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template functional>
|
<template functional>
|
||||||
<div style="padding: 30px;">
|
<div style="padding:30px;">
|
||||||
<el-alert :closable="false" title="menu 1-2-1" type="warning" />
|
<el-alert :closable="false" title="menu 1-2-1" type="warning" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template functional>
|
<template functional>
|
||||||
<div style="padding: 30px;">
|
<div style="padding:30px;">
|
||||||
<el-alert :closable="false" title="menu 1-2-2" type="warning" />
|
<el-alert :closable="false" title="menu 1-2-2" type="warning" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template functional>
|
<template functional>
|
||||||
<div style="padding: 30px;">
|
<div style="padding:30px;">
|
||||||
<el-alert :closable="false" title="menu 1-3" type="success" />
|
<el-alert :closable="false" title="menu 1-3" type="success" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="padding: 30px;">
|
<div style="padding:30px;">
|
||||||
<el-alert :closable="false" title="menu 2" />
|
<el-alert :closable="false" title="menu 2" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div v-loading.fullscreen.lock="fullscreenLoading" class="main-article" element-loading-text="Efforts to generate PDF">
|
<div v-loading.fullscreen.lock="fullscreenLoading" class="main-article" element-loading-text="Efforts to generate PDF">
|
||||||
<div class="article-heading">
|
<div class="article__heading">
|
||||||
<div class="article-heading-title">
|
<div class="article__heading__title">
|
||||||
{{ article.title }}
|
{{ article.title }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -44,57 +44,57 @@ export default {
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@mixin clearfix {
|
@mixin clearfix {
|
||||||
&::before {
|
&:before {
|
||||||
clear: both;
|
|
||||||
content: '';
|
|
||||||
display: table;
|
display: table;
|
||||||
|
content: '';
|
||||||
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&:after {
|
||||||
clear: both;
|
|
||||||
content: '';
|
|
||||||
display: table;
|
display: table;
|
||||||
|
content: '';
|
||||||
|
clear: both;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-article {
|
.main-article {
|
||||||
background: #fff;
|
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
width: 740px;
|
width: 740px;
|
||||||
|
background: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-heading {
|
.article__heading {
|
||||||
overflow: hidden;
|
|
||||||
padding: 0 0 20px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
padding: 0 0 20px;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.article-heading-title {
|
.article__heading__title {
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
color: #333;
|
|
||||||
display: block;
|
display: block;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
font-size: 32px;
|
-webkit-box-orient: vertical;
|
||||||
font-weight: 600;
|
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
line-clamp: 2;
|
line-clamp: 2;
|
||||||
line-height: 48px;
|
|
||||||
overflow: hidden;
|
|
||||||
overflow-wrap: break-word;
|
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
font-size: 32px;
|
||||||
|
line-height: 48px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.node-article-content {
|
.node-article-content {
|
||||||
|
margin: 20px 0 0;
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
color: #333;
|
|
||||||
font-family: medium-content-serif-font, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
color: #333;
|
||||||
letter-spacing: 0.5px;
|
letter-spacing: 0.5px;
|
||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
margin: 20px 0 0;
|
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif;
|
||||||
|
|
||||||
&> :last-child {
|
&> :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
@ -107,17 +107,17 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
max-width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 100%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 21px;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: -0.003em;
|
font-style: normal;
|
||||||
|
font-size: 21px;
|
||||||
line-height: 1.58;
|
line-height: 1.58;
|
||||||
|
letter-spacing: -.003em;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,32 +128,32 @@ export default {
|
||||||
li {
|
li {
|
||||||
--x-height-multiplier: 0.375;
|
--x-height-multiplier: 0.375;
|
||||||
--baseline-multiplier: 0.17;
|
--baseline-multiplier: 0.17;
|
||||||
font-size: 21px;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
|
|
||||||
letter-spacing: 0.01rem;
|
letter-spacing: .01rem;
|
||||||
letter-spacing: -0.003em;
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
font-size: 21px;
|
||||||
line-height: 1.58;
|
line-height: 1.58;
|
||||||
margin-bottom: 14px;
|
letter-spacing: -.003em;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
|
margin-bottom: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
background-image: linear-gradient(to right, rgba(0, 0, 0, 0.84) 100%, rgba(0, 0, 0, 0) 0);
|
|
||||||
background-position: 0 calc(1em + 1px);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
background-size: 1px 1px;
|
|
||||||
padding: 0 6px;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
background-image: linear-gradient(to right, rgba(0, 0, 0, .84) 100%, rgba(0, 0, 0, 0) 0);
|
||||||
|
background-size: 1px 1px;
|
||||||
|
background-position: 0 calc(1em + 1px);
|
||||||
|
padding: 0 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
background: rgba(0, 0, 0, 0.05);
|
background: rgba(0, 0, 0, .05);
|
||||||
display: inline-block;
|
|
||||||
font-size: 16px;
|
|
||||||
margin: 0 2px;
|
|
||||||
padding: 3px 4px;
|
padding: 3px 4px;
|
||||||
|
margin: 0 2px;
|
||||||
|
font-size: 16px;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
@ -168,17 +168,17 @@ export default {
|
||||||
blockquote {
|
blockquote {
|
||||||
--x-height-multiplier: 0.375;
|
--x-height-multiplier: 0.375;
|
||||||
--baseline-multiplier: 0.17;
|
--baseline-multiplier: 0.17;
|
||||||
border-left: 3px solid rgba(0, 0, 0, 0.84);
|
font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif;
|
||||||
font-family: medium-content-serif-font, Georgia, Cambria, 'Times New Roman', Times, serif;
|
letter-spacing: .01rem;
|
||||||
font-size: 21px;
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: 0.01rem;
|
font-style: italic;
|
||||||
letter-spacing: -0.003em;
|
font-size: 21px;
|
||||||
line-height: 1.58;
|
line-height: 1.58;
|
||||||
|
letter-spacing: -.003em;
|
||||||
|
border-left: 3px solid rgba(0, 0, 0, .84);
|
||||||
|
padding-left: 20px;
|
||||||
margin-left: -23px;
|
margin-left: -23px;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
padding-left: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -189,8 +189,8 @@ export default {
|
||||||
h3,
|
h3,
|
||||||
h4 {
|
h4 {
|
||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
letter-spacing: -0.015em;
|
|
||||||
line-height: 1.15;
|
line-height: 1.15;
|
||||||
|
letter-spacing: -.015em;
|
||||||
margin: 53px 0 0;
|
margin: 53px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<aside style="margin-top: 15px;">
|
<aside style="margin-top:15px;">
|
||||||
Here we use window.print() to implement the feature of downloading PDF.
|
Here we use window.print() to implement the feature of downloading PDF.
|
||||||
</aside>
|
</aside>
|
||||||
<router-link target="_blank" to="/pdf/download">
|
<router-link target="_blank" to="/pdf/download">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div style="margin-bottom: 15px;">
|
<div style="margin-bottom:15px;">
|
||||||
Your roles: {{ roles }}
|
Your roles: {{ roles }}
|
||||||
</div>
|
</div>
|
||||||
Switch roles:
|
Switch roles:
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<switch-roles @change="handleRolesChange" />
|
<switch-roles @change="handleRolesChange" />
|
||||||
<div :key="key" style="margin-top: 30px;">
|
<div :key="key" style="margin-top:30px;">
|
||||||
<div>
|
<div>
|
||||||
<span v-permission="['admin']" class="permission-alert">
|
<span v-permission="['admin']" class="permission-alert">
|
||||||
Only
|
Only
|
||||||
<el-tag class="permission-tag" size="small">admin</el-tag> can see this
|
<el-tag class="permission-tag" size="small">admin</el-tag> can see this
|
||||||
</span>
|
</span>
|
||||||
<el-tag v-permission="['admin']" class="permission-source-code" type="info">
|
<el-tag v-permission="['admin']" class="permission-sourceCode" type="info">
|
||||||
v-permission="['admin']"
|
v-permission="['admin']"
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
Only
|
Only
|
||||||
<el-tag class="permission-tag" size="small">editor</el-tag> can see this
|
<el-tag class="permission-tag" size="small">editor</el-tag> can see this
|
||||||
</span>
|
</span>
|
||||||
<el-tag v-permission="['editor']" class="permission-source-code" type="info">
|
<el-tag v-permission="['editor']" class="permission-sourceCode" type="info">
|
||||||
v-permission="['editor']"
|
v-permission="['editor']"
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,36 +28,36 @@
|
||||||
<el-tag class="permission-tag" size="small">admin</el-tag> and
|
<el-tag class="permission-tag" size="small">admin</el-tag> and
|
||||||
<el-tag class="permission-tag" size="small">editor</el-tag> can see this
|
<el-tag class="permission-tag" size="small">editor</el-tag> can see this
|
||||||
</span>
|
</span>
|
||||||
<el-tag v-permission="['admin','editor']" class="permission-source-code" type="info">
|
<el-tag v-permission="['admin','editor']" class="permission-sourceCode" type="info">
|
||||||
v-permission="['admin','editor']"
|
v-permission="['admin','editor']"
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div :key="'checkPermission'+key" style="margin-top: 60px;">
|
<div :key="'checkPermission'+key" style="margin-top:60px;">
|
||||||
<aside>
|
<aside>
|
||||||
In some cases, using v-permission will have no effect. For example: Element-UI's Tab component or el-table-column and other scenes that dynamically render dom. You can only do this with v-if.
|
In some cases, using v-permission will have no effect. For example: Element-UI's Tab component or el-table-column and other scenes that dynamically render dom. You can only do this with v-if.
|
||||||
<br> e.g.
|
<br> e.g.
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<el-tabs type="border-card" style="width: 550px;">
|
<el-tabs type="border-card" style="width:550px;">
|
||||||
<el-tab-pane v-if="checkPermission(['admin'])" label="Admin">
|
<el-tab-pane v-if="checkPermission(['admin'])" label="Admin">
|
||||||
Admin can see this
|
Admin can see this
|
||||||
<el-tag class="permission-source-code" type="info">
|
<el-tag class="permission-sourceCode" type="info">
|
||||||
v-if="checkPermission(['admin'])"
|
v-if="checkPermission(['admin'])"
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
|
||||||
<el-tab-pane v-if="checkPermission(['editor'])" label="Editor">
|
<el-tab-pane v-if="checkPermission(['editor'])" label="Editor">
|
||||||
Editor can see this
|
Editor can see this
|
||||||
<el-tag class="permission-source-code" type="info">
|
<el-tag class="permission-sourceCode" type="info">
|
||||||
v-if="checkPermission(['editor'])"
|
v-if="checkPermission(['editor'])"
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
|
||||||
<el-tab-pane v-if="checkPermission(['admin','editor'])" label="Admin-OR-Editor">
|
<el-tab-pane v-if="checkPermission(['admin','editor'])" label="Admin-OR-Editor">
|
||||||
Both admin or editor can see this
|
Both admin or editor can see this
|
||||||
<el-tag class="permission-source-code" type="info">
|
<el-tag class="permission-sourceCode" type="info">
|
||||||
v-if="checkPermission(['admin','editor'])"
|
v-if="checkPermission(['admin','editor'])"
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
@ -92,19 +92,17 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.app-container {
|
.app-container {
|
||||||
/deep/ .permission-alert {
|
/deep/ .permission-alert {
|
||||||
background-color: #f0f9eb;
|
|
||||||
border-radius: 4px;
|
|
||||||
color: #67c23a;
|
|
||||||
display: inline-block;
|
|
||||||
margin-top: 15px;
|
|
||||||
padding: 8px 16px;
|
|
||||||
width: 320px;
|
width: 320px;
|
||||||
|
margin-top: 15px;
|
||||||
|
background-color: #f0f9eb;
|
||||||
|
color: #67c23a;
|
||||||
|
padding: 8px 16px;
|
||||||
|
border-radius: 4px;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
/deep/ .permission-sourceCode {
|
||||||
/deep/ .permission-source-code {
|
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .permission-tag {
|
/deep/ .permission-tag {
|
||||||
background-color: #ecf5ff;
|
background-color: #ecf5ff;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-button type="primary" @click="handleAddRole">New Role</el-button>
|
<el-button type="primary" @click="handleAddRole">New Role</el-button>
|
||||||
|
|
||||||
<el-table :data="rolesList" style="margin-top: 30px;width: 100%;" border>
|
<el-table :data="rolesList" style="width: 100%;margin-top:30px;" border>
|
||||||
<el-table-column align="center" label="Role Key" width="220">
|
<el-table-column align="center" label="Role Key" width="220">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.key }}
|
{{ scope.row.key }}
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div style="text-align: right;">
|
<div style="text-align:right;">
|
||||||
<el-button type="danger" @click="dialogVisible=false">Cancel</el-button>
|
<el-button type="danger" @click="dialogVisible=false">Cancel</el-button>
|
||||||
<el-button type="primary" @click="confirmRole">Confirm</el-button>
|
<el-button type="primary" @click="confirmRole">Confirm</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -263,7 +263,6 @@ export default {
|
||||||
.roles-table {
|
.roles-table {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.permission-tree {
|
.permission-tree {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,6 +103,7 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.user-activity {
|
.user-activity {
|
||||||
.user-block {
|
.user-block {
|
||||||
|
|
||||||
.username,
|
.username,
|
||||||
.description {
|
.description {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -110,38 +111,38 @@ export default {
|
||||||
padding: 2px 0;
|
padding: 2px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.username {
|
.username{
|
||||||
color: #000;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
::after {
|
:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.img-circle {
|
.img-circle {
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
float: left;
|
|
||||||
height: 40px;
|
|
||||||
width: 40px;
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post {
|
.post {
|
||||||
border-bottom: 1px solid #d2d6de;
|
|
||||||
color: #666;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
border-bottom: 1px solid #d2d6de;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
|
color: #666;
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -151,18 +152,19 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-inline {
|
.list-inline {
|
||||||
list-style: none;
|
|
||||||
margin-left: -5px;
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
margin-left: -5px;
|
||||||
|
list-style: none;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 13px;
|
|
||||||
padding-left: 5px;
|
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
|
padding-left: 5px;
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link-black {
|
.link-black {
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: #999;
|
color: #999;
|
||||||
|
@ -173,8 +175,8 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-center {
|
.box-center {
|
||||||
display: table;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
display: table;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-muted {
|
.text-muted {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<el-card style="margin-bottom: 20px;">
|
<el-card style="margin-bottom:20px;">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>About me</span>
|
<span>About me</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -75,8 +75,8 @@ export default {
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.box-center {
|
.box-center {
|
||||||
display: table;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
display: table;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-muted {
|
.text-muted {
|
||||||
|
@ -93,9 +93,9 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-role {
|
.user-role {
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 400;
|
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-social {
|
.box-social {
|
||||||
|
@ -112,8 +112,8 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-bio {
|
.user-bio {
|
||||||
color: #606266;
|
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
color: #606266;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
|
@ -125,9 +125,9 @@ export default {
|
||||||
|
|
||||||
.user-bio-section-header {
|
.user-bio-section-header {
|
||||||
border-bottom: 1px solid #dfe6ec;
|
border-bottom: 1px solid #dfe6ec;
|
||||||
font-weight: bold;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<el-table :data="list" border fit highlight-current-row style="width: 100%;">
|
<el-table :data="list" border fit highlight-current-row style="width: 100%">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
align="center"
|
align="center"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="tab-container">
|
<div class="tab-container">
|
||||||
<el-tag>mounted times :{{ createdTimes }}</el-tag>
|
<el-tag>mounted times :{{ createdTimes }}</el-tag>
|
||||||
<el-alert :closable="false" style="display: inline-block;margin-left: 30px;vertical-align: middle;width: 200px;" title="Tab with keep-alive" type="success" />
|
<el-alert :closable="false" style="width:200px;display:inline-block;vertical-align: middle;margin-left:30px;" title="Tab with keep-alive" type="success" />
|
||||||
<el-tabs v-model="activeName" style="margin-top: 15px;" type="border-card">
|
<el-tabs v-model="activeName" style="margin-top:15px;" type="border-card">
|
||||||
<el-tab-pane v-for="item in tabMapOptions" :key="item.key" :label="item.label" :name="item.key">
|
<el-tab-pane v-for="item in tabMapOptions" :key="item.key" :label="item.label" :name="item.key">
|
||||||
<keep-alive>
|
<keep-alive>
|
||||||
<tab-pane v-if="activeName==item.key" :type="item.key" @create="showCreatedTimes" />
|
<tab-pane v-if="activeName==item.key" :type="item.key" @create="showCreatedTimes" />
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="filter-container">
|
<div class="filter-container">
|
||||||
<el-input v-model="listQuery.title" placeholder="Title" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
<el-input v-model="listQuery.title" placeholder="Title" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
||||||
<el-select v-model="listQuery.importance" placeholder="Imp" clearable style="width: 90px;" class="filter-item">
|
<el-select v-model="listQuery.importance" placeholder="Imp" clearable style="width: 90px" class="filter-item">
|
||||||
<el-option v-for="item in importanceOptions" :key="item" :label="item" :value="item" />
|
<el-option v-for="item in importanceOptions" :key="item" :label="item" :value="item" />
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-select v-model="listQuery.type" placeholder="Type" clearable class="filter-item" style="width: 130px;">
|
<el-select v-model="listQuery.type" placeholder="Type" clearable class="filter-item" style="width: 130px">
|
||||||
<el-option v-for="item in calendarTypeOptions" :key="item.key" :label="item.display_name+'('+item.key+')'" :value="item.key" />
|
<el-option v-for="item in calendarTypeOptions" :key="item.key" :label="item.display_name+'('+item.key+')'" :value="item.key" />
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-select v-model="listQuery.sort" style="width: 140px;" class="filter-item" @change="handleFilter">
|
<el-select v-model="listQuery.sort" style="width: 140px" class="filter-item" @change="handleFilter">
|
||||||
<el-option v-for="item in sortOptions" :key="item.key" :label="item.label" :value="item.key" />
|
<el-option v-for="item in sortOptions" :key="item.key" :label="item.label" :value="item.key" />
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilter">
|
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="handleFilter">
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
<el-button v-waves :loading="downloadLoading" class="filter-item" type="primary" icon="el-icon-download" @click="handleDownload">
|
<el-button v-waves :loading="downloadLoading" class="filter-item" type="primary" icon="el-icon-download" @click="handleDownload">
|
||||||
Export
|
Export
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-checkbox v-model="showReviewer" class="filter-item" style="margin-left: 15px;" @change="tableKey=tableKey+1">
|
<el-checkbox v-model="showReviewer" class="filter-item" style="margin-left:15px;" @change="tableKey=tableKey+1">
|
||||||
reviewer
|
reviewer
|
||||||
</el-checkbox>
|
</el-checkbox>
|
||||||
</div>
|
</div>
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column v-if="showReviewer" label="Reviewer" width="110px" align="center">
|
<el-table-column v-if="showReviewer" label="Reviewer" width="110px" align="center">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<span style="color: red;">{{ row.reviewer }}</span>
|
<span style="color:red;">{{ row.reviewer }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="Imp" width="80px">
|
<el-table-column label="Imp" width="80px">
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
<pagination v-show="total>0" :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
<pagination v-show="total>0" :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
||||||
|
|
||||||
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">
|
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">
|
||||||
<el-form ref="dataForm" :rules="rules" :model="temp" label-position="left" label-width="70px" style=" margin-left: 50px;width: 400px;">
|
<el-form ref="dataForm" :rules="rules" :model="temp" label-position="left" label-width="70px" style="width: 400px; margin-left:50px;">
|
||||||
<el-form-item label="Type" prop="type">
|
<el-form-item label="Type" prop="type">
|
||||||
<el-select v-model="temp.type" class="filter-item" placeholder="Please select">
|
<el-select v-model="temp.type" class="filter-item" placeholder="Please select">
|
||||||
<el-option v-for="item in calendarTypeOptions" :key="item.key" :label="item.display_name" :value="item.key" />
|
<el-option v-for="item in calendarTypeOptions" :key="item.key" :label="item.display_name" :value="item.key" />
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="Imp">
|
<el-form-item label="Imp">
|
||||||
<el-rate v-model="temp.importance" :colors="['#99A9BF', '#F7BA2A', '#FF9900']" :max="3" style="margin-top: 8px;" />
|
<el-rate v-model="temp.importance" :colors="['#99A9BF', '#F7BA2A', '#FF9900']" :max="3" style="margin-top:8px;" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="Remark">
|
<el-form-item label="Remark">
|
||||||
<el-input v-model="temp.remark" :autosize="{ minRows: 2, maxRows: 4}" type="textarea" placeholder="Please input" />
|
<el-input v-model="temp.remark" :autosize="{ minRows: 2, maxRows: 4}" type="textarea" placeholder="Please input" />
|
||||||
|
@ -135,7 +135,7 @@
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<el-dialog :visible.sync="dialogPvVisible" title="Reading statistics">
|
<el-dialog :visible.sync="dialogPvVisible" title="Reading statistics">
|
||||||
<el-table :data="pvData" border fit highlight-current-row style="width: 100%;">
|
<el-table :data="pvData" border fit highlight-current-row style="width: 100%">
|
||||||
<el-table-column prop="key" label="Channel" />
|
<el-table-column prop="key" label="Channel" />
|
||||||
<el-table-column prop="pv" label="Pv" />
|
<el-table-column prop="pv" label="Pv" />
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<!-- Note that row-key is necessary to get a correct row order. -->
|
<!-- Note that row-key is necessary to get a correct row order. -->
|
||||||
<el-table ref="dragTable" v-loading="listLoading" :data="list" row-key="id" border fit highlight-current-row style="width: 100%;">
|
<el-table ref="dragTable" v-loading="listLoading" :data="list" row-key="id" border fit highlight-current-row style="width: 100%">
|
||||||
<el-table-column align="center" label="ID" width="65">
|
<el-table-column align="center" label="ID" width="65">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<span>{{ row.id }}</span>
|
<span>{{ row.id }}</span>
|
||||||
|
@ -131,25 +131,23 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.sortable-ghost {
|
.sortable-ghost{
|
||||||
background: #42b983 !important;
|
opacity: .8;
|
||||||
color: #fff !important;
|
color: #fff!important;
|
||||||
opacity: 0.8;
|
background: #42b983!important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.icon-star {
|
.icon-star{
|
||||||
margin-right: 2px;
|
margin-right:2px;
|
||||||
}
|
}
|
||||||
|
.drag-handler{
|
||||||
.drag-handler {
|
|
||||||
cursor: pointer;
|
|
||||||
height: 20px;
|
|
||||||
width: 20px;
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.show-d{
|
||||||
.show-d {
|
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-table :key="key" :data="tableData" border fit highlight-current-row style="width: 100%;">
|
<el-table :key="key" :data="tableData" border fit highlight-current-row style="width: 100%">
|
||||||
<el-table-column prop="name" label="fruitName" width="180" />
|
<el-table-column prop="name" label="fruitName" width="180" />
|
||||||
<el-table-column v-for="fruit in formThead" :key="fruit" :label="fruit">
|
<el-table-column v-for="fruit in formThead" :key="fruit" :label="fruit">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-table :data="tableData" border fit highlight-current-row style="width: 100%;">
|
<el-table :data="tableData" border fit highlight-current-row style="width: 100%">
|
||||||
<el-table-column prop="name" label="fruitName" width="180" />
|
<el-table-column prop="name" label="fruitName" width="180" />
|
||||||
<el-table-column v-for="fruit in formThead" :key="fruit" :label="fruit">
|
<el-table-column v-for="fruit in formThead" :key="fruit" :label="fruit">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div style="margin: 0 0 5px 20px;">
|
<div style="margin:0 0 5px 20px">
|
||||||
Fixed header, sorted by header order,
|
Fixed header, sorted by header order,
|
||||||
</div>
|
</div>
|
||||||
<fixed-thead />
|
<fixed-thead />
|
||||||
|
|
||||||
<div style="margin: 30px 0 5px 20px;">
|
<div style="margin:30px 0 5px 20px">
|
||||||
Not fixed header, sorted by click order
|
Not fixed header, sorted by click order
|
||||||
</div>
|
</div>
|
||||||
<unfixed-thead />
|
<unfixed-thead />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-table v-loading="listLoading" :data="list" border fit highlight-current-row style="width: 100%;">
|
<el-table v-loading="listLoading" :data="list" border fit highlight-current-row style="width: 100%">
|
||||||
<el-table-column align="center" label="ID" width="80">
|
<el-table-column align="center" label="ID" width="80">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<span>{{ row.id }}</span>
|
<span>{{ row.id }}</span>
|
||||||
|
@ -141,7 +141,6 @@ export default {
|
||||||
.edit-input {
|
.edit-input {
|
||||||
padding-right: 100px;
|
padding-right: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cancel-btn {
|
.cancel-btn {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 15px;
|
right: 15px;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<div class="box-item">
|
<div class="box-item">
|
||||||
<span class="field-label">Change Theme : </span>
|
<span class="field-label">Change Theme : </span>
|
||||||
<el-switch v-model="theme" />
|
<el-switch v-model="theme" />
|
||||||
<aside style="margin-top: 15px;">
|
<aside style="margin-top:15px;">
|
||||||
Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details.
|
Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details.
|
||||||
</aside>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
|
@ -101,14 +101,13 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.field-label {
|
.field-label{
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-card {
|
.box-card {
|
||||||
margin: 20px auto;
|
|
||||||
max-width: 100%;
|
|
||||||
width: 400px;
|
width: 400px;
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 20px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-input v-model="filename" placeholder="Please enter the file name (default file)" style="width: 300px;" prefix-icon="el-icon-document" />
|
<el-input v-model="filename" placeholder="Please enter the file name (default file)" style="width:300px;" prefix-icon="el-icon-document" />
|
||||||
<el-button :loading="downloadLoading" style="margin-bottom: 20px;" type="primary" icon="el-icon-document" @click="handleDownload">
|
<el-button :loading="downloadLoading" style="margin-bottom:20px;" type="primary" icon="el-icon-document" @click="handleDownload">
|
||||||
Export Zip
|
Export Zip
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-table v-loading="listLoading" :data="list" element-loading-text="拼命加载中" border fit highlight-current-row>
|
<el-table v-loading="listLoading" :data="list" element-loading-text="拼命加载中" border fit highlight-current-row>
|
||||||
|
|
Loading…
Reference in New Issue