tweak
This commit is contained in:
parent
d38490d50d
commit
487078a119
16
.eslintrc.js
16
.eslintrc.js
|
@ -21,20 +21,8 @@ module.exports = {
|
||||||
"allowFirstLine": false
|
"allowFirstLine": false
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
"vue/html-closing-bracket-newline": ["error", {
|
"vue/singleline-html-element-content-newline": "off",
|
||||||
"singleline": "never",
|
"vue/multiline-html-element-content-newline":"off",
|
||||||
"multiline": "never"
|
|
||||||
}],
|
|
||||||
"vue/singleline-html-element-content-newline": ["error", {
|
|
||||||
"ignoreWhenNoAttributes": true,
|
|
||||||
"ignoreWhenEmpty": true,
|
|
||||||
"ignores": ["a", "abbr", "audio", "b", "bdi", "bdo", "canvas", "cite", "code", "data", "del", "dfn", "em", "i", "iframe", "ins", "kbd", "label", "map", "mark", "noscript", "object", "output", "picture", "q", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "svg", "time", "u", "var", "video", "div"]
|
|
||||||
}],
|
|
||||||
"vue/multiline-html-element-content-newline": ["error", {
|
|
||||||
"ignoreWhenEmpty": true,
|
|
||||||
"ignores": ["a", "abbr", "audio", "b", "bdi", "bdo", "canvas", "cite", "code", "data", "del", "dfn", "em", "i", "iframe", "ins", "kbd", "label", "map", "mark", "noscript", "object", "output", "picture", "q", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "svg", "time", "u", "var", "video"],
|
|
||||||
"allowEmptyLines": true
|
|
||||||
}],
|
|
||||||
"vue/name-property-casing": ["error", "PascalCase"],
|
"vue/name-property-casing": ["error", "PascalCase"],
|
||||||
'accessor-pairs': 2,
|
'accessor-pairs': 2,
|
||||||
'arrow-spacing': [2, {
|
'arrow-spacing': [2, {
|
||||||
|
|
|
@ -80,10 +80,10 @@
|
||||||
"copy-webpack-plugin": "4.5.2",
|
"copy-webpack-plugin": "4.5.2",
|
||||||
"cross-env": "5.2.0",
|
"cross-env": "5.2.0",
|
||||||
"css-loader": "1.0.0",
|
"css-loader": "1.0.0",
|
||||||
"eslint": "^5.15.1",
|
"eslint": "5.15.2",
|
||||||
"eslint-friendly-formatter": "^4.0.1",
|
"eslint-friendly-formatter": "4.0.1",
|
||||||
"eslint-loader": "^2.1.2",
|
"eslint-loader": "2.1.2",
|
||||||
"eslint-plugin-vue": "^5.2.2",
|
"eslint-plugin-vue": "5.2.2",
|
||||||
"file-loader": "1.1.11",
|
"file-loader": "1.1.11",
|
||||||
"friendly-errors-webpack-plugin": "1.7.0",
|
"friendly-errors-webpack-plugin": "1.7.0",
|
||||||
"hash-sum": "1.0.2",
|
"hash-sum": "1.0.2",
|
||||||
|
|
|
@ -5,17 +5,20 @@
|
||||||
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" />
|
||||||
<path
|
<path
|
||||||
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
|
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
style="transform-origin: 130px 106px;"
|
style="transform-origin: 130px 106px;"
|
||||||
class="octo-arm" />
|
class="octo-arm"
|
||||||
|
/>
|
||||||
<path
|
<path
|
||||||
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
|
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
class="octo-body" />
|
class="octo-body"
|
||||||
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
viewBox="0 0 1024 1024"
|
viewBox="0 0 1024 1024"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
width="64"
|
width="64"
|
||||||
height="64">
|
height="64"
|
||||||
|
>
|
||||||
<path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z" />
|
<path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z" />
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
remote
|
remote
|
||||||
placeholder="Search"
|
placeholder="Search"
|
||||||
class="header-search-select"
|
class="header-search-select"
|
||||||
@change="change">
|
@change="change"
|
||||||
|
>
|
||||||
<el-option v-for="item in options" :key="item.path" :value="item" :label="item.title.join(' > ')" />
|
<el-option v-for="item in options" :key="item.path" :value="item" :label="item.title.join(' > ')" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -48,7 +48,8 @@
|
||||||
@mousedown="imgStartMove"
|
@mousedown="imgStartMove"
|
||||||
@mousemove="imgMove"
|
@mousemove="imgMove"
|
||||||
@mouseup="createImg"
|
@mouseup="createImg"
|
||||||
@mouseout="createImg">
|
@mouseout="createImg"
|
||||||
|
>
|
||||||
<div :style="sourceImgShadeStyle" class="vicp-img-shade vicp-img-shade-1" />
|
<div :style="sourceImgShadeStyle" class="vicp-img-shade vicp-img-shade-1" />
|
||||||
<div :style="sourceImgShadeStyle" class="vicp-img-shade vicp-img-shade-2" />
|
<div :style="sourceImgShadeStyle" class="vicp-img-shade vicp-img-shade-2" />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
<draggable
|
<draggable
|
||||||
:list="list"
|
:list="list"
|
||||||
:options="options"
|
:options="options"
|
||||||
class="board-column-content">
|
class="board-column-content"
|
||||||
|
>
|
||||||
<div v-for="element in list" :key="element.id" class="board-item">
|
<div v-for="element in list" :key="element.id" class="board-item">
|
||||||
{{ element.name }} {{ element.id }}
|
{{ element.name }} {{ element.id }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
class="material-input"
|
class="material-input"
|
||||||
@focus="handleMdFocus"
|
@focus="handleMdFocus"
|
||||||
@blur="handleMdBlur"
|
@blur="handleMdBlur"
|
||||||
@input="handleModelInput">
|
@input="handleModelInput"
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
v-if="type === 'url'"
|
v-if="type === 'url'"
|
||||||
v-model="currentValue"
|
v-model="currentValue"
|
||||||
|
@ -29,7 +30,8 @@
|
||||||
class="material-input"
|
class="material-input"
|
||||||
@focus="handleMdFocus"
|
@focus="handleMdFocus"
|
||||||
@blur="handleMdBlur"
|
@blur="handleMdBlur"
|
||||||
@input="handleModelInput">
|
@input="handleModelInput"
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
v-if="type === 'number'"
|
v-if="type === 'number'"
|
||||||
v-model="currentValue"
|
v-model="currentValue"
|
||||||
|
@ -48,7 +50,8 @@
|
||||||
class="material-input"
|
class="material-input"
|
||||||
@focus="handleMdFocus"
|
@focus="handleMdFocus"
|
||||||
@blur="handleMdBlur"
|
@blur="handleMdBlur"
|
||||||
@input="handleModelInput">
|
@input="handleModelInput"
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
v-if="type === 'password'"
|
v-if="type === 'password'"
|
||||||
v-model="currentValue"
|
v-model="currentValue"
|
||||||
|
@ -64,7 +67,8 @@
|
||||||
class="material-input"
|
class="material-input"
|
||||||
@focus="handleMdFocus"
|
@focus="handleMdFocus"
|
||||||
@blur="handleMdBlur"
|
@blur="handleMdBlur"
|
||||||
@input="handleModelInput">
|
@input="handleModelInput"
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
v-if="type === 'tel'"
|
v-if="type === 'tel'"
|
||||||
v-model="currentValue"
|
v-model="currentValue"
|
||||||
|
@ -78,7 +82,8 @@
|
||||||
class="material-input"
|
class="material-input"
|
||||||
@focus="handleMdFocus"
|
@focus="handleMdFocus"
|
||||||
@blur="handleMdBlur"
|
@blur="handleMdBlur"
|
||||||
@input="handleModelInput">
|
@input="handleModelInput"
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
v-if="type === 'text'"
|
v-if="type === 'text'"
|
||||||
v-model="currentValue"
|
v-model="currentValue"
|
||||||
|
@ -94,7 +99,8 @@
|
||||||
class="material-input"
|
class="material-input"
|
||||||
@focus="handleMdFocus"
|
@focus="handleMdFocus"
|
||||||
@blur="handleMdBlur"
|
@blur="handleMdBlur"
|
||||||
@input="handleModelInput">
|
@input="handleModelInput"
|
||||||
|
>
|
||||||
<span class="material-input-bar" />
|
<span class="material-input-bar" />
|
||||||
<label class="material-label">
|
<label class="material-label">
|
||||||
<slot />
|
<slot />
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
:total="total"
|
:total="total"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange" />
|
@current-change="handleCurrentChange"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
<el-color-picker
|
<el-color-picker
|
||||||
v-model="theme"
|
v-model="theme"
|
||||||
class="theme-picker"
|
class="theme-picker"
|
||||||
popper-class="theme-picker-dropdown" />
|
popper-class="theme-picker-dropdown"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
:before-upload="beforeUpload"
|
:before-upload="beforeUpload"
|
||||||
class="editor-slide-upload"
|
class="editor-slide-upload"
|
||||||
action="https://httpbin.org/post"
|
action="https://httpbin.org/post"
|
||||||
list-type="picture-card">
|
list-type="picture-card"
|
||||||
|
>
|
||||||
<el-button size="small" type="primary">点击上传</el-button>
|
<el-button size="small" type="primary">点击上传</el-button>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
:on-success="handleImageSuccess"
|
:on-success="handleImageSuccess"
|
||||||
class="image-uploader"
|
class="image-uploader"
|
||||||
drag
|
drag
|
||||||
action="https://httpbin.org/post">
|
action="https://httpbin.org/post"
|
||||||
|
>
|
||||||
<i class="el-icon-upload" />
|
<i class="el-icon-upload" />
|
||||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
:on-success="handleImageSuccess"
|
:on-success="handleImageSuccess"
|
||||||
class="image-uploader"
|
class="image-uploader"
|
||||||
drag
|
drag
|
||||||
action="https://httpbin.org/post">
|
action="https://httpbin.org/post"
|
||||||
|
>
|
||||||
<i class="el-icon-upload" />
|
<i class="el-icon-upload" />
|
||||||
<div class="el-upload__text">Drag或<em>点击上传</em></div>
|
<div class="el-upload__text">Drag或<em>点击上传</em></div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
:on-success="handleImageSuccess"
|
:on-success="handleImageSuccess"
|
||||||
class="image-uploader"
|
class="image-uploader"
|
||||||
drag
|
drag
|
||||||
action="https://httpbin.org/post">
|
action="https://httpbin.org/post"
|
||||||
|
>
|
||||||
<i class="el-icon-upload" />
|
<i class="el-icon-upload" />
|
||||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
url="https://httpbin.org/post"
|
url="https://httpbin.org/post"
|
||||||
lang-type="en"
|
lang-type="en"
|
||||||
@close="close"
|
@close="close"
|
||||||
@crop-upload-success="cropSuccess" />
|
@crop-upload-success="cropSuccess"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
:prefix="_prefix"
|
:prefix="_prefix"
|
||||||
:suffix="_suffix"
|
:suffix="_suffix"
|
||||||
: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">
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
<markdown-editor
|
<markdown-editor
|
||||||
ref="markdownEditor"
|
ref="markdownEditor"
|
||||||
v-model="content"
|
v-model="content"
|
||||||
:options="{ toolbarItems: ['heading','bold','italic']}" />
|
:options="{ toolbarItems: ['heading','bold','italic']}"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="editor-container">
|
<div class="editor-container">
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
:checked="todo.done"
|
:checked="todo.done"
|
||||||
class="toggle"
|
class="toggle"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
@change="toggleTodo( todo)">
|
@change="toggleTodo( todo)"
|
||||||
|
>
|
||||||
<label @dblclick="editing = true" v-text="todo.text" />
|
<label @dblclick="editing = true" v-text="todo.text" />
|
||||||
<button class="destroy" @click="deleteTodo( todo )" />
|
<button class="destroy" @click="deleteTodo( todo )" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -16,7 +17,8 @@
|
||||||
class="edit"
|
class="edit"
|
||||||
@keyup.enter="doneEdit"
|
@keyup.enter="doneEdit"
|
||||||
@keyup.esc="cancelEdit"
|
@keyup.esc="cancelEdit"
|
||||||
@blur="doneEdit">
|
@blur="doneEdit"
|
||||||
|
>
|
||||||
</li>
|
</li>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,8 @@
|
||||||
:todo="todo"
|
:todo="todo"
|
||||||
@toggleTodo="toggleTodo"
|
@toggleTodo="toggleTodo"
|
||||||
@editTodo="editTodo"
|
@editTodo="editTodo"
|
||||||
@deleteTodo="deleteTodo" />
|
@deleteTodo="deleteTodo"
|
||||||
|
/>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
|
|
|
@ -48,7 +48,8 @@
|
||||||
:colors="['#99A9BF', '#F7BA2A', '#FF9900']"
|
:colors="['#99A9BF', '#F7BA2A', '#FF9900']"
|
||||||
:low-threshold="1"
|
:low-threshold="1"
|
||||||
:high-threshold="3"
|
:high-threshold="3"
|
||||||
style="margin-top:8px;" />
|
style="margin-top:8px;"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
的include,直接缓存所有页面。详情见
|
的include,直接缓存所有页面。详情见
|
||||||
<a
|
<a
|
||||||
href="https://panjiachen.github.io/vue-element-admin-site/guide/essentials/tags-view.html"
|
href="https://panjiachen.github.io/vue-element-admin-site/guide/essentials/tags-view.html"
|
||||||
target="_blank">文档</a>
|
target="_blank"
|
||||||
|
>文档</a>
|
||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
v-for="item in options"
|
v-for="item in options"
|
||||||
:key="item"
|
:key="item"
|
||||||
:label="item"
|
:label="item"
|
||||||
:value="item" />
|
:value="item"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
border
|
border
|
||||||
fit
|
fit
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
@selection-change="handleSelectionChange">
|
@selection-change="handleSelectionChange"
|
||||||
|
>
|
||||||
<el-table-column type="selection" align="center" />
|
<el-table-column type="selection" align="center" />
|
||||||
<el-table-column align="center" label="Id" width="95">
|
<el-table-column align="center" label="Id" width="95">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|
|
@ -26,7 +26,8 @@
|
||||||
v-for="item in options"
|
v-for="item in options"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value" />
|
:value="item.value"
|
||||||
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
<div class="block">
|
<div class="block">
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
:is-nest="true"
|
:is-nest="true"
|
||||||
:item="child"
|
:item="child"
|
||||||
:base-path="resolvePath(child.path)"
|
:base-path="resolvePath(child.path)"
|
||||||
class="nest-menu" />
|
class="nest-menu"
|
||||||
|
/>
|
||||||
</el-submenu>
|
</el-submenu>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
:background-color="variables.menuBg"
|
:background-color="variables.menuBg"
|
||||||
:text-color="variables.menuText"
|
:text-color="variables.menuText"
|
||||||
:active-text-color="variables.menuActiveText"
|
:active-text-color="variables.menuActiveText"
|
||||||
mode="vertical">
|
mode="vertical"
|
||||||
|
>
|
||||||
<sidebar-item v-for="route in permission_routers" :key="route.path" :item="route" :base-path="route.path" />
|
<sidebar-item v-for="route in permission_routers" :key="route.path" :item="route" :base-path="route.path" />
|
||||||
</el-menu>
|
</el-menu>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
tag="span"
|
tag="span"
|
||||||
class="tags-view-item"
|
class="tags-view-item"
|
||||||
@click.middle.native="closeSelectedTag(tag)"
|
@click.middle.native="closeSelectedTag(tag)"
|
||||||
@contextmenu.prevent.native="openMenu(tag,$event)">
|
@contextmenu.prevent.native="openMenu(tag,$event)"
|
||||||
|
>
|
||||||
{{ generateTitle(tag.title) }}
|
{{ generateTitle(tag.title) }}
|
||||||
<span v-if="!tag.meta.affix" class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)" />
|
<span v-if="!tag.meta.affix" class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)" />
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
:placeholder="$t('login.username')"
|
:placeholder="$t('login.username')"
|
||||||
name="username"
|
name="username"
|
||||||
type="text"
|
type="text"
|
||||||
auto-complete="on" />
|
auto-complete="on"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item prop="password">
|
<el-form-item prop="password">
|
||||||
|
@ -30,7 +31,8 @@
|
||||||
:placeholder="$t('login.password')"
|
:placeholder="$t('login.password')"
|
||||||
name="password"
|
name="password"
|
||||||
auto-complete="on"
|
auto-complete="on"
|
||||||
@keyup.enter.native="handleLogin" />
|
@keyup.enter.native="handleLogin"
|
||||||
|
/>
|
||||||
<span class="show-pwd" @click="showPwd">
|
<span class="show-pwd" @click="showPwd">
|
||||||
<svg-icon :icon-class="passwordType === 'password' ? 'eye' : 'eye-open'" />
|
<svg-icon :icon-class="passwordType === 'password' ? 'eye' : 'eye-open'" />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
align="center"
|
align="center"
|
||||||
label="ID"
|
label="ID"
|
||||||
width="65"
|
width="65"
|
||||||
element-loading-text="请给我点时间!">
|
element-loading-text="请给我点时间!"
|
||||||
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.id }}</span>
|
<span>{{ scope.row.id }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -25,7 +25,8 @@
|
||||||
fit
|
fit
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
@sort-change="sortChange">
|
@sort-change="sortChange"
|
||||||
|
>
|
||||||
<el-table-column :label="$t('table.id')" prop="id" sortable="custom" align="center" width="65">
|
<el-table-column :label="$t('table.id')" prop="id" sortable="custom" align="center" width="65">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.id }}</span>
|
<span>{{ scope.row.id }}</span>
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
:style="{ width:scope.row._width * 500+'px',
|
:style="{ width:scope.row._width * 500+'px',
|
||||||
background:scope.row._width>0.5?'rgba(233,0,0,.5)':'rgba(0,0,233,0.5)',
|
background:scope.row._width>0.5?'rgba(233,0,0,.5)':'rgba(0,0,233,0.5)',
|
||||||
marginLeft:scope.row._marginLeft * 500+'px' }"
|
marginLeft:scope.row._marginLeft * 500+'px' }"
|
||||||
class="process">
|
class="process"
|
||||||
|
>
|
||||||
<span style="display:inline-block" />
|
<span style="display:inline-block" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue