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
f031722a
Commit
f031722a
authored
May 12, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数字键盘,布局
parent
0e6b5eff
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
29 deletions
+46
-29
XhInput.vue
src/components/createCom/XhInput.vue
+18
-11
index.vue
src/components/order/index.vue
+10
-4
detail.vue
src/pages/order/detail.vue
+18
-14
No files found.
src/components/createCom/XhInput.vue
View file @
f031722a
...
@@ -29,18 +29,25 @@
...
@@ -29,18 +29,25 @@
},
},
computed
:
{
computed
:
{
type
()
{
type
()
{
if
(
this
.
item
)
{
let
ty
=
this
.
item
.
fieldsType
.
toLocaleLowerCase
()
let
ty
=
this
.
item
.
fieldsType
.
toLocaleLowerCase
()
if
(
this
.
item
.
fieldsId
==
200
)
{
switch
(
ty
)
{
case
'text'
:
return
'textarea'
case
'password'
:
return
this
.
item
.
fieldsType
case
'decimal'
:
case
'number'
:
case
'double'
:
case
'integer'
:
this
.
maxlength
=
9
this
.
maxlength
=
9
return
'digit'
return
'digit'
}
else
{
case
'textarea'
:
if
(
this
.
item
&&
ty
==
'password'
)
{
default
:
return
this
.
item
.
fieldsType
}
else
if
(
this
.
item
&&
ty
==
'text'
)
{
return
'textarea'
}
else
{
return
'text'
return
'text'
}
}
}
else
{
return
'text'
}
}
},
},
...
...
src/components/order/index.vue
View file @
f031722a
...
@@ -26,8 +26,9 @@
...
@@ -26,8 +26,9 @@
</view>
</view>
<view
class=
"line-view"
></view>
<view
class=
"line-view"
></view>
<view
class=
"reason-view"
v-if=
"showReason"
><text
class=
"reason-text"
>
未通过原因:
</text>
<view
class=
"reason-view"
v-if=
"showReason"
>
<text
v-for=
"(item, index) in orderData.auditResults"
:key=
"index"
>
{{
item
}}
</text>
<view><text
class=
"reason-title"
>
未通过原因:
</text></view>
<view
class=
"reason-text"
><text
v-for=
"(item, index) in orderData.auditResults"
:key=
"index"
>
{{
item
}}
</text></view>
</view>
</view>
<view
class=
"bottom-view"
>
<view
class=
"bottom-view"
>
<view>
<view>
...
@@ -408,10 +409,15 @@
...
@@ -408,10 +409,15 @@
color
:
#FA5A49
;
color
:
#FA5A49
;
display
:
flex
;
display
:
flex
;
align-items
:
flex-start
;
align-items
:
flex-start
;
.reason-text
{
display
:
flex
;
.reason-title
{
flex-shrink
:
0
;
flex-shrink
:
0
;
color
:
#666666
;
color
:
#666666
;
}
}
.reason-text
{
display
:
flex
;
flex-direction
:
column
;
}
}
}
.bottom-view
{
.bottom-view
{
...
...
src/pages/order/detail.vue
View file @
f031722a
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<text>
{{
order
.
contactPhone
}}
</text>
<text>
{{
order
.
contactPhone
}}
</text>
</view>
</view>
<view
class=
"between-cell address-cell"
>
<view
class=
"between-cell address-cell"
>
<view
class=
"left"
>
<view
class=
"left
-address
"
>
<u-icon
name=
"map"
size=
"28"
></u-icon>
<u-icon
name=
"map"
size=
"28"
></u-icon>
<text
class=
"address-txt"
>
{{
formatAddress
}}
</text>
<text
class=
"address-txt"
>
{{
formatAddress
}}
</text>
</view>
</view>
...
@@ -857,9 +857,13 @@
...
@@ -857,9 +857,13 @@
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
.left
{
.left-address
{
display
:
flex
;
align-items
:
flex-start
;
.address-txt
{
.address-txt
{
line-height
:
30rpx
;
margin-left
:
8rpx
;
margin-left
:
8rpx
;
margin-right
:
20rpx
;
}
}
}
}
}
}
...
@@ -949,19 +953,19 @@
...
@@ -949,19 +953,19 @@
z-index
:
1
;
z-index
:
1
;
}
}
.address-cell
{
//
.address-cell {
height
:
24rpx
;
//
height: 24rpx;
font-size
:
24rpx
;
//
font-size: 24rpx;
font-weight
:
400
;
//
font-weight: 400;
color
:
#333333
;
//
color: #333333;
line-height
:
24rpx
;
//
line-height: 24rpx;
.left
{
//
.left {
.address-txt
{
//
.address-txt {
margin-left
:
8rpx
;
//
margin-left: 8rpx;
}
//
}
}
//
}
}
//
}
}
}
.record-item
{
.record-item
{
...
...
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