Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a54abba0
authored
May 23, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
5302d109
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
12 deletions
pages/mine/shoporder.vue
pages/mine/shoporder.vue
View file @
a54abba0
<
template
>
<view
class=
"page-userOrder"
>
<
!--
<drag-button-follow
follow=
"left,right"
className=
"drag-button"
class=
"drag-button"
:url=
"kfurl"
></drag-button-follow>
--
>
<
drag-button-follow
follow=
"left,right"
className=
"drag-button"
class=
"drag-button"
:url=
"kfurl"
></drag-button-follow
>
<view
class=
"top"
>
<view
class=
"head row bothSide verCenter"
>
<view
class=
"left row verCenter"
>
...
...
@@ -76,15 +76,15 @@
<view
class=
"h2"
>
下单时间
</view>
<view
class=
"time-filter row bothSide verCenter"
>
<view
class=
"time row bothSide verCenter"
>
<picker
mode=
"date"
:value=
"
date"
@
change=
"bindDateChange
"
>
<view
class=
"uni-input"
>
{{
dat
e
}}
</view>
<picker
mode=
"date"
:value=
"
searchParams.stime"
@
change=
"bindDateChange($event, 1)
"
>
<view
class=
"uni-input"
>
{{
searchParams
.
stime
||
tim
e
}}
</view>
</picker>
<text
class=
"iconfont icon-juxing2"
></text>
</view>
<text
class=
"line"
>
-
</text>
<view
class=
"time row bothSide verCenter"
>
<picker
mode=
"date"
:value=
"
date"
@
change=
"bindDateChange
"
>
<view
class=
"uni-input"
>
{{
dat
e
}}
</view>
<picker
mode=
"date"
:value=
"
searchParams.etime"
@
change=
"bindDateChange($event, 2)
"
>
<view
class=
"uni-input"
>
{{
searchParams
.
etime
||
tim
e
}}
</view>
</picker>
<text
class=
"iconfont icon-juxing2"
></text>
</view>
...
...
@@ -95,7 +95,7 @@
</view>
</view>
<view
class=
"btn row bothSide verCenter"
>
<view
class=
"btn0 row rowCenter verCenter"
>
重置
</view>
<view
class=
"btn0 row rowCenter verCenter"
@
click=
"reset()"
>
重置
</view>
<view
class=
"btn1 row rowCenter verCenter"
@
click=
"filterChange()"
>
筛选
</view>
</view>
</view>
...
...
@@ -113,7 +113,8 @@ export default {
format
:
true
});
return
{
date
:
currentDate
,
time
:
currentDate
,
kfurl
:
'https://url.cn/uia2no5Z?_type=wpa&qidian=true'
,
arr
:
[
'全部'
,
'待付款'
,
'待收货'
,
'已完结订单'
],
curr
:
0
,
list
:
[],
...
...
@@ -140,7 +141,7 @@ export default {
*/
handleInput
:
debounce
(
function
(
event
)
{
this
.
getData
();
},
5
00
),
},
8
00
),
getDate
(
type
)
{
const
date
=
new
Date
();
let
year
=
date
.
getFullYear
();
...
...
@@ -175,14 +176,35 @@ export default {
close
()
{
this
.
$refs
.
popup
.
close
();
},
bindDateChange
:
function
(
e
)
{
this
.
date
=
e
.
detail
.
value
;
bindDateChange
:
function
(
e
,
type
)
{
if
(
type
==
1
)
{
this
.
searchParams
.
stime
=
e
.
detail
.
value
;
}
else
if
(
type
==
2
)
{
this
.
searchParams
.
etime
=
e
.
detail
.
value
;
}
},
/**
*
筛选
*
币种切换
*/
filter
Change
(
index
)
{
filter
Tab
(
index
)
{
this
.
currencyIndex
=
index
;
this
.
searchParams
.
currency
=
index
;
},
/**
* 重置
*/
reset
()
{
this
.
currencyIndex
=
0
;
this
.
searchParams
.
currency
=
0
;
this
.
searchParams
.
stime
=
''
;
this
.
searchParams
.
etime
=
''
;
},
/**
* 筛选应用
*/
filterChange
()
{
this
.
getData
();
this
.
close
();
},
/**
* 立即支付
...
...
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