Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
ca1729ab
Commit
ca1729ab
authored
Jan 02, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取号限流处理
parent
874536be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
request.js
common/request.js
+0
-1
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+4
-1
numberIndex.vue
pages/my/takeNumber/numberIndex/numberIndex.vue
+6
-2
No files found.
common/request.js
View file @
ca1729ab
...
...
@@ -5,7 +5,6 @@ if(process.env.NODE_ENV === 'development'){//开发环境
}
else
{
baseUrl
=
'https://manager.pangdly.com/'
}
const
request
=
(
url
=
''
,
data
=
{},
showLoad
)
=>
{
data
.
reqId
=
new
Date
().
getTime
()
//获取时间戳
let
show
=
showLoad
||
true
...
...
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
ca1729ab
...
...
@@ -328,7 +328,10 @@ export default {
//清空之前选中的数据以及状态
this
.
detailData
=
''
this
.
chooseProduct
=
[]
this
.
$refs
.
detail
.
showPop
=
false
if
(
this
.
$refs
.
detail
){
//解决支付宝小程序报错问题
this
.
$refs
.
detail
.
showPop
=
false
}
let
token
=
uni
.
getStorageSync
(
'token'
)
if
(
token
)
{
uni
.
getLocation
({
...
...
pages/my/takeNumber/numberIndex/numberIndex.vue
View file @
ca1729ab
...
...
@@ -5,7 +5,7 @@
<input
placeholder=
"请输入购票预留手机号/身份证号"
v-model=
"search"
/>
</view>
<view
class=
"query"
>
<text
class=
"button"
@
click=
"
q
uery()"
>
查询订单
</text>
<text
class=
"button"
@
click=
"
clickQ
uery()"
>
查询订单
</text>
</view>
</view>
...
...
@@ -43,8 +43,12 @@ export default {
this
.
merchantCode
=
this
.
$commonjs
.
getKey
(
option
,
'merchantCode'
)
},
methods
:
{
//---点击查询
clickQuery
(){
uni
.
$u
.
throttle
(
this
.
queryList
,
3000
)
},
//---查询订单
query
(){
query
List
(){
if
(
!
this
.
search
){
uni
.
showToast
({
title
:
'请输入手机号或者身份证号'
,
...
...
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