Commit 3be35335 authored by 陈毅's avatar 陈毅

服务支持

parent 9d034f91
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</FormItem> </FormItem>
</Col> </Col>
<Col flex="3" class="layout-level" > <Col flex="3" class="layout-level" >
<Dropdown trigger="click" style="width:100px;" prop="telephone" @on-click="xx"> <!-- <Dropdown trigger="click" style="width:100px;" prop="telephone" @on-click="xx">
<div class="layout-level-left"> <div class="layout-level-left">
联系方式 联系方式
<Icon type="ios-arrow-down"></Icon> <Icon type="ios-arrow-down"></Icon>
...@@ -52,16 +52,20 @@ ...@@ -52,16 +52,20 @@
<DropdownItem>联系方式</DropdownItem> <DropdownItem>联系方式</DropdownItem>
<DropdownItem>邮箱</DropdownItem> <DropdownItem>邮箱</DropdownItem>
</DropdownMenu> </DropdownMenu>
</Dropdown> </Dropdown> -->
<!-- <Select v-model="model1"> <Select v-model="model1" style="width:100px" class="layout-level">
<Option v-for="(item,index) in model" :key="index" :value="item.value"> <Option v-for="(item,index) in method" :key="index" :value="item.value">
{{item.label}} {{item.label}}
</Option> </Option>
</Select> --> </Select>
<FormItem label="邮箱" prop="telephone" @on-click="select">
<Icon type="ios-arrow-down" v-if="down == true" style="line-height:32px"/>
<Icon type="ios-arrow-up" v-if="up == true" style="line-height:32px"/>
<Input <Input
v-model="formValidate.telephone" v-model="formValidate.telephone"
style="width:180px" style="width:180px"
></Input> ></Input>
</FormItem>
</Col> </Col>
</Row> </Row>
<Input <Input
...@@ -224,7 +228,9 @@ export default { ...@@ -224,7 +228,9 @@ export default {
trigger: "blur" trigger: "blur"
} }
] ]
} },
down:true,
up:false,
}; };
}, },
created() {}, created() {},
...@@ -250,12 +256,15 @@ export default { ...@@ -250,12 +256,15 @@ export default {
} }
}); });
}, },
xx(name ){ select(){
console.log(name) this.down = false
this.up = true
console.log(this.down,this.up)
} }
} }
}; };
</script> </script>
<style lang="less"> <style lang="less">
.pc1 { .pc1 {
margin-top: 100px; margin-top: 100px;
...@@ -264,8 +273,6 @@ export default { ...@@ -264,8 +273,6 @@ export default {
// border: 1px solid #f90; // border: 1px solid #f90;
} }
} }
</style>
<style lang="less">
.ivu-menu-item { .ivu-menu-item {
width: 50%; width: 50%;
text-align: center; text-align: center;
...@@ -317,4 +324,13 @@ export default { ...@@ -317,4 +324,13 @@ export default {
line-height: 32px; line-height: 32px;
} }
} }
.layout-level>.ivu-select-selection{
border: none;
width: 100px;
display: flex;
justify-content: flex-end;
border-color:#fff ;
box-shadow: 0 0 0 0 #fff;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment