Commit 8fc1ce02 by 胡悦

修改样式

1 parent fe2f1698
......@@ -14,7 +14,6 @@
"element-ui": "^2.15.1",
"glsx-vue-common": "^1.2.1",
"lodash": "^4.17.10",
"node-sass": "^4.9.3",
"sass-loader": "^7.1.0",
"vue": "^2.5.17",
"js-md5": "^0.7.3",
......
......@@ -6,7 +6,7 @@ import 'element-ui/lib/theme-chalk/index.css'
// import GlsxVueComponents from 'glsx-vue-components'
// import 'glsx-vue-components/dist/glsx-vue-components.css'
import { Request as request } from 'glsx-vue-common'
import '@/styles/index.scss'
import '@/styles/index.css'
// 组件
import '@/components'
......
......@@ -266,7 +266,7 @@ export default {
}
this.getListApi(params).then(res => {
this.data = res[this.tableParams.listName]
this.total = res.total || res.totalElements
this.total = res.totalElements
this.loading = false
}).catch(() => {
this.loading = false
......
......@@ -54,18 +54,17 @@ a:hover {
text-decoration: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
//main-container全局样式
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
/* main-container全局样式 */
.app-main {
overflow: auto;
}
......@@ -74,7 +73,7 @@ a:hover {
padding: 20px;
}
// element
/* element */
.el-table--medium td {
padding: 4px 0 !important;
}
......@@ -83,12 +82,12 @@ a:hover {
padding: 0 0;
}
// common样式
/* common样式 */
.m-t-sm {
margin-top: 20px;
}
// 上传按钮
/* 上传按钮 */
.import-btn {
position: relative;
}
......
......@@ -25,10 +25,10 @@
type="text"
@click="handleProOnOff(scope.scope)"
>{{scope.scope.status ? '下架' : '上架'}}</el-button>
<el-button
<!-- <el-button
type="text"
@click="handleProEdit(scope.scope)"
>指令集</el-button>
>指令集</el-button> -->
</span>
</d2-table>
<glsx-dialog
......
......@@ -228,7 +228,7 @@
</el-form-item>
<el-form-item
v-if="item.paramValue.noValue"
class="inline"
class="inline m-l-md"
:prop="'conditionList.'+index+'.paramValue.value'"
:rules="{
required: true, message: '该选项不能为空', trigger: 'change'
......@@ -580,6 +580,7 @@ export default {
message: '操作成功'
})
this.$emit('hideDialog', true)
this.active = 1
} else {
this.$message({
type: 'error',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!