更新项目

This commit is contained in:
liuyuan
2025-03-20 16:14:57 +08:00
parent 37829438bc
commit fbce03f09f
6 changed files with 86 additions and 82 deletions

View File

@@ -28,7 +28,7 @@
<view class="list_block" v-if="!statusXLCP" :style="labelsList.length>0&&childrenList.length==0?`marginTop: ${45 + statusBarHeight}px;`:''">
<view class="list_item" v-if="list.length>0" v-for="(item,index) in list" :key="index" @click.stop="goToDetail(item)">
<view class="list_item_image">
<image v-if="item.squareImage" :src="item.squareImage" mode="aspectFit"></image>
<image v-if="item.image" :src="item.image" mode="aspectFit"></image>
<text class="image_null" v-else>暂无封面图</text>
</view>
<view class="list_item_right">
@@ -44,7 +44,7 @@
{{formatContent(v.title)}}<text v-if="i !== item.courseCatalogueEntityList.length - 1">/</text>
</text>
<text v-if="item.courseCatalogueEntityList[0].halfFee==0" style="padding-left: 20rpx;">免费</text>
<text v-else style="margin-left: 20rpx;">¥{{item.courseCatalogueEntityList[0].halfFee}}/{{item.courseCatalogueEntityList[0].fee}}</text>
<text v-else style="margin-left: 20rpx;">{{item.courseCatalogueEntityList[0].halfFee}}/{{item.courseCatalogueEntityList[0].fee}}</text>
</view>
<text class="list_item_study">了解课程</text>
</view>
@@ -128,7 +128,7 @@ export default {
this.title = options.title;
this.id = options.id;
//如果是心理评测
if(this.id==87){
if(this.id==75){
this.statusXLCP = true;
this.getFormList();
}
@@ -205,7 +205,7 @@ export default {
this.labelsList = res.labels;
//如果是心理测评
if(this.id == 87){
if(this.id == 75){
this.XL_id = this.labelsList[0].id;
}
//判断是否有子级
@@ -238,7 +238,7 @@ export default {
this.statusNull = null;
this.activeTab = index;
//如果是心理测评
if(this.id == 87){
if(this.id == 75){
this.XL_id = item.id;
}
if(item.isLast == 1) {
@@ -450,8 +450,8 @@ export default {
border-radius: 10rpx;
}
.list_item_image,.image_null{
width: 240rpx;
height: 240rpx;
width: 250rpx;
height: 220rpx;
background-color: rgba(125, 193, 240, 0.1);
display: flex;
justify-content: center;

View File

@@ -169,7 +169,7 @@ export default {
<style scoped>
.viewWrap{
height: 100vh;
background-color: #f4f7ff;
background-color: #eff5f8;
}
.scale_block{
padding: 20rpx;