Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sport-view-h5
Overview
Overview
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
tangjiale
sport-view-h5
Commits
848cf47d
Commit
848cf47d
authored
Aug 02, 2022
by
tangjiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试传输消息
parent
c5721729
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
index.vue
pages/index.vue
+8
-1
No files found.
pages/index.vue
View file @
848cf47d
...
...
@@ -3,11 +3,12 @@
* @eMail: 932055106@qq.com
* @Date: 2022-08-01 17:06:37
* @LastEditors: tangjiale
* @LastEditTime: 2022-08-02 1
1:38:32
* @LastEditTime: 2022-08-02 1
4:48:53
-->
<
template
>
<!-- 常见问题 -->
<div
class=
"page-bg"
>
<div
@
click=
"test"
>
测试按钮
</div>
<van-tabs
v-model=
"active"
sticky
line-width=
"43"
line-height=
"5"
>
<van-tab
title=
"用户身份"
>
<div
class=
"content-text"
>
...
...
@@ -98,6 +99,12 @@ export default {
active
:
0
}
},
methods
:{
test
(){
wx
.
miniProgram
.
postMessage
({
data
:
{
videoUrl
:
'超人霍华德'
}});
wx
.
miniProgram
.
navigateBack
({
delta
:
1
});
//一定要加上它
}
},
computed
:{
isWechat
()
{
return
navigator
.
userAgent
.
toLowerCase
().
indexOf
(
'micromessenger'
)
!==
-
1
;
...
...
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