Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DoorLock
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
朱建香
DoorLock
Commits
3604e554
Commit
3604e554
authored
Oct 24, 2017
by
朱建香
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1024
parent
153ab996
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
63 additions
and
4 deletions
+63
-4
dev/src/public/public.js
+3
-1
dev/src/view/login/v_index.js
+28
-0
web/lib/js/UIOT.js
+0
-0
web/lib/js/p.js
+3
-1
web/view/login/index.js
+27
-0
web/view/myInfo/index.html
+2
-2
No files found.
dev/src/public/public.js
View file @
3604e554
...
...
@@ -12,12 +12,14 @@ const iot = new UIOT({
vue
:
Vue
,
i18n
:
VueI18n
,
appId
:
'10004'
,
appSecret
:
'10004'
,
wx
:
{
appId
:
''
},
cloud
:
{
// url: 'http://wx.iotface.com'
url
:
'http://192.168.2.96:20000'
// url: 'http://192.168.2.96:20000'
url
:
'https://cloud.iot.u-gen.net/test-openapi/'
},
plugin
:
{
log
:
{
...
...
dev/src/view/login/v_index.js
View file @
3604e554
...
...
@@ -189,3 +189,30 @@ function cloudsLogin(self, id){
});
//
}
//function cloudsLogin(self, id){
// uComponents.showLoading(self);
// iot.business.user.simpleLogin({
// data: {
// username: id
// },
// success: (response) => {
// let data = uPublic.checkResponseData(response.data);
// if(data){
// iot.navigator.openWindow({
// url: '../device/index.html',
// id: 'device'
// });
// }else{
//
// }
// },
// error: (error) => {
// console.log(error);
// uPublic.openRequestErrorAlert(self);
// },
// complete: () => {
// uComponents.hideLoading(self);
// }
// });
//}
\ No newline at end of file
web/lib/js/UIOT.js
View file @
3604e554
This diff is collapsed.
Click to expand it.
web/lib/js/p.js
View file @
3604e554
...
...
@@ -9515,12 +9515,14 @@ var iot = new UIOT({
vue
:
Vue
,
i18n
:
_vueI18n2
.
default
,
appId
:
'10004'
,
appSecret
:
'10004'
,
wx
:
{
appId
:
''
},
cloud
:
{
// url: 'http://wx.iotface.com'
url
:
'http://192.168.2.96:20000'
// url: 'http://192.168.2.96:20000'
url
:
'https://cloud.iot.u-gen.net/test-openapi/'
},
plugin
:
{
log
:
{
...
...
web/view/login/index.js
View file @
3604e554
...
...
@@ -189,6 +189,33 @@ function cloudsLogin(self, id) {
});
//
}
//function cloudsLogin(self, id){
// uComponents.showLoading(self);
// iot.business.user.simpleLogin({
// data: {
// username: id
// },
// success: (response) => {
// let data = uPublic.checkResponseData(response.data);
// if(data){
// iot.navigator.openWindow({
// url: '../device/index.html',
// id: 'device'
// });
// }else{
//
// }
// },
// error: (error) => {
// console.log(error);
// uPublic.openRequestErrorAlert(self);
// },
// complete: () => {
// uComponents.hideLoading(self);
// }
// });
//}
/* WEBPACK VAR INJECTION */
}.
call
(
exports
,
__webpack_require__
(
1
)[
"default"
]))
/***/
}),
...
...
web/view/myInfo/index.html
View file @
3604e554
...
...
@@ -28,10 +28,10 @@
{{ $t('myInfo.editNickname') }}
<p>
{{ nickname }}
</p>
</v-touch>
<v-touch
tag=
"div"
class=
"editPassword"
v-on:tap=
"onEditPasswordTap"
>
<
!--<
v-touch tag="div" class="editPassword" v-on:tap="onEditPasswordTap">
{{ $t('myInfo.editPassword') }}
<p></p>
</v-touch>
</v-touch>
-->
</div>
<u-button
:init-param=
"componentsConfig.logoutButton.initParam"
v-on:u-button-tap=
"onLogoutButtonTap"
></u-button>
<u-dialog
ref=
"udialog"
:init-param=
"componentsConfig.dialog.initParam"
></u-dialog>
...
...
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