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
ecf534d1
Commit
ecf534d1
authored
Mar 28, 2023
by
qipeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加退款
parent
6370200a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
4 deletions
+27
-4
electronicTicket.vue
pages/my/order/electronicTicket/electronicTicket.vue
+27
-4
No files found.
pages/my/order/electronicTicket/electronicTicket.vue
View file @
ecf534d1
...
@@ -214,6 +214,14 @@
...
@@ -214,6 +214,14 @@
<text
v-if=
"orderInfo.orderRefundRuleList[0]"
>
{{
orderInfo
.
orderRefundRuleList
[
0
].
refundTime
.
substr
(
0
,
5
)
}}
之前可退
</text>
<text
v-if=
"orderInfo.orderRefundRuleList[0]"
>
{{
orderInfo
.
orderRefundRuleList
[
0
].
refundTime
.
substr
(
0
,
5
)
}}
之前可退
</text>
</
template
>
</
template
>
<
template
v-else-if=
"orderInfo.isRefund==2"
>
随时可退
</
template
>
<
template
v-else-if=
"orderInfo.isRefund==2"
>
随时可退
</
template
>
<
template
v-if=
"ticketStatus"
>
<router-link
class=
"list-btnRefund"
:to=
"'/applyAfterSales?id='+orderInfo.id"
v-if=
"orderInfo.orderStatus==2&&orderInfo.isRefund!=0&&ticketStatus==0"
>
退款/售后
</router-link>
</
template
>
<
template
v-else
>
<router-link
class=
"list-btnRefund"
:to=
"'/applyAfterSales?id='+orderInfo.id"
v-if=
"orderInfo.orderStatus==2&&orderInfo.isRefund!=0"
>
退款/售后
</router-link>
</
template
>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -427,6 +435,7 @@
...
@@ -427,6 +435,7 @@
returnTripType
:
false
,
//返程取号设置
returnTripType
:
false
,
//返程取号设置
Brightness
:
''
,
//屏幕亮度
Brightness
:
''
,
//屏幕亮度
qrCodeType
:
false
,
//是否是多个二维码
qrCodeType
:
false
,
//是否是多个二维码
btnRefundType
:
false
,
//是否可退款
}
}
},
},
onShow
()
{
onShow
()
{
...
@@ -451,8 +460,8 @@
...
@@ -451,8 +460,8 @@
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
id
=
option
.
orderId
this
.
id
=
option
.
orderId
//this.id = "z00167956572219584dc15634b62cf75"
//this.id = "z00167956572219584dc15634b62cf75"
this
.
openId
=
uni
.
getStorageSync
(
"openid"
)
//openid oroHZ5FaUQ_SOOC_uQQP92fJpBRE oh2UV1lyYABHMZ1rMlgjhVHyyYDQ
//
this.openId = uni.getStorageSync("openid") //openid oroHZ5FaUQ_SOOC_uQQP92fJpBRE oh2UV1lyYABHMZ1rMlgjhVHyyYDQ
//this.openId = "oroHZ5FaUQ_SOOC_uQQP92fJpBRE
"
this
.
openId
=
"oh2UV1lyYABHMZ1rMlgjhVHyyYDQ
"
this
.
getDetail
();
this
.
getDetail
();
},
},
...
@@ -1040,8 +1049,8 @@
...
@@ -1040,8 +1049,8 @@
.order-certificate
.certificate-box
.box-QRcode
{
.order-certificate
.certificate-box
.box-QRcode
{
display
:
block
;
display
:
block
;
width
:
3
2
0
rpx
;
width
:
3
5
0
rpx
;
height
:
3
2
0
rpx
;
height
:
3
5
0
rpx
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
...
@@ -1113,6 +1122,20 @@
...
@@ -1113,6 +1122,20 @@
text-overflow: ellipsis;
text-overflow: ellipsis;
-o-text-overflow: ellipsis; */
-o-text-overflow: ellipsis; */
}
}
.order-mes
.mes-box
.box-case
.case-list
.list-btnRefund
{
width
:
152
rpx
;
height
:
64
rpx
;
border
:
solid
1px
#ccc
;
border-radius
:
8
rpx
;
line-height
:
64
rpx
;
color
:
#333333
;
text-align
:
center
;
display
:
inline-block
;
box-sizing
:
content-box
;
position
:
absolute
;
top
:
-12
rpx
;
right
:
0
;
}
.order-mes
.mes-box
.box-case
.case-list
.list-btn
{
.order-mes
.mes-box
.box-case
.case-list
.list-btn
{
/* flex-shrink: 0;
/* flex-shrink: 0;
...
...
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