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

@@ -2,8 +2,8 @@
"name" : "心灵空间", "name" : "心灵空间",
"appid" : "__UNI__BBBDFD2", "appid" : "__UNI__BBBDFD2",
"description" : "心灵空间", "description" : "心灵空间",
"versionName" : "1.0.21", "versionName" : "1.0.23",
"versionCode" : 1021, "versionCode" : 1023,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@@ -1,5 +1,16 @@
{ {
"pages": [ "pages": [
{
"path": "pages/visitor/index",
"style": {
"navigationBarTitleText": "游客登录",
"app-plus": {
"bounce": "none",
"titleNView": false,
"popGesture": "none"
}
}
},
{ {
"path": "pages/home/index", "path": "pages/home/index",
"style": { "style": {
@@ -22,18 +33,6 @@
} }
} }
}, },
{
"path": "pages/visitor/index",
"style": {
"navigationBarTitleText": "游客登录",
"app-plus": {
"bounce": "none",
"titleNView": false,
"popGesture": "none"
}
}
},
{ {
"path": "pages/visitor/taihu", "path": "pages/visitor/taihu",
"style": { "style": {

View File

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

View File

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

View File

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

View File

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

View File

@@ -40,16 +40,6 @@
<image class="book_image" :src="v.productImages" mode="aspectFit"></image> <image class="book_image" :src="v.productImages" mode="aspectFit"></image>
<view class="book_content"> <view class="book_content">
<view class="book_name">{{ v.productName }}</view> <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>
</view> </view>
</scroll-view> </scroll-view>

View File

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