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

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