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
f54556aa
Commit
f54556aa
authored
Nov 13, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'dabao'
parent
8f2ac57a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
41 deletions
+0
-41
login.vue
src/pages/login.vue
+0
-41
No files found.
src/pages/login.vue
View file @
f54556aa
...
...
@@ -24,7 +24,6 @@
<div
class=
"pwd-forgotten"
@
click=
"pwdForgotten"
>
忘记密码?
</div>
</div>
<div
class=
"button submit"
@
click=
"access"
>
登录
</div>
<div
class=
"button submit"
@
click=
"test"
>
测试
</div>
</div>
</h-content>
<!--
<div
style=
"width: 100%;height: 100%;background-color: #007aff;display: flex;justify-content: center;align-items: center;"
>
...
...
@@ -120,46 +119,6 @@ export default {
clearPassword
:
function
()
{
this
.
password
=
''
},
test
(){
let
vm
=
this
hlsPopup
.
showActionSheet
({
titleText
:
'请选择照片'
,
buttonArray
:
[
'拍照'
,
'从相册取'
],
callback
:
index
=>
{
if
(
index
===
0
)
{
vm
.
imgUploadOpenCamera
()
}
else
{
vm
.
imgUploadTakePicture
()
}
},
})
},
imgUploadOpenCamera
()
{
let
vm
=
this
let
cameraoptions
=
{
quality
:
100
,
}
let
success
=
function
(
imgdata
)
{
alert
(
'imgdata'
+
imgdata
)
}
let
error
=
function
()
{
hlsPopup
.
showLongCenter
(
'请拍照'
)
}
hlsUtil
.
openCamera
(
cameraoptions
,
success
,
error
)
},
imgUploadTakePicture
()
{
let
vm
=
this
let
cameraoptions
=
{
quality
:
100
,
}
let
success
=
function
(
imgUrl
)
{
alert
(
'imgUrl[0]'
+
imgUrl
[
0
])
}
let
error
=
function
()
{
}
vm
.
hlsUtil
.
takePicture
(
cameraoptions
,
success
,
error
)
},
},
}
</
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