feat:新增sky分支
6
App.vue
@ -25,13 +25,13 @@
|
|||||||
}
|
}
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
if (this.envVersion === 'develop') {
|
if (this.envVersion === 'develop') {
|
||||||
return 'XHJ'
|
return 'SKY'
|
||||||
}
|
}
|
||||||
if (this.envVersion === 'trial') {
|
if (this.envVersion === 'trial') {
|
||||||
return 'XHJ'
|
return 'SKY'
|
||||||
}
|
}
|
||||||
// #endif
|
// #endif
|
||||||
return 'XHJ'
|
return 'SKY'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
:style="{ width: size * 0.75 - 2 + 'rpx', height: size * 0.75 - 2 + 'rpx' }"
|
:style="{ width: size * 0.75 - 2 + 'rpx', height: size * 0.75 - 2 + 'rpx' }"
|
||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_lock_transparent.png"
|
src="https://cos-lock.skychip.top/mp/icon_lock.png"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
:style="{ width: size * 0.35 + 'rpx', height: size * 0.35 + 'rpx' }"
|
:style="{ width: size * 0.35 + 'rpx', height: size * 0.35 + 'rpx' }"
|
||||||
></image>
|
></image>
|
||||||
@ -74,8 +74,8 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 3upx;
|
padding: 3upx;
|
||||||
background: rgb(99, 184, 175);
|
background: #4777ee;
|
||||||
background: linear-gradient(0deg, rgba(99, 184, 175, 0.1) 33%, rgba(99, 184, 175, 1) 100%);
|
background: linear-gradient(0deg, rgba(99, 184, 175, 0.1) 33%, rgba(71, 119, 238, 1) 100%);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
animation: spin 0.8s linear 0s infinite;
|
animation: spin 0.8s linear 0s infinite;
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 3upx;
|
padding: 3upx;
|
||||||
background: rgb(99, 184, 175);
|
background: #4777ee;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@ const XHJ = {
|
|||||||
|
|
||||||
const SKY = {
|
const SKY = {
|
||||||
name: 'sky',
|
name: 'sky',
|
||||||
appName: '星星锁Lite',
|
appName: '锁通通',
|
||||||
baseUrl: 'https://lock.skychip.top/api',
|
baseUrl: 'https://lock.skychip.top/api',
|
||||||
webviewBaseUrl: 'https://lock.skychip.top',
|
webviewBaseUrl: 'https://lock.skychip.top',
|
||||||
version,
|
version,
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name" : "星星锁Lite",
|
"name" : "锁通通",
|
||||||
"appid" : "__UNI__933D519",
|
"appid" : "__UNI__933D519",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.3.5",
|
"versionName" : "1.3.5",
|
||||||
"versionCode" : "42",
|
"versionCode" : "42",
|
||||||
"mp-weixin" : {
|
"mp-weixin" : {
|
||||||
"appid" : "wx9829a39e65550757",
|
"appid" : "wx7991ace56366dd9a",
|
||||||
"setting" : {
|
"setting" : {
|
||||||
"urlCheck" : true,
|
"urlCheck" : true,
|
||||||
"minified" : true
|
"minified" : true
|
||||||
@ -21,15 +21,7 @@
|
|||||||
"subPackages" : true
|
"subPackages" : true
|
||||||
},
|
},
|
||||||
"plugins" : {
|
"plugins" : {
|
||||||
"wmpf-voip" : {
|
|
||||||
"version" : "latest",
|
|
||||||
"provider" : "wxf830863afde621eb",
|
|
||||||
"genericsImplementation" : {
|
|
||||||
"call-page-plugin" : {
|
|
||||||
"custombox" : "pages/main/customBox"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vueVersion" : "3",
|
"vueVersion" : "3",
|
||||||
|
|||||||
27
pages.json
@ -16,13 +16,7 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"navigationBarTitleText": "监控",
|
"navigationBarTitleText": "监控",
|
||||||
"disableScroll": true,
|
"disableScroll": true
|
||||||
"mp-weixin": {
|
|
||||||
"usingComponents": {
|
|
||||||
"iot-p2p-player-with-mjpg": "plugin://xp2p/iot-p2p-player-with-mjpg",
|
|
||||||
"iot-p2p-voice": "plugin://xp2p/iot-p2p-voice"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -41,16 +35,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"xp2p": {
|
|
||||||
"version": "latest",
|
|
||||||
"provider": "wx1319af22356934bf",
|
|
||||||
"export": "exportForXp2pPlugin.js"
|
|
||||||
},
|
|
||||||
"wechat-p2p-player": {
|
|
||||||
"version": "latest",
|
|
||||||
"provider": "wx9e8fbc98ceac2628",
|
|
||||||
"export": "exportForPlayerPlugin.js"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -632,7 +617,7 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/main/lockDetail",
|
"path": "pages/main/lockDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "星星锁"
|
"navigationBarTitleText": "锁通通"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -649,14 +634,14 @@
|
|||||||
},
|
},
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "white",
|
"navigationBarTextStyle": "white",
|
||||||
"navigationBarTitleText": "星星锁",
|
"navigationBarTitleText": "锁通通",
|
||||||
"navigationBarBackgroundColor": "#63b8af",
|
"navigationBarBackgroundColor": "#4777ee",
|
||||||
"backgroundColor": "#F3F3F3",
|
"backgroundColor": "#F3F3F3",
|
||||||
"navigationStyle": "default"
|
"navigationStyle": "default"
|
||||||
},
|
},
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#a3a3a3",
|
"color": "#a3a3a3",
|
||||||
"selectedColor": "#63b8af",
|
"selectedColor": "#4777ee",
|
||||||
"borderStyle": "white",
|
"borderStyle": "white",
|
||||||
"backgroundColor": "#FFFFFF",
|
"backgroundColor": "#FFFFFF",
|
||||||
"position": "bottom",
|
"position": "bottom",
|
||||||
|
|||||||
@ -19,14 +19,14 @@
|
|||||||
const basicStore = useBasicStore()
|
const basicStore = useBasicStore()
|
||||||
|
|
||||||
const toSearchDevice = async () => {
|
const toSearchDevice = async () => {
|
||||||
if (bluetoothStore.bluetoothStatus !== 0) {
|
// if (bluetoothStore.bluetoothStatus !== 0) {
|
||||||
bluetoothStore.getBluetoothStatus()
|
// bluetoothStore.getBluetoothStatus()
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
let result = true
|
let result = true
|
||||||
if (!bluetoothStore.isInitBluetooth) {
|
// if (!bluetoothStore.isInitBluetooth) {
|
||||||
result = await bluetoothStore.initAndListenBluetooth()
|
result = await bluetoothStore.initAndListenBluetooth()
|
||||||
}
|
// }
|
||||||
if (result) {
|
if (result) {
|
||||||
basicStore.routeJump({
|
basicStore.routeJump({
|
||||||
type: 'redirectTo',
|
type: 'redirectTo',
|
||||||
@ -68,7 +68,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 50rpx;
|
border-radius: 50rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -204,7 +204,7 @@
|
|||||||
line-height: 96rpx;
|
line-height: 96rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
></image>
|
></image>
|
||||||
<view class="device-name">{{ device.name }}</view>
|
<view class="device-name">{{ device.name }}</view>
|
||||||
</view>
|
</view>
|
||||||
<image class="device-add" src="https://oss-lock.xhjcn.ltd/mp/icon_add.png"></image>
|
<image class="device-add" src="https://cos-lock.skychip.top/mp/icon_add.png"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
|||||||
@ -50,10 +50,10 @@
|
|||||||
<up-icon name="arrow-right"></up-icon>
|
<up-icon name="arrow-right"></up-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="m-4 flex items-center justify-between text-base">
|
<view class="m-4 flex items-center justify-between text-base">
|
||||||
<view :class="[info.keyStatus === 110405 ? 'text-#63b8af' : 'text-red']" @click="freeze">{{
|
<view :class="[info.keyStatus === 110405 ? 'text-#4777ee' : 'text-red']" @click="freeze">{{
|
||||||
info.keyStatus === 110405 ? '解冻' : '冻结'
|
info.keyStatus === 110405 ? '解冻' : '冻结'
|
||||||
}}</view>
|
}}</view>
|
||||||
<view :class="[info.keyRight === 1 ? 'text-red' : 'text-#63b8af']" @click="authorize">{{
|
<view :class="[info.keyRight === 1 ? 'text-red' : 'text-#4777ee']" @click="authorize">{{
|
||||||
info.keyRight === 1 ? '取消授权管理员' : '授权管理员'
|
info.keyRight === 1 ? '取消授权管理员' : '授权管理员'
|
||||||
}}</view>
|
}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -336,7 +336,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -124,7 +124,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -402,7 +402,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
lineWidth="40rpx"
|
lineWidth="40rpx"
|
||||||
lineHeight="5rpx"
|
lineHeight="5rpx"
|
||||||
:current="currentIndex"
|
:current="currentIndex"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
@click="clickTab"
|
@click="clickTab"
|
||||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
>
|
>
|
||||||
</up-tabs>
|
</up-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -363,7 +363,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
lineWidth="40rpx"
|
lineWidth="40rpx"
|
||||||
lineHeight="5rpx"
|
lineHeight="5rpx"
|
||||||
:current="currentIndex"
|
:current="currentIndex"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
@click="clickTab"
|
@click="clickTab"
|
||||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
>
|
>
|
||||||
</up-tabs>
|
</up-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -414,7 +414,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
lineWidth="40rpx"
|
lineWidth="40rpx"
|
||||||
lineHeight="5rpx"
|
lineHeight="5rpx"
|
||||||
:current="currentIndex"
|
:current="currentIndex"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
@click="clickTab"
|
@click="clickTab"
|
||||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
>
|
>
|
||||||
</up-tabs>
|
</up-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -373,7 +373,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
lineWidth="40rpx"
|
lineWidth="40rpx"
|
||||||
lineHeight="5rpx"
|
lineHeight="5rpx"
|
||||||
:current="currentIndex"
|
:current="currentIndex"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
@click="clickTab"
|
@click="clickTab"
|
||||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
>
|
>
|
||||||
</up-tabs>
|
</up-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -414,7 +414,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
lineWidth="40rpx"
|
lineWidth="40rpx"
|
||||||
lineHeight="5rpx"
|
lineHeight="5rpx"
|
||||||
:current="current"
|
:current="current"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
@click="clickTab"
|
@click="clickTab"
|
||||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
>
|
>
|
||||||
</up-tabs>
|
</up-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -389,7 +389,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
lineWidth="40rpx"
|
lineWidth="40rpx"
|
||||||
lineHeight="5rpx"
|
lineHeight="5rpx"
|
||||||
:current="currentIndex"
|
:current="currentIndex"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
@click="clickTab"
|
@click="clickTab"
|
||||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
>
|
>
|
||||||
</up-tabs>
|
</up-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -415,7 +415,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
lineWidth="40rpx"
|
lineWidth="40rpx"
|
||||||
lineHeight="5rpx"
|
lineHeight="5rpx"
|
||||||
:current="currentIndex"
|
:current="currentIndex"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
@click="clickTab"
|
@click="clickTab"
|
||||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
>
|
>
|
||||||
</up-tabs>
|
</up-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -659,7 +659,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -6,10 +6,10 @@
|
|||||||
lineWidth="40rpx"
|
lineWidth="40rpx"
|
||||||
lineHeight="5rpx"
|
lineHeight="5rpx"
|
||||||
:current="currentIndex"
|
:current="currentIndex"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
@click="clickTab"
|
@click="clickTab"
|
||||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||||
>
|
>
|
||||||
</up-tabs>
|
</up-tabs>
|
||||||
</view>
|
</view>
|
||||||
@ -336,7 +336,7 @@
|
|||||||
line-height: 100rpx;
|
line-height: 100rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 64rpx;
|
border-radius: 64rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -403,7 +403,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -402,7 +402,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -94,7 +94,7 @@
|
|||||||
<view class="m-4 flex items-center justify-between text-base">
|
<view class="m-4 flex items-center justify-between text-base">
|
||||||
<view
|
<view
|
||||||
v-if="$lock.currentKeyInfo.keyType !== 3"
|
v-if="$lock.currentKeyInfo.keyType !== 3"
|
||||||
:class="[$lock.currentKeyInfo.keyStatus === 110405 ? 'text-#63b8af' : 'text-red']"
|
:class="[$lock.currentKeyInfo.keyStatus === 110405 ? 'text-#4777ee' : 'text-red']"
|
||||||
@click="freeze"
|
@click="freeze"
|
||||||
>{{ $lock.currentKeyInfo.keyStatus === 110405 ? '解冻' : '冻结' }}</view
|
>{{ $lock.currentKeyInfo.keyStatus === 110405 ? '解冻' : '冻结' }}</view
|
||||||
>
|
>
|
||||||
@ -104,7 +104,7 @@
|
|||||||
$lock.currentKeyInfo.keyType !== 3 &&
|
$lock.currentKeyInfo.keyType !== 3 &&
|
||||||
$lock.currentKeyInfo.keyType !== 4
|
$lock.currentKeyInfo.keyType !== 4
|
||||||
"
|
"
|
||||||
:class="[$lock.currentKeyInfo.keyRight === 1 ? 'text-red' : 'text-#63b8af']"
|
:class="[$lock.currentKeyInfo.keyRight === 1 ? 'text-red' : 'text-#4777ee']"
|
||||||
@click="authorize"
|
@click="authorize"
|
||||||
>{{ $lock.currentKeyInfo.keyRight === 1 ? '取消授权管理员' : '授权管理员' }}</view
|
>{{ $lock.currentKeyInfo.keyRight === 1 ? '取消授权管理员' : '授权管理员' }}</view
|
||||||
>
|
>
|
||||||
|
|||||||
@ -69,7 +69,7 @@
|
|||||||
></image>
|
></image>
|
||||||
<view
|
<view
|
||||||
class="key-status"
|
class="key-status"
|
||||||
:style="{ color: key.keyStatus === 110401 ? '#63b8af' : '#df282d' }"
|
:style="{ color: key.keyStatus === 110401 ? '#4777ee' : '#df282d' }"
|
||||||
>
|
>
|
||||||
{{ getKeyStatus(key.keyStatus) }}
|
{{ getKeyStatus(key.keyStatus) }}
|
||||||
</view>
|
</view>
|
||||||
@ -396,7 +396,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -407,7 +407,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -371,7 +371,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -413,7 +413,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -405,7 +405,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
<view class="lock-list" v-if="!pending">
|
<view class="lock-list" v-if="!pending">
|
||||||
<view v-if="lockList.length === 0 && lockSearch.searchStr === '' && !focus">
|
<view v-if="lockList.length === 0 && lockSearch.searchStr === '' && !focus">
|
||||||
<image
|
<image
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_add_round.png"
|
src="https://cos-lock.skychip.top/mp/icon_add_round.png"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
class="button-add-big"
|
class="button-add-big"
|
||||||
@click="toSearchDevice"
|
@click="toSearchDevice"
|
||||||
@ -61,7 +61,7 @@
|
|||||||
<view class="lock-top">
|
<view class="lock-top">
|
||||||
<image
|
<image
|
||||||
class="lock-image-lock"
|
class="lock-image-lock"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_lock.png"
|
src="https://cos-lock.skychip.top/mp/icon_lock.png"
|
||||||
></image>
|
></image>
|
||||||
<view class="lock-top-right">
|
<view class="lock-top-right">
|
||||||
<view class="lock-top-right-power">
|
<view class="lock-top-right-power">
|
||||||
@ -134,7 +134,7 @@
|
|||||||
</scroll-view>
|
</scroll-view>
|
||||||
<image
|
<image
|
||||||
v-if="lockList.length !== 0"
|
v-if="lockList.length !== 0"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_add_round.png"
|
src="https://cos-lock.skychip.top/mp/icon_add_round.png"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
class="button-add"
|
class="button-add"
|
||||||
@click="toSearchDevice"
|
@click="toSearchDevice"
|
||||||
@ -651,7 +651,7 @@
|
|||||||
line-height: 120rpx;
|
line-height: 120rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 46rpx;
|
border-radius: 46rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
<view class="power-text">{{ $bluetooth.currentLockInfo.electricQuantity }}%</view>
|
<view class="power-text">{{ $bluetooth.currentLockInfo.electricQuantity }}%</view>
|
||||||
<image
|
<image
|
||||||
class="power-tips"
|
class="power-tips"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_tips.png"
|
src="https://cos-lock.skychip.top/mp/icon_tips.png"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
></image>
|
></image>
|
||||||
</view>
|
</view>
|
||||||
@ -41,7 +41,7 @@
|
|||||||
<view class="bottom-side">
|
<view class="bottom-side">
|
||||||
<image
|
<image
|
||||||
class="bottom-icon"
|
class="bottom-icon"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_role.png"
|
src="https://cos-lock.skychip.top/mp/icon_role.png"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
></image>
|
></image>
|
||||||
<view>{{
|
<view>{{
|
||||||
@ -56,15 +56,15 @@
|
|||||||
class="bottom-icon"
|
class="bottom-icon"
|
||||||
:src="
|
:src="
|
||||||
$bluetooth.currentLockInfo.appUnlockOnline
|
$bluetooth.currentLockInfo.appUnlockOnline
|
||||||
? 'https://oss-lock.xhjcn.ltd/mp/icon_cloud_active.png'
|
? 'https://cos-lock.skychip.top/mp/icon_cloud_active.png'
|
||||||
: 'https://oss-lock.xhjcn.ltd/mp/icon_cloud.png'
|
: 'https://cos-lock.skychip.top/mp/icon_cloud.png'
|
||||||
"
|
"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
style="width: 40rpx; height: 40rpx"
|
style="width: 40rpx; height: 40rpx"
|
||||||
></image>
|
></image>
|
||||||
<view
|
<view
|
||||||
:style="{
|
:style="{
|
||||||
color: $bluetooth.currentLockInfo.appUnlockOnline ? '#63b8af' : '#a3a3a3'
|
color: $bluetooth.currentLockInfo.appUnlockOnline ? '#4777ee' : '#a3a3a3'
|
||||||
}"
|
}"
|
||||||
>手机需联网</view
|
>手机需联网</view
|
||||||
>
|
>
|
||||||
@ -87,7 +87,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image transform-scale-90"
|
class="menu-main-image transform-scale-90"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_key.png"
|
src="https://cos-lock.skychip.top/mp/icon_key.png"
|
||||||
></image>
|
></image>
|
||||||
<view>电子钥匙</view>
|
<view>电子钥匙</view>
|
||||||
</view>
|
</view>
|
||||||
@ -102,7 +102,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image"
|
class="menu-main-image"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_password_green.png"
|
src="https://cos-lock.skychip.top/mp/icon_password_green.png"
|
||||||
></image>
|
></image>
|
||||||
<view>密码</view>
|
<view>密码</view>
|
||||||
</view>
|
</view>
|
||||||
@ -117,7 +117,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image transform-scale-110"
|
class="menu-main-image transform-scale-110"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_card.png"
|
src="https://cos-lock.skychip.top/mp/icon_card.png"
|
||||||
></image>
|
></image>
|
||||||
<view>卡</view>
|
<view>卡</view>
|
||||||
</view>
|
</view>
|
||||||
@ -132,7 +132,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image"
|
class="menu-main-image"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_fingerprint.png"
|
src="https://cos-lock.skychip.top/mp/icon_fingerprint.png"
|
||||||
></image>
|
></image>
|
||||||
<view>指纹</view>
|
<view>指纹</view>
|
||||||
</view>
|
</view>
|
||||||
@ -147,7 +147,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image"
|
class="menu-main-image"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_remote.png"
|
src="https://cos-lock.skychip.top/mp/icon_remote.png"
|
||||||
></image>
|
></image>
|
||||||
<view>遥控</view>
|
<view>遥控</view>
|
||||||
</view>
|
</view>
|
||||||
@ -162,7 +162,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image"
|
class="menu-main-image"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_face.png"
|
src="https://cos-lock.skychip.top/mp/icon_face.png"
|
||||||
></image>
|
></image>
|
||||||
<view>人脸</view>
|
<view>人脸</view>
|
||||||
</view>
|
</view>
|
||||||
@ -177,7 +177,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image"
|
class="menu-main-image"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_palm_vein.png"
|
src="https://cos-lock.skychip.top/mp/icon_palm_vein.png"
|
||||||
></image>
|
></image>
|
||||||
<view>掌静脉</view>
|
<view>掌静脉</view>
|
||||||
</view>
|
</view>
|
||||||
@ -202,7 +202,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image transform-scale-140"
|
class="menu-main-image transform-scale-140"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_admin_black.png"
|
src="https://cos-lock.skychip.top/mp/icon_admin_black.png"
|
||||||
></image>
|
></image>
|
||||||
<view>授权管理员</view>
|
<view>授权管理员</view>
|
||||||
</view>
|
</view>
|
||||||
@ -213,7 +213,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image"
|
class="menu-main-image"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_record.png"
|
src="https://cos-lock.skychip.top/mp/icon_record.png"
|
||||||
></image>
|
></image>
|
||||||
<view>操作记录</view>
|
<view>操作记录</view>
|
||||||
</view>
|
</view>
|
||||||
@ -224,7 +224,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image"
|
class="menu-main-image"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_record.png"
|
src="https://cos-lock.skychip.top/mp/icon_record.png"
|
||||||
></image>
|
></image>
|
||||||
<view>门锁记录</view>
|
<view>门锁记录</view>
|
||||||
</view>
|
</view>
|
||||||
@ -238,7 +238,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="menu-main-image transform-scale-110"
|
class="menu-main-image transform-scale-110"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_remind.png"
|
src="https://cos-lock.skychip.top/mp/icon_remind.png"
|
||||||
></image>
|
></image>
|
||||||
<view>消息提醒</view>
|
<view>消息提醒</view>
|
||||||
</view>
|
</view>
|
||||||
@ -260,7 +260,7 @@
|
|||||||
@click="$basic.routeJump({ name: 'setting' })"
|
@click="$basic.routeJump({ name: 'setting' })"
|
||||||
v-if="$bluetooth.currentLockInfo.transportType !== transportType.TRANSPORT_TENCENT_YUN"
|
v-if="$bluetooth.currentLockInfo.transportType !== transportType.TRANSPORT_TENCENT_YUN"
|
||||||
>
|
>
|
||||||
<image class="setting-image" src="https://oss-lock.xhjcn.ltd/mp/icon_setting.png"></image>
|
<image class="setting-image" src="https://cos-lock.skychip.top/mp/icon_setting.png"></image>
|
||||||
<view class="setting-text">设置</view>
|
<view class="setting-text">设置</view>
|
||||||
<image
|
<image
|
||||||
class="setting-arrow"
|
class="setting-arrow"
|
||||||
@ -708,7 +708,7 @@
|
|||||||
height: 48rpx;
|
height: 48rpx;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
line-height: 48rpx;
|
line-height: 48rpx;
|
||||||
color: #63b8af;
|
color: #4777ee;
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
background-color: rgba(0, 0, 0, 0.1);
|
||||||
border-radius: 0 0 32rpx 32rpx;
|
border-radius: 0 0 32rpx 32rpx;
|
||||||
|
|
||||||
|
|||||||
@ -390,7 +390,7 @@
|
|||||||
line-height: 80rpx;
|
line-height: 80rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 46rpx;
|
border-radius: 46rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -434,7 +434,7 @@
|
|||||||
line-height: 120rpx;
|
line-height: 120rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 46rpx;
|
border-radius: 46rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -78,7 +78,7 @@
|
|||||||
>
|
>
|
||||||
<image
|
<image
|
||||||
class="delete-image"
|
class="delete-image"
|
||||||
src="https://oss-lock.xhjcn.ltd/mp/icon_delete.png"
|
src="https://cos-lock.skychip.top/mp/icon_delete.png"
|
||||||
mode="aspectFill"
|
mode="aspectFill"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
@ -409,7 +409,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 100rpx;
|
width: 100rpx;
|
||||||
height: 100rpx;
|
height: 100rpx;
|
||||||
background-color: #5db5aa;
|
background-color: #4777ee;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|
||||||
.delete-image {
|
.delete-image {
|
||||||
@ -448,7 +448,7 @@
|
|||||||
line-height: 120rpx;
|
line-height: 120rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 46rpx;
|
border-radius: 46rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
<view
|
<view
|
||||||
v-for="(item, index) in list"
|
v-for="(item, index) in list"
|
||||||
:key="index"
|
:key="index"
|
||||||
:class="[weekDays.includes(index + 1) ? 'bg-#5eb7ac text-white' : '']"
|
:class="[weekDays.includes(index + 1) ? 'bg-#4777ee text-white' : '']"
|
||||||
@click="
|
@click="
|
||||||
weekDays.includes(index + 1)
|
weekDays.includes(index + 1)
|
||||||
? weekDays.splice(weekDays.indexOf(index + 1), 1)
|
? weekDays.splice(weekDays.indexOf(index + 1), 1)
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
:class="[
|
:class="[
|
||||||
canSubmit ? 'bg-[#5eb7ac]' : 'bg-[#9d9da3]',
|
canSubmit ? 'bg-[#4777ee]' : 'bg-[#9d9da3]',
|
||||||
'mx-4',
|
'mx-4',
|
||||||
'h-100',
|
'h-100',
|
||||||
'text-white',
|
'text-white',
|
||||||
|
|||||||
@ -54,7 +54,7 @@
|
|||||||
>
|
>
|
||||||
<view class="mx-2">
|
<view class="mx-2">
|
||||||
<view class="flex items-start">
|
<view class="flex items-start">
|
||||||
<view class="bg-#63b8af size-15 rounded-full mr-2 mt-1.5"></view>
|
<view class="bg-#4777ee size-15 rounded-full mr-2 mt-1.5"></view>
|
||||||
<view class="w-full">
|
<view class="w-full">
|
||||||
<view class="font-bold flex justify-between w-full">
|
<view class="font-bold flex justify-between w-full">
|
||||||
<view>{{ item.event_type_name }}</view>
|
<view>{{ item.event_type_name }}</view>
|
||||||
@ -303,7 +303,7 @@
|
|||||||
|
|
||||||
const color = computed(() => {
|
const color = computed(() => {
|
||||||
if (info.value?.status === 1) {
|
if (info.value?.status === 1) {
|
||||||
return '#63b8af'
|
return '#4777ee'
|
||||||
}
|
}
|
||||||
if (info.value?.status === 2) {
|
if (info.value?.status === 2) {
|
||||||
return 'red'
|
return 'red'
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
v-if="$bluetooth.currentLockSetting.lockBasicInfo.keyRight === 1"
|
v-if="$bluetooth.currentLockSetting.lockBasicInfo.keyRight === 1"
|
||||||
:class="[canUpdate ? 'bg-#63b8af' : 'bg-#a3a3a3']"
|
:class="[canUpdate ? 'bg-#4777ee' : 'bg-#a3a3a3']"
|
||||||
class="mt-4 rounded-3xl w-600 h-80 line-height-80rpx text-center mx-75rpx text-white text-xl font-bold"
|
class="mt-4 rounded-3xl w-600 h-80 line-height-80rpx text-center mx-75rpx text-white text-xl font-bold"
|
||||||
@click="update"
|
@click="update"
|
||||||
>
|
>
|
||||||
|
|||||||
@ -238,7 +238,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@click="show = false"
|
@click="show = false"
|
||||||
class="w-686 mx-4 text-center h-88 line-height-88rpx mt-5 text-white bg-#63b8af rounded-44rpx"
|
class="w-686 mx-4 text-center h-88 line-height-88rpx mt-5 text-white bg-#4777ee rounded-44rpx"
|
||||||
>我知道了</view
|
>我知道了</view
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -69,7 +69,7 @@
|
|||||||
<view
|
<view
|
||||||
v-if="list.length > 0"
|
v-if="list.length > 0"
|
||||||
@click="confirm"
|
@click="confirm"
|
||||||
class="pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center bg-#63b8af text-white rounded-3xl"
|
class="pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center bg-#4777ee text-white rounded-3xl"
|
||||||
>确定
|
>确定
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -266,7 +266,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
}}</view>
|
}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
class="bg-#63b8af mt-4 rounded-3xl w-600 h-80 line-height-80rpx text-center mx-75rpx text-white text-xl font-bold"
|
class="bg-#4777ee mt-4 rounded-3xl w-600 h-80 line-height-80rpx text-center mx-75rpx text-white text-xl font-bold"
|
||||||
@click="update"
|
@click="update"
|
||||||
>
|
>
|
||||||
校准时间
|
校准时间
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
:class="[canUpdate ? 'bg-#63b8af' : 'bg-#a3a3a3']"
|
:class="[canUpdate ? 'bg-#4777ee' : 'bg-#a3a3a3']"
|
||||||
class="mt-4 rounded-3xl w-600 h-80 line-height-80rpx text-center mx-75rpx text-white text-xl font-bold"
|
class="mt-4 rounded-3xl w-600 h-80 line-height-80rpx text-center mx-75rpx text-white text-xl font-bold"
|
||||||
@click="update"
|
@click="update"
|
||||||
>
|
>
|
||||||
|
|||||||
@ -65,7 +65,7 @@
|
|||||||
<view
|
<view
|
||||||
v-if="list.length > 0"
|
v-if="list.length > 0"
|
||||||
@click="confirm"
|
@click="confirm"
|
||||||
class="pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center bg-#63b8af text-white rounded-3xl"
|
class="pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center bg-#4777ee text-white rounded-3xl"
|
||||||
>确定
|
>确定
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -376,7 +376,7 @@
|
|||||||
line-height: 88rpx;
|
line-height: 88rpx;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: #63b8af;
|
background-color: #4777ee;
|
||||||
border-radius: 44rpx;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@click="update"
|
@click="update"
|
||||||
class="pos-fixed bg-#63b8af bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center text-white rounded-3xl"
|
class="pos-fixed bg-#4777ee bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center text-white rounded-3xl"
|
||||||
>保存
|
>保存
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -55,7 +55,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@click="update"
|
@click="update"
|
||||||
class="pos-fixed bg-#63b8af bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center text-white rounded-3xl"
|
class="pos-fixed bg-#4777ee bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center text-white rounded-3xl"
|
||||||
>保存
|
>保存
|
||||||
</view>
|
</view>
|
||||||
<up-picker
|
<up-picker
|
||||||
|
|||||||
@ -89,7 +89,7 @@
|
|||||||
v-else
|
v-else
|
||||||
@click="create"
|
@click="create"
|
||||||
class="pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center text-white rounded-3xl"
|
class="pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center text-white rounded-3xl"
|
||||||
:class="[canCreate ? 'bg-#63b8af' : 'bg-#9d9ca1']"
|
:class="[canCreate ? 'bg-#4777ee' : 'bg-#9d9ca1']"
|
||||||
>保存
|
>保存
|
||||||
</view>
|
</view>
|
||||||
<ModalInput
|
<ModalInput
|
||||||
|
|||||||
@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
<view
|
<view
|
||||||
@click="confirm"
|
@click="confirm"
|
||||||
class="mt-10 w-686 mx-4 h-88 line-height-88rpx text-center bg-#63b8af text-white rounded-3xl"
|
class="mt-10 w-686 mx-4 h-88 line-height-88rpx text-center bg-#4777ee text-white rounded-3xl"
|
||||||
>确定
|
>确定
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
<view
|
<view
|
||||||
v-for="(item, index) in list"
|
v-for="(item, index) in list"
|
||||||
:key="index"
|
:key="index"
|
||||||
:class="[weekDays.includes(index + 1) ? 'bg-#5eb7ac text-white' : '']"
|
:class="[weekDays.includes(index + 1) ? 'bg-#4777ee text-white' : '']"
|
||||||
@click="changeSelect(index)"
|
@click="changeSelect(index)"
|
||||||
class="rounded-50% border-solid border-3 border-gray-400 flex items-center justify-center w-70 h-70"
|
class="rounded-50% border-solid border-3 border-gray-400 flex items-center justify-center w-70 h-70"
|
||||||
>{{ item }}
|
>{{ item }}
|
||||||
@ -76,7 +76,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@click="confirm"
|
@click="confirm"
|
||||||
:class="[canUpdate ? 'bg-#63b8af' : 'bg-#a3a3a3']"
|
:class="[canUpdate ? 'bg-#4777ee' : 'bg-#a3a3a3']"
|
||||||
class="pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center text-white rounded-3xl"
|
class="pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] w-686 mx-4 h-88 line-height-88rpx text-center text-white rounded-3xl"
|
||||||
>保存
|
>保存
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view
|
<view
|
||||||
@click="() => $refs.modalInput.open()"
|
@click="() => $refs.modalInput.open()"
|
||||||
class="bg-#63b8af text-white pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] rounded-44rpx w-686 ml-4 h-88 line-height-88rpx text-lg font-bold text-center"
|
class="bg-#4777ee text-white pos-fixed bottom-[calc(env(safe-area-inset-bottom)+48rpx)] rounded-44rpx w-686 ml-4 h-88 line-height-88rpx text-lg font-bold text-center"
|
||||||
>创建新分组</view
|
>创建新分组</view
|
||||||
>
|
>
|
||||||
<ModalInput
|
<ModalInput
|
||||||
|
|||||||
@ -18,7 +18,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@click="updateElectricQuantity"
|
@click="updateElectricQuantity"
|
||||||
class="w-full bg-#63b8af text-white line-height-80rpx h-80 rounded-40rpx text-center mt-4 text-lg font-bold"
|
class="w-full bg-#4777ee text-white line-height-80rpx h-80 rounded-40rpx text-center mt-4 text-lg font-bold"
|
||||||
>更新</view
|
>更新</view
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@click="update"
|
@click="update"
|
||||||
class="w-full bg-#63b8af text-white line-height-80rpx h-80 rounded-40rpx text-center mt-4 text-lg font-bold"
|
class="w-full bg-#4777ee text-white line-height-80rpx h-80 rounded-40rpx text-center mt-4 text-lg font-bold"
|
||||||
>{{ $bluetooth.currentLockSetting.lockSettingInfo[type] === 1 ? '关闭' : '开启' }}</view
|
>{{ $bluetooth.currentLockSetting.lockSettingInfo[type] === 1 ? '关闭' : '开启' }}</view
|
||||||
>
|
>
|
||||||
</view></view
|
</view></view
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@click="asyncData"
|
@click="asyncData"
|
||||||
class="w-full bg-#63b8af text-white line-height-80rpx h-80 rounded-40rpx text-center mt-4 text-lg font-bold"
|
class="w-full bg-#4777ee text-white line-height-80rpx h-80 rounded-40rpx text-center mt-4 text-lg font-bold"
|
||||||
>
|
>
|
||||||
开始
|
开始
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
></up-picker>
|
></up-picker>
|
||||||
<view
|
<view
|
||||||
@click="confirm"
|
@click="confirm"
|
||||||
class="mt-10 w-686 mx-4 h-88 line-height-88rpx text-center bg-#63b8af text-white rounded-3xl"
|
class="mt-10 w-686 mx-4 h-88 line-height-88rpx text-center bg-#4777ee text-white rounded-3xl"
|
||||||
>确定
|
>确定
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -141,7 +141,7 @@
|
|||||||
line-height: 108rpx;
|
line-height: 108rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -177,7 +177,7 @@
|
|||||||
line-height: 96rpx;
|
line-height: 96rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -105,7 +105,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
class="w-full rounded-full h-88 text-center leading-[88rpx] text-white mt-6"
|
class="w-full rounded-full h-88 text-center leading-[88rpx] text-white mt-6"
|
||||||
:class="[canResetPassword ? 'bg-#63b8af' : 'bg-#9d9da1']"
|
:class="[canResetPassword ? 'bg-#4777ee' : 'bg-#9d9da1']"
|
||||||
@click="register"
|
@click="register"
|
||||||
>
|
>
|
||||||
重置密码
|
重置密码
|
||||||
|
|||||||
@ -64,7 +64,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
class="mt-4 w-full rounded-full h-88 text-center leading-[88rpx] text-white"
|
class="mt-4 w-full rounded-full h-88 text-center leading-[88rpx] text-white"
|
||||||
:class="[canLogin ? 'bg-#63b8af' : 'bg-#9d9da1']"
|
:class="[canLogin ? 'bg-#4777ee' : 'bg-#9d9da1']"
|
||||||
@click="login"
|
@click="login"
|
||||||
>
|
>
|
||||||
登录
|
登录
|
||||||
|
|||||||
@ -5,9 +5,9 @@
|
|||||||
@click="click"
|
@click="click"
|
||||||
class="mx-4"
|
class="mx-4"
|
||||||
lineWidth="300rpx"
|
lineWidth="300rpx"
|
||||||
lineColor="#63b8af"
|
lineColor="#4777ee"
|
||||||
:activeStyle="{
|
:activeStyle="{
|
||||||
color: '#63b8af',
|
color: '#4777ee',
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
transform: 'scale(1.05)'
|
transform: 'scale(1.05)'
|
||||||
}"
|
}"
|
||||||
@ -136,7 +136,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
class="w-full rounded-full h-88 text-center leading-[88rpx] text-white"
|
class="w-full rounded-full h-88 text-center leading-[88rpx] text-white"
|
||||||
:class="[canRegister ? 'bg-#63b8af' : 'bg-#9d9da1']"
|
:class="[canRegister ? 'bg-#4777ee' : 'bg-#9d9da1']"
|
||||||
@click="register"
|
@click="register"
|
||||||
>
|
>
|
||||||
注册
|
注册
|
||||||
|
|||||||
@ -260,7 +260,7 @@
|
|||||||
line-height: 108rpx;
|
line-height: 108rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -296,7 +296,7 @@
|
|||||||
line-height: 96rpx;
|
line-height: 96rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -110,7 +110,7 @@
|
|||||||
line-height: 96rpx;
|
line-height: 96rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -171,7 +171,7 @@
|
|||||||
line-height: 96rpx;
|
line-height: 96rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -207,7 +207,7 @@
|
|||||||
line-height: 108rpx;
|
line-height: 108rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -139,7 +139,7 @@
|
|||||||
line-height: 108rpx;
|
line-height: 108rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,7 +175,7 @@
|
|||||||
line-height: 96rpx;
|
line-height: 96rpx;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #63b8af;
|
background: #4777ee;
|
||||||
border-radius: 16rpx;
|
border-radius: 16rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 816 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 816 B |