|
@@ -37,7 +37,7 @@
|
|
|
</el-image>
|
|
|
</div>
|
|
|
<div class="one_card_txt">
|
|
|
- <span>{{converType(item.type)}}</span>
|
|
|
+ <span>{{converType(item.type+1)}}</span>
|
|
|
<div class="bottom clearfix">
|
|
|
<time class="time">{{item.time}}</time>
|
|
|
</div>
|
|
@@ -179,21 +179,21 @@ export default {
|
|
|
},
|
|
|
series: [
|
|
|
{
|
|
|
- name: "面积模式",
|
|
|
+ name: "时长(单位:h)",
|
|
|
type: "pie",
|
|
|
radius: [30, 110],
|
|
|
roseType: "area",
|
|
|
data: [
|
|
|
- { 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[9], name: "听音乐" },
|
|
|
- { value: this.timeList[0], 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: "其他" }
|
|
|
]
|
|
|
}
|
|
|
]
|