mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 09:26:46 +08:00
提交
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
>
|
||||
<div
|
||||
class="path-item"
|
||||
@click="toFinish(item)"
|
||||
@touchstart="toFinish(item)"
|
||||
:style="position(index)"
|
||||
v-for="(item, index) of stageProcessList"
|
||||
>
|
||||
@@ -229,7 +229,7 @@ const toFinish = (item) => {
|
||||
}
|
||||
.gowth-path2 {
|
||||
position: relative;
|
||||
margin: 0 45px 31px 63px;
|
||||
margin: 50px 45px 31px 63px;
|
||||
box-sizing: border-box;
|
||||
background-image: url(@/assets/image/growth/path2.png);
|
||||
background-size: 100%;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</div>
|
||||
<div class="nav-title">{{ data.growthName }}</div>
|
||||
</div>
|
||||
<template v-if="data.electiveTaskNum !== 0">
|
||||
<!-- <template v-if="data.electiveTaskNum !== 0"> -->
|
||||
<div class="tabs">
|
||||
<div
|
||||
class="tabs-item"
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="tabs-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<!-- </template> -->
|
||||
|
||||
<div class="search">
|
||||
<div class="search-input">
|
||||
@@ -70,13 +70,16 @@
|
||||
class="container"
|
||||
v-loading="loading"
|
||||
:style="{
|
||||
top: data.electiveTaskNum !== 0 ? '165px' : '103px',
|
||||
height: stageProcessList.length ? '' : ':400px',
|
||||
}"
|
||||
>
|
||||
<!-- :style="{
|
||||
top: data.electiveTaskNum !== 0 ? '165px' : '103px',
|
||||
height: stageProcessList.length ? '' : ':400px',
|
||||
}" -->
|
||||
<template v-if="stageProcessList && stageProcessList.length">
|
||||
<div
|
||||
@click="toFinish(item)"
|
||||
@touchstart="toFinish(item)"
|
||||
:id="item.id"
|
||||
v-for="(item, key) in stageProcessList"
|
||||
:key="key"
|
||||
|
||||
@@ -6,26 +6,26 @@
|
||||
</div>
|
||||
<div class="nav-title">{{ data.growthName }}</div>
|
||||
</div>
|
||||
<template v-if="data.electiveTaskNum !== 0">
|
||||
<div class="tabs">
|
||||
<div
|
||||
class="tabs-item"
|
||||
:class="queryParams.type == 1 ? 'active' : ''"
|
||||
@click="tabClick(1)"
|
||||
>
|
||||
<div class="tabs-text">必修</div>
|
||||
<div class="tabs-line"></div>
|
||||
</div>
|
||||
<div
|
||||
class="tabs-item"
|
||||
:class="queryParams.type == 2 ? 'active' : ''"
|
||||
@click="tabClick(2)"
|
||||
>
|
||||
<div class="tabs-text">选修</div>
|
||||
<div class="tabs-line"></div>
|
||||
</div>
|
||||
<!-- <template v-if="data.electiveTaskNum !== 0"> -->
|
||||
<div class="tabs">
|
||||
<div
|
||||
class="tabs-item"
|
||||
:class="queryParams.type == 1 ? 'active' : ''"
|
||||
@click="tabClick(1)"
|
||||
>
|
||||
<div class="tabs-text">必修</div>
|
||||
<div class="tabs-line"></div>
|
||||
</div>
|
||||
</template>
|
||||
<div
|
||||
class="tabs-item"
|
||||
:class="queryParams.type == 2 ? 'active' : ''"
|
||||
@click="tabClick(2)"
|
||||
>
|
||||
<div class="tabs-text">选修</div>
|
||||
<div class="tabs-line"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- </template> -->
|
||||
<div class="search">
|
||||
<div class="search-input">
|
||||
<el-input
|
||||
@@ -66,13 +66,10 @@
|
||||
<img class="icon" @click="toPath" src="@/assets/image/growth/list.png" />
|
||||
</div>
|
||||
<template v-if="stageProcessList && stageProcessList.length">
|
||||
<div
|
||||
class="container"
|
||||
v-loading="loading"
|
||||
:style="{
|
||||
<div class="container" v-loading="loading">
|
||||
<!-- :style="{
|
||||
top: data.electiveTaskNum !== 0 ? '165px' : '103px',
|
||||
}"
|
||||
>
|
||||
}" -->
|
||||
<div :style="{ transform: 'scale(' + transformSize + ')' }">
|
||||
<template v-if="growthInfo.template == 2">
|
||||
<div class="path-container">
|
||||
@@ -84,7 +81,7 @@
|
||||
? 'path-item-left'
|
||||
: 'path-item-right'
|
||||
"
|
||||
@click="toFinish(item)"
|
||||
@touchstart="toFinish(item)"
|
||||
:style="point[item.position]"
|
||||
v-for="(item, index) of stageProcessList"
|
||||
>
|
||||
@@ -849,7 +846,7 @@ const toPath = () => {
|
||||
background-color: #ffffff;
|
||||
background-image: url(@/assets/image/growth/path-bg.png);
|
||||
background-size: 100% 100%;
|
||||
|
||||
top: 165px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
border-radius: 15px 15px 0 0;
|
||||
|
||||
Reference in New Issue
Block a user