Commit cf4f1d84 by 颜景龙

删除图表

parent b88fbf6a
......@@ -68,7 +68,6 @@
<p>如有教练迟到情况,课程结束后2小时内您可以发起申诉,系统核实后会试行相应的教练处罚。并给予您适当补偿</p>
<p>其他临时突发情况可通过微信公众号联系客服(客服工作时间:9:00-18:00)。</p>
</div>
<script src="./echarts.min.js"></script>
<script src="https://cdn.bootcss.com/zepto/1.0rc1/zepto.min.js"></script>
<script>
$(document).ready(function() {
......
......@@ -71,8 +71,8 @@
<h3 class="detail-title">课程详情</h3>
<div class="class-main">
<div class="class-block">
<div id="chart">
</div>
<!-- <div id="chart">
</div> -->
<h3>课程内容</h3>
</div>
<div class="class-block">
......@@ -83,7 +83,7 @@
<h3>活动建议</h3>
</div>
</div>
<script src="./echarts.min.js"></script>
<!-- <script src="./echarts.min.js"></script> -->
<script src="https://cdn.bootcss.com/zepto/1.0rc1/zepto.min.js"></script>
<script>
//var HTTP_URL = 'http://192.168.31.217:8080/wedo';
......@@ -103,9 +103,9 @@
$('html').css({'font-size':$(window).width()/375*16});
});
var chart = document.getElementById('chart');
// var chart = document.getElementById('chart');
var myChart = echarts.init(chart);
// var myChart = echarts.init(chart);
var id = getUrlParam('id');
......@@ -129,68 +129,68 @@
$("<p></p>").text(obj.suitableFor).appendTo($(".class-block")[1]);
$("<p></p>").text(obj.suggestion).appendTo($(".class-block")[2]);
arrayList = [obj.consumeLevel, obj.coordinationLevel, obj.pliableLevel, obj.strengthLevel, obj.heartbeatLevel];
var option = {
tooltip: {
trigger: 'axis'
},
textStyle: {
fontSize : $(window).width()/375*16
},
axisPointer: {
show: false
},
radar: [
{
indicator: [
{text: '消耗', max: 5},
{text: '协调', max: 5},
{text: '柔韧', max: 5},
{text: '力量', max: 5},
{text: '心肺', max: 5}
],
center: ['50%','50%'],
//radius: 20rem,
shape: 'circle',
splitArea: {
show: false
},
splitLine: {
lineStyle: {
color: [
'#c33641', '#c33641',
'#c33641', '#c33641',
'#c33641', '#c33641'
]
}
},
axisLine: {
lineStyle: {
color: '#c33641'
}
}
}
],
series: [
{
type: 'radar',
itemStyle: {normal: {areaStyle: {type: 'default'}}},
areaStyle: {
normal: {
opacity: 1
}
},
symbol: 'none',
data: [
{
value: arrayList
}
]
}
]
};
myChart.setOption(option);
// arrayList = [obj.consumeLevel, obj.coordinationLevel, obj.pliableLevel, obj.strengthLevel, obj.heartbeatLevel];
// var option = {
// tooltip: {
// trigger: 'axis'
// },
// textStyle: {
// fontSize : $(window).width()/375*16
// },
// axisPointer: {
// show: false
// },
// radar: [
// {
// indicator: [
// {text: '消耗', max: 5},
// {text: '协调', max: 5},
// {text: '柔韧', max: 5},
// {text: '力量', max: 5},
// {text: '心肺', max: 5}
// ],
// center: ['50%','50%'],
// //radius: 20rem,
// shape: 'circle',
// splitArea: {
// show: false
// },
// splitLine: {
// lineStyle: {
// color: [
// '#c33641', '#c33641',
// '#c33641', '#c33641',
// '#c33641', '#c33641'
// ]
// }
// },
// axisLine: {
// lineStyle: {
// color: '#c33641'
// }
// }
// }
// ],
// series: [
// {
// type: 'radar',
// itemStyle: {normal: {areaStyle: {type: 'default'}}},
// areaStyle: {
// normal: {
// opacity: 1
// }
// },
// symbol: 'none',
// data: [
// {
// value: arrayList
// }
// ]
// }
// ]
// };
//myChart.setOption(option);
}
});
}
......
......@@ -75,7 +75,6 @@
<p>课程结束后请整理好自己使用的器械、道具,带好随身物品离场。</p>
<p>课程结束后需要继续上课的会员请先离开团操课教室并签到,请勿放置任何物品占位。</p>
</div>
<script src="./echarts.min.js"></script>
<script src="https://cdn.bootcss.com/zepto/1.0rc1/zepto.min.js"></script>
<script>
$(document).ready(function() {
......
......@@ -94,7 +94,6 @@
<p>课程结束后请整理好自己使用的器械、道具,带好随身物品离场。</p>
<p>课程结束后需要继续上课的会员请先离开团操课教室并签到,请勿放置任何物品占位。</p>
</div>
<script src="./echarts.min.js"></script>
<script src="https://cdn.bootcss.com/zepto/1.0rc1/zepto.min.js"></script>
<script>
$(document).ready(function() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此消息的编辑!
注册登录 后发表评论