Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
N
newLive
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
孟庆瑞
newLive
Commits
b9983b77
Commit
b9983b77
authored
Dec 06, 2022
by
jiaoyahui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加登录页微信事件
parent
b726d90d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
password.vue
src/views/password.vue
+24
-1
No files found.
src/views/password.vue
View file @
b9983b77
...
...
@@ -18,7 +18,7 @@
<img
class=
"default-img"
v-if=
"ifSend==false"
src=
"../common/img/default-img.png"
alt=
""
>
<img
class=
"default-img"
v-if=
"ifSend==true"
@
click=
"goTo()"
src=
"../common/img/new-send.png"
alt=
""
>
<span
class=
"third"
>
第三方登录
</span>
<img
class=
"wechact"
src=
"../common/img/wechact.png"
alt=
""
>
<img
class=
"wechact"
src=
"../common/img/wechact.png"
alt=
""
@
click=
"Wget"
>
<span
v-if=
"errorPhone==true"
class=
"errorTip"
>
*手机号码错误
</span>
<!--
<span
class=
"registerOne"
>
没有账号,
</span><span
class=
"registerTwo"
@
click=
"register()"
>
立即注册
</span>
<input
type=
"number"
v-model=
"userPhone"
placeholder=
"输入手机号"
oninput=
"if(value.length>11)value=value.slice(0,11)"
class=
"wbk1"
>
...
...
@@ -157,6 +157,10 @@ export default {
this
.
getLive
()
})
},
Wget
(){
this
.
go_get
()
},
getLive
(){
let
temp
=
this
.
qs
.
stringify
({
pmAppVersion
:
884
,
...
...
@@ -197,6 +201,25 @@ export default {
})
},
go_get
(){
let
temp
=
this
.
qs
.
stringify
({
})
this
.
server
.
live
.
buy_code
(
temp
).
then
(
res
=>
{
//order成功判断内置浏览器,在微信就授权,内置微信还是浏览器 微信jsapi 浏览器h5
if
(
res
.
code
=
200
){
//判断是否为在微信内置浏览器支付
if
(
this
.
common
.
isWX
()){
}
else
{
}
}
})
},
},
};
...
...
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