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
94ff638b
Commit
94ff638b
authored
Dec 22, 2022
by
mengqr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试登录
parent
79f23797
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
12 deletions
+40
-12
request.js
src/axios/request.js
+2
-2
fullScreen.vue
src/views/fullScreen.vue
+1
-1
live.vue
src/views/live.vue
+1
-1
password.vue
src/views/password.vue
+14
-4
sign.vue
src/views/sign.vue
+22
-4
No files found.
src/axios/request.js
View file @
94ff638b
...
...
@@ -9,9 +9,9 @@ const appName = "test5"
const
IS_PROD
=
[
"production"
,
"prod"
].
includes
(
process
.
env
.
NODE_ENV
);
// 接口路径
const
BASEURL_TEST
=
'https://
test6
.douniu8.com'
const
BASEURL_TEST
=
'https://
api
.douniu8.com'
// const BASEURL_TEST = 'http://39.105.193.58:8081'
const
BASEURL_PROD
=
'https://
test6
.douniu8.com'
const
BASEURL_PROD
=
'https://
api
.douniu8.com'
const
CONTRACT_TEST
=
'http://47.95.140.89:9090'
const
CONTRACT_PROD
=
'http://ht.douniu8.com:9090'
const
baseURL
=
IS_PROD
?
BASEURL_PROD
:
BASEURL_TEST
;
...
...
src/views/fullScreen.vue
View file @
94ff638b
...
...
@@ -347,7 +347,7 @@ export default {
pwd
:
request
.
mqtt
.
mqttPwd
,
domain
:
request
.
mqtt
.
mqttDomain
,
port
:
request
.
mqtt
.
mqttPort
,
destination
:
request
.
douniuLive
.
destination
[
0
]
+
46
+
destination
:
request
.
douniuLive
.
destination
[
0
]
+
this
.
$route
.
query
.
lvrId
+
request
.
douniuLive
.
destination
[
1
],
},
this
.
getMessage
);
...
...
src/views/live.vue
View file @
94ff638b
...
...
@@ -365,7 +365,7 @@ export default {
pwd
:
request
.
mqtt
.
mqttPwd
,
domain
:
request
.
mqtt
.
mqttDomain
,
port
:
request
.
mqtt
.
mqttPort
,
destination
:
request
.
douniuLive
.
destination
[
0
]
+
46
+
destination
:
request
.
douniuLive
.
destination
[
0
]
+
this
.
$route
.
query
.
lvrId
+
request
.
douniuLive
.
destination
[
1
],
},
this
.
getMessage
);
...
...
src/views/password.vue
View file @
94ff638b
...
...
@@ -17,8 +17,8 @@
<span
class=
"privacy"
@
click=
"privacy()"
>
《隐私政策》
</span>
<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=
""
@
click=
"Wget"
>
<
!--
<span
class=
"third"
>
第三方登录
</span>
--
>
<
!--
<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"
>
...
...
@@ -218,8 +218,10 @@ export default {
this
.
server
.
live
.
buy_code
(
temp
).
then
(
res
=>
{
//order成功判断内置浏览器,在微信就授权,内置微信还是浏览器 微信jsapi 浏览器h5
if
(
res
.
code
=
200
){
// window.location.href=''
console
.
log
(
res
.
data
)
if
(
res
.
data
.
code
==
200
){
let
url
=
res
.
data
.
data
window
.
location
.
href
=
url
}
})
...
...
@@ -238,6 +240,14 @@ export default {
console
.
log
(
"阿斯蒂芬"
)
sessionStorage
.
removeItem
(
'ifLvrUbId'
);
}
if
(
this
.
$route
.
query
.
lvrUbId
){
this
.
$router
.
push
(
{
path
:
'/'
,
});
}
}
},
...
...
src/views/sign.vue
View file @
94ff638b
...
...
@@ -277,6 +277,23 @@ export default {
}
}
},
go_get
(){
let
temp
=
this
.
qs
.
stringify
({
urlTag
:
'nh5'
})
this
.
server
.
live
.
buy_code
(
temp
).
then
(
res
=>
{
//order成功判断内置浏览器,在微信就授权,内置微信还是浏览器 微信jsapi 浏览器h5
console
.
log
(
res
.
data
)
if
(
res
.
data
.
code
==
200
){
let
url
=
res
.
data
.
data
window
.
location
.
href
=
url
}
})
},
goTo
(){
let
verification
=
this
.
numberOne
+
this
.
numberTwo
+
this
.
numberThree
+
this
.
numberFour
+
this
.
numberFive
+
this
.
numberSix
let
temp
=
this
.
qs
.
stringify
({
...
...
@@ -306,11 +323,12 @@ export default {
sessionStorage
.
setItem
(
"openId"
,
openId
);
//opendid
store
.
commit
(
"SET_TOKEN"
,
thisToken
);
// this.getLive()
this
.
$router
.
push
(
{
path
:
'/'
,
this
.
go_get
()
// this.$router.push(
// {
// path:'/',
});
//
});
})
},
...
...
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