liuwei 3 dní pred
rodič
commit
86882ff008
1 zmenil súbory, kde vykonal 63 pridanie a 15 odobranie
  1. 63 15
      common/storage.js

+ 63 - 15
common/storage.js

@@ -33,48 +33,96 @@ const ICONS = {
 	add: `${QINIU_URL}FqLEWbMe8DcnQtNz6GdDDD87ObZK`,
 	placeholder: `${QINIU_URL}FpKvfFNSDbx0d9RDwyGAQdFb7Kt6`
 }
-// {
-// 		name: i18n.t('开机'),
-// 		type:'turnOnOrOff',
-// 		iconUrl: `${QINIU_URL}Fp5T9lSNakoiioji6S7W4DmFQ_ys`,
-// 		offUrl: `${QINIU_URL}FqxGx0H169EOJN0__Ym2Ls8x2i03`,
-// 		isLock: true,
-// 		isTurnOn:1
-// 	},
+
 const activeTabs = [
 	{
 		name: i18n.t('闪灯鸣笛'),
 		type:'findCar',
-		iconUrl: `${QINIU_URL}FpeQsDh2dbeTullNLI-HhWj4WAQS`
+		iconUrl: `${QINIU_URL}FpeQsDh2dbeTullNLI-HhWj4WAQS`,
+		disableUrl:'https://qiniu.bms16.com/FpO_ltWESd7xRjo0vzvGTZnQZNw0'
 	},
 	{
 		name: i18n.t('打开座桶'),
 		type:'openSeatBag',
-		iconUrl: `${QINIU_URL}FppwhbFzrEmDeJQgZJtDTu6WOoMZ`
+		iconUrl: `${QINIU_URL}FppwhbFzrEmDeJQgZJtDTu6WOoMZ`,
+		disableUrl:'https://qiniu.bms16.com/Fiu5XfqJ_AwEgKx0hMQy2AgPyw9M'
 	},
 	{
 		name: i18n.t('打开尾箱锁'),
 		type:'openTailBox',
-		iconUrl: `${QINIU_URL}Fv3KLuYWEeV5IM4_2sMbmur7yZtz`
+		iconUrl: `${QINIU_URL}Fv3KLuYWEeV5IM4_2sMbmur7yZtz`,
+		disableUrl:'https://qiniu.bms16.com/FsEZK73sizxfudIUbEW-gGpqzfAZ'
 	},
 	{
 		name:i18n.t('胎压'),
 		type:'tirePressure',
-		url:'',
-		iconUrl: `${QINIU_URL}FmbcjmvoB4J3CT1hrbjNX4kxv9Zq`
+		iconUrl: `${QINIU_URL}FmbcjmvoB4J3CT1hrbjNX4kxv9Zq`,
+		disableUrl:'https://qiniu.bms16.com/Fn9W4gHx3IEGKliBB-y0Kpydcrxj'
 	}
 ]
 const toBeSelectTabs = [{
 		name: i18n.t('电池信息'),
 		type:'batteryInfo',
 		url:'/pages/batteryDetail/batteryDetail',
-		iconUrl: `${QINIU_URL}Fnx_4tLoq1ytvVA0UemepWisI73A`
+		iconUrl: `${QINIU_URL}Fnx_4tLoq1ytvVA0UemepWisI73A`,
+		disableUrl:'https://qiniu.bms16.com/FpYXI7tgo2ZW0MLa2LV-Zu6KzvMW'
+	},
+	{
+		name: i18n.t('导航'),
+		type:'navigation',
+		url:'',
+		iconUrl: `${QINIU_URL}FrA_ouJtDp-39g7rMBI0EYr2czVE`,
+		disableUrl:'https://qiniu.bms16.com/FkdULGMslHDNKMVMh0w2EcguaxlA'
+	}
+]
+//没有换电套餐的
+const activeTabsNo = [
+	{
+		name: i18n.t('开机'),
+		type:'turnOnOrOff',
+		iconUrl: `${QINIU_URL}Fp5T9lSNakoiioji6S7W4DmFQ_ys`,
+		offUrl: `${QINIU_URL}FqxGx0H169EOJN0__Ym2Ls8x2i03`,
+		isLock: true,
+		isTurnOn:1,
+		disableUrl:'https://qiniu.bms16.com/Fu7UE29iOsgEXNpy75RHCjssqmR7'
+	},
+	{
+		name: i18n.t('闪灯鸣笛'),
+		type:'findCar',
+		iconUrl: `${QINIU_URL}FpeQsDh2dbeTullNLI-HhWj4WAQS`,
+		disableUrl:'https://qiniu.bms16.com/FpO_ltWESd7xRjo0vzvGTZnQZNw0'
+	},
+	{
+		name: i18n.t('打开座桶'),
+		type:'openSeatBag',
+		iconUrl: `${QINIU_URL}FppwhbFzrEmDeJQgZJtDTu6WOoMZ`,
+		disableUrl:'https://qiniu.bms16.com/Fiu5XfqJ_AwEgKx0hMQy2AgPyw9M'
+	},
+	{
+		name: i18n.t('打开尾箱锁'),
+		type:'openTailBox',
+		iconUrl: `${QINIU_URL}Fv3KLuYWEeV5IM4_2sMbmur7yZtz`,
+		disableUrl:'https://qiniu.bms16.com/FsEZK73sizxfudIUbEW-gGpqzfAZ'
+	},
+]
+const toBeSelectTabsNo = [{
+		name:i18n.t('胎压'),
+		type:'tirePressure',
+		iconUrl: `${QINIU_URL}FmbcjmvoB4J3CT1hrbjNX4kxv9Zq`,
+		disableUrl:'https://qiniu.bms16.com/Fn9W4gHx3IEGKliBB-y0Kpydcrxj'
+	},{
+		name: i18n.t('电池信息'),
+		type:'batteryInfo',
+		url:'/pages/batteryDetail/batteryDetail',
+		iconUrl: `${QINIU_URL}Fnx_4tLoq1ytvVA0UemepWisI73A`,
+		disableUrl:'https://qiniu.bms16.com/FpYXI7tgo2ZW0MLa2LV-Zu6KzvMW'
 	},
 	{
 		name: i18n.t('导航'),
 		type:'navigation',
 		url:'',
-		iconUrl: `${QINIU_URL}FrA_ouJtDp-39g7rMBI0EYr2czVE`
+		iconUrl: `${QINIU_URL}FrA_ouJtDp-39g7rMBI0EYr2czVE`,
+		disableUrl:'https://qiniu.bms16.com/FkdULGMslHDNKMVMh0w2EcguaxlA'
 	}
 ]