Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
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
xugong
hls-xcmg-vue-app
Commits
d393b77b
Commit
d393b77b
authored
Mar 03, 2020
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ios wkwebview
parent
be4c7891
Pipeline
#5005
canceled with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
118 deletions
+20
-118
ios.zip
ios.zip
+0
-0
ios.json
plugins/ios.json
+0
-107
login.vue
src/pages/login.vue
+19
-10
index.html
www/index.html
+1
-1
No files found.
ios.zip
0 → 100644
View file @
d393b77b
File added
plugins/ios.json
deleted
100644 → 0
View file @
be4c7891
{
"prepare_queue"
:
{
"installed"
:
[],
"uninstalled"
:
[]
},
"config_munge"
:
{
"files"
:
{}
},
"installed_plugins"
:
{
"com.handmobile.cordovaplugin.hotpatch"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-baidumaplocation"
:
{
"ANDROID_KEY"
:
"q4W0FynBkTd4v44ZM8m4MxUpuXBqGIqQ"
,
"IOS_KEY"
:
"hhouKKwxALvC7MBZmnfwgSacHOfFOlNu"
,
"IOS_LOCATION_DESC"
:
"请点击'好'以允许访问。"
,
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-camera"
:
{
"CAMERA_USAGE_DESCRIPTION"
:
"我们将在拍照模块使用您的相机"
,
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-datepicker"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-device"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-dialogs"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-file"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-file-transfer"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-hls-cloudroom"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-hrms-faceidentify"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-image-picker"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-ionic-webview"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-jcore"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-media-capture"
:
{
"CAMERA_USAGE_DESCRIPTION"
:
" "
,
"MICROPHONE_USAGE_DESCRIPTION"
:
" "
,
"PHOTOLIBRARY_USAGE_DESCRIPTION"
:
" "
,
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-network-information"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-splashscreen"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-statusbar"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-touch-id"
:
{
"FACEID_USAGE_DESCRIPTION"
:
" "
,
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-whitelist"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"ionic-plugin-keyboard"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"jpush-phonegap-plugin"
:
{
"APP_KEY"
:
"bef4fd44dcf54b79b8ab27c3"
,
"PACKAGE_NAME"
:
"com.xcmg.app"
}
},
"dependent_plugins"
:
{
"cordova-plugin-3dtouch"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-compat"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-contacts"
:
{
"CONTACTS_USAGE_DESCRIPTION"
:
"我们将在通讯功能读取您的联系人,为你提供便捷服务"
,
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-fingerprint"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-themeablebrowser"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"cordova-plugin-x-toast"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
},
"es6-promise-plugin"
:
{
"PACKAGE_NAME"
:
"com.xcmg.app"
}
}
}
\ No newline at end of file
src/pages/login.vue
View file @
d393b77b
...
@@ -289,14 +289,18 @@ export default {
...
@@ -289,14 +289,18 @@ export default {
},
},
})
})
},
},
signLogin
()
{
async
signLogin
()
{
let
vm
=
this
let
vm
=
this
var
sendStr
=
'xcmg'
let
flag
=
await
this
.
getAccessToken
()
hls
.
cordova
.
cloudroom
.
CloudRoomService
.
loginCloudRoom
(
sendStr
,
function
(
data
)
{
if
(
flag
)
{
vm
.
entrySign
()
hlsPopup
.
hideLoading
()
},
function
(
fail
)
{
var
sendStr
=
'xcmg'
vm
.
hlsPopup
.
showLongCenter
(
'视频面签登录失败'
)
hls
.
cordova
.
cloudroom
.
CloudRoomService
.
loginCloudRoom
(
sendStr
,
function
(
data
)
{
})
vm
.
entrySign
()
},
function
(
fail
)
{
vm
.
hlsPopup
.
showLongCenter
(
'视频面签登录失败'
)
})
}
},
},
entrySign
()
{
entrySign
()
{
...
@@ -310,17 +314,22 @@ export default {
...
@@ -310,17 +314,22 @@ export default {
'pkvalue'
:
1
,
'pkvalue'
:
1
,
},
},
}
}
alert
(
'111'
)
alert
(
JSON
.
stringify
(
sendStr
,
''
,
2
)
)
vm
.
hlsPopup
.
showConfirm
({
vm
.
hlsPopup
.
showConfirm
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'登录成功,进入会话'
,
content
:
'登录成功,进入会话'
,
onConfirm
:
(
res
)
=>
{
onConfirm
:
(
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
hls
.
cordova
.
cloudroom
.
CloudRoomService
.
helpYourSelf
(
sendStr
,
function
(
data
)
{
hls
.
cordova
.
cloudroom
.
CloudRoomService
.
helpYourSelf
(
sendStr
,
function
(
data
)
{
alert
(
JSON
.
stringify
(
data
,
''
,
2
))
// vm.hlsPopup.showSuccess(JSON.stringify(data, '', 2))
vm
.
hlsPopup
.
showPopup
({
content
:
JSON
.
stringify
(
data
,
''
,
2
),
})
},
},
function
(
fail
)
{
function
(
fail
)
{
vm
.
hlsPopup
.
showLongCenter
(
'进入会话失败'
)
vm
.
hlsPopup
.
showPopup
({
content
:
'进入会话失败'
,
})
})
})
}
else
{
}
else
{
...
...
www/index.html
View file @
d393b77b
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
./cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"
></script><title>
徐工金服
</title><link
href=
./static/css/app.ffa33be96d5fea99a3f2692acafe5df9.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.6a178e8d77c32e3c385d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.c54de7b9618eb9f0f3a0.js
></script><script
type=
text/javascript
src=
./static/js/app.69dcb46837245428013a.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><meta
name=
viewport
content=
"initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"
><meta
name=
format-detection
content=
"telephone=no"
><meta
name=
format-detection
content=
"email=no"
><meta
name=
apple-mobile-web-app-capable
content=
yes
><meta
name=
apple-mobile-web-app-status-bar-style
content=
black
><script
type=
text/javascript
src=
./static/vuePlatform.js
></script><script
type=
text/javascript
src=
./static/prototype.js
></script><script
type=
text/javascript
src=
./cordova.js
></script><script
type=
text/javascript
src=
"http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"
></script><title>
徐工金服
</title><link
href=
./static/css/app.66ee5a240d1c7e7c1722fa7f944e21ef.css
rel=
stylesheet
></head><body><div
id=
app-box
></div><script
type=
text/javascript
src=
./static/js/manifest.6a178e8d77c32e3c385d.js
></script><script
type=
text/javascript
src=
./static/js/vendor.c54de7b9618eb9f0f3a0.js
></script><script
type=
text/javascript
src=
./static/js/app.e2a372ba43932ca33c3f.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
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