Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
dc9e995d
Commit
dc9e995d
authored
Apr 30, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
宽度
parent
4df2230e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
XhInput.vue
src/components/createCom/XhInput.vue
+8
-5
No files found.
src/components/createCom/XhInput.vue
View file @
dc9e995d
...
@@ -17,10 +17,10 @@
...
@@ -17,10 +17,10 @@
type
:
String
,
type
:
String
,
default
:
'请输入'
default
:
'请输入'
},
},
width
:
{
// 例如:454rpx
//
width: { // 例如:454rpx
type
:
String
,
//
type: String,
default
:
'100%'
//
default: '100%'
}
//
}
},
},
data
()
{
data
()
{
return
{}
return
{}
...
@@ -36,6 +36,9 @@
...
@@ -36,6 +36,9 @@
return
'text'
return
'text'
}
}
},
},
fieldsWidth
()
{
return
this
.
item
.
fieldsWidth
||
'100%'
},
placeholderStyle
()
{
placeholderStyle
()
{
return
'color:#999999;font-size:26rpx'
return
'color:#999999;font-size:26rpx'
},
},
...
@@ -45,7 +48,7 @@
...
@@ -45,7 +48,7 @@
'border-radius'
:
'12rpx'
,
'border-radius'
:
'12rpx'
,
'color'
:
'#333333'
,
'color'
:
'#333333'
,
'padding-left'
:
this
.
textarea
?
'0rpx'
:
'20rpx'
,
'padding-left'
:
this
.
textarea
?
'0rpx'
:
'20rpx'
,
'width'
:
this
.
w
idth
,
'width'
:
this
.
fieldsW
idth
,
'font-size'
:
'26rpx'
,
'font-size'
:
'26rpx'
,
'height'
:
'76rpx'
'height'
:
'76rpx'
}
}
...
...
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