Commit 782f4b83 by xinla

--no commit message

1 parent 28f0b8e3
......@@ -172,6 +172,19 @@ export default {
</template>
<style lang="scss" scoped>
.angle {
content: '';
display: inline-block;
position: absolute;
top: 8px;
width: 8px;
height: 8px;
background: #fff;
transform: rotate(45deg);
border: 1px solid #e1edfc;
z-index: 888;
box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
}
.message {
max-width: 50%;
background-color: #fff;
......@@ -179,57 +192,28 @@ export default {
padding: 10px;
line-height: 14px;
border-radius: 5px;
background: #fff;
box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
border: 1px solid #e1edfc;
color: #333;
display: inline-block;
word-break: break-all;
}
.message {
margin-left: 10px;
&::before {
content: '';
display: inline-block;
position: absolute;
@extend .angle;
left: -5px;
box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
border-width: 5px;
border-left: 0;
width: 0;
border-style: solid;
border-color: transparent;
border-right-color: #fff;
top: 8px;
z-index: 888;
border-width: 0 0 1px 1px;
}
}
.message-right {
max-width: 50%;
position: relative;
background-color: #fff;
padding: 10px;
line-height: 14px;
border-radius: 5px;
// background: var(--color);
box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
border: 1px solid #e1edfc;
color: #333;
display: inline-block;
word-break: break-all;
@extend .message;
margin-right: 10px;
&::before {
content: '';
display: inline-block;
position: absolute;
@extend .angle;
right: -5px;
box-shadow: 0px 2px 6px 0px rgba(60, 136, 240, 0.1);
border-width: 5px;
border-right: 0;
width: 0;
border-style: solid;
border-color: transparent;
border-left-color: #fff;
top: 8px;
z-index: 888;
border-width: 1px 1px 0 0;
}
}
.msgtypefile {
......
......@@ -76,7 +76,7 @@ window.lwConfig = Object.assign(init, env, common, lwConfig, project)
// let target = e.target
// let src = target.attributes.getNamedItem('src').value
// if (target.tagName.toUpperCase() === 'IMG' && src && !src.includes('http')) {
// target.src = window.window.lwConfig.BASE_API + src
// target.src = window.lwConfig.BASE_API + src
// }
// },
// true
......
......@@ -7,9 +7,9 @@
}
}
.el-input.el-input--small {
line-height: 30px;
}
// .el-input.el-input--small {
// line-height: 30px;
// }
.--card {
padding: 20px 20px;
......@@ -79,16 +79,16 @@
}
}
.status-col {
.cell {
padding: 0 10px;
text-align: center;
// .status-col {
// .cell {
// padding: 0 10px;
// text-align: center;
.el-tag {
margin-right: 0px;
}
}
}
// .el-tag {
// margin-right: 0px;
// }
// }
// }
// .el-dialog:not(.is-fullscreen) {
// margin-top: 6vh !important;
......@@ -123,51 +123,32 @@
box-sizing: content-box;
}
.el-table {
font-size: 13px;
.el-table__header-wrapper,
.el-table__fixed-header-wrapper {
th {
word-break: break-word;
// background-color: #f8f8f9;
color: #515a6e;
height: 50px;
font-size: 14px;
}
}
.el-table__body-wrapper tr {
height: 55px;
}
}
.el-tree-node__content > .el-checkbox {
margin-right: 8px;
}
// 卡片
.el-card__header {
padding: 14px 15px 7px;
min-height: 40px;
}
.el-card__body {
padding: 15px 20px 20px 20px;
}
/* button color */
/* 定义 type 为 cyan 的按钮 */
.el-button--cyan.is-active,
.el-button--cyan:active {
background: #20b2aa;
border-color: #20b2aa;
color: #ffffff;
}
.el-button--cyan:focus,
.el-button--cyan:hover {
background: #48d1cc;
border-color: #48d1cc;
color: #ffffff;
}
.el-button--cyan {
background-color: #20b2aa;
border-color: #20b2aa;
......@@ -196,70 +177,70 @@
}
}
.app-main.page {
// .el-table {
// background-color: transparent;
// &::before {
// content: none;
// }
// .el-table__header-wrapper th,
// .el-table__fixed-header-wrapper th,
// .el-table__header-wrapper tr {
// background-color: transparent !important;
// height: 40px;
// }
// .el-table__body-wrapper,
// .el-table__fixed-body-wrapper {
// tr {
// box-shadow: 0px 0px 5px 0px rgba(195, 195, 195, 0.35);
// height: 50px;
// }
// }
// // th.is-leaf,
// // td {
// // border-bottom: 0;
// // }
// tr td {
// &:first-child {
// border-radius: 4px 0 0 4px;
// border-left: 1px solid #ddd;
// }
// &:last-child {
// border-radius: 0 4px 4px 0;
// border-right: 1px solid #ddd;
// }
// }
// .el-table__body {
// border-spacing: 0 10px;
// }
// .el-table__fixed,
// .el-table__fixed-right {
// &::before {
// content: none;
// }
// }
// .el-table__fixed .el-table__fixed-body-wrapper {
// tr td:last-child {
// border-right: inherit;
// }
// }
// .el-table__fixed-right .el-table__fixed-body-wrapper {
// tr td:first-child {
// border-left: inherit;
// }
// }
// }
}
// .app-main.page {
// .el-table {
// background-color: transparent;
// &::before {
// content: none;
// }
// .el-table__header-wrapper th,
// .el-table__fixed-header-wrapper th,
// .el-table__header-wrapper tr {
// background-color: transparent !important;
// height: 40px;
// }
// .el-table__body-wrapper,
// .el-table__fixed-body-wrapper {
// tr {
// box-shadow: 0px 0px 5px 0px rgba(195, 195, 195, 0.35);
// height: 50px;
// }
// }
// // th.is-leaf,
// // td {
// // border-bottom: 0;
// // }
// tr td {
// &:first-child {
// border-radius: 4px 0 0 4px;
// border-left: 1px solid #ddd;
// }
// &:last-child {
// border-radius: 0 4px 4px 0;
// border-right: 1px solid #ddd;
// }
// }
// .el-table__body {
// border-spacing: 0 10px;
// }
// .el-table__fixed,
// .el-table__fixed-right {
// &::before {
// content: none;
// }
// }
// .el-table__fixed .el-table__fixed-body-wrapper {
// tr td:last-child {
// border-right: inherit;
// }
// }
// .el-table__fixed-right .el-table__fixed-body-wrapper {
// tr td:first-child {
// border-left: inherit;
// }
// }
// }
// }
.el-form:not(.el-form--inline) {
.el-form-item {
// margin: 0 !important;
// padding: 10px 0;
transition: all 0.2s;
&:last-child {
margin-bottom: 0;
}
}
// .el-form-item {
// // margin: 0 !important;
// // padding: 10px 0;
// transition: all 0.2s;
// // &:last-child {
// // margin-bottom: 0;
// // }
// }
// 统一页面表单输入框宽度 el-form-item__content
.el-input,
......@@ -275,7 +256,6 @@
width: 100%;
}
}
// 重置el-form-item hover样式
.no-hover-form .el-form-item {
margin-bottom: 20px !important;
......@@ -285,10 +265,6 @@
border-radius: 0;
}
}
.el-input.is-disabled .el-input__inner,
.el-image__error {
background-color: #f5f7fa;
}
// 表单禁用详情数据展示
.form-detail {
.el-input.is-disabled .el-input__inner,
......@@ -327,6 +303,11 @@
display: none;
}
}
.el-input.is-disabled .el-input__inner,
.el-image__error {
background-color: #f5f7fa;
}
.el-tabs__nav-wrap {
overflow: initial;
}
......@@ -485,6 +466,7 @@
// border: 20px solid #fff; border-radius: 20px; background: #fff
// }
.el-table {
font-size: 14px;
background-color: transparent;
&:not(:first-child) {
margin-top: 16px;
......@@ -496,6 +478,8 @@
.el-table__header-wrapper th,
.el-table__fixed-header-wrapper th,
.el-table__header-wrapper tr {
word-break: break-word;
font-size: 14px;
background-color: #f5f7fa;
height: 40px;
color: var(--font-black);
......@@ -567,6 +551,7 @@
background-color: #f8fafc;
}
// 滚动条宽度
.el-scrollbar__bar.is-vertical {
width: 5px;
}
......
......@@ -2,7 +2,7 @@
* 通用js方法封装处理,挂载到 Vue.prototype
*/
const baseURL = window.lwConfig.services.system
const baseURL = window.lwConfig.BASE_API
import { getToken } from '@/utils/auth'
import axios from 'axios'
......
......@@ -2,14 +2,10 @@
<div>
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" class="top-search">
<el-form-item label="菜单名称" prop="menuName">
<el-input
v-model="queryParams.menuName"
placeholder="请输入菜单名称"
clearable
@keyup.enter.native="handleQuery" />
<el-input v-model="queryParams.menuName" placeholder="请输入" clearable @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item label="状态" prop="status">
<el-select v-model="queryParams.status" placeholder="菜单状态" clearable>
<el-form-item label="菜单状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择" clearable>
<el-option
v-for="dict in statusOptions"
:key="dict.dictValue"
......@@ -35,11 +31,11 @@
row-key="menuId"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }">
<el-table-column prop="menuName" label="菜单名称" :show-overflow-tooltip="true" width="160"></el-table-column>
<el-table-column prop="icon" label="图标" align="center" width="100">
<!-- <el-table-column prop="icon" label="图标" align="center" width="100">
<template slot-scope="scope">
<svg-icon :icon-class="scope.row.icon" />
</template>
</el-table-column>
</el-table-column> -->
<el-table-column prop="orderNum" label="排序" width="60"></el-table-column>
<el-table-column prop="perms" label="权限标识" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="component" label="组件路径" :show-overflow-tooltip="true"></el-table-column>
......@@ -86,7 +82,13 @@
<el-form-item v-if="form.menuType != 'F'" label="菜单图标">
<el-popover placement="bottom-start" width="460" trigger="click" @show="$refs['iconSelect'].reset()">
<IconSelect ref="iconSelect" @selected="selected" />
<el-input slot="reference" v-model="form.icon" placeholder="点击选择图标" readonly>
<el-select
slot="reference"
v-model="form.icon"
remote
placeholder="点击选择图标"
clearable
@clear="form.icon = '#'">
<svg-icon
v-if="form.icon"
slot="prefix"
......@@ -94,7 +96,7 @@
class="el-input__icon"
style="height: 32px; width: 16px" />
<i v-else slot="prefix" class="el-icon-search el-input__icon" />
</el-input>
</el-select>
</el-popover>
</el-form-item>
</el-col>
......@@ -300,7 +302,7 @@ export default {
/** 新增按钮操作 */
handleAdd(row) {
this.reset()
this.getTreeselect()
// this.getTreeselect()
if (row != null && row.menuId) {
this.form.parentId = row.menuId
} else {
......@@ -312,7 +314,7 @@ export default {
/** 修改按钮操作 */
handleUpdate(row) {
this.reset()
this.getTreeselect()
// this.getTreeselect()
getMenu(row.menuId).then((response) => {
this.form = response.data
this.open = true
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!