Commit 972bcb3f by wangying

1.0.6 / 2017-09-25

==================
 * 1.修改智能指纹锁页面样式
parent 658ddaa3
1.0.5 / 2017-09-22 1.0.6 / 2017-09-25
==================
* 1.修改智能指纹锁页面样式
1.0.5 / 2017-09-22
================== ==================
* 1.修改引导页面样式 * 1.修改引导页面样式
......
...@@ -80,8 +80,10 @@ ...@@ -80,8 +80,10 @@
"device":{ "device":{
"opendoorRecord": "开门记录", "opendoorRecord": "开门记录",
"securityAlarm": "安全报警", "securityAlarm": "安全报警",
"doorlockUser": "门锁用户",
"remoteOpendoor": "远程开门", "remoteOpendoor": "远程开门",
"hijackAlarm": "劫持报警", "hijackAlarm": "劫持报警",
"doorlockManage": "门锁管理",
"followTitle": "关注服务号", "followTitle": "关注服务号",
"followCont1": "关注 “i智信” 微信服务号可随时随地掌握设备动态<br>再也不担心错过重要通知,赶紧按下方提示试试吧", "followCont1": "关注 “i智信” 微信服务号可随时随地掌握设备动态<br>再也不担心错过重要通知,赶紧按下方提示试试吧",
"followCont2": "1.保存二维码-2.用微信从<span>相册选取扫码</span>-3.关注", "followCont2": "1.保存二维码-2.用微信从<span>相册选取扫码</span>-3.关注",
......
...@@ -19,10 +19,14 @@ function init() { ...@@ -19,10 +19,14 @@ function init() {
valueOpendoorRecord: 1, valueOpendoorRecord: 1,
//安全报警 //安全报警
valueSecurityAlarm: 1, valueSecurityAlarm: 1,
//门锁用户
valueDoorlockUser: 1,
//远程开门 //远程开门
valueRemoteOpendoor: 1, valueRemoteOpendoor: 1,
//劫持报警 //劫持报警
valueHijackAlarm: 1, valueHijackAlarm: 1,
//门锁管理
valueDoorlockManage: 1,
activeFlag: true, activeFlag: true,
followShowFlag: false, followShowFlag: false,
//配置组件 //配置组件
...@@ -73,6 +77,10 @@ function init() { ...@@ -73,6 +77,10 @@ function init() {
onSecurityAlarmTap(){ onSecurityAlarmTap(){
securityAlarmTap(); securityAlarmTap();
}, },
//tap 门锁用户
onDoorlockUserTap(){
doorlockUserTap();
},
//tap 远程开门 //tap 远程开门
onRemoteOpendoorTap(){ onRemoteOpendoorTap(){
remoteOpendoorTap(); remoteOpendoorTap();
...@@ -130,6 +138,13 @@ function initComponentsConfig() { ...@@ -130,6 +138,13 @@ function initComponentsConfig() {
autoChange: false autoChange: false
} }
}, },
doorlockUserSwitch: {
initParam: {
class: 'custom-switch',
text: Vue.t('device.doorlockUser'),
autoChange: false
}
},
//远程开门switch 参数 //远程开门switch 参数
remoteOpendoorSwitch: { remoteOpendoorSwitch: {
initParam: { initParam: {
...@@ -146,6 +161,13 @@ function initComponentsConfig() { ...@@ -146,6 +161,13 @@ function initComponentsConfig() {
autoChange: false autoChange: false
} }
}, },
doorlockManageSwitch: {
initParam: {
class: 'custom-switch',
text: Vue.t('device.doorlockManage'),
autoChange: false
}
},
//确定 button 参数 //确定 button 参数
saveQRcodeButton: { saveQRcodeButton: {
initParam: { initParam: {
...@@ -190,6 +212,11 @@ function securityAlarmTap(){ ...@@ -190,6 +212,11 @@ function securityAlarmTap(){
}); });
} }
//tap 门锁用户
function doorlockUserTap(){
}
//tap 远程开门 //tap 远程开门
function remoteOpendoorTap(){ function remoteOpendoorTap(){
iot.navigator.openWindow({ iot.navigator.openWindow({
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -145,6 +145,6 @@ ...@@ -145,6 +145,6 @@
.buttonPosition(); .buttonPosition();
} }
.u-commstatus-loading(); .u-comm-loading();
.custom-commstatus-loading(); .custom-comm-loading();
\ No newline at end of file \ No newline at end of file
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
.button(); .button();
} }
.u-commstatus-loading(); .u-comm-loading();
.custom-commstatus-loading(); .custom-comm-loading();
//智能指纹锁 //智能指纹锁
.u-carousel(); .u-carousel();
...@@ -51,20 +51,105 @@ ...@@ -51,20 +51,105 @@
} }
} }
.topCpnt{
height: 256px;
position: relative;
padding-top: 34px;
&:before{
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 1px;/*no*/
.white_gradient_border();
}
}
.doorbellBg{
width: 200px;
height: 200px;
border-radius: 50%;
margin: 0 auto;
.linear-gradient(#00ffff,#fff,#fff,#fff,#00ffff);
background: linear-gradient(#00ffff,#fff,#fff,#fff,#00ffff);
padding: 3px;
position: relative;
.doorbellCircle{
width: 100%;
height: 100%;
background-color: #22313F;
border-radius: 50%;
.doorbell{
.margin_center(106px,106px);
border: 2px solid #00ffff;/*no*/
border-radius: 50%;
.bgImg("gray_door_icon.png");
background-position: center;
background-repeat: no-repeat;
background-color: #242635;
.background-size(80px 80px);
p{
position: absolute;
top: 30px;
left: 0;
right: 0;
margin: 0 auto;
.bgImgSize(40px,40px,"green_doorbell_icon.png",center,cover);
.transform-origin(top center);
}
}
}
.doorbellTip{
position: absolute;
bottom: 17px;
left: 0;
width: 100%;
text-align: center;
font-size: 12px;
span{
margin-right: 10px;
}
}
}
.batteryState{
text-align: right;
padding-right: 22px;
font-size: 13px;
span{
.iconfont(24px);
color: #00ffff;
vertical-align: middle;
margin-right: 5px;
}
}
.title{
background-repeat: no-repeat;
background-position: 16px center;
.bgImg("white_message_icon.png");
font-size: 13px;
.background-size(20px 20px);
padding-left: 42px;
line-height: 1;
}
.u-marquee(); .u-marquee();
.custom-marquee{ .custom-marquee{
height: 20px; height: 36px;
text-align: center; text-align: center;
position: relative; position: relative;
.u-marquee-text{ .u-marquee-text{
line-height: 20px; line-height: 36px;
color: #6B6C73;
} }
&:before{ &:before{
content: ''; content: '';
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 125px;
right: 0; right: 0;
height: 1px;/*no*/ height: 1px;/*no*/
.white_gradient_border(); .white_gradient_border();
...@@ -84,7 +169,7 @@ ...@@ -84,7 +169,7 @@
.deviceHandle{ .deviceHandle{
position: absolute; position: absolute;
top: 294px; top: 300px;
bottom: 0; bottom: 0;
left: 0; left: 0;
width: 100%; width: 100%;
...@@ -92,39 +177,40 @@ ...@@ -92,39 +177,40 @@
.switchGroup{ .switchGroup{
position: absolute; position: absolute;
top: 20px; top: 50px;
bottom: 0; bottom: 0;
left: 0; left: 0;
width: 100%; width: 100%;
.col-xs-6{ .guoupRow{
height: 50%; height: 33.33333333%;
padding: 0; position: relative;
.display-box(); .col-xs-6{
.box-horizontal-alignment(); height: 100%;
.box-vertical-alignment(); padding: 0;
.display-box();
.box-vertical-alignment();
}
&:after{
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;/*no*/
.white_gradient_border();
}
} }
&:before{ &:before{
content: ''; content: '';
position: absolute; position: absolute;
top: 0; top: 30px;
bottom: 0; bottom: 20px;
left: 0;
width: 100%;
margin: auto;
height: 1px;/*no*/
.blue_gradient_border();
}
&:after{
content: '';
position: absolute;
top: 0;
left: 0; left: 0;
right: 0; right: 0;
height: 100%;
margin: auto; margin: auto;
width: 1px;/*no*/ width: 1px;/*no*/
.linear-gradient(@BLUE-GRADIENTBORDER-STARTCOLOR,@BLUE-GRADIENTBORDER-CENTERCOLOR,@BLUE-GRADIENTBORDER-ENDCOLOR); .linear-gradient(@WHITE-GRADIENTBORDER-STARTCOLOR,@WHITE-GRADIENTBORDER-CENTERCOLOR,@WHITE-GRADIENTBORDER-ENDCOLOR);
background: linear-gradient(@BLUE-GRADIENTBORDER-STARTCOLOR,@BLUE-GRADIENTBORDER-CENTERCOLOR,@BLUE-GRADIENTBORDER-ENDCOLOR); background: linear-gradient(@WHITE-GRADIENTBORDER-STARTCOLOR,@WHITE-GRADIENTBORDER-CENTERCOLOR,@WHITE-GRADIENTBORDER-ENDCOLOR);
} }
} }
...@@ -140,6 +226,11 @@ ...@@ -140,6 +226,11 @@
.bgImg("securityAlarm.png"); .bgImg("securityAlarm.png");
} }
//门锁用户
.doorlockUser .custom-switch .u-switch-handle:before{
.bgImg("doorlockUser.png");
}
//远程开门 //远程开门
.remoteOpendoor .custom-switch{ .remoteOpendoor .custom-switch{
.u-switch-handle:before{ .u-switch-handle:before{
...@@ -174,9 +265,15 @@ ...@@ -174,9 +265,15 @@
.bgImg("hijackAlarm.png"); .bgImg("hijackAlarm.png");
} }
//门锁管理
.doorlockManage .custom-switch .u-switch-handle:before{
.bgImg("doorlockManage.png");
}
.custom-switch{ .custom-switch{
width: 100%; width: 100%;
height: auto; height: auto;
text-align: center;
.u-switch-handle{ .u-switch-handle{
position: relative; position: relative;
top: 0; top: 0;
...@@ -186,7 +283,9 @@ ...@@ -186,7 +283,9 @@
height: 55px; height: 55px;
border-width: 1px;/*no*/ border-width: 1px;/*no*/
border-radius: 50%; border-radius: 50%;
margin: 0 auto; margin-right: 6px;
display: inline-block;
vertical-align: middle;
&:before{ &:before{
top: 0; top: 0;
bottom: 0; bottom: 0;
...@@ -203,8 +302,9 @@ ...@@ -203,8 +302,9 @@
} }
.u-switch-text{ .u-switch-text{
font-size: @CUSTOM-SWITCH-COMPONENT-TEXT-FONTSIZE; font-size: @CUSTOM-SWITCH-COMPONENT-TEXT-FONTSIZE;
margin-top: 15px;
text-align: center; text-align: center;
display: inline-block;
vertical-align: middle;
} }
&.u-switch-on, &.u-switch-on,
&.u-switch-off{ &.u-switch-off{
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
.marquee(@time,@fromValue,@toValue){ .marquee(@time,@fromValue,@toValue){
.active .u-marquee-text{ .active .u-marquee-text{
.animation(marquee @time linear infinite); .animation(marquee @time linear infinite);
color: #91929a;
} }
.keyframes(marquee,{ .keyframes(marquee,{
......
...@@ -297,10 +297,10 @@ p{ ...@@ -297,10 +297,10 @@ p{
}); });
} }
.custom-commstatus-loading(){ .custom-comm-loading(){
.custom-commstatus-loading{ .custom-comm-loading{
background-color: @CUSTOM-BACKDROP-BG; background-color: @CUSTOM-BACKDROP-BG;
.u-commstatus-loading-button{ .u-comm-loading-button{
bottom: 134px; bottom: 134px;
width: 100px; width: 100px;
color: #00ffff; color: #00ffff;
......
...@@ -748,10 +748,10 @@ ...@@ -748,10 +748,10 @@
} }
} }
.u-commstatus-loading(){ .u-comm-loading(){
.u-commstatus-loading{ .u-comm-loading{
.mask(1050); .mask(1050);
.u-commstatus-loading-content{ .u-comm-loading-content{
.transformV_center(left,0); .transformV_center(left,0);
right: 0; right: 0;
.loader{ .loader{
...@@ -778,13 +778,13 @@ ...@@ -778,13 +778,13 @@
.iconfont(4.125em); .iconfont(4.125em);
} }
} }
.u-commstatus-loading-text{ .u-comm-loading-text{
font-size: 16px; font-size: 16px;
margin-top: 20px; margin-top: 20px;
text-align: center; text-align: center;
} }
} }
.u-commstatus-loading-button{ .u-comm-loading-button{
position: absolute; position: absolute;
bottom: 65px; bottom: 65px;
left: 0; left: 0;
...@@ -808,26 +808,26 @@ ...@@ -808,26 +808,26 @@
} }
} }
//loading //loading
&.u-commstatus-loading-status-0{ &.u-comm-loading-status-0{
.u-commstatus-loading-content{ .u-comm-loading-content{
color: #00ffff; color: #00ffff;
.loader{ .loader{
display: block; display: block;
&:before{ &:before{
.animation(commstatusLoading 1.3s infinite linear); .animation(commLoading 1.3s infinite linear);
} }
} }
.icon{ .icon{
display: none; display: none;
} }
} }
.u-commstatus-loading-button{ .u-comm-loading-button{
display: none; display: none;
} }
} }
//绑定成功 //绑定成功
&.u-commstatus-loading-status-1{ &.u-comm-loading-status-1{
.u-commstatus-loading-content{ .u-comm-loading-content{
color: #00ffff; color: #00ffff;
.loader{ .loader{
display: none; display: none;
...@@ -839,13 +839,13 @@ ...@@ -839,13 +839,13 @@
} }
} }
} }
.u-commstatus-loading-button{ .u-comm-loading-button{
display: block; display: block;
} }
} }
//绑定失败 //绑定失败
&.u-commstatus-loading-status-2{ &.u-comm-loading-status-2{
.u-commstatus-loading-content{ .u-comm-loading-content{
color: #fff; color: #fff;
.loader{ .loader{
display: none; display: none;
...@@ -857,13 +857,13 @@ ...@@ -857,13 +857,13 @@
} }
} }
} }
.u-commstatus-loading-button{ .u-comm-loading-button{
display: block; display: block;
} }
} }
} }
.keyframes(commstatusLoading,{ .keyframes(commLoading,{
0%, 0%,
100% { 100% {
.box-shadow(0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0); .box-shadow(0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0);
......
{"loading":"loading...","scroll":{"clickToLoadMore":"点击加载更多","loading":"loading..."},"btn":{"confirm":"确定","guideLogin":"账号/密码登录","login":"登录","getCode":"获取验证码","register":"注册","logout":"退出系统","save":"保存","qrcode":"生成二维码","wifiAdd":"开始配置Wi-Fi","connect":"连接","bindUser":"绑定姓名","bind":"我要绑定","reBound":"请重新绑定","saveQRcode":"保存二维码到相册"},"dialog":{"confirm":"确认","cancel":"取消"},"title":{"login":"登录","register":"注册","forgetPassword":"忘记密码","device":"智能指纹锁","opendoorRecord":"开门记录","alarmInfo":"报警信息","remoteOpendoor":"远程开门","hijackRecord":"劫持记录","doorlockManage":"门锁管理","editName":"修改名称","qrcode":"生成绑定二维码","addDevice":"添加设备","scanCodeAdd":"扫描绑定设备","wifiAddHelp":"配置Wi-Fi","wifiAdd":"连接Wi-Fi","bindUserHelp":"ID-姓名绑定","bindUser":"绑定用户","userList":"用户列表"},"guide":{"footer":"指纹改变生活"},"login":{"telInputTip":"请输入手机号","passwordInputTip":"请输入密码","register":"快速注册","forgetPassword":"忘记密码","error":{"telNull":"请输入手机号","passWordNull":"请输入密码"}},"register":{"telInputTip":"请输入手机号","codeInputTip":"请输入验证码","passwordInputTip":"请输入6位登录密码","error":{"telNull":"请输入手机号","codeNull":"请输入验证码","passWordNull":"请输入密码"}},"forgetPassword":{"telInputTip":"请输入手机号","codeInputTip":"请输入验证码","passwordInputTip":"请输入6位登录密码","error":{"telNull":"请输入手机号","codeNull":"请输入验证码","passWordNull":"请输入密码"}},"device":{"opendoorRecord":"开门记录","securityAlarm":"安全报警","remoteOpendoor":"远程开门","hijackAlarm":"劫持报警","followTitle":"关注服务号","followCont1":"关注 “i智信” 微信服务号可随时随地掌握设备动态<br>再也不担心错过重要通知,赶紧按下方提示试试吧","followCont2":"1.保存二维码-2.用微信从<span>相册选取扫码</span>-3.关注","laterFollow":"稍后关注"},"opendoorRecord":{"noRecordTip":"暂无记录"},"alarmInfo":{"noInfoTip":"暂无信息"},"remoteOpendoor":{"passwordInputTip":"请输入远程开门密码","error":{}},"hijackRecord":{"noRecordTip":"暂无记录"},"doorlockManage":{"noDeviceTip":"暂无设备","deleteDialogTip":"<span>{0}</span>将被删除","logoutDialogTip":"确定要退出系统吗?"},"editName":{"nameInputTip":"请输入门锁名称","error":{}},"qrcode":{"helpTitle":"注意事项:","helpCont1":"1.仅超级管理员(通过Wi-Fi配网绑定的用户为超级管理员)可以生成绑定二维码","helpCont2":"2.二维码有效时间为10分钟且只能使用一次","helpCont3":"3.用户只需要扫描该二维码即可绑定指纹锁","helpCont4":"4.绑定失败则需要重新生成二维码进行绑定"},"addDevice":{"scanCodeAdd":"扫描绑定设备","wifiAdd":"配置Wi-Fi"},"wifiAddHelp":{"helpTitle":"配置Wi-Fi说明:","helpCont1":"1.按下指纹锁背面的按钮,进入主菜单,选择Wi-Fi设置→配置Wi-Fi,门锁进入等待配网状态","helpCont2":"2.点击页面 “开始配置Wi-Fi” 按钮,进入Wi-Fi配网画面","helpCont3":"3.输入Wi-Fi密码,点击 “l连接” 按钮,等待锁端相应,直至配网成功","helpCont4":"(提示:如果指纹锁已经绑定过用户,重新绑定成功后会清除之前所有绑定信息)"},"wifiAdd":{"passwordInputTip":"请输入Wi-Fi密码","remindTitle":"配置Wi-Fi提醒:","remindCont1":"1. 请确保Wi-Fi信号良好","remindCont2":"2. 本产品暂不支持5GHz无线网络","error":{}},"bindUserHelp":{"helpTitle":"配对姓名说明:","helpCont1":"1.在指纹锁上录入指纹、密码、卡并获得相应ID","helpCont2":"2.通过姓名绑定将该ID绑定对应用户姓名","helpCont3":"3.绑定成功后,开门记录中将会显示已绑定的用户姓名","helpCont4":"4.用户姓名信息只保存在APP端,不影响锁端设置","boundUser":"查看已绑定ID姓名"},"bindUser":{"editHeadTip":"点击编辑用户头像","nameTitle":"姓名","fingerprintIDTitle":"指纹ID","passwordIDTitle":"密码ID","ICCardIDTitle":"IC卡ID","requiredInputTip":"(必填)","optionalInputTip":"(选填)","error":{}},"userList":{"name":"姓名:{0}","id":"指纹ID:<span>{0}</span>密码ID:<span>{1}</span>IC卡ID:<span>{2}</span>","noUserTip":"暂无用户"},"commstatusLoading":{"connectSuccess":"Wi-Fi连接成功,正在绑定...","bindSuccess":"绑定成功","bindFailed":"绑定失败"}} {"loading":"loading...","scroll":{"clickToLoadMore":"点击加载更多","loading":"loading..."},"btn":{"confirm":"确定","guideLogin":"账号/密码登录","login":"登录","getCode":"获取验证码","register":"注册","logout":"退出系统","save":"保存","qrcode":"生成二维码","wifiAdd":"开始配置Wi-Fi","connect":"连接","bindUser":"绑定姓名","bind":"我要绑定","reBound":"请重新绑定","saveQRcode":"保存二维码到相册"},"dialog":{"confirm":"确认","cancel":"取消"},"title":{"login":"登录","register":"注册","forgetPassword":"忘记密码","device":"智能指纹锁","opendoorRecord":"开门记录","alarmInfo":"报警信息","remoteOpendoor":"远程开门","hijackRecord":"劫持记录","doorlockManage":"门锁管理","editName":"修改名称","qrcode":"生成绑定二维码","addDevice":"添加设备","scanCodeAdd":"扫描绑定设备","wifiAddHelp":"配置Wi-Fi","wifiAdd":"连接Wi-Fi","bindUserHelp":"ID-姓名绑定","bindUser":"绑定用户","userList":"用户列表"},"guide":{"footer":"指纹改变生活"},"login":{"telInputTip":"请输入手机号","passwordInputTip":"请输入密码","register":"快速注册","forgetPassword":"忘记密码","error":{"telNull":"请输入手机号","passWordNull":"请输入密码"}},"register":{"telInputTip":"请输入手机号","codeInputTip":"请输入验证码","passwordInputTip":"请输入6位登录密码","error":{"telNull":"请输入手机号","codeNull":"请输入验证码","passWordNull":"请输入密码"}},"forgetPassword":{"telInputTip":"请输入手机号","codeInputTip":"请输入验证码","passwordInputTip":"请输入6位登录密码","error":{"telNull":"请输入手机号","codeNull":"请输入验证码","passWordNull":"请输入密码"}},"device":{"opendoorRecord":"开门记录","securityAlarm":"安全报警","doorlockUser":"门锁用户","remoteOpendoor":"远程开门","hijackAlarm":"劫持报警","doorlockManage":"门锁管理","followTitle":"关注服务号","followCont1":"关注 “i智信” 微信服务号可随时随地掌握设备动态<br>再也不担心错过重要通知,赶紧按下方提示试试吧","followCont2":"1.保存二维码-2.用微信从<span>相册选取扫码</span>-3.关注","laterFollow":"稍后关注"},"opendoorRecord":{"noRecordTip":"暂无记录"},"alarmInfo":{"noInfoTip":"暂无信息"},"remoteOpendoor":{"passwordInputTip":"请输入远程开门密码","error":{}},"hijackRecord":{"noRecordTip":"暂无记录"},"doorlockManage":{"noDeviceTip":"暂无设备","deleteDialogTip":"<span>{0}</span>将被删除","logoutDialogTip":"确定要退出系统吗?"},"editName":{"nameInputTip":"请输入门锁名称","error":{}},"qrcode":{"helpTitle":"注意事项:","helpCont1":"1.仅超级管理员(通过Wi-Fi配网绑定的用户为超级管理员)可以生成绑定二维码","helpCont2":"2.二维码有效时间为10分钟且只能使用一次","helpCont3":"3.用户只需要扫描该二维码即可绑定指纹锁","helpCont4":"4.绑定失败则需要重新生成二维码进行绑定"},"addDevice":{"scanCodeAdd":"扫描绑定设备","wifiAdd":"配置Wi-Fi"},"wifiAddHelp":{"helpTitle":"配置Wi-Fi说明:","helpCont1":"1.按下指纹锁背面的按钮,进入主菜单,选择Wi-Fi设置→配置Wi-Fi,门锁进入等待配网状态","helpCont2":"2.点击页面 “开始配置Wi-Fi” 按钮,进入Wi-Fi配网画面","helpCont3":"3.输入Wi-Fi密码,点击 “l连接” 按钮,等待锁端相应,直至配网成功","helpCont4":"(提示:如果指纹锁已经绑定过用户,重新绑定成功后会清除之前所有绑定信息)"},"wifiAdd":{"passwordInputTip":"请输入Wi-Fi密码","remindTitle":"配置Wi-Fi提醒:","remindCont1":"1. 请确保Wi-Fi信号良好","remindCont2":"2. 本产品暂不支持5GHz无线网络","error":{}},"bindUserHelp":{"helpTitle":"配对姓名说明:","helpCont1":"1.在指纹锁上录入指纹、密码、卡并获得相应ID","helpCont2":"2.通过姓名绑定将该ID绑定对应用户姓名","helpCont3":"3.绑定成功后,开门记录中将会显示已绑定的用户姓名","helpCont4":"4.用户姓名信息只保存在APP端,不影响锁端设置","boundUser":"查看已绑定ID姓名"},"bindUser":{"editHeadTip":"点击编辑用户头像","nameTitle":"姓名","fingerprintIDTitle":"指纹ID","passwordIDTitle":"密码ID","ICCardIDTitle":"IC卡ID","requiredInputTip":"(必填)","optionalInputTip":"(选填)","error":{}},"userList":{"name":"姓名:{0}","id":"指纹ID:<span>{0}</span>密码ID:<span>{1}</span>IC卡ID:<span>{2}</span>","noUserTip":"暂无用户"},"commstatusLoading":{"connectSuccess":"Wi-Fi连接成功,正在绑定...","bindSuccess":"绑定成功","bindFailed":"绑定失败"}}
\ No newline at end of file \ No newline at end of file
...@@ -762,7 +762,7 @@ p { ...@@ -762,7 +762,7 @@ p {
right: 0; right: 0;
} }
.u-commstatus-loading { .u-comm-loading {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
...@@ -772,7 +772,7 @@ p { ...@@ -772,7 +772,7 @@ p {
background-color: rgba(0, 0, 0, 0.8); background-color: rgba(0, 0, 0, 0.8);
} }
.u-commstatus-loading .u-commstatus-loading-content { .u-comm-loading .u-comm-loading-content {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 0; left: 0;
...@@ -781,7 +781,7 @@ p { ...@@ -781,7 +781,7 @@ p {
right: 0; right: 0;
} }
.u-commstatus-loading .u-commstatus-loading-content .loader { .u-comm-loading .u-comm-loading-content .loader {
font-size: 0.427rem; font-size: 0.427rem;
margin: 0 auto; margin: 0 auto;
width: 3.750em; width: 3.750em;
...@@ -789,7 +789,7 @@ p { ...@@ -789,7 +789,7 @@ p {
position: relative; position: relative;
} }
.u-commstatus-loading .u-commstatus-loading-content .loader:before { .u-comm-loading .u-comm-loading-content .loader:before {
content: ''; content: '';
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -804,7 +804,7 @@ p { ...@@ -804,7 +804,7 @@ p {
transform: translateZ(0) scale(0.55); transform: translateZ(0) scale(0.55);
} }
.u-commstatus-loading .u-commstatus-loading-content .icon { .u-comm-loading .u-comm-loading-content .icon {
font-size: 0.427rem; font-size: 0.427rem;
margin: 0 auto; margin: 0 auto;
width: 3.750em; width: 3.750em;
...@@ -812,7 +812,7 @@ p { ...@@ -812,7 +812,7 @@ p {
position: relative; position: relative;
} }
.u-commstatus-loading .u-commstatus-loading-content .icon:before { .u-comm-loading .u-comm-loading-content .icon:before {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
...@@ -824,13 +824,13 @@ p { ...@@ -824,13 +824,13 @@ p {
line-height: 1; line-height: 1;
} }
.u-commstatus-loading .u-commstatus-loading-content .u-commstatus-loading-text { .u-comm-loading .u-comm-loading-content .u-comm-loading-text {
font-size: 0.427rem; font-size: 0.427rem;
margin-top: 0.533rem; margin-top: 0.533rem;
text-align: center; text-align: center;
} }
.u-commstatus-loading .u-commstatus-loading-button { .u-comm-loading .u-comm-loading-button {
position: absolute; position: absolute;
bottom: 1.733rem; bottom: 1.733rem;
left: 0; left: 0;
...@@ -849,76 +849,76 @@ p { ...@@ -849,76 +849,76 @@ p {
background-clip: padding-box; background-clip: padding-box;
} }
.u-commstatus-loading .u-commstatus-loading-button:active { .u-comm-loading .u-comm-loading-button:active {
background-color: #0065ff; background-color: #0065ff;
} }
.u-commstatus-loading .u-commstatus-loading-button.disabled { .u-comm-loading .u-comm-loading-button.disabled {
background-color: #bbb; background-color: #bbb;
} }
.u-commstatus-loading.u-commstatus-loading-status-0 .u-commstatus-loading-content { .u-comm-loading.u-comm-loading-status-0 .u-comm-loading-content {
color: #00ffff; color: #00ffff;
} }
.u-commstatus-loading.u-commstatus-loading-status-0 .u-commstatus-loading-content .loader { .u-comm-loading.u-comm-loading-status-0 .u-comm-loading-content .loader {
display: block; display: block;
} }
.u-commstatus-loading.u-commstatus-loading-status-0 .u-commstatus-loading-content .loader:before { .u-comm-loading.u-comm-loading-status-0 .u-comm-loading-content .loader:before {
-webkit-animation: commstatusLoading 1.3s infinite linear; -webkit-animation: commLoading 1.3s infinite linear;
animation: commstatusLoading 1.3s infinite linear; animation: commLoading 1.3s infinite linear;
} }
.u-commstatus-loading.u-commstatus-loading-status-0 .u-commstatus-loading-content .icon { .u-comm-loading.u-comm-loading-status-0 .u-comm-loading-content .icon {
display: none; display: none;
} }
.u-commstatus-loading.u-commstatus-loading-status-0 .u-commstatus-loading-button { .u-comm-loading.u-comm-loading-status-0 .u-comm-loading-button {
display: none; display: none;
} }
.u-commstatus-loading.u-commstatus-loading-status-1 .u-commstatus-loading-content { .u-comm-loading.u-comm-loading-status-1 .u-comm-loading-content {
color: #00ffff; color: #00ffff;
} }
.u-commstatus-loading.u-commstatus-loading-status-1 .u-commstatus-loading-content .loader { .u-comm-loading.u-comm-loading-status-1 .u-comm-loading-content .loader {
display: none; display: none;
} }
.u-commstatus-loading.u-commstatus-loading-status-1 .u-commstatus-loading-content .icon { .u-comm-loading.u-comm-loading-status-1 .u-comm-loading-content .icon {
display: block; display: block;
} }
.u-commstatus-loading.u-commstatus-loading-status-1 .u-commstatus-loading-content .icon:before { .u-comm-loading.u-comm-loading-status-1 .u-comm-loading-content .icon:before {
content: '\e800'; content: '\e800';
} }
.u-commstatus-loading.u-commstatus-loading-status-1 .u-commstatus-loading-button { .u-comm-loading.u-comm-loading-status-1 .u-comm-loading-button {
display: block; display: block;
} }
.u-commstatus-loading.u-commstatus-loading-status-2 .u-commstatus-loading-content { .u-comm-loading.u-comm-loading-status-2 .u-comm-loading-content {
color: #fff; color: #fff;
} }
.u-commstatus-loading.u-commstatus-loading-status-2 .u-commstatus-loading-content .loader { .u-comm-loading.u-comm-loading-status-2 .u-comm-loading-content .loader {
display: none; display: none;
} }
.u-commstatus-loading.u-commstatus-loading-status-2 .u-commstatus-loading-content .icon { .u-comm-loading.u-comm-loading-status-2 .u-comm-loading-content .icon {
display: block; display: block;
} }
.u-commstatus-loading.u-commstatus-loading-status-2 .u-commstatus-loading-content .icon:before { .u-comm-loading.u-comm-loading-status-2 .u-comm-loading-content .icon:before {
content: '\e646'; content: '\e646';
} }
.u-commstatus-loading.u-commstatus-loading-status-2 .u-commstatus-loading-button { .u-comm-loading.u-comm-loading-status-2 .u-comm-loading-button {
display: block; display: block;
} }
@-webkit-keyframes commstatusLoading { @-webkit-keyframes commLoading {
0%, 100% { 0%, 100% {
-webkit-box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; -webkit-box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
...@@ -960,7 +960,7 @@ p { ...@@ -960,7 +960,7 @@ p {
} }
} }
@keyframes commstatusLoading { @keyframes commLoading {
0%, 100% { 0%, 100% {
-webkit-box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; -webkit-box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0; box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
...@@ -1002,11 +1002,11 @@ p { ...@@ -1002,11 +1002,11 @@ p {
} }
} }
.custom-commstatus-loading { .custom-comm-loading {
background-color: rgba(36, 38, 53, 0.9); background-color: rgba(36, 38, 53, 0.9);
} }
.custom-commstatus-loading .u-commstatus-loading-button { .custom-comm-loading .u-comm-loading-button {
bottom: 3.573rem; bottom: 3.573rem;
width: 2.667rem; width: 2.667rem;
color: #00ffff; color: #00ffff;
...@@ -1015,7 +1015,7 @@ p { ...@@ -1015,7 +1015,7 @@ p {
padding: 0.48rem 0 0.133rem; padding: 0.48rem 0 0.133rem;
} }
.custom-commstatus-loading .u-commstatus-loading-button:after { .custom-comm-loading .u-comm-loading-button:after {
content: ''; content: '';
position: absolute; position: absolute;
bottom: 0; bottom: 0;
...@@ -1026,10 +1026,10 @@ p { ...@@ -1026,10 +1026,10 @@ p {
background: linear-gradient(to right, #242635, #00ffff, #242635); background: linear-gradient(to right, #242635, #00ffff, #242635);
} }
.custom-commstatus-loading .u-commstatus-loading-button:active { .custom-comm-loading .u-comm-loading-button:active {
background-color: transparent; background-color: transparent;
} }
.custom-commstatus-loading .u-commstatus-loading-button.disabled { .custom-comm-loading .u-comm-loading-button.disabled {
background-color: transparent; background-color: transparent;
} }
\ No newline at end of file
...@@ -21,29 +21,54 @@ ...@@ -21,29 +21,54 @@
<div id="app" v-cloak> <div id="app" v-cloak>
<div class="header"> <div class="header">
<v-touch tag="span" class="header-left icon" v-on:tap="onDoorlockManageTap">&#xe66f;</v-touch>
<p>{{ $t('title.device') }}</p> <p>{{ $t('title.device') }}</p>
<v-touch tag="span" class="header-right icon" v-on:tap="onDoorlockManageTap">&#xe61d;</v-touch>
</div> </div>
<div class="content"> <div class="content">
<u-carousel :init-param="componentsConfig.carousel.initParam"></u-carousel> <div class="topCpnt">
<div class="doorbellBg active">
<div class="doorbellCircle">
<div class="doorbell">
<p></p>
</div>
</div>
<div class="doorbellTip"><span>17:30</span>门铃响了</div>
</div>
<p class="batteryState"><span>&#xe629;</span>100%</p>
</div>
<div class="deviceHandle"> <div class="deviceHandle">
<p class="title">门锁最新消息</p>
<u-marquee :init-param="componentsConfig.marquee.initParam" :active="activeFlag"></u-marquee> <u-marquee :init-param="componentsConfig.marquee.initParam" :active="activeFlag"></u-marquee>
<div class="switchGroup"> <div class="switchGroup">
<!-- 开门记录 --> <div class="guoupRow">
<div class="col-xs-6 opendoorRecord newMsg"> <!-- 开门记录 -->
<u-switch :value="valueOpendoorRecord" :init-param="componentsConfig.opendoorRecordSwitch.initParam" v-on:u-switch-tap="onOpendoorRecordTap"></u-switch> <div class="col-xs-6 opendoorRecord">
</div> <u-switch :value="valueOpendoorRecord" :init-param="componentsConfig.opendoorRecordSwitch.initParam" v-on:u-switch-tap="onOpendoorRecordTap"></u-switch>
<!-- 安全报警 --> </div>
<div class="col-xs-6 securityAlarm newMsg"> <!-- 安全报警 -->
<u-switch :value="valueSecurityAlarm" :init-param="componentsConfig.securityAlarmSwitch.initParam" v-on:u-switch-tap="onSecurityAlarmTap"></u-switch> <div class="col-xs-6 securityAlarm">
<u-switch :value="valueSecurityAlarm" :init-param="componentsConfig.securityAlarmSwitch.initParam" v-on:u-switch-tap="onSecurityAlarmTap"></u-switch>
</div>
</div> </div>
<!-- 远程开门 --> <div class="guoupRow">
<div class="col-xs-6 remoteOpendoor newMsg"> <!-- 门锁用户 -->
<u-switch :value="valueRemoteOpendoor" :init-param="componentsConfig.remoteOpendoorSwitch.initParam" v-on:u-switch-tap="onRemoteOpendoorTap"></u-switch> <div class="col-xs-6 doorlockUser">
<u-switch :value="valueDoorlockUser" :init-param="componentsConfig.doorlockUserSwitch.initParam" v-on:u-switch-tap="onDoorlockUserTap"></u-switch>
</div>
<!-- 劫持报警 -->
<div class="col-xs-6 hijackAlarm">
<u-switch :value="valueHijackAlarm" :init-param="componentsConfig.hijackAlarmSwitch.initParam" v-on:u-switch-tap="onHijackAlarmTap"></u-switch>
</div>
</div> </div>
<!-- 劫持报警 --> <div class="guoupRow">
<div class="col-xs-6 hijackAlarm newMsg"> <!-- 远程开门 -->
<u-switch :value="valueHijackAlarm" :init-param="componentsConfig.hijackAlarmSwitch.initParam" v-on:u-switch-tap="onHijackAlarmTap"></u-switch> <div class="col-xs-6 remoteOpendoor">
<u-switch :value="valueRemoteOpendoor" :init-param="componentsConfig.remoteOpendoorSwitch.initParam" v-on:u-switch-tap="onRemoteOpendoorTap"></u-switch>
</div>
<!-- 门锁管理 -->
<div class="col-xs-6 doorlockManage">
<u-switch :value="valueDoorlockManage" :init-param="componentsConfig.doorlockManageSwitch.initParam" v-on:u-switch-tap="onDoorlockManageTap"></u-switch>
</div>
</div> </div>
</div> </div>
</div> </div>
......
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