Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-learning-report
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-learning-report
提交
e1af9161
提交
e1af9161
编写于
11月 15, 2019
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
去掉vant
上级
b454a672
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
1 行增加
和
72 行删除
+1
-72
common-tabs-vant.vue
components/common/common-tabs-vant.vue
+0
-64
package.json
package.json
+1
-2
index.vue
pages/index.vue
+0
-3
vue-inject.js
plugins/vue-inject.js
+0
-3
未找到文件。
components/common/common-tabs-vant.vue
已删除
100644 → 0
浏览文件 @
b454a672
<!-- Tabs组件 -->
<
template
>
<!--
<van-tabs
active=
"
{{
active
}}
" bind:change="onChange"> -->
<van-tabs
:change=
"onChange"
class=
"lr-tabs"
>
<van-tab
title=
"内容内容"
>
内容内容
</van-tab>
<van-tab
title=
"内容内容"
>
内容内容
</van-tab>
<van-tab
title=
"内容内容"
>
内容内容
</van-tab>
<van-tab
title=
"内容内容"
>
内内容容
</van-tab>
<van-tab
title=
"内容内容内容"
>
内内容容
</van-tab>
</van-tabs>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
cIndex
:
4
};
},
props
:
{
tapList
:
{
type
:
Array
,
default
:
()
=>
[
"总体概况"
,
"人群分析"
,
"课程分析"
,
"考试分析"
,
"学习效果分析"
]
}
},
methods
:
{
onChange
(
detail
)
{
this
.
cIndex
=
index
;
this
.
$emit
(
"tabClicked"
,
index
);
}
}
};
</
script
>
<
style
lang=
"scss"
>
.lr-tabs
{
.van-tabs__line
{
display
:
none
;
}
.van-tab
{
margin
:
6px
5px
;
padding
:
0
0px
;
height
:
30px
;
line-height
:
30px
;
font-size
:
13px
;
background
:
#f0f1f2
;
color
:
#979899
;
border-radius
:
15px
;
}
.van-ellipsis
{
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
.
van-hairline--top-bottom
:
:
after
,
.
van-hairline-unset--top-bottom
::
after
{
border-width
:
0
0
;
}
}
</
style
>
package.json
浏览文件 @
e1af9161
...
...
@@ -17,8 +17,7 @@
"
echarts
"
:
"
^4.4.0
"
,
"
koa
"
:
"
^2.6.2
"
,
"
nuxt
"
:
"
^2.0.0
"
,
"
v-charts
"
:
"
^1.19.0
"
,
"
vant
"
:
"
^2.2.13
"
"
v-charts
"
:
"
^1.19.0
"
},
"devDependencies"
:
{
"
@nuxtjs/axios
"
:
"
^5.5.4
"
,
...
...
pages/index.vue
浏览文件 @
e1af9161
...
...
@@ -3,7 +3,6 @@
<CommonHeader></CommonHeader>
<CommonAreaSelect
@
areaClick=
"areaTabClick"
@
orgClick=
"orgTabClick"
></CommonAreaSelect>
<CommonTaps
@
tabClicked=
"tabClicked"
></CommonTaps>
<!--
<CommonTapsVant
@
tabClicked=
"tabClicked"
></CommonTapsVant>
-->
<!-- 总体概况 -->
<article
v-if=
"cIndex === 0"
>
<CommonSwiperItem></CommonSwiperItem>
...
...
@@ -90,7 +89,6 @@ import CommonAreaSelect from "@/components/common/common-area-select";
import
ProcessBar
from
"@/components/common/pica-process"
;
import
CourseTimes
from
"@/components/bussiness/course-times"
;
import
CommonCard
from
"@/components/common/common-card"
;
import
CommonTapsVant
from
"@/components/common/common-tabs-vant"
;
export
default
{
components
:
{
...
...
@@ -113,7 +111,6 @@ export default {
CourseTimes
,
CommonCard
,
ChartColumnVertical
,
CommonTapsVant
},
data
()
{
return
{
...
...
plugins/vue-inject.js
浏览文件 @
e1af9161
import
Vue
from
'vue'
import
rocNative
from
'@/utils/jsbridge'
import
echarts
from
'echarts'
import
Vant
from
'vant'
// import 'vant/lib/vant-css/index.css'
Vue
.
use
(
Vant
)
// import picaArea from 'pica-area'
// Vue.use(picaArea)
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录