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
c58a2bb0
Commit
c58a2bb0
authored
Oct 11, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uview2.0' of
http://git.tbd.yanzuoguang.com/panyongping/uni-pdtravel
into uview2.0
parents
251180ff
0941adc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
38 deletions
+38
-38
myPhotoAlbum.vue
pages/album/myPhotoAlbum/myPhotoAlbum.vue
+14
-14
orderList.vue
pages/my/order/orderList/orderList.vue
+24
-24
No files found.
pages/album/myPhotoAlbum/myPhotoAlbum.vue
View file @
c58a2bb0
...
...
@@ -104,7 +104,7 @@
</view>
</view>
</view>
<
u-toast
ref=
"uToast"
/
>
<
!-- <u-toast ref="uToast" /> --
>
</view>
</template>
...
...
@@ -209,9 +209,9 @@ export default {
this
.
merchantMessage
=
res
.
data
this
.
checkMonkey
()
}
else
{
this
.
$refs
.
uToast
.
show
({
uni
.
showToast
({
title
:
res
.
message
,
type
:
'error'
,
icon
:
'none'
})
}
})
...
...
@@ -224,9 +224,9 @@ export default {
if
(
res
.
code
==
'00'
){
this
.
option
=
res
.
data
}
else
{
this
.
$refs
.
uToast
.
show
({
uni
.
showToast
({
title
:
res
.
message
,
type
:
'error'
,
icon
:
'none'
})
}
})
...
...
@@ -244,9 +244,9 @@ export default {
if
(
res
.
code
==
'00'
){
this
.
merchantList
=
res
.
data
}
else
{
this
.
$refs
.
uToast
.
show
({
uni
.
showToast
({
title
:
res
.
message
,
type
:
'error'
,
icon
:
'none'
})
}
})
...
...
@@ -283,9 +283,9 @@ export default {
//隐藏加载框
uni
.
hideLoading
()
}
else
{
this
.
$refs
.
uToast
.
show
({
uni
.
showToast
({
title
:
res
.
message
,
type
:
'error'
,
icon
:
'none'
})
}
})
...
...
@@ -380,9 +380,9 @@ export default {
this
.
originalPrices
=
0
}
}
else
{
this
.
$refs
.
uToast
.
show
({
uni
.
showToast
({
title
:
res
.
message
,
type
:
'error'
,
icon
:
'none'
})
}
})
...
...
@@ -465,9 +465,9 @@ export default {
url
:
'../../payment/orderPayment/orderPayment?orderId='
+
res
.
data
.
id
+
'&albumOrderdetail=1'
})
}
else
{
this
.
$refs
.
uToast
.
show
({
title
:
res
.
message
,
type
:
'error'
,
uni
.
showToast
({
title
:
res
.
message
,
icon
:
'none'
})
}
})
...
...
pages/my/order/orderList/orderList.vue
View file @
c58a2bb0
...
...
@@ -159,7 +159,7 @@
<view
class=
"product-goods"
v-else
>
<view
class=
"order-No"
>
暂无订单信息
</view>
</view>
<
u-toast
ref=
"uToast"
/
>
<
!-- <u-toast ref="uToast" /> --
>
<u-modal
v-model=
"configShow"
show-cancel-button=
"true"
:content=
"configTitle"
@
confirm=
"operationEnter()"
@
cancel=
"operationClose()"
></u-modal>
</view>
</template>
...
...
@@ -479,16 +479,16 @@ export default {
queryPhoneOrder
(){
//通过手机号查看订单
if
(
!
(
/^1
[
34578
]\d{9}
$/
.
test
(
this
.
touristPhone
))){
this
.
$refs
.
uToast
.
show
({
title
:
'请填写正确的手机号码'
,
type
:
'error'
,
uni
.
showToast
({
title
:
'请填写正确的手机号码'
,
icon
:
'none'
})
return
}
if
(
this
.
touristName
==
''
){
this
.
$refs
.
uToast
.
show
({
title
:
'姓名不可为空'
,
type
:
'error'
,
uni
.
showToast
({
title
:
'姓名不可为空'
,
icon
:
'none'
})
return
}
...
...
@@ -508,9 +508,9 @@ export default {
this
.
pageIndex
=
1
this
.
getData
(
1
)
}
else
{
this
.
$refs
.
uToast
.
show
({
uni
.
showToast
({
title
:
res
.
message
,
type
:
'error'
,
icon
:
'none'
})
}
...
...
@@ -600,9 +600,9 @@ export default {
//隐藏加载框
uni
.
hideLoading
()
}
else
{
this
.
$refs
.
uToast
.
show
({
title
:
'暂无订单信息'
,
type
:
'error'
,
uni
.
showToast
({
title
:
'暂无订单信息'
,
icon
:
'none'
})
}
})
...
...
@@ -633,9 +633,9 @@ export default {
.
then
((
res
)
=>
{
var
ret
=
res
if
(
ret
.
code
==
'00'
){
this
.
$refs
.
uToast
.
show
({
title
:
'订单取消成功'
,
type
:
'success'
,
uni
.
showToast
({
title
:
'订单取消成功'
,
icon
:
'none'
})
//this.$store.commit('showLoading')
this
.
pageIndex
=
1
...
...
@@ -646,9 +646,9 @@ export default {
// this.getData(1)
this
.
configShow
=
false
}
else
{
this
.
$refs
.
uToast
.
show
({
title
:
re
t
.
message
,
type
:
'error'
,
uni
.
showToast
({
title
:
re
s
.
message
,
icon
:
'none'
})
}
})
...
...
@@ -660,9 +660,9 @@ export default {
.
then
((
res
)
=>
{
var
ret
=
res
if
(
ret
.
code
==
'00'
){
this
.
$refs
.
uToast
.
show
({
title
:
'订单删除成功'
,
type
:
'success'
,
uni
.
showToast
({
title
:
'订单删除成功'
,
icon
:
'none'
})
//this.$store.commit('showLoading')
this
.
pageIndex
=
1
...
...
@@ -673,9 +673,9 @@ export default {
// this.getData(1)
this
.
configShow
=
false
}
else
{
this
.
$refs
.
uToast
.
show
({
title
:
re
t
.
message
,
type
:
'error'
,
uni
.
showToast
({
title
:
re
s
.
message
,
icon
:
'none'
})
}
})
...
...
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