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
Hide 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 @@
navigateTo
(
`/pagesA/vipPay/vipPay`
)
},
handlePhone
()
{
if
(
this
.
corpid
!=
''
&&
this
.
curl
!=
''
)
{
wx
.
openCustomerServiceChat
({
extInfo
:
{
url
:
this
.
curl
},
corpId
:
this
.
corpid
,
success
(
res
)
{},
fail
(
e
)
{
console
.
log
(
e
)
}
})
}
else
{
let
that
=
this
// 联系我们
this
.
post
({
url
:
'/vedio/customerServiceNumbers'
,
showLoading
:
false
,
success
:
({
data
})
=>
{
let
datas
=
data
.
customerServiceNumbers
.
split
(
','
)
that
.
corpid
=
datas
[
0
]
that
.
curl
=
datas
[
1
]
//
if (this.corpid != '' && this.curl != '') {
//
wx.openCustomerServiceChat({
//
extInfo: {
//
url: this.curl
//
},
//
corpId: this.corpid,
//
success(res) {},
//
fail(e) {
//
console.log(e)
//
}
//
})
//
} else {
//
let that = this
//
// 联系我们
//
this.post({
//
url: '/vedio/customerServiceNumbers',
//
showLoading: false,
//
success: ({
//
data
//
}) => {
//
let datas = data.customerServiceNumbers.split(',')
//
that.corpid = datas[0]
//
that.curl = datas[1]
wx
.
openCustomerServiceChat
({
extInfo
:
{
url
:
that
.
curl
},
corpId
:
that
.
corpid
,
success
(
res
)
{},
fail
(
e
)
{
console
.
log
(
e
)
}
})
}
});
}
//
wx.openCustomerServiceChat({
//
extInfo: {
//
url: that.curl
//
},
//
corpId: that.corpid,
//
success(res) {},
//
fail(e) {
//
console.log(e)
//
}
//
})
//
}
//
});
//
}
//
wx.makePhoneCall({
//
phoneNumber: '4000969950',
//
success: function(res) {
//
console.log('拨打电话成功!');
//
},
//
fail: function(res) {
//
console.log('拨打电话失败!');
//
}
//
})
wx
.
makePhoneCall
({
phoneNumber
:
'4000969950'
,
success
:
function
(
res
)
{
console
.
log
(
'拨打电话成功!'
);
},
fail
:
function
(
res
)
{
console
.
log
(
'拨打电话失败!'
);
}
})
},
paySuccess
(
largeType
)
{
// 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