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

@@ -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>