Skip to content
切换导航面板
P
项目
G
群组
S
代码片段
帮助
成立
/
weiduh5
当前项目
正在载入...
登录
切换导航面板
转到一个项目
项目
版本库
问题
0
合并请求
0
流水线
维基
代码片段
设置
活动
图像
图表
创建新的问题
作业
提交
问题看板
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cf4f1d84
authored
Dec 12, 2017
by
颜景龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
删除图表
parent
b88fbf6a
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
67 行增加
和
70 行删除
gz.html
prime/baseIntroExtend.html
rule/groupclass.html
rule/personclass.html
gz.html
查看文件 @
cf4f1d84
...
...
@@ -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
()
{
...
...
prime/baseIntroExtend.html
查看文件 @
cf4f1d84
...
...
@@ -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);
}
});
}
...
...
rule/groupclass.html
查看文件 @
cf4f1d84
...
...
@@ -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
()
{
...
...
rule/personclass.html
查看文件 @
cf4f1d84
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此消息的编辑!
取消
请
注册
或
登录
后发表评论