This commit is contained in:
liuyuan
2025-05-23 17:26:20 +08:00
parent cbc3465c57
commit d3ede507f3
8 changed files with 24 additions and 35 deletions

View File

@@ -35,11 +35,11 @@
<view class="list_item_title">{{item.title}}</view>
<view class="list_item_content" v-html="item.content"></view>
<view class="list_item_bt">
<view class="list_item_price" v-if="item.courseCatalogueEntityList.length==1">
<view class="list_item_price" v-if="item.courseCatalogueEntityList.length==1&&$platform!='ios'">
<text v-if="item.courseCatalogueEntityList[0].halfFee==0">免费</text>
<text v-else>¥{{item.courseCatalogueEntityList[0].halfFee}}/{{item.courseCatalogueEntityList[0].fee}}</text>
</view>
<view class="list_item_price" v-if="item.courseCatalogueEntityList.length>1">
<view class="list_item_price" v-if="item.courseCatalogueEntityList.length>1&&$platform!='ios'">
<text v-for="(v,i) in item.courseCatalogueEntityList" :key="i">
{{formatContent(v.title)}}<text v-if="i !== item.courseCatalogueEntityList.length - 1">/</text>
</text>