Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
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
Administrator
jd-vx-app
Commits
2b202d76
Commit
2b202d76
authored
Apr 25, 2022
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
挪车订阅消息
parent
4835d151
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
142 additions
and
141 deletions
+142
-141
help.vue
pagesD/pages/personal/help.vue
+142
-141
No files found.
pagesD/pages/personal/help.vue
View file @
2b202d76
...
...
@@ -3,19 +3,19 @@
* @Description: 帮助使用
-->
<
template
>
<view
class=
"appCotent"
>
<view
class=
"appCotent"
>
<div
class=
"hlep"
>
<u-cell-group>
<u-cell
title=
"设置消息订阅"
:isLink=
"true"
@
click=
"changeMessages
()"
></u-cell>
<u-cell
title=
"设置消息订阅"
:isLink=
"true"
@
click=
"openMsg
()"
></u-cell>
</u-cell-group>
<image
v-if=
"image"
:src=
"image"
/>
<image
v-else
src=
"@/static/my/help.png"
/>
<image
v-if=
"image"
:src=
"image"
/>
<image
v-else
src=
"@/static/my/help.png"
/>
</div>
</view>
</view>
</
template
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
image
:
''
,
...
...
@@ -24,11 +24,11 @@
}
},
methods
:
{
getHelpInfo
()
{
let
opts
=
{
url
:
'/app/user/help'
,
method
:
'get'
};
getHelpInfo
()
{
let
opts
=
{
url
:
'/app/user/help'
,
method
:
'get'
};
this
.
http
.
httpTokenRequest
(
opts
,
{}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
data
.
imgPath
!=
''
)
{
if
(
res
.
data
.
data
.
imgPath
!=
''
)
{
this
.
image
=
this
.
http
.
baseUrl
+
res
.
data
.
data
.
imgPath
}
}
...
...
@@ -60,7 +60,7 @@
uni
.
setStorageSync
(
"is_authorization"
,
true
);
}
else
{
uni
.
showToast
({
title
:
"您已拒绝订阅消息授权,无法预约领取
"
,
title
:
"您已拒绝订阅消息授权,无法接收通知
"
,
icon
:
"error"
,
});
that
.
is_authorization
=
false
;
...
...
@@ -83,7 +83,7 @@
uni
.
setStorageSync
(
"is_authorization"
,
true
);
}
else
{
uni
.
showToast
({
title
:
"您拒绝订阅消息授权,无法预约领取
"
,
title
:
"您拒绝订阅消息授权,无法接收通知
"
,
icon
:
"none"
,
});
that
.
is_authorization
=
false
;
...
...
@@ -103,7 +103,7 @@
uni
.
setStorageSync
(
"is_authorization"
,
true
);
}
else
{
uni
.
showToast
({
title
:
"您已拒绝订阅消息授权,无法预约领取
"
,
title
:
"您已拒绝订阅消息授权,无法接收通知
"
,
icon
:
"error"
,
});
that
.
is_authorization
=
false
;
...
...
@@ -118,7 +118,7 @@
});
},
//改变消息订阅
changeMessages
()
{
changeMessages
()
{
wx
.
openSetting
({
withSubscriptions
:
true
,
});
...
...
@@ -142,15 +142,16 @@
this
.
getHelpInfo
()
//this.openMsg()
},
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.hlep
{
padding
:
0rpx
0
;
height
:
1092rpx
;
image
{
.hlep
{
padding
:
0
rpx
0
;
height
:
1092
rpx
;
image
{
height
:
100%
;
width
:
100%
;
}
...
...
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