Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
A
az-uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李智书
az-uniapp-wechat-web
Commits
e2092883
Commit
e2092883
authored
Jul 27, 2021
by
李智书
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改毕业页面返回小程序切换用户;
parent
3168ca3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
pages/StudentsGraduate/StudentsGraduate.vue
pages/StudentsGraduate/StudentsGraduate.vue
+11
-1
No files found.
pages/StudentsGraduate/StudentsGraduate.vue
View file @
e2092883
...
@@ -15,6 +15,11 @@
...
@@ -15,6 +15,11 @@
恭喜您的小孩已经毕业!
恭喜您的小孩已经毕业!
</view>
</view>
</view>
</view>
<!-- 返回小程序切换未毕业用户 -->
<view
style=
"width: 300rpx;text-align: center;margin: 0 auto;color: #08C379; margin-top: 50rpx;cursor: pointer;"
@
click=
"SwitchUser"
>
<span
style=
"text-decoration:underline;"
>
切换小孩账号
</span>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -36,7 +41,12 @@
...
@@ -36,7 +41,12 @@
this
.
StudentsGraduateInfo
=
options
this
.
StudentsGraduateInfo
=
options
},
},
methods
:
{
methods
:
{
// 返回小程序切换用户
async
SwitchUser
()
{
wx
.
miniProgram
.
redirectTo
({
url
:
`/pages/setting/main`
,
});
}
}
}
}
}
</
script
>
</
script
>
...
...
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