This commit is contained in:
liuyuan
2025-08-19 10:24:28 +08:00
parent 692a3838c2
commit e04e7953a1
5 changed files with 51 additions and 16 deletions

View File

@@ -2,8 +2,8 @@
"name" : "心灵空间", "name" : "心灵空间",
"appid" : "__UNI__BBBDFD2", "appid" : "__UNI__BBBDFD2",
"description" : "心灵空间", "description" : "心灵空间",
"versionName" : "1.0.33", "versionName" : "1.0.37",
"versionCode" : 1033, "versionCode" : 1037,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@@ -111,15 +111,7 @@ export default {
} }
}, },
onShow(){ onShow(){
let fixed = uni.getStorageSync('fixed');
//如果是诊断标准子页面返回的
if(fixed){
this.activeTab = 1;
}else{
this.activeTab = 0;
this.getPsycheTree();
}
this.childrenTab = 0;
}, },
onLoad(options) { onLoad(options) {
//清除缓存 //清除缓存
@@ -146,6 +138,15 @@ export default {
text= '城市'; text= '城市';
} }
this.countryText = text; this.countryText = text;
// let fixed = uni.getStorageSync('fixed');
// //如果是诊断标准子页面返回的
// if(fixed){
// this.activeTab = 1;
// }else{
this.activeTab = 0;
this.getPsycheTree();
// }
this.childrenTab = 0;
}, },
methods: { methods: {
//判断显示‘上/中/下’ //判断显示‘上/中/下’

View File

@@ -65,7 +65,7 @@
</view> </view>
</view> </view>
<view class="not_purchased" v-if="slotProps.data.type != 0&&!showNewPayBtn[0].status"> <view class="not_purchased" v-if="slotProps.data.type != 0&&!showNewPayBtn[slotProps.dataIndex].status">
<view class="spot"></view> <view class="spot"></view>
<view> <view>
<text v-if="userVip==null&&slotProps.data.isBuy!=1">未购买</text> <text v-if="userVip==null&&slotProps.data.isBuy!=1">未购买</text>
@@ -76,11 +76,25 @@
<text v-if="userVip!=null">有效期至{{ userVip.endTime }}</text> <text v-if="userVip!=null">有效期至{{ userVip.endTime }}</text>
</view> </view>
</view> </view>
<view class="right">
<view class="right" v-if="slotProps.dataIndex==0">
<text v-if="slotProps.data.type == 0&&userVip==null&&slotProps.data.isBuy!=1" style="color: #fff; font-size: 12px" class="fdButtonBox aui-text-success" <text v-if="slotProps.data.type == 0&&userVip==null&&slotProps.data.isBuy!=1" style="color: #fff; font-size: 12px" class="fdButtonBox aui-text-success"
@click="handleClickGetGoodsList(slotProps.data)">领取课程</text> @click="handleClickGetGoodsList(slotProps.data)">领取课程</text>
<text v-else-if="showNewPayBtn[0]&&showNewPayBtn[0].status" style=" background: #f42c32; border: 0; padding: 15rpx 30rpx; color: #fff; font-size: 12px" class="fdButtonBox aui-text-success" <text v-else-if="showNewPayBtn[0]&&showNewPayBtn[0].status==true" style=" background: #f42c32; border: 0; padding: 15rpx 30rpx; color: #fff; font-size: 12px" class="fdButtonBox aui-text-success"
@click="goNewPay(slotProps.data)">复读</text>
<u-icon v-else-if="userVip==null&&slotProps.data.type != 0&&slotProps.data.isBuy!=1"
@click="handleClickGetGoodsList(slotProps.data)" class="editIcon" name="shopping-cart-fill"
color="#FF2B57" size="28"></u-icon>
</view>
<view class="right" v-else>
<text v-if="slotProps.data.type == 0&&userVip==null&&slotProps.data.isBuy!=1" style="color: #fff; font-size: 12px" class="fdButtonBox aui-text-success"
@click="handleClickGetGoodsList(slotProps.data)">领取课程</text>
<text v-else-if="showNewPayBtn[slotProps.dataIndex]&&showNewPayBtn[slotProps.dataIndex].status==true" style=" background: #f42c32; border: 0; padding: 15rpx 30rpx; color: #fff; font-size: 12px" class="fdButtonBox aui-text-success"
@click="goNewPay(slotProps.data)">复读</text> @click="goNewPay(slotProps.data)">复读</text>
<u-icon v-else-if="userVip==null&&slotProps.data.type != 0&&slotProps.data.isBuy!=1" <u-icon v-else-if="userVip==null&&slotProps.data.type != 0&&slotProps.data.isBuy!=1"

View File

@@ -10,6 +10,7 @@
</view> </view>
<!-- 应对华为审核去掉app跳转 --> <!-- 应对华为审核去掉app跳转 -->
<view class="appJump"> <view class="appJump">
<view class="app_item wumen" @click="appjumpfun('wumen')"> <view class="app_item wumen" @click="appjumpfun('wumen')">
<view class="img"> <view class="img">
<image src="@/static/logo_wumen.png"></image> <image src="@/static/logo_wumen.png"></image>
@@ -18,6 +19,14 @@
<text>吴门医述</text> <text>吴门医述</text>
</view> </view>
</view> </view>
<view class="app_item taihu" @click="appjumpfun('taihu')" v-if="isShowTaihu">
<view class="img">
<image src="@/static/logo_taihu.png"></image>
</view>
<view class="text">
<text>太湖云医</text>
</view>
</view>
<view class="app_item zmzm" @click="appjumpfun('zmzm')"> <view class="app_item zmzm" @click="appjumpfun('zmzm')">
<view class="img"> <view class="img">
<image src="@/static/logo_zmzm.png"></image> <image src="@/static/logo_zmzm.png"></image>
@@ -117,6 +126,7 @@ import $http from "@/config/requestConfig.js";
export default { export default {
data() { data() {
return { return {
isShowTaihu:false,
curriculumList: [], curriculumList: [],
curriculumList: [ curriculumList: [
{ {
@@ -144,10 +154,15 @@ export default {
cateIndex: 0 //分类默认选中第一个 cateIndex: 0 //分类默认选中第一个
} }
}, },
onLoad() { onLoad() {if (plus.os.name == "Android") {
this.isShowTaihu=true
}else{
this.isShowTaihu=false
}
this.getCateList(); this.getCateList();
}, },
onShow() { onShow() {
let cateIndex = uni.getStorageSync('cateIndex'); let cateIndex = uni.getStorageSync('cateIndex');
this.cateIndex = cateIndex; this.cateIndex = cateIndex;
this.getCourseList(); this.getCourseList();
@@ -316,6 +331,10 @@ export default {
bagName = "com.cn.medicine"; bagName = "com.cn.medicine";
schemes = "medicine"; schemes = "medicine";
} }
if (name == "taihu") {
bagName = "com.cn.taimed";
schemes = "taimed";
}
if (name == "zmzm") { if (name == "zmzm") {
bagName = "com.cn.zmzm"; bagName = "com.cn.zmzm";
schemes = "zmzm"; schemes = "zmzm";
@@ -326,6 +345,7 @@ export default {
} }
if (plus.os.name == "Android") { if (plus.os.name == "Android") {
//安卓 //安卓
if ( if (
plus.runtime.isApplicationExist({ plus.runtime.isApplicationExist({
@@ -619,7 +639,7 @@ export default {
.app_item { .app_item {
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
margin-bottom: 20rpx; margin-bottom: 10rpx;
border: 1px solid #fff; border: 1px solid #fff;
display: flex; display: flex;
align-items: center; align-items: center;

BIN
static/logo_taihu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB