|
|
@@ -5,7 +5,9 @@
|
|
|
<div class="box" for="(index, item) in hotList">
|
|
|
<text class="title_"> {{ item.title }}</text>
|
|
|
<div class="hot-list" >
|
|
|
- <div class="hot-item" style="background-color: {{items.bg}}"
|
|
|
+ background: linear-gradient(to bottom, #a9d4ff, #cce6ff);
|
|
|
+ <!-- style="background-color: {{items.bg}}" -->
|
|
|
+ <div class="hot-item {{ items.bg }}"
|
|
|
@click="toPage(items.path)" for="(indexs, items) in item.list">
|
|
|
<text class="icon-font-span icon {{ items.name =='一键省电'?'left_0':'left_28' }}" style="color:{{ items.color }}">{{ items.icon }}</text>
|
|
|
<text class="name" style="color:{{ items.color }};"> {{ items.name }}</text>
|
|
|
@@ -31,27 +33,27 @@ export default {
|
|
|
{
|
|
|
title:'基础功能',
|
|
|
list:[
|
|
|
- {name:'一键省电',icon:'\ue607',bg:'#cfffcd',color:'#60b956',path:'yiJianShengDian'},
|
|
|
- {name:'声波除尘',icon:'\ue7dc',bg:'#ffd8db',color:'#fb5e53',path:'shengBoChuChen'},
|
|
|
- {name:'网络信息',icon:'\ue61d',bg:'#ccccfe',color:'#8370ee',path:'wangLuoXinXi'},
|
|
|
- {name:'手机测距',icon:'\uea07',bg:'#80fafb',color:'#02cfdf',path:'shouJiCeJu'},
|
|
|
- {name:'WiFi管理',icon:'\ue76c',bg:'#9ed1fe',color:'#3d9aee',path:'wifiGuanLi'},
|
|
|
- {name:'手机清理',icon:'\ue60e',bg:'#fad2ec',color:'#ff4bb9',path:'shouJiQingLi'},
|
|
|
- {name:'精选壁纸',icon:'\ue640',bg:'#fec2f8',color:'#c95884',path:'jingXuanBiZhi'},
|
|
|
+ {name:'一键省电',icon:'\ue607',bg:'bg_cfffcd',color:'#60b956',path:'yiJianShengDian'},
|
|
|
+ {name:'声波除尘',icon:'\ue7dc',bg:'bg_ffd8db',color:'#fb5e53',path:'shengBoChuChen'},
|
|
|
+ {name:'网络信息',icon:'\ue61d',bg:'bg_ccccfe',color:'#8370ee',path:'wangLuoXinXi'},
|
|
|
+ {name:'手机测距',icon:'\uea07',bg:'bg_80fafb',color:'#02cfdf',path:'shouJiCeJu'},
|
|
|
+ {name:'WiFi管理',icon:'\ue76c',bg:'bg_9ed1fe',color:'#3d9aee',path:'wifiGuanLi'},
|
|
|
+ {name:'手机清理',icon:'\ue60e',bg:'bg_fad2ec',color:'#ff4bb9',path:'shouJiQingLi'},
|
|
|
+ {name:'精选壁纸',icon:'\ue640',bg:'bg_fec2f8',color:'#c95884',path:'jingXuanBiZhi'},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
title:'趣味测评',
|
|
|
list:[
|
|
|
- {name:'趣味测评',icon:'\ue6cc',bg:'#e8ffc4',color:'#98ec05',path:'quWeiCePing'},
|
|
|
+ {name:'趣味测评',icon:'\ue6cc',bg:'bg_e8ffc4',color:'#98ec05',path:'quWeiCePing'},
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
title:'知识课堂',
|
|
|
list:[
|
|
|
- {name:'养生课堂',icon:'\ue650',bg:'#fdd1c0',color:'#fc7f43',path:'yangShengKeTang'},
|
|
|
- {name:'运动计步',icon:'\ue61c',bg:'#9ce4fd',color:'#3d9afb',path:'yunDongJiBu'},
|
|
|
- {name:'字体大小',icon:'\ue7b1',bg:'#edcbfd',color:'#d617d1',path:'ziTiDaXiao'},
|
|
|
+ {name:'养生课堂',icon:'\ue650',bg:'bg_fdd1c0',color:'#fc7f43',path:'yangShengKeTang'},
|
|
|
+ {name:'运动计步',icon:'\ue61c',bg:'bg_9ce4fd',color:'#3d9afb',path:'yunDongJiBu'},
|
|
|
+ {name:'字体大小',icon:'\ue7b1',bg:'bg_edcbfd',color:'#d617d1',path:'ziTiDaXiao'},
|
|
|
],
|
|
|
}
|
|
|
],
|
|
|
@@ -82,6 +84,39 @@ export default {
|
|
|
font-family: iconfont;
|
|
|
src: url("/assets/iconfont/iconfont.ttf");
|
|
|
}
|
|
|
+.bg_cfffcd{
|
|
|
+ background: linear-gradient(to bottom, #cfffcd, #fff);
|
|
|
+}
|
|
|
+.bg_ffd8db{
|
|
|
+ background: linear-gradient(to bottom, #ffd8db, #fff);
|
|
|
+}
|
|
|
+.bg_ccccfe{
|
|
|
+ background: linear-gradient(to bottom, #ccccfe, #fff);
|
|
|
+}
|
|
|
+.bg_80fafb{
|
|
|
+ background: linear-gradient(to bottom, #80fafb, #fff);
|
|
|
+}
|
|
|
+.bg_9ed1fe{
|
|
|
+ background: linear-gradient(to bottom, #9ed1fe, #fff);
|
|
|
+}
|
|
|
+.bg_fad2ec{
|
|
|
+ background: linear-gradient(to bottom, #fad2ec, #fff);
|
|
|
+}
|
|
|
+.bg_fec2f8{
|
|
|
+ background: linear-gradient(to bottom, #fec2f8, #fff);
|
|
|
+}
|
|
|
+.bg_e8ffc4{
|
|
|
+ background: linear-gradient(to bottom, #e8ffc4, #fff);
|
|
|
+}
|
|
|
+.bg_fdd1c0{
|
|
|
+ background: linear-gradient(to bottom, #fdd1c0, #fff);
|
|
|
+}
|
|
|
+.bg_9ce4fd{
|
|
|
+ background: linear-gradient(to bottom, #9ce4fd, #fff);
|
|
|
+}
|
|
|
+.bg_edcbfd{
|
|
|
+ background: linear-gradient(to bottom, #edcbfd, #fff);
|
|
|
+}
|
|
|
.icon-font-span {
|
|
|
font-family: iconfont;
|
|
|
font-size: 92px;
|