Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
59232b8f
Commit
59232b8f
authored
Oct 13, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/zk123/jz_travel
parents
09525173
4c558210
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
285 additions
and
216 deletions
+285
-216
style2.vue
components/goods/style2.vue
+258
-205
list.vue
pages/hotel/list.vue
+1
-1
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+4
-0
jz_MyOrder.vue
pages/jiuzhai/jz_MyOrder.vue
+11
-3
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+11
-7
No files found.
components/goods/style2.vue
View file @
59232b8f
This diff is collapsed.
Click to expand it.
pages/hotel/list.vue
View file @
59232b8f
...
@@ -669,7 +669,7 @@ export default {
...
@@ -669,7 +669,7 @@ export default {
}
}
.hotel-list
.search-box
.date
{
.hotel-list
.search-box
.date
{
width
:
8
0
rpx
;
width
:
8
2
rpx
;
height
:
50rpx
;
height
:
50rpx
;
font-size
:
22rpx
;
font-size
:
22rpx
;
font-weight
:
500
;
font-weight
:
500
;
...
...
pages/jiuzhai/jz_LineDetail.vue
View file @
59232b8f
...
@@ -870,6 +870,7 @@
...
@@ -870,6 +870,7 @@
>
>
</view>
</view>
<view
style=
"display: flex; align-items: center"
>
<view
style=
"display: flex; align-items: center"
>
<!-- #ifdef MP-WEIXIN -->
<button
open-type=
"contact"
class=
"jz_ConButton"
>
<button
open-type=
"contact"
class=
"jz_ConButton"
>
<img
<img
style=
"width: 36rpx; height: 38rpx"
style=
"width: 36rpx; height: 38rpx"
...
@@ -878,6 +879,7 @@
...
@@ -878,6 +879,7 @@
/>
/>
<view
style=
"color: #111111; font-size: 22rpx"
>
客服
</view>
<view
style=
"color: #111111; font-size: 22rpx"
>
客服
</view>
</button>
</button>
<!-- #endif -->
<view
class=
"jz_OrderNow"
@
click=
"goReserce()"
>
立即预定
</view>
<view
class=
"jz_OrderNow"
@
click=
"goReserce()"
>
立即预定
</view>
</view>
</view>
</view>
</view>
...
@@ -896,6 +898,7 @@
...
@@ -896,6 +898,7 @@
<text
style=
"font-size: 22rpx"
>
/起
</text>
<text
style=
"font-size: 22rpx"
>
/起
</text>
</view>
</view>
<view
style=
"display: flex; align-items: center"
>
<view
style=
"display: flex; align-items: center"
>
<!-- #ifdef MP-WEIXIN -->
<button
open-type=
"contact"
class=
"jz_ConButton"
>
<button
open-type=
"contact"
class=
"jz_ConButton"
>
<img
<img
style=
"width: 36rpx; height: 38rpx"
style=
"width: 36rpx; height: 38rpx"
...
@@ -904,6 +907,7 @@
...
@@ -904,6 +907,7 @@
/>
/>
<view
style=
"color: #111111; font-size: 22rpx"
>
客服
</view>
<view
style=
"color: #111111; font-size: 22rpx"
>
客服
</view>
</button>
</button>
<!-- #endif -->
<view
<view
class=
"jz_OrderNow"
class=
"jz_OrderNow"
@
click=
"openOrderPreview"
@
click=
"openOrderPreview"
...
...
pages/jiuzhai/jz_MyOrder.vue
View file @
59232b8f
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
v-if=
"item.orderState == 2"
v-if=
"item.orderState == 2"
class=
"jz_Zailai"
class=
"jz_Zailai"
style=
"width: 110rpx; margin-right: 10rpx"
style=
"width: 110rpx; margin-right: 10rpx"
@
click
=
"goZhifu.stop
(item)"
@
click
.
stop=
"goZhifu
(item)"
>
付款
</view
>
付款
</view
>
>
<!-- #endif -->
<!-- #endif -->
...
@@ -191,7 +191,7 @@
...
@@ -191,7 +191,7 @@
v-if=
"item.isApplyForCancel != 1"
v-if=
"item.isApplyForCancel != 1"
class=
"jz_Zailai"
class=
"jz_Zailai"
style=
"width: 110rpx"
style=
"width: 110rpx"
@
click
=
"goCancel.stop
(item)"
@
click
.
stop=
"goCancel
(item)"
>
取消
</view
>
取消
</view
>
>
</view>
</view>
...
@@ -472,7 +472,15 @@ export default {
...
@@ -472,7 +472,15 @@ export default {
success
:
function
(
res
)
{
success
:
function
(
res
)
{
console
.
log
(
"success"
,
res
);
console
.
log
(
"success"
,
res
);
if
(
res
.
resultCode
==
"9000"
)
{
if
(
res
.
resultCode
==
"9000"
)
{
that
.
getOrderInfo
();
uni
.
showToast
({
title
:
"支付成功"
,
});
uni
.
redirectTo
({
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
that
.
price
+
"&isFrom=1"
,
});
}
else
if
(
res
.
resultCode
==
"6001"
)
{
}
else
if
(
res
.
resultCode
==
"6001"
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
"支付取消"
,
title
:
"支付取消"
,
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
59232b8f
...
@@ -867,7 +867,16 @@ export default {
...
@@ -867,7 +867,16 @@ export default {
(
res
)
=>
{
(
res
)
=>
{
this
.
orderInfo
=
JSON
.
parse
(
res
.
data
);
this
.
orderInfo
=
JSON
.
parse
(
res
.
data
);
if
(
res
.
data
)
{
if
(
res
.
data
)
{
that
.
PayAli
(
res
.
data
,
data
);
// that.PayAli(res.data, data);
let
cbObj
=
{
TradeNo
:
res
.
data
,
OrderNo
:
data
.
OrderNo
,
OrderId
:
data
.
OrderId
,
preferPrice
:
data
.
PreferPrice
,
};
console
.
log
(
883
,
cbObj
);
this
.
payAliCallback
(
cbObj
);
console
.
log
(
884
);
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
"获取交易号失败"
,
title
:
"获取交易号失败"
,
...
@@ -907,7 +916,7 @@ export default {
...
@@ -907,7 +916,7 @@ export default {
});
});
},
},
payAliCallback
(
obj
)
{
payAliCallback
(
obj
)
{
console
.
log
(
893
,
O
bj
);
console
.
log
(
893
,
o
bj
);
this
.
request2
(
this
.
request2
(
{
{
url
:
"/api/AliPay/ALiPayCallBackDmcNotify"
,
url
:
"/api/AliPay/ALiPayCallBackDmcNotify"
,
...
@@ -925,11 +934,6 @@ export default {
...
@@ -925,11 +934,6 @@ export default {
uni
.
redirectTo
({
uni
.
redirectTo
({
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
obj
.
PreferPrice
,
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
obj
.
PreferPrice
,
});
});
// setTimeout(() => {
// uni.redirectTo({
// url: "/pages/jiuzhai/jz_MyOrder",
// });
// }, 1000);
},
},
(
err
)
=>
{
(
err
)
=>
{
console
.
log
(
"cb2"
,
err
);
console
.
log
(
"cb2"
,
err
);
...
...
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