Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DTBPcompnay
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李堔
DTBPcompnay
Commits
3be35335
Commit
3be35335
authored
May 11, 2022
by
陈毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务支持
parent
9d034f91
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
10 deletions
+26
-10
index.vue
src/pages/news/index.vue
+26
-10
No files found.
src/pages/news/index.vue
View file @
3be35335
...
...
@@ -43,7 +43,7 @@
</FormItem>
</Col>
<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"
>
联系方式
<Icon
type=
"ios-arrow-down"
></Icon>
...
...
@@ -52,16 +52,20 @@
<DropdownItem>
联系方式
</DropdownItem>
<DropdownItem>
邮箱
</DropdownItem>
</DropdownMenu>
</Dropdown>
<
!--
<Select
v-model=
"model1
"
>
<Option
v-for=
"(item,index) in m
odel
"
:key=
"index"
:value=
"item.value"
>
</Dropdown>
-->
<
Select
v-model=
"model1"
style=
"width:100px"
class=
"layout-level
"
>
<Option
v-for=
"(item,index) in m
ethod
"
:key=
"index"
:value=
"item.value"
>
{{
item
.
label
}}
</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
v-model=
"formValidate.telephone"
style=
"width:180px"
></Input>
</FormItem>
</Col>
</Row>
<Input
...
...
@@ -224,7 +228,9 @@ export default {
trigger
:
"blur"
}
]
}
},
down
:
true
,
up
:
false
,
};
},
created
()
{},
...
...
@@ -250,12 +256,15 @@ export default {
}
});
},
xx
(
name
){
console
.
log
(
name
)
select
(){
this
.
down
=
false
this
.
up
=
true
console
.
log
(
this
.
down
,
this
.
up
)
}
}
};
</
script
>
<
style
lang=
"less"
>
.pc1 {
margin-top: 100px;
...
...
@@ -264,8 +273,6 @@ export default {
// border: 1px solid #f90;
}
}
</
style
>
<
style
lang=
"less"
>
.ivu-menu-item {
width: 50%;
text-align: center;
...
...
@@ -317,4 +324,13 @@ export default {
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
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment