|
@@ -37,7 +37,7 @@
|
|
</el-image>
|
|
</el-image>
|
|
</div>
|
|
</div>
|
|
<div class="one_card_txt">
|
|
<div class="one_card_txt">
|
|
- <span>{{converType(item.type)}}</span>
|
|
|
|
|
|
+ <span>{{converType(item.type+1)}}</span>
|
|
<div class="bottom clearfix">
|
|
<div class="bottom clearfix">
|
|
<time class="time">{{item.time}}</time>
|
|
<time class="time">{{item.time}}</time>
|
|
</div>
|
|
</div>
|
|
@@ -153,14 +153,15 @@ export default {
|
|
bottom: 20,
|
|
bottom: 20,
|
|
data: [
|
|
data: [
|
|
"编程",
|
|
"编程",
|
|
- "查资料",
|
|
|
|
- "看文档",
|
|
|
|
- "做设计",
|
|
|
|
|
|
+ "上网",
|
|
|
|
+ "文档",
|
|
|
|
+ "设计",
|
|
"美工",
|
|
"美工",
|
|
"运营",
|
|
"运营",
|
|
"看小说",
|
|
"看小说",
|
|
- "打游戏",
|
|
|
|
- "听音乐"
|
|
|
|
|
|
+ "影视娱乐",
|
|
|
|
+ "听音乐",
|
|
|
|
+ "其他"
|
|
]
|
|
]
|
|
},
|
|
},
|
|
toolbox: {
|
|
toolbox: {
|
|
@@ -178,22 +179,21 @@ export default {
|
|
},
|
|
},
|
|
series: [
|
|
series: [
|
|
{
|
|
{
|
|
- name: "面积模式",
|
|
|
|
|
|
+ name: "时长(单位:h)",
|
|
type: "pie",
|
|
type: "pie",
|
|
radius: [30, 110],
|
|
radius: [30, 110],
|
|
roseType: "area",
|
|
roseType: "area",
|
|
data: [
|
|
data: [
|
|
- { value: this.timeList[0], name: "其他" },
|
|
|
|
- { value: this.timeList[1], name: "编程" },
|
|
|
|
- { value: this.timeList[2], name: "上网" },
|
|
|
|
- { value: this.timeList[3], name: "文档" },
|
|
|
|
- { value: this.timeList[4], name: "设计" },
|
|
|
|
- { value: this.timeList[5], name: "美工" },
|
|
|
|
- { value: this.timeList[6], name: "运营" },
|
|
|
|
- { value: this.timeList[7], name: "看小说" },
|
|
|
|
- { value: this.timeList[8], name: "影视娱乐" },
|
|
|
|
- { value: this.timeList[8], name: "听音乐" },
|
|
|
|
- { value: this.timeList[9], name: "未知" }
|
|
|
|
|
|
+ { value: (this.timeList[1]/3600).toFixed(2), name: "编程" },
|
|
|
|
+ { value: (this.timeList[2]/3600).toFixed(2), name: "上网" },
|
|
|
|
+ { value: (this.timeList[3]/3600).toFixed(2), name: "文档" },
|
|
|
|
+ { value: (this.timeList[4]/3600).toFixed(2), name: "设计" },
|
|
|
|
+ { value: (this.timeList[5]/3600).toFixed(2), name: "美工" },
|
|
|
|
+ { value: (this.timeList[6]/3600).toFixed(2), name: "运营" },
|
|
|
|
+ { value: (this.timeList[7]/3600).toFixed(2), name: "看小说" },
|
|
|
|
+ { value: (this.timeList[8]/3600).toFixed(2), name: "影视娱乐" },
|
|
|
|
+ { value: (this.timeList[9]/3600).toFixed(2), name: "听音乐" },
|
|
|
|
+ { value: (this.timeList[0]/3600).toFixed(2), name: "其他" }
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
]
|