Commit 8fc1ce02 by 胡悦

修改样式

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