Commit 0af83892 by 朱建香

1102

parent 362285f4
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"iscroll": "5.2.0", "iscroll": "5.2.0",
"moment": "^2.18.1", "moment": "^2.18.1",
"qrcode": "^0.9.0", "qrcode": "^0.9.0",
"ugen-components": "^0.1.0", "ugen-components": "0.2.4",
"underscore": "1.8.3", "underscore": "1.8.3",
"vue": "2.2.6", "vue": "2.2.6",
"vue-i18n": "5.0.3", "vue-i18n": "5.0.3",
......
...@@ -129,9 +129,11 @@ ...@@ -129,9 +129,11 @@
"fackLockAlram": "假锁报警" "fackLockAlram": "假锁报警"
}, },
"remoteOpendoor":{ "remoteOpendoor":{
"loading": "远程开门中",
"passwordInputTip": "请输入远程开门密码", "passwordInputTip": "请输入远程开门密码",
"openDoorSuccess": "远程开门成功", "openDoorSuccess": "远程开门成功",
"openDoorFailure": "远程开门失败", "openDoorFailure": "远程开门失败",
"remoteOpendoorAgain": "请尝试重试",
"error": { "error": {
"noPasswordTip": "远程密码不能为空" "noPasswordTip": "远程密码不能为空"
} }
......
...@@ -33,5 +33,6 @@ export default { ...@@ -33,5 +33,6 @@ export default {
//门铃晃动次数 //门铃晃动次数
"shake_times": 5, "shake_times": 5,
//门锁晃动总时间 //门锁晃动总时间
"ring_time": 30000 "ring_time": 30000,
"remote_opendoor_timeout": 30000
} }
\ No newline at end of file
...@@ -77,12 +77,12 @@ function init() { ...@@ -77,12 +77,12 @@ function init() {
this.role = role; this.role = role;
}, },
// //
onSwipeLeftRow(index){ // onSwipeLeftRow(index){
swipeLeftRow(this, index); // swipeLeftRow(this, index);
}, // },
onSwipeRightRow(){ // onSwipeRightRow(){
swipeRightRow(this); // swipeRightRow(this);
}, // },
// //
onTapLoad(){ onTapLoad(){
// tapLoad(); // tapLoad();
...@@ -216,14 +216,14 @@ function addUserTap(self){ ...@@ -216,14 +216,14 @@ function addUserTap(self){
}); });
} }
// //
// 向左滑动用户列表,修改用户列表下标 //// 向左滑动用户列表,修改用户列表下标
function swipeLeftRow(self, index) { //function swipeLeftRow(self, index) {
self.userListIndex = index; // self.userListIndex = index;
} //}
// 向右滑动用户列表,修改用户列表下标 //// 向右滑动用户列表,修改用户列表下标
function swipeRightRow(self) { //function swipeRightRow(self) {
self.userListIndex = null; // self.userListIndex = null;
} //}
// //
// 点击组件列表 通知事件和当前点击列表下标 // 点击组件列表 通知事件和当前点击列表下标
function onTapUserList(self, listIndex) { function onTapUserList(self, listIndex) {
......
webpackJsonp([26],{ webpackJsonp([26],{
/***/ 169: /***/ 196:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_index.js * v_index.js
...@@ -82,14 +82,14 @@ function wifiAddTap() { ...@@ -82,14 +82,14 @@ function wifiAddTap() {
id: 'wifiAddHelp' id: 'wifiAddHelp'
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 293: /***/ 293:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(169); module.exports = __webpack_require__(196);
/***/ }) /***/ })
......
webpackJsonp([25],{ webpackJsonp([25],{
/***/ 170: /***/ 197:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_scanCodeAdd.js * v_scanCodeAdd.js
...@@ -139,14 +139,14 @@ function deviceBind(self, lockId, relId) { ...@@ -139,14 +139,14 @@ function deviceBind(self, lockId, relId) {
complete: function complete() {} complete: function complete() {}
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 294: /***/ 294:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(170); module.exports = __webpack_require__(197);
/***/ }) /***/ })
......
webpackJsonp([24],{ webpackJsonp([24],{
/***/ 171: /***/ 198:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _config = __webpack_require__(124); var _config = __webpack_require__(127);
var _config2 = _interopRequireDefault(_config); var _config2 = _interopRequireDefault(_config);
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
...@@ -302,14 +302,14 @@ function bind(self, deviceId, productId) { ...@@ -302,14 +302,14 @@ function bind(self, deviceId, productId) {
complete: function complete() {} complete: function complete() {}
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 295: /***/ 295:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(171); module.exports = __webpack_require__(198);
/***/ }) /***/ })
......
webpackJsonp([23],{ webpackJsonp([23],{
/***/ 172: /***/ 199:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_wifiAddHelp.js * v_wifiAddHelp.js
...@@ -87,14 +87,14 @@ function wifiAddButtonTap() { ...@@ -87,14 +87,14 @@ function wifiAddButtonTap() {
// } // }
// }); // });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 296: /***/ 296:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(172); module.exports = __webpack_require__(199);
/***/ }) /***/ })
......
webpackJsonp([8],{ webpackJsonp([8],{
/***/ 173: /***/ 200:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
...@@ -10,7 +10,7 @@ var _vueRouter = __webpack_require__(290); ...@@ -10,7 +10,7 @@ var _vueRouter = __webpack_require__(290);
var _vueRouter2 = _interopRequireDefault(_vueRouter); var _vueRouter2 = _interopRequireDefault(_vueRouter);
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
var _r_bindUserHelp = __webpack_require__(266); var _r_bindUserHelp = __webpack_require__(266);
...@@ -56,11 +56,11 @@ function init() { ...@@ -56,11 +56,11 @@ function init() {
router: router router: router
}).$mount('#app'); }).$mount('#app');
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 237: /***/ 238:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
...@@ -70,7 +70,7 @@ Object.defineProperty(exports, "__esModule", { ...@@ -70,7 +70,7 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
//通用 input、按钮、dialog、loading组件 //通用 input、按钮、dialog、loading组件
_public.uPublic.componentsInit(['u-text', 'u-button', 'u-dialog', 'u-loading']); // _public.uPublic.componentsInit(['u-text', 'u-button', 'u-dialog', 'u-loading']); //
...@@ -251,11 +251,11 @@ function editHeadTap() { ...@@ -251,11 +251,11 @@ function editHeadTap() {
function bindButtonTap(self) { function bindButtonTap(self) {
self.$router.push({ path: '/userList', query: { pageName: 'bindUser' } }); self.$router.push({ path: '/userList', query: { pageName: 'bindUser' } });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 238: /***/ 239:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
...@@ -265,7 +265,7 @@ Object.defineProperty(exports, "__esModule", { ...@@ -265,7 +265,7 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
//通用 按钮、dialog、loading组件 //通用 按钮、dialog、loading组件
_public.uPublic.componentsInit(['u-button', 'u-dialog', 'u-loading']); // _public.uPublic.componentsInit(['u-button', 'u-dialog', 'u-loading']); //
...@@ -370,11 +370,11 @@ function bindUserButtonTap(self) { ...@@ -370,11 +370,11 @@ function bindUserButtonTap(self) {
function boundUserTap(self) { function boundUserTap(self) {
self.$router.push({ path: '/userList' }); self.$router.push({ path: '/userList' });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 239: /***/ 240:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
...@@ -384,7 +384,7 @@ Object.defineProperty(exports, "__esModule", { ...@@ -384,7 +384,7 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
//通用 侧滑列表、dialog、loading组件 //通用 侧滑列表、dialog、loading组件
_public.uPublic.componentsInit(['u-swipe-list', 'u-dialog', 'u-loading']); // _public.uPublic.componentsInit(['u-swipe-list', 'u-dialog', 'u-loading']); //
...@@ -493,16 +493,16 @@ function userListButtonTap(self, value, buttonValue) { ...@@ -493,16 +493,16 @@ function userListButtonTap(self, value, buttonValue) {
_public.uComponents.openConfirm(self, '确认删除用户xxx吗?', { text: Vue.t('dialog.cancel'), callback: function callback() {} }, { text: Vue.t('dialog.confirm'), callback: function callback() {} }); _public.uComponents.openConfirm(self, '确认删除用户xxx吗?', { text: Vue.t('dialog.cancel'), callback: function callback() {} }, { text: Vue.t('dialog.confirm'), callback: function callback() {} });
} }
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 265: /***/ 265:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var Component = __webpack_require__(4)( var Component = __webpack_require__(5)(
/* script */ /* script */
__webpack_require__(237), __webpack_require__(238),
/* template */ /* template */
__webpack_require__(287), __webpack_require__(287),
/* scopeId */ /* scopeId */
...@@ -535,9 +535,9 @@ module.exports = Component.exports ...@@ -535,9 +535,9 @@ module.exports = Component.exports
/***/ 266: /***/ 266:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var Component = __webpack_require__(4)( var Component = __webpack_require__(5)(
/* script */ /* script */
__webpack_require__(238), __webpack_require__(239),
/* template */ /* template */
__webpack_require__(285), __webpack_require__(285),
/* scopeId */ /* scopeId */
...@@ -570,9 +570,9 @@ module.exports = Component.exports ...@@ -570,9 +570,9 @@ module.exports = Component.exports
/***/ 267: /***/ 267:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var Component = __webpack_require__(4)( var Component = __webpack_require__(5)(
/* script */ /* script */
__webpack_require__(239), __webpack_require__(240),
/* template */ /* template */
__webpack_require__(270), __webpack_require__(270),
/* scopeId */ /* scopeId */
...@@ -2870,14 +2870,14 @@ if (inBrowser && window.Vue) { ...@@ -2870,14 +2870,14 @@ if (inBrowser && window.Vue) {
} }
module.exports = VueRouter; module.exports = VueRouter;
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(141))) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(147)))
/***/ }), /***/ }),
/***/ 297: /***/ 297:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(173); module.exports = __webpack_require__(200);
/***/ }) /***/ })
......
...@@ -1136,11 +1136,21 @@ p { ...@@ -1136,11 +1136,21 @@ p {
vertical-align: middle; vertical-align: middle;
} }
.yellowWarning span:nth-child(1){
color: #f99b22;
}
.redWarning span:nth-child(1){
color: #fc2168;
}
.batteryState span:nth-child(2) { .batteryState span:nth-child(2) {
width: 1.067rem; width: 1.067rem;
display: inline-block; display: inline-block;
line-height: 0.64rem;
vertical-align: middle; vertical-align: middle;
text-align: right; text-align: left;
padding-left: 10px;
font-size: 0.347rem; font-size: 0.347rem;
} }
...@@ -1615,3 +1625,13 @@ p { ...@@ -1615,3 +1625,13 @@ p {
background: -webkit-linear-gradient(left, #242635, #00ffff, #242635); background: -webkit-linear-gradient(left, #242635, #00ffff, #242635);
background: linear-gradient(to right, #242635, #00ffff, #242635); background: linear-gradient(to right, #242635, #00ffff, #242635);
} }
.remoteOpendoorPage{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1051;
background-color: #242635;
}
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</div> </div>
<div class="doorbellTip"><span>{{ ringingTime }}</span>{{ textDoorbellRingingFlag ? $t('device.doorLockRinging'):'' }}</div> <div class="doorbellTip"><span>{{ ringingTime }}</span>{{ textDoorbellRingingFlag ? $t('device.doorLockRinging'):'' }}</div>
</div> </div>
<p class="batteryState"><span v-html="batteryState"></span><span>{{ batteryPercent }}%</span></p> <p class="batteryState" :class="[{yellowWarning: batteryPercent<=20},{redWarning: batteryPercent<10}]"><span v-html="batteryState" ></span><span>{{ batteryPercent }}%</span></p>
</div> </div>
<v-touch tag="div" v-show="!lockId" class="bindDoorlock" v-on:tap="onBindDoorlockTap"> <v-touch tag="div" v-show="!lockId" class="bindDoorlock" v-on:tap="onBindDoorlockTap">
<p>{{ $t('device.bindDoorlock') }}</p> <p>{{ $t('device.bindDoorlock') }}</p>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</div> </div>
<div class="deviceHandle"> <div class="deviceHandle">
<p class="title" v-if="lockId">{{ $t('device.newMsgDoorlock') }}</p> <p class="title" v-if="lockId">{{ $t('device.newMsgDoorlock') }}</p>
<u-marquee ref="umarquee" :init-param="componentsConfig.marquee.initParam" :active="activeFlag"></u-marquee> <u-marquee ref="umarquee" :active="activeFlag" :init-param="componentsConfig.marquee.initParam"></u-marquee>
<div class="switchGroup"> <div class="switchGroup">
<div class="guoupRow"> <div class="guoupRow">
<!-- 开门记录 --> <!-- 开门记录 -->
...@@ -94,6 +94,26 @@ ...@@ -94,6 +94,26 @@
</div> </div>
</div> </div>
</transition> </transition>
<transition name="fade">
<div class="remoteOpendoorPage" v-show="remoteOpendoorShowFlag">
<div class="header">
<v-touch tag="span" class="header-left icon" v-on:tap="onBackTap">&#xe611;</v-touch>
<p>{{ $t('title.remoteOpendoor') }}</p>
</div>
<div class="content">
<div class="inputBox">
<u-text :init-param="componentsConfig.passwordInput.initParam" :text="textPassword"
v-on:u-text-change="onPasswordChange(arguments[0])"></u-text>
<p class="errorTip" v-if="textErrorTip">{{ textErrorTip }}</p>
</div>
<u-button :init-param="componentsConfig.confirmButton.initParam" v-on:u-button-tap="onConfirmButtonTap"></u-button>
</div>
<u-comm-loading ref="ucommloading" :init-param="componentsConfig.ucommloading.initParam" v-on:u-comm-loading-tap="onCommLoadingButtonTap()">
<p class="loader"></p>
<p class="icon"></p>
</u-comm-loading>
</div>
</transition>
<u-dialog ref="udialog" :init-param="componentsConfig.dialog.initParam"></u-dialog> <u-dialog ref="udialog" :init-param="componentsConfig.dialog.initParam"></u-dialog>
<u-loading ref="uloading" :init-param="componentsConfig.loading.initParam"></u-loading> <u-loading ref="uloading" :init-param="componentsConfig.loading.initParam"></u-loading>
</div> </div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([22],{ webpackJsonp([22],{
/***/ 179: /***/ 206:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_editName.js * v_editName.js
...@@ -144,14 +144,14 @@ function saveTap(self) { ...@@ -144,14 +144,14 @@ function saveTap(self) {
}); });
} }
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 303: /***/ 303:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(179); module.exports = __webpack_require__(206);
/***/ }) /***/ })
......
webpackJsonp([11],{ webpackJsonp([11],{
/***/ 180: /***/ 207:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _config = __webpack_require__(124); var _config = __webpack_require__(127);
var _config2 = _interopRequireDefault(_config); var _config2 = _interopRequireDefault(_config);
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
var _components = __webpack_require__(242); var _components = __webpack_require__(243);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
...@@ -261,11 +261,11 @@ function unbindUser(self) { ...@@ -261,11 +261,11 @@ function unbindUser(self) {
} }
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 242: /***/ 243:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
...@@ -291,7 +291,7 @@ exports.projectMethods = projectMethods; ...@@ -291,7 +291,7 @@ exports.projectMethods = projectMethods;
/***/ 304: /***/ 304:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(180); module.exports = __webpack_require__(207);
/***/ }) /***/ })
......
webpackJsonp([21],{ webpackJsonp([21],{
/***/ 183: /***/ 210:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_addUser.js * v_addUser.js
...@@ -150,14 +150,14 @@ function confirmButtonTap(self) { ...@@ -150,14 +150,14 @@ function confirmButtonTap(self) {
}); });
} }
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 307: /***/ 307:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(183); module.exports = __webpack_require__(210);
/***/ }) /***/ })
......
webpackJsonp([10],{ webpackJsonp([10],{
/***/ 137: /***/ 144:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(138); module.exports = __webpack_require__(145);
/***/ }), /***/ }),
/***/ 138: /***/ 145:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
// This method of obtaining a reference to the global object needs to be // This method of obtaining a reference to the global object needs to be
...@@ -26,7 +26,7 @@ var oldRuntime = hadRuntime && g.regeneratorRuntime; ...@@ -26,7 +26,7 @@ var oldRuntime = hadRuntime && g.regeneratorRuntime;
// Force reevalutation of runtime.js. // Force reevalutation of runtime.js.
g.regeneratorRuntime = undefined; g.regeneratorRuntime = undefined;
module.exports = __webpack_require__(139); module.exports = __webpack_require__(146);
if (hadRuntime) { if (hadRuntime) {
// Restore the original runtime. // Restore the original runtime.
...@@ -43,7 +43,7 @@ if (hadRuntime) { ...@@ -43,7 +43,7 @@ if (hadRuntime) {
/***/ }), /***/ }),
/***/ 139: /***/ 146:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(Promise) {/** /* WEBPACK VAR INJECTION */(function(Promise) {/**
...@@ -777,21 +777,21 @@ if (hadRuntime) { ...@@ -777,21 +777,21 @@ if (hadRuntime) {
(function() { return this })() || Function("return this")() (function() { return this })() || Function("return this")()
); );
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(127))) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(131)))
/***/ }), /***/ }),
/***/ 184: /***/ 211:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue, Promise) { /* WEBPACK VAR INJECTION */(function(Vue, Promise) {
var _regenerator = __webpack_require__(137); var _regenerator = __webpack_require__(144);
var _regenerator2 = _interopRequireDefault(_regenerator); var _regenerator2 = _interopRequireDefault(_regenerator);
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
...@@ -1291,14 +1291,14 @@ function deleteUser(self) { ...@@ -1291,14 +1291,14 @@ function deleteUser(self) {
} }
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"], __webpack_require__(127))) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"], __webpack_require__(131)))
/***/ }), /***/ }),
/***/ 308: /***/ 308:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(184); module.exports = __webpack_require__(211);
/***/ }) /***/ })
......
webpackJsonp([20],{ webpackJsonp([20],{
/***/ 185: /***/ 212:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_editName.js * v_editName.js
...@@ -153,14 +153,14 @@ function nameChange(self, text) { ...@@ -153,14 +153,14 @@ function nameChange(self, text) {
self.setTextErrorTip(null); self.setTextErrorTip(null);
console.log('nameChange: ' + self.textName); console.log('nameChange: ' + self.textName);
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 309: /***/ 309:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(185); module.exports = __webpack_require__(212);
/***/ }) /***/ })
......
...@@ -27,9 +27,8 @@ ...@@ -27,9 +27,8 @@
</div> </div>
<div class="user-list"> <div class="user-list">
<ul class="user-list-scroll" v-show="userList.length"> <ul class="user-list-scroll" v-show="userList.length">
<v-touch tag="li" class="user-list-row" v-for="(item, index) in userList" :key="index" v-on:swipeleft="onSwipeLeftRow(index)" v-on:swiperight="onSwipeRightRow" v-bind:swipe-options="{direction: 'horizontal'}"> <v-touch tag="li" class="user-list-row" v-for="(item, index) in userList" :key="index" >
<v-touch tag="div" class="user-list-handle" <v-touch tag="div" class="user-list-handle"
v-bind:class="{'user-list-selected': (index == userListIndex) && !role }"
v-on:tap="onTapUserList(index)"> v-on:tap="onTapUserList(index)">
<img class="user-list-image" v-if="item.image && item.role == 0" v-bind:src="item.image"> <img class="user-list-image" v-if="item.image && item.role == 0" v-bind:src="item.image">
<div> <div>
......
webpackJsonp([9],{ webpackJsonp([9],{
/***/ 137: /***/ 144:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(138); module.exports = __webpack_require__(145);
/***/ }), /***/ }),
/***/ 138: /***/ 145:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
// This method of obtaining a reference to the global object needs to be // This method of obtaining a reference to the global object needs to be
...@@ -26,7 +26,7 @@ var oldRuntime = hadRuntime && g.regeneratorRuntime; ...@@ -26,7 +26,7 @@ var oldRuntime = hadRuntime && g.regeneratorRuntime;
// Force reevalutation of runtime.js. // Force reevalutation of runtime.js.
g.regeneratorRuntime = undefined; g.regeneratorRuntime = undefined;
module.exports = __webpack_require__(139); module.exports = __webpack_require__(146);
if (hadRuntime) { if (hadRuntime) {
// Restore the original runtime. // Restore the original runtime.
...@@ -43,7 +43,7 @@ if (hadRuntime) { ...@@ -43,7 +43,7 @@ if (hadRuntime) {
/***/ }), /***/ }),
/***/ 139: /***/ 146:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(Promise) {/** /* WEBPACK VAR INJECTION */(function(Promise) {/**
...@@ -777,25 +777,25 @@ if (hadRuntime) { ...@@ -777,25 +777,25 @@ if (hadRuntime) {
(function() { return this })() || Function("return this")() (function() { return this })() || Function("return this")()
); );
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(127))) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(131)))
/***/ }), /***/ }),
/***/ 186: /***/ 213:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue, Promise) { /* WEBPACK VAR INJECTION */(function(Vue, Promise) {
var _regenerator = __webpack_require__(137); var _regenerator = __webpack_require__(144);
var _regenerator2 = _interopRequireDefault(_regenerator); var _regenerator2 = _interopRequireDefault(_regenerator);
var _config = __webpack_require__(124); var _config = __webpack_require__(127);
var _config2 = _interopRequireDefault(_config); var _config2 = _interopRequireDefault(_config);
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
...@@ -877,13 +877,12 @@ function init() { ...@@ -877,13 +877,12 @@ function init() {
}, },
// //
onSwipeLeftRow: function onSwipeLeftRow(index) { // onSwipeLeftRow(index){
swipeLeftRow(this, index); // swipeLeftRow(this, index);
}, // },
onSwipeRightRow: function onSwipeRightRow() { // onSwipeRightRow(){
swipeRightRow(this); // swipeRightRow(this);
}, // },
// //
onTapLoad: function onTapLoad() { onTapLoad: function onTapLoad() {
// tapLoad(); // tapLoad();
...@@ -1040,14 +1039,14 @@ function addUserTap(self) { ...@@ -1040,14 +1039,14 @@ function addUserTap(self) {
}); });
} }
// //
// 向左滑动用户列表,修改用户列表下标 //// 向左滑动用户列表,修改用户列表下标
function swipeLeftRow(self, index) { //function swipeLeftRow(self, index) {
self.userListIndex = index; // self.userListIndex = index;
} //}
// 向右滑动用户列表,修改用户列表下标 //// 向右滑动用户列表,修改用户列表下标
function swipeRightRow(self) { //function swipeRightRow(self) {
self.userListIndex = null; // self.userListIndex = null;
} //}
// //
// 点击组件列表 通知事件和当前点击列表下标 // 点击组件列表 通知事件和当前点击列表下标
function _onTapUserList(self, listIndex) { function _onTapUserList(self, listIndex) {
...@@ -1107,14 +1106,14 @@ function deleteUser(self, index) { ...@@ -1107,14 +1106,14 @@ function deleteUser(self, index) {
} }
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"], __webpack_require__(127))) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"], __webpack_require__(131)))
/***/ }), /***/ }),
/***/ 310: /***/ 310:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(186); module.exports = __webpack_require__(213);
/***/ }) /***/ })
......
webpackJsonp([19],{ webpackJsonp([19],{
/***/ 188: /***/ 215:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _config = __webpack_require__(124); var _config = __webpack_require__(127);
var _config2 = _interopRequireDefault(_config); var _config2 = _interopRequireDefault(_config);
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
...@@ -159,14 +159,14 @@ function getBindedLockInfo(self) { ...@@ -159,14 +159,14 @@ function getBindedLockInfo(self) {
} }
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 312: /***/ 312:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(188); module.exports = __webpack_require__(215);
/***/ }) /***/ })
......
webpackJsonp([18],{ webpackJsonp([18],{
/***/ 189: /***/ 216:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_forgetPassword.js * v_forgetPassword.js
...@@ -152,14 +152,14 @@ function backTap() { ...@@ -152,14 +152,14 @@ function backTap() {
function confirmButtonTap() { function confirmButtonTap() {
_public.iot.navigator.back(); _public.iot.navigator.back();
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 313: /***/ 313:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(189); module.exports = __webpack_require__(216);
/***/ }) /***/ })
......
webpackJsonp([17],{ webpackJsonp([17],{
/***/ 190: /***/ 217:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_index.js * v_index.js
...@@ -150,14 +150,14 @@ function cloudsLogin(self, id) { ...@@ -150,14 +150,14 @@ function cloudsLogin(self, id) {
} }
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 314: /***/ 314:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(190); module.exports = __webpack_require__(217);
/***/ }) /***/ })
......
webpackJsonp([16],{ webpackJsonp([16],{
/***/ 191: /***/ 218:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_login.js * v_login.js
...@@ -174,14 +174,14 @@ function forgetPasswordTap() { ...@@ -174,14 +174,14 @@ function forgetPasswordTap() {
id: 'forgetPassword' id: 'forgetPassword'
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 315: /***/ 315:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(191); module.exports = __webpack_require__(218);
/***/ }) /***/ })
......
webpackJsonp([15],{ webpackJsonp([15],{
/***/ 192: /***/ 219:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_register.js * v_register.js
...@@ -155,14 +155,14 @@ function registerButtonTap() { ...@@ -155,14 +155,14 @@ function registerButtonTap() {
id: 'device' id: 'device'
}); });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 316: /***/ 316:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(192); module.exports = __webpack_require__(219);
/***/ }) /***/ })
......
webpackJsonp([14],{ webpackJsonp([14],{
/***/ 193: /***/ 220:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_editNickname.js * v_editNickname.js
...@@ -115,14 +115,14 @@ function nicknameChange(self, text) { ...@@ -115,14 +115,14 @@ function nicknameChange(self, text) {
self.textNickName = text; self.textNickName = text;
self.textErrorTip = ''; self.textErrorTip = '';
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 317: /***/ 317:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(193); module.exports = __webpack_require__(220);
/***/ }) /***/ })
......
webpackJsonp([13],{ webpackJsonp([13],{
/***/ 194: /***/ 221:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_editPassword.js * v_editPassword.js
...@@ -90,14 +90,14 @@ function saveTap() {} ...@@ -90,14 +90,14 @@ function saveTap() {}
function backTap() { function backTap() {
_public.iot.navigator.back(); _public.iot.navigator.back();
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 318: /***/ 318:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(194); module.exports = __webpack_require__(221);
/***/ }) /***/ })
......
webpackJsonp([12],{ webpackJsonp([12],{
/***/ 195: /***/ 222:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(Vue) { /* WEBPACK VAR INJECTION */(function(Vue) {
var _public = __webpack_require__(3); var _public = __webpack_require__(4);
_public.iot.ready(init); /** _public.iot.ready(init); /**
* v_index.js * v_index.js
...@@ -147,14 +147,14 @@ function logoutButtonTap(self) { ...@@ -147,14 +147,14 @@ function logoutButtonTap(self) {
}); });
} }); } });
} }
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(1)["default"])) /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)["default"]))
/***/ }), /***/ }),
/***/ 319: /***/ 319:
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(195); module.exports = __webpack_require__(222);
/***/ }) /***/ })
......
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