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
2acf81a6
Commit
2acf81a6
authored
Apr 30, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
输入框
parent
1567f586
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
XhInput.vue
src/components/createCom/XhInput.vue
+5
-2
complete.vue
src/pages/order/complete.vue
+2
-0
detail.vue
src/pages/order/detail.vue
+4
-2
xuexi-0@3x.png
src/static/tab/xuexi-0@3x.png
+0
-0
No files found.
src/components/createCom/XhInput.vue
View file @
2acf81a6
...
...
@@ -27,9 +27,12 @@
},
computed
:
{
type
()
{
if
(
this
.
item
&&
this
.
item
.
fieldsType
==
'password'
||
this
.
item
.
fieldsType
==
'textarea'
)
{
let
ty
=
this
.
item
.
fieldsType
.
toLocaleLowerCase
()
if
(
this
.
item
&&
ty
==
'password'
)
{
return
this
.
item
.
fieldsType
}
else
{
}
else
if
(
this
.
item
&&
ty
==
'text'
)
{
return
'textarea'
}
else
{
return
'text'
}
},
...
...
src/pages/order/complete.vue
View file @
2acf81a6
...
...
@@ -416,6 +416,8 @@
type
=
type
.
toLocaleLowerCase
()
switch
(
type
)
{
case
'text'
:
formType
=
'input'
break
case
'password'
:
case
'textarea'
:
case
'number'
:
...
...
src/pages/order/detail.vue
View file @
2acf81a6
...
...
@@ -119,15 +119,17 @@
<view
v-if=
"showCenterBtn"
@
click=
"handleBtn"
class=
"button"
:class=
"['center-button-view', btnClass]"
>
<text>
{{
centerButtonText
}}
</text>
<view
v-if=
"order.currentOverTime > 0"
class=
"time-view"
>
<text>
{{
order
.
currentOverTime
*
1000
>
new
Date
().
getTime
()?
'剩'
:
'超'
}}
</text>
<text
style=
"margin-right: 8rpx;"
>
{{
order
.
currentOverTime
*
1000
>
new
Date
().
getTime
()?
'剩'
:
'超'
}}
</text>
<u-count-down
:timestamp=
"timestampDiff(order.currentOverTime)"
:timestamp=
"
3600 * 100 ||
timestampDiff(order.currentOverTime)"
font-size=
"20"
color=
"#FFFFFF"
bg-color=
"transparent"
separator-color=
"#FFFFFF"
separator-size=
"20"
:ref=
"'uCountDown'"
height=
"20"
:show-days=
"false"
@
change=
"timeOutChange(order.currentOverTime)"
>
</u-count-down>
</view>
...
...
src/static/tab/xuexi-0@3x.png
View replaced file @
1567f586
View file @
2acf81a6
3.75 KB
|
W:
|
H:
2.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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