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>

View File

@@ -53,7 +53,7 @@
<view class="chapter_content">
<courseDescription :isCondition="true" :dataList="slotProps.dataList" label="title">
<template slot="labelSlot" slot-scope="slotProps">
<view :style="`${
<view @click="toLogin" :style="`${
slotProps.row.isAudition==1
? 'width:calc(100% - 100rpx);float:left;'
: 'width:100%;'}`">
@@ -215,7 +215,7 @@
toLogin(){
uni.showModal({
title: '提示',
content: '为了方便您后期用不同的设备查阅订购的记录,请先完成登录或注册。',
content: '为了保障您的使用权益,请先完成登录或注册。',
confirmText: '确认',
success(res){
if (res.confirm) {

View File

@@ -205,7 +205,7 @@
toLogin(){
uni.showModal({
title: '提示',
content: '为了方便您后期用不同的设备查阅订购的记录,请先完成登录或注册。',
content: '为了保障您的使用权益,请先完成登录或注册。',
confirmText: '确认',
success(res){
if (res.confirm) {

View File

@@ -3,7 +3,7 @@
<z-nav-bar :title="title"></z-nav-bar>
<view class="cateList">
<view class="list_block" v-if="!statusXLCP">
<view class="list_item" v-for="(item,index) in list" :key="index">
<view class="list_item" v-for="(item,index) in list" :key="index" @click="goToDetail(item)">
<view class="list_item_image">
<image v-if="item.image" :src="item.image" mode="aspectFit"></image>
<text class="image_null" v-else>暂无封面图</text>
@@ -12,7 +12,7 @@
<view class="list_item_title">{{item.title}}</view>
<view class="list_item_content" v-html="item.content"></view>
<view class="list_item_bt">
<text class="list_item_study" @click="goToDetail(item)">了解课程</text>
<text class="list_item_study">了解课程</text>
</view>
</view>
</view>

View File

@@ -40,16 +40,6 @@
<image class="book_image" :src="v.productImages" mode="aspectFit"></image>
<view class="book_content">
<view class="book_name">{{ v.productName }}</view>
<view class="bottom">
<view class="book_price">
<view class="book_price_current">
<text class="price_icon"></text>
<text class="price">{{ v.activityPrice > 0 ? v.activityPrice : v.price }}</text>
</view>
<view class="book_price_old" v-if="v.activityPrice > 0">原价{{ v.price }}</view>
</view>
<view class="sumSales">已售{{ v.sumSales }}</view>
</view>
</view>
</view>
</scroll-view>

View File

@@ -18,11 +18,11 @@
<br clear="both" />
</view>
</view>
<view class="cha_fangsh">
<view class="cha_fangsh" v-if="isAndroid">
<view class="cf_title PM_font">支付方式</view>
<view class="cf_radio">
<u-radio-group v-model="payType">
<view style="width: 100%" v-if="isAndroid">
<view style="width: 100%">
<view v-for="(item, index) in paylist" @click="choseType(item.id)"
:class="payType == item.id ? 'Tab_xf cf_xuanx' : 'cf_xuanx'">
<image class="pay_item_img" :src="item.imgUrl" mode="aspectFil">
@@ -33,7 +33,7 @@
</view>
</view>
<view style="width: 100%" v-else>
<!-- <view style="width: 100%" v-else>
<view v-for="(item, index) in iosPaylist" @click="choseType(item.id)"
:class="payType == item.id ? 'Tab_xf cf_xuanx' : 'cf_xuanx'">
<image class="pay_item_img" :src="item.imgUrl" mode="aspectFil">
@@ -42,7 +42,7 @@
<u-radio :key="index" activeColor="#7dc1f0" :name="item.id"
style="float: right; margin-top: 5rpx"></u-radio>
</view>
</view>
</view> -->
</u-radio-group>
</view>
</view>