gy-app-shop/common/script/homeNavList.js

164 lines
4.2 KiB
JavaScript

// let arr = [{
// name:"数字用电",
// icon:"tubiaoshangchuanmoban",
// url:"../home/wisdomElectricity/index",
// // #ifdef MP-WEIXIN
// background:"linear-gradient(-55deg, #52AA52, #76D296);",
// // #endif
// // #ifndef MP-WEIXIN
// background:"#76D296",
// // #endif
// boxShadow: "0px 9px 15px 0px rgba(87, 175, 91, 0.3);"
// },{
// name:"电气火灾",
// icon:"huozai",
// url:"../home/electricalFire/index",
// // #ifdef MP-WEIXIN
// background:"linear-gradient(-55deg, #0292F6, #5FB8FD);",
// // #endif
// // #ifndef MP-WEIXIN
// background:"#5FB8FD",
// // #endif
// boxShadow: "0px 9px 15px 0px rgba(3, 183, 250, 0.3);"
// },{
// name:"水位水压",
// icon:"shuiwei",
// url:"../home/waterLevel/index",
// // #ifdef MP-WEIXIN
// background:"linear-gradient(-55deg, #00B3FA, #20DBFF);",
// // #endif
// // #ifndef MP-WEIXIN
// background:"#20DBFF",
// // #endif
// boxShadow: "0px 9px 15px 0px rgba(7, 186, 254, 0.3);"
// },{
// name:"烟雾",
// icon:"yanwu",
// url:"../home/smoke/index",
// // #ifdef MP-WEIXIN
// background:"linear-gradient(-55deg, #0ACBCD, #73E4FA);",
// // #endif
// // #ifndef MP-WEIXIN
// background:"#73E4FA",
// // #endif
// boxShadow:"0px 9px 15px 0px rgba(6, 220, 197, 0.3);"
// },{
// name:"可燃气体",
// icon:"yanwu1",
// url:"",
// // #ifdef MP-WEIXIN
// background:"linear-gradient(-55deg, #9E57F5, #CEA7FD);",
// // #endif
// // #ifndef MP-WEIXIN
// background:"#CEA7FD",
// // #endif
// boxShadow:" 0px 9px 15px 0px rgba(159, 88, 245, 0.3);"
// },{
// name:"温湿度",
// icon:"wenshidu",
// url:"../home/temperature/index",
// // #ifdef MP-WEIXIN
// background:"linear-gradient(-55deg, #FF6528, #FF954D);",
// // #endif
// // #ifndef MP-WEIXIN
// background:"#FF954D",
// // #endif
// boxShadow: "0px 9px 15px 0px rgba(254, 127, 76, 0.3);"
// },{
// name:"安防监控",
// icon:"jiankong",
// url:"",
// // #ifdef MP-WEIXIN
// background:"linear-gradient(-55deg, #FFB830, #FDD158);",
// // #endif
// // #ifndef MP-WEIXIN
// background:"#FDD158",
// // #endif
// boxShadow: "0px 9px 15px 0px rgba(254, 192, 72, 0.3);"
// },{
// name:"更多",
// icon:"gengduo",
// url:"/pages/home/more/moreNavBar",
// // #ifdef MP-WEIXIN
// background:"linear-gradient(-55deg, #2F74FF, #6295FC);",
// // #endif
// // #ifndef MP-WEIXIN
// background:"#6295FC",
// // #endif
// boxShadow: "0px 9px 15px 0px rgba(66, 127, 248, 0.3);"
// }]
let arr = [{
name:"用电分析",
imgUrl:"/home/menu1.png",
icon:"dicon-icon_yongdian",
url:"../home/wisdomElectricity/index",
// #ifdef MP-WEIXIN
background:"linear-gradient(0deg, #2365C0, #24B4E9);",
// #endif
// #ifndef MP-WEIXIN
background:"#76D296",
// #endif
boxShadow: "7px 0px 10px 0px rgba(48,136,254,0.5);"
},{
name:"用水分析",
imgUrl:"/home/menu2.png",
icon:"dicon-icon_yongshui",
url:"../home/waterLevel/index",
// #ifdef MP-WEIXIN
background:"linear-gradient(0deg, #199582, #6AD6C3);",
// #endif
// #ifndef MP-WEIXIN
background:"#20DBFF",
// #endif
boxShadow: "7px 0px 10px 0px rgba(97,214,191,0.5);"
},{
name:"用气分析",
imgUrl:"/home/menu3.png",
icon:"dicon-icon_yongqi",
url:"",
// #ifdef MP-WEIXIN
background:"linear-gradient(0deg, #F28E26, #FFC574);",
// #endif
// #ifndef MP-WEIXIN
background:"#CEA7FD",
// #endif
boxShadow:"7px 0px 10px 0px rgba(237,180,0,0.5);"
},{
name:"消防安全",
imgUrl:"/home/menu4.png",
icon:"dicon-icon_xiaofang",
url:"../home/smoke/index",
// #ifdef MP-WEIXIN
background:"linear-gradient(0deg, #7244EF, #9388F9);",
// #endif
// #ifndef MP-WEIXIN
background:"#73E4FA",
// #endif
boxShadow:"7px 0px 10px 0px rgba(126,79,255,0.5);"
},{
name:"安防监控",
imgUrl:"/home/menu5.png",
icon:"dicon-icon_shipin",
url:"",
// #ifdef MP-WEIXIN
background:"linear-gradient(180deg, #6596D2, #1E5095);",
// #endif
// #ifndef MP-WEIXIN
background:"#FDD158",
// #endif
boxShadow: "7px 0px 10px 0px rgba(104,132,187,0.5);"
},{
name:"环境监测",
imgUrl:"/home/menu6.png",
icon:"dicon-icon_jiance",
url:"../home/temperature/index",
// #ifdef MP-WEIXIN
background:"linear-gradient(0deg, #D94353, #FF887C);",
// #endif
// #ifndef MP-WEIXIN
background:"#FF954D",
// #endif
boxShadow: "7px 0px 10px 0px rgba(255,79,98,0.5);"
}]
export default arr;