feat:新增sky分支
6
App.vue
@ -25,13 +25,13 @@
|
||||
}
|
||||
// #ifdef MP-WEIXIN
|
||||
if (this.envVersion === 'develop') {
|
||||
return 'XHJ'
|
||||
return 'SKY'
|
||||
}
|
||||
if (this.envVersion === 'trial') {
|
||||
return 'XHJ'
|
||||
return 'SKY'
|
||||
}
|
||||
// #endif
|
||||
return 'XHJ'
|
||||
return 'SKY'
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
:style="{ width: size * 0.75 - 2 + 'rpx', height: size * 0.75 - 2 + 'rpx' }"
|
||||
>
|
||||
<image
|
||||
src="https://oss-lock.xhjcn.ltd/mp/icon_lock_transparent.png"
|
||||
src="https://cos-lock.skychip.top/mp/icon_lock.png"
|
||||
mode="aspectFill"
|
||||
:style="{ width: size * 0.35 + 'rpx', height: size * 0.35 + 'rpx' }"
|
||||
></image>
|
||||
@ -74,8 +74,8 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3upx;
|
||||
background: rgb(99, 184, 175);
|
||||
background: linear-gradient(0deg, rgba(99, 184, 175, 0.1) 33%, rgba(99, 184, 175, 1) 100%);
|
||||
background: #4777ee;
|
||||
background: linear-gradient(0deg, rgba(99, 184, 175, 0.1) 33%, rgba(71, 119, 238, 1) 100%);
|
||||
border-radius: 50%;
|
||||
animation: spin 0.8s linear 0s infinite;
|
||||
}
|
||||
@ -87,7 +87,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3upx;
|
||||
background: rgb(99, 184, 175);
|
||||
background: #4777ee;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ const XHJ = {
|
||||
|
||||
const SKY = {
|
||||
name: 'sky',
|
||||
appName: '星星锁Lite',
|
||||
appName: '锁通通',
|
||||
baseUrl: 'https://lock.skychip.top/api',
|
||||
webviewBaseUrl: 'https://lock.skychip.top',
|
||||
version,
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name" : "星星锁Lite",
|
||||
"name" : "锁通通",
|
||||
"appid" : "__UNI__933D519",
|
||||
"description" : "",
|
||||
"versionName" : "1.3.5",
|
||||
"versionCode" : "42",
|
||||
"mp-weixin" : {
|
||||
"appid" : "wx9829a39e65550757",
|
||||
"appid" : "wx7991ace56366dd9a",
|
||||
"setting" : {
|
||||
"urlCheck" : true,
|
||||
"minified" : true
|
||||
@ -21,15 +21,7 @@
|
||||
"subPackages" : true
|
||||
},
|
||||
"plugins" : {
|
||||
"wmpf-voip" : {
|
||||
"version" : "latest",
|
||||
"provider" : "wxf830863afde621eb",
|
||||
"genericsImplementation" : {
|
||||
"call-page-plugin" : {
|
||||
"custombox" : "pages/main/customBox"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
"vueVersion" : "3",
|
||||
|
||||
27
pages.json
@ -16,13 +16,7 @@
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "监控",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
"disableScroll": true
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -41,16 +35,7 @@
|
||||
}
|
||||
],
|
||||
"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",
|
||||
"style": {
|
||||
"navigationBarTitleText": "星星锁"
|
||||
"navigationBarTitleText": "锁通通"
|
||||
}
|
||||
}
|
||||
],
|
||||
@ -649,14 +634,14 @@
|
||||
},
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "white",
|
||||
"navigationBarTitleText": "星星锁",
|
||||
"navigationBarBackgroundColor": "#63b8af",
|
||||
"navigationBarTitleText": "锁通通",
|
||||
"navigationBarBackgroundColor": "#4777ee",
|
||||
"backgroundColor": "#F3F3F3",
|
||||
"navigationStyle": "default"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#a3a3a3",
|
||||
"selectedColor": "#63b8af",
|
||||
"selectedColor": "#4777ee",
|
||||
"borderStyle": "white",
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"position": "bottom",
|
||||
|
||||
@ -19,14 +19,14 @@
|
||||
const basicStore = useBasicStore()
|
||||
|
||||
const toSearchDevice = async () => {
|
||||
if (bluetoothStore.bluetoothStatus !== 0) {
|
||||
bluetoothStore.getBluetoothStatus()
|
||||
return
|
||||
}
|
||||
// if (bluetoothStore.bluetoothStatus !== 0) {
|
||||
// bluetoothStore.getBluetoothStatus()
|
||||
// return
|
||||
// }
|
||||
let result = true
|
||||
if (!bluetoothStore.isInitBluetooth) {
|
||||
// if (!bluetoothStore.isInitBluetooth) {
|
||||
result = await bluetoothStore.initAndListenBluetooth()
|
||||
}
|
||||
// }
|
||||
if (result) {
|
||||
basicStore.routeJump({
|
||||
type: 'redirectTo',
|
||||
@ -68,7 +68,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -204,7 +204,7 @@
|
||||
line-height: 96rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
></image>
|
||||
<view class="device-name">{{ device.name }}</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>
|
||||
</scroll-view>
|
||||
|
||||
@ -50,10 +50,10 @@
|
||||
<up-icon name="arrow-right"></up-icon>
|
||||
</view>
|
||||
<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 ? '解冻' : '冻结'
|
||||
}}</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 ? '取消授权管理员' : '授权管理员'
|
||||
}}</view>
|
||||
</view>
|
||||
|
||||
@ -336,7 +336,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -124,7 +124,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -402,7 +402,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
lineWidth="40rpx"
|
||||
lineHeight="5rpx"
|
||||
:current="currentIndex"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
@click="clickTab"
|
||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
>
|
||||
</up-tabs>
|
||||
</view>
|
||||
@ -363,7 +363,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
lineWidth="40rpx"
|
||||
lineHeight="5rpx"
|
||||
:current="currentIndex"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
@click="clickTab"
|
||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
>
|
||||
</up-tabs>
|
||||
</view>
|
||||
@ -414,7 +414,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
lineWidth="40rpx"
|
||||
lineHeight="5rpx"
|
||||
:current="currentIndex"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
@click="clickTab"
|
||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
>
|
||||
</up-tabs>
|
||||
</view>
|
||||
@ -373,7 +373,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
lineWidth="40rpx"
|
||||
lineHeight="5rpx"
|
||||
:current="currentIndex"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
@click="clickTab"
|
||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
>
|
||||
</up-tabs>
|
||||
</view>
|
||||
@ -414,7 +414,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
lineWidth="40rpx"
|
||||
lineHeight="5rpx"
|
||||
:current="current"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
@click="clickTab"
|
||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
>
|
||||
</up-tabs>
|
||||
</view>
|
||||
@ -389,7 +389,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
lineWidth="40rpx"
|
||||
lineHeight="5rpx"
|
||||
:current="currentIndex"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
@click="clickTab"
|
||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
>
|
||||
</up-tabs>
|
||||
</view>
|
||||
@ -415,7 +415,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
lineWidth="40rpx"
|
||||
lineHeight="5rpx"
|
||||
:current="currentIndex"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
@click="clickTab"
|
||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
>
|
||||
</up-tabs>
|
||||
</view>
|
||||
@ -659,7 +659,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -6,10 +6,10 @@
|
||||
lineWidth="40rpx"
|
||||
lineHeight="5rpx"
|
||||
:current="currentIndex"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
@click="clickTab"
|
||||
:inactiveStyle="{ color: '#a3a3a3', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#63b8af', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
:activeStyle="{ color: '#4777ee', fontSize: '32rpx', fontWeight: 'bold' }"
|
||||
>
|
||||
</up-tabs>
|
||||
</view>
|
||||
@ -336,7 +336,7 @@
|
||||
line-height: 100rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 64rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -403,7 +403,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -402,7 +402,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -94,7 +94,7 @@
|
||||
<view class="m-4 flex items-center justify-between text-base">
|
||||
<view
|
||||
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"
|
||||
>{{ $lock.currentKeyInfo.keyStatus === 110405 ? '解冻' : '冻结' }}</view
|
||||
>
|
||||
@ -104,7 +104,7 @@
|
||||
$lock.currentKeyInfo.keyType !== 3 &&
|
||||
$lock.currentKeyInfo.keyType !== 4
|
||||
"
|
||||
:class="[$lock.currentKeyInfo.keyRight === 1 ? 'text-red' : 'text-#63b8af']"
|
||||
:class="[$lock.currentKeyInfo.keyRight === 1 ? 'text-red' : 'text-#4777ee']"
|
||||
@click="authorize"
|
||||
>{{ $lock.currentKeyInfo.keyRight === 1 ? '取消授权管理员' : '授权管理员' }}</view
|
||||
>
|
||||
|
||||
@ -69,7 +69,7 @@
|
||||
></image>
|
||||
<view
|
||||
class="key-status"
|
||||
:style="{ color: key.keyStatus === 110401 ? '#63b8af' : '#df282d' }"
|
||||
:style="{ color: key.keyStatus === 110401 ? '#4777ee' : '#df282d' }"
|
||||
>
|
||||
{{ getKeyStatus(key.keyStatus) }}
|
||||
</view>
|
||||
@ -396,7 +396,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -407,7 +407,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -371,7 +371,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -413,7 +413,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -405,7 +405,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
<view class="lock-list" v-if="!pending">
|
||||
<view v-if="lockList.length === 0 && lockSearch.searchStr === '' && !focus">
|
||||
<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"
|
||||
class="button-add-big"
|
||||
@click="toSearchDevice"
|
||||
@ -61,7 +61,7 @@
|
||||
<view class="lock-top">
|
||||
<image
|
||||
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>
|
||||
<view class="lock-top-right">
|
||||
<view class="lock-top-right-power">
|
||||
@ -134,7 +134,7 @@
|
||||
</scroll-view>
|
||||
<image
|
||||
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"
|
||||
class="button-add"
|
||||
@click="toSearchDevice"
|
||||
@ -651,7 +651,7 @@
|
||||
line-height: 120rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 46rpx;
|
||||
}
|
||||
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
<view class="power-text">{{ $bluetooth.currentLockInfo.electricQuantity }}%</view>
|
||||
<image
|
||||
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"
|
||||
></image>
|
||||
</view>
|
||||
@ -41,7 +41,7 @@
|
||||
<view class="bottom-side">
|
||||
<image
|
||||
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"
|
||||
></image>
|
||||
<view>{{
|
||||
@ -56,15 +56,15 @@
|
||||
class="bottom-icon"
|
||||
:src="
|
||||
$bluetooth.currentLockInfo.appUnlockOnline
|
||||
? 'https://oss-lock.xhjcn.ltd/mp/icon_cloud_active.png'
|
||||
: 'https://oss-lock.xhjcn.ltd/mp/icon_cloud.png'
|
||||
? 'https://cos-lock.skychip.top/mp/icon_cloud_active.png'
|
||||
: 'https://cos-lock.skychip.top/mp/icon_cloud.png'
|
||||
"
|
||||
mode="aspectFill"
|
||||
style="width: 40rpx; height: 40rpx"
|
||||
></image>
|
||||
<view
|
||||
:style="{
|
||||
color: $bluetooth.currentLockInfo.appUnlockOnline ? '#63b8af' : '#a3a3a3'
|
||||
color: $bluetooth.currentLockInfo.appUnlockOnline ? '#4777ee' : '#a3a3a3'
|
||||
}"
|
||||
>手机需联网</view
|
||||
>
|
||||
@ -87,7 +87,7 @@
|
||||
>
|
||||
<image
|
||||
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>
|
||||
<view>电子钥匙</view>
|
||||
</view>
|
||||
@ -102,7 +102,7 @@
|
||||
>
|
||||
<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>
|
||||
<view>密码</view>
|
||||
</view>
|
||||
@ -117,7 +117,7 @@
|
||||
>
|
||||
<image
|
||||
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>
|
||||
<view>卡</view>
|
||||
</view>
|
||||
@ -132,7 +132,7 @@
|
||||
>
|
||||
<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>
|
||||
<view>指纹</view>
|
||||
</view>
|
||||
@ -147,7 +147,7 @@
|
||||
>
|
||||
<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>
|
||||
<view>遥控</view>
|
||||
</view>
|
||||
@ -162,7 +162,7 @@
|
||||
>
|
||||
<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>
|
||||
<view>人脸</view>
|
||||
</view>
|
||||
@ -177,7 +177,7 @@
|
||||
>
|
||||
<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>
|
||||
<view>掌静脉</view>
|
||||
</view>
|
||||
@ -202,7 +202,7 @@
|
||||
>
|
||||
<image
|
||||
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>
|
||||
<view>授权管理员</view>
|
||||
</view>
|
||||
@ -213,7 +213,7 @@
|
||||
>
|
||||
<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>
|
||||
<view>操作记录</view>
|
||||
</view>
|
||||
@ -224,7 +224,7 @@
|
||||
>
|
||||
<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>
|
||||
<view>门锁记录</view>
|
||||
</view>
|
||||
@ -238,7 +238,7 @@
|
||||
>
|
||||
<image
|
||||
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>
|
||||
<view>消息提醒</view>
|
||||
</view>
|
||||
@ -260,7 +260,7 @@
|
||||
@click="$basic.routeJump({ name: 'setting' })"
|
||||
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>
|
||||
<image
|
||||
class="setting-arrow"
|
||||
@ -708,7 +708,7 @@
|
||||
height: 48rpx;
|
||||
font-size: 32rpx;
|
||||
line-height: 48rpx;
|
||||
color: #63b8af;
|
||||
color: #4777ee;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0 0 32rpx 32rpx;
|
||||
|
||||
|
||||
@ -390,7 +390,7 @@
|
||||
line-height: 80rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 46rpx;
|
||||
}
|
||||
|
||||
@ -434,7 +434,7 @@
|
||||
line-height: 120rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 46rpx;
|
||||
}
|
||||
|
||||
|
||||
@ -78,7 +78,7 @@
|
||||
>
|
||||
<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"
|
||||
/>
|
||||
</view>
|
||||
@ -409,7 +409,7 @@
|
||||
justify-content: center;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
background-color: #5db5aa;
|
||||
background-color: #4777ee;
|
||||
border-radius: 50%;
|
||||
|
||||
.delete-image {
|
||||
@ -448,7 +448,7 @@
|
||||
line-height: 120rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 46rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
<view
|
||||
v-for="(item, index) in list"
|
||||
:key="index"
|
||||
:class="[weekDays.includes(index + 1) ? 'bg-#5eb7ac text-white' : '']"
|
||||
:class="[weekDays.includes(index + 1) ? 'bg-#4777ee text-white' : '']"
|
||||
@click="
|
||||
weekDays.includes(index + 1)
|
||||
? weekDays.splice(weekDays.indexOf(index + 1), 1)
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
</view>
|
||||
<view
|
||||
:class="[
|
||||
canSubmit ? 'bg-[#5eb7ac]' : 'bg-[#9d9da3]',
|
||||
canSubmit ? 'bg-[#4777ee]' : 'bg-[#9d9da3]',
|
||||
'mx-4',
|
||||
'h-100',
|
||||
'text-white',
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
>
|
||||
<view class="mx-2">
|
||||
<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="font-bold flex justify-between w-full">
|
||||
<view>{{ item.event_type_name }}</view>
|
||||
@ -303,7 +303,7 @@
|
||||
|
||||
const color = computed(() => {
|
||||
if (info.value?.status === 1) {
|
||||
return '#63b8af'
|
||||
return '#4777ee'
|
||||
}
|
||||
if (info.value?.status === 2) {
|
||||
return 'red'
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
</view>
|
||||
<view
|
||||
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"
|
||||
@click="update"
|
||||
>
|
||||
|
||||
@ -238,7 +238,7 @@
|
||||
</view>
|
||||
<view
|
||||
@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>
|
||||
|
||||
@ -69,7 +69,7 @@
|
||||
<view
|
||||
v-if="list.length > 0"
|
||||
@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>
|
||||
@ -266,7 +266,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
}}</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"
|
||||
>
|
||||
校准时间
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
</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"
|
||||
@click="update"
|
||||
>
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
<view
|
||||
v-if="list.length > 0"
|
||||
@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>
|
||||
@ -376,7 +376,7 @@
|
||||
line-height: 88rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
background-color: #63b8af;
|
||||
background-color: #4777ee;
|
||||
border-radius: 44rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
</view>
|
||||
<view
|
||||
@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>
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
</view>
|
||||
<view
|
||||
@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>
|
||||
<up-picker
|
||||
|
||||
@ -89,7 +89,7 @@
|
||||
v-else
|
||||
@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="[canCreate ? 'bg-#63b8af' : 'bg-#9d9ca1']"
|
||||
:class="[canCreate ? 'bg-#4777ee' : 'bg-#9d9ca1']"
|
||||
>保存
|
||||
</view>
|
||||
<ModalInput
|
||||
|
||||
@ -86,7 +86,7 @@
|
||||
|
||||
<view
|
||||
@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>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<view
|
||||
v-for="(item, index) in list"
|
||||
:key="index"
|
||||
:class="[weekDays.includes(index + 1) ? 'bg-#5eb7ac text-white' : '']"
|
||||
:class="[weekDays.includes(index + 1) ? 'bg-#4777ee text-white' : '']"
|
||||
@click="changeSelect(index)"
|
||||
class="rounded-50% border-solid border-3 border-gray-400 flex items-center justify-center w-70 h-70"
|
||||
>{{ item }}
|
||||
@ -76,7 +76,7 @@
|
||||
</view>
|
||||
<view
|
||||
@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"
|
||||
>保存
|
||||
</view>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
</scroll-view>
|
||||
<view
|
||||
@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
|
||||
>
|
||||
<ModalInput
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
</view>
|
||||
<view
|
||||
@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>
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
</view>
|
||||
<view
|
||||
@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
|
||||
>
|
||||
</view></view
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
</view>
|
||||
<view
|
||||
@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>
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
></up-picker>
|
||||
<view
|
||||
@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>
|
||||
|
||||
@ -141,7 +141,7 @@
|
||||
line-height: 108rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
@ -177,7 +177,7 @@
|
||||
line-height: 96rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
</view>
|
||||
<view
|
||||
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"
|
||||
>
|
||||
重置密码
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
</view>
|
||||
<view
|
||||
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"
|
||||
>
|
||||
登录
|
||||
|
||||
@ -5,9 +5,9 @@
|
||||
@click="click"
|
||||
class="mx-4"
|
||||
lineWidth="300rpx"
|
||||
lineColor="#63b8af"
|
||||
lineColor="#4777ee"
|
||||
:activeStyle="{
|
||||
color: '#63b8af',
|
||||
color: '#4777ee',
|
||||
fontWeight: 'bold',
|
||||
transform: 'scale(1.05)'
|
||||
}"
|
||||
@ -136,7 +136,7 @@
|
||||
</view>
|
||||
<view
|
||||
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"
|
||||
>
|
||||
注册
|
||||
|
||||
@ -260,7 +260,7 @@
|
||||
line-height: 108rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
@ -296,7 +296,7 @@
|
||||
line-height: 96rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -110,7 +110,7 @@
|
||||
line-height: 96rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -171,7 +171,7 @@
|
||||
line-height: 96rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
@ -207,7 +207,7 @@
|
||||
line-height: 108rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -139,7 +139,7 @@
|
||||
line-height: 108rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
@ -175,7 +175,7 @@
|
||||
line-height: 96rpx;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
background: #63b8af;
|
||||
background: #4777ee;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
</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 |