Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_order
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
android
uniapp_order
Commits
584252bb
Commit
584252bb
authored
Oct 28, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容web端拨打电话
parent
8c37c052
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
17 deletions
+45
-17
refund.vue
order/pages/refund/refund.vue
+45
-17
No files found.
order/pages/refund/refund.vue
View file @
584252bb
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
<image
:src=
"refundImg"
mode=
"aspectFill"
class=
"image"
></image>
<image
:src=
"refundImg"
mode=
"aspectFill"
class=
"image"
></image>
</view>
</view>
<input
v-model=
"alipayOrder"
class=
"input mt-30"
type=
"digit"
placeholder=
"请输入支付宝订单号"
/>
<input
v-model=
"alipayOrder"
class=
"input mt-30"
type=
"digit"
placeholder=
"请输入支付宝订单号
或 商家订单号
"
/>
<text
class=
"guide-text"
style=
"margin-top: 30rpx;"
@
click=
"openTip"
>
立即退款
</text>
<text
class=
"guide-text
2
"
style=
"margin-top: 30rpx;"
@
click=
"openTip"
>
立即退款
</text>
</view>
</view>
</view>
</view>
</uni-popup>
</uni-popup>
...
@@ -42,6 +42,11 @@
...
@@ -42,6 +42,11 @@
<uni-popup
class=
"popup2"
ref=
"popup3"
type=
"center"
>
<uni-popup
class=
"popup2"
ref=
"popup3"
type=
"center"
>
<uni-popup-dialog
:style=
"
{color:refundColor}" :title="refundResult" :duration="2000"
<uni-popup-dialog
:style=
"
{color:refundColor}" :title="refundResult" :duration="2000"
:showClose="showTipColse" @close="closeTip" @confirm="confirm">
</uni-popup-dialog>
:showClose="showTipColse" @close="closeTip" @confirm="confirm">
</uni-popup-dialog>
</uni-popup>
<uni-popup
class=
"popup2"
ref=
"popup4"
type=
"center"
>
<uni-popup-dialog
style=
"color: #909399;"
title=
"客服电话\n4000969950"
:duration=
"2000"
@
close=
"closeKefu"
@
confirm=
"closeKefu"
></uni-popup-dialog>
</uni-popup>
</uni-popup>
</view>
</view>
</
template
>
</
template
>
...
@@ -75,7 +80,8 @@
...
@@ -75,7 +80,8 @@
refundImg
:
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_guide_alipay_back.png"
,
refundImg
:
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_guide_alipay_back.png"
,
refundResult
:
'
\
n是否确定要退款?'
,
refundResult
:
'
\
n是否确定要退款?'
,
refundColor
:
"#909399"
,
refundColor
:
"#909399"
,
showTipColse
:
true
,
showTipColse
:
true
,
showKefuColse
:
false
,
guideText
:
"下一步"
,
guideText
:
"下一步"
,
curGuideIndex
:
0
curGuideIndex
:
0
};
};
...
@@ -117,16 +123,23 @@
...
@@ -117,16 +123,23 @@
}
}
});
});
},
},
callPhone
()
{
callPhone
()
{
my
.
makePhoneCall
({
// #ifdef H5
number
:
'4000969950'
,
this
.
$refs
.
popup4
.
open
()
success
:
function
(
res
)
{
// #endif
console
.
log
(
'拨打电话成功!'
);
},
// #ifdef MP-ALIPAY
fail
:
function
(
res
)
{
my
.
makePhoneCall
({
console
.
log
(
'拨打电话失败!'
);
number
:
'4000969950'
,
}
success
:
function
(
res
)
{
})
console
.
log
(
'拨打电话成功!'
);
},
fail
:
function
(
res
)
{
console
.
log
(
'拨打电话失败!'
);
}
})
// #endif
},
},
changeGuide
(
e
)
{
changeGuide
(
e
)
{
this
.
curGuideIndex
=
e
.
detail
.
current
this
.
curGuideIndex
=
e
.
detail
.
current
...
@@ -171,6 +184,9 @@
...
@@ -171,6 +184,9 @@
},
},
closeTip
()
{
closeTip
()
{
this
.
$refs
.
popup3
.
close
()
this
.
$refs
.
popup3
.
close
()
},
closeKefu
()
{
this
.
$refs
.
popup4
.
close
()
},
},
confirm
()
{
confirm
()
{
this
.
closeTip
()
this
.
closeTip
()
...
@@ -249,7 +265,6 @@
...
@@ -249,7 +265,6 @@
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
overflow
:
hidden
;
overflow
:
hidden
;
.image-wrap
{
.image-wrap
{
height
:
800rpx
;
height
:
800rpx
;
background-color
:
#579BEB
;
background-color
:
#579BEB
;
...
@@ -263,7 +278,8 @@
...
@@ -263,7 +278,8 @@
}
}
}
}
.input
{
.input
{
width
:
80%
;
border-radius
:
10rpx
;
border-radius
:
10rpx
;
border
:
solid
1px
#C9C9C9
;
border
:
solid
1px
#C9C9C9
;
}
}
...
@@ -292,14 +308,26 @@
...
@@ -292,14 +308,26 @@
}
}
}
}
}
.guide-text
{
text-align
:
center
;
margin-top
:
100rpx
;
font-size
:
34rpx
;
color
:
#F9F9F9
;
width
:
320rpx
;
height
:
85rpx
;
line-height
:
85rpx
;
background
:
#3881F3
;
border-radius
:
8rpx
;
}
}
.guide-text
{
.guide-text
2
{
text-align
:
center
;
text-align
:
center
;
margin-top
:
100rpx
;
margin-top
:
100rpx
;
font-size
:
34rpx
;
font-size
:
34rpx
;
color
:
#F9F9F9
;
color
:
#F9F9F9
;
width
:
320rpx
;
width
:
89%
;
height
:
85rpx
;
height
:
85rpx
;
line-height
:
85rpx
;
line-height
:
85rpx
;
background
:
#3881F3
;
background
:
#3881F3
;
...
...
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