d03189ce by xiaomiao

样式调整

1 parent 8a1d878a
......@@ -277,9 +277,21 @@ export default {
}
.blxx {
.el-menu-item{
display: flex;
justify-content: space-between;
}
border: #b0d9f8 solid 1px;
.tpcolor{
color: red;
line-height: 22px;
}
.el-icon-delete{
margin-right: 3px;
// background-color: saddlebrown;
height: 27px;
float: left;
}
}
</style>
......
......@@ -13,13 +13,17 @@
append-to-body
width="60%"
>
<el-radio-group v-model="radio">
<!-- <el-radio-group v-model="radio">
<el-radio-button
v-for="(value, key) in qllxlistdata"
:key="key"
:label="value"
></el-radio-button>
</el-radio-group>
</el-radio-group> -->
<el-button class="gettypebutton" v-for="(value, key) in qllxlistdata"
:key="key"
:label="value" @click="clicksss(key)" plain>确定{{value}}</el-button>
<div class="btn">
<el-button type="primary" @click="handleSubmit">确定</el-button>
<el-button type="primary" @click="closeDialog">取消</el-button>
......@@ -42,12 +46,13 @@ export default {
closeDialog() {
this.dialogVisible = false;
},
clicksss(el){
console.log("el",el);
this.qllx=el
},
handleSubmit() {
for (const key in this.qllxlistdata) {
if (this.qllxlistdata[key] === this.radio) {
this.qllx= key;
}
}
if(this.qllx){
let qllxobj = {
qllx:this.qllx,
......@@ -61,7 +66,7 @@ export default {
message: "请选择权利类型!",
});
}
this.qllx=""
},
},
};
......@@ -74,6 +79,29 @@ export default {
// height: 100px;
padding: 30px;
}
.gettypebutton{
cursor: pointer;
line-height: 20px;
background-color: #ebebeb;
margin-top: 10px;
padding-left: 10px;
border-radius: 2px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border: 1px solid #ebebeb;
-webkit-transition: all 0.3s;
transition: all 0.3s;
color: #000;
}
.gettypebutton:hover{
border: 1px solid #0F93F6;
color: #0F93F6;
}
.gettypebutton:focus{
background-color: #0F93F6;
border: 1px solid #0F93F6;
color: #ebebeb;
}
.btn{
margin:30px;
text-align: center;
......