Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uni-app-ddh-shop
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
zhanhai
uni-app-ddh-shop
Commits
ff0f10d0
Commit
ff0f10d0
authored
Oct 31, 2024
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
把unpackage添加到忽略文件
parent
709edc07
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
29 deletions
+2
-29
.gitignore
.gitignore
+1
-0
index.vue
pages/my/index.vue
+1
-29
No files found.
.gitignore
View file @
ff0f10d0
.DS_Store
.DS_Store
node_modules/
node_modules/
dist/
dist/
unpackage/
# local env files
# local env files
.env.local
.env.local
...
...
pages/my/index.vue
View file @
ff0f10d0
...
@@ -189,36 +189,8 @@ export default {
...
@@ -189,36 +189,8 @@ export default {
}
}
},
},
goTel
()
{
goTel
()
{
<<<<<<<
HEAD
this
.
buryingPoint
(
'app:my_contact_us_click'
)
this
.
buryingPoint
(
'app:my_contact_us_click'
)
this
.
handleCall
(
APP
.
serviceCall
)
this
.
handleCall
(
APP
.
serviceCall
)
=======
const
self
=
this
self
.
buryingPoint
(
'app:my_contact_us_click'
)
const
telPhone
=
uni
.
getStorageSync
(
'telPhone'
)
if
(
telPhone
){
self
.
goPhone
()
}
else
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'该“联系我们”功能需要获取您的电话拨号等权限,以便于您通过拨打电话的方式向我们反映问题!'
,
showCancel
:
false
,
//没有取消按钮的弹框
confirmText
:
'确定'
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
console
.
log
(
'用户点击确定'
);
self
.
goPhone
()
}
}
})
}
},
goPhone
(){
uni
.
setStorageSync
(
'telPhone'
,
'1'
)
uni
.
makePhoneCall
({
phoneNumber
:
this
.
serviceCall
//仅为示例
});
>>>>>>>
417
e5ce95df5f7b259a50d0b83376706082c30ea
},
},
goItem
(
item
)
{
goItem
(
item
)
{
...
...
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