Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
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_vedio
Commits
07f3149e
Commit
07f3149e
authored
Dec 05, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
9ebd2a08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
45 deletions
+45
-45
my.vue
vedio/pages/my/my.vue
+45
-45
No files found.
vedio/pages/my/my.vue
View file @
07f3149e
...
@@ -173,53 +173,53 @@
...
@@ -173,53 +173,53 @@
navigateTo
(
`/pagesA/vipPay/vipPay`
)
navigateTo
(
`/pagesA/vipPay/vipPay`
)
},
},
handlePhone
()
{
handlePhone
()
{
if
(
this
.
corpid
!=
''
&&
this
.
curl
!=
''
)
{
// if (this.corpid != '' && this.curl != '') {
wx
.
openCustomerServiceChat
({
// wx.openCustomerServiceChat({
extInfo
:
{
// extInfo: {
url
:
this
.
curl
// url: this.curl
},
// },
corpId
:
this
.
corpid
,
// corpId: this.corpid,
success
(
res
)
{},
// success(res) {},
fail
(
e
)
{
// fail(e) {
console
.
log
(
e
)
// console.log(e)
}
// }
})
// })
}
else
{
// } else {
let
that
=
this
// let that = this
// 联系我们
// // 联系我们
this
.
post
({
// this.post({
url
:
'/vedio/customerServiceNumbers'
,
// url: '/vedio/customerServiceNumbers',
showLoading
:
false
,
// showLoading: false,
success
:
({
// success: ({
data
// data
})
=>
{
// }) => {
let
datas
=
data
.
customerServiceNumbers
.
split
(
','
)
// let datas = data.customerServiceNumbers.split(',')
that
.
corpid
=
datas
[
0
]
// that.corpid = datas[0]
that
.
curl
=
datas
[
1
]
// that.curl = datas[1]
wx
.
openCustomerServiceChat
({
extInfo
:
{
url
:
that
.
curl
},
corpId
:
that
.
corpid
,
success
(
res
)
{},
fail
(
e
)
{
console
.
log
(
e
)
}
})
}
});
}
// wx.makePhoneCall({
// wx.openCustomerServiceChat({
// phoneNumber: '4000969950',
// extInfo: {
// success: function(res) {
// url: that.curl
// console.log('拨打电话成功!');
// },
// },
// fail: function(res) {
// corpId: that.corpid,
// console.log('拨打电话失败!');
// success(res) {},
// fail(e) {
// console.log(e)
// }
// }
// })
// })
// }
// });
// }
wx
.
makePhoneCall
({
phoneNumber
:
'4000969950'
,
success
:
function
(
res
)
{
console
.
log
(
'拨打电话成功!'
);
},
fail
:
function
(
res
)
{
console
.
log
(
'拨打电话失败!'
);
}
})
},
},
paySuccess
(
largeType
)
{
paySuccess
(
largeType
)
{
// largeType=vip 开通vip
// largeType=vip 开通vip
...
...
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