Commit 3604e554 by 朱建香

1024

parent 153ab996
...@@ -12,12 +12,14 @@ const iot = new UIOT({ ...@@ -12,12 +12,14 @@ const iot = new UIOT({
vue: Vue, vue: Vue,
i18n: VueI18n, i18n: VueI18n,
appId: '10004', appId: '10004',
appSecret: '10004',
wx: { wx: {
appId: '' appId: ''
}, },
cloud: { cloud: {
// url: 'http://wx.iotface.com' // 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: { plugin: {
log: { log: {
......
...@@ -189,3 +189,30 @@ function cloudsLogin(self, id){ ...@@ -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
...@@ -9515,12 +9515,14 @@ var iot = new UIOT({ ...@@ -9515,12 +9515,14 @@ var iot = new UIOT({
vue: Vue, vue: Vue,
i18n: _vueI18n2.default, i18n: _vueI18n2.default,
appId: '10004', appId: '10004',
appSecret: '10004',
wx: { wx: {
appId: '' appId: ''
}, },
cloud: { cloud: {
// url: 'http://wx.iotface.com' // 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: { plugin: {
log: { log: {
......
...@@ -189,6 +189,33 @@ function cloudsLogin(self, id) { ...@@ -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"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"]))
/***/ }), /***/ }),
......
...@@ -28,10 +28,10 @@ ...@@ -28,10 +28,10 @@
{{ $t('myInfo.editNickname') }} {{ $t('myInfo.editNickname') }}
<p>{{ nickname }}</p> <p>{{ nickname }}</p>
</v-touch> </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') }} {{ $t('myInfo.editPassword') }}
<p>&#xe63d;&#xe63d;&#xe63d;&#xe63d;&#xe63d;&#xe63d;</p> <p>&#xe63d;&#xe63d;&#xe63d;&#xe63d;&#xe63d;&#xe63d;</p>
</v-touch> </v-touch>-->
</div> </div>
<u-button :init-param="componentsConfig.logoutButton.initParam" v-on:u-button-tap="onLogoutButtonTap"></u-button> <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> <u-dialog ref="udialog" :init-param="componentsConfig.dialog.initParam"></u-dialog>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment