10.14号更新

This commit is contained in:
zoujiandong 2025-10-14 17:46:23 +08:00
parent 8b1e9bcb41
commit b16601baa6
99 changed files with 286 additions and 254 deletions

14
App.vue
View File

@ -36,7 +36,7 @@ let startByNotificationId = "";
export default {
globalData: {
plAd: true
plAd: true
},
onLaunch() {
@ -150,6 +150,12 @@ export default {
}
const account =storage_accid;
const token = storage_token;
if(!account || !token){
uni.redirectTo({
url: '/pages_app/login/login'
});
return;
}
console.log("account",account);
console.log("token",token);
console.log("account",typeof account);
@ -528,7 +534,7 @@ export default {
font-size: 50rpx!important;
}
::-webkit-scrollbar { display: none; }
.nav-right{
margin-top: -20px;
}
// .nav-right{
// margin-top: -20px;
// }
</style>

View File

@ -1,12 +1,12 @@
<template>
<!-- 顶部导航栏 -->
<uni-nav-bar
left-icon="left"
:left-icon="showLeft?left:''"
:title="title"
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
/>
@ -16,6 +16,10 @@
import { ref } from 'vue';
import { onShow } from "@dcloudio/uni-app";
const props=defineProps({
showLeft:{
type:Boolean,
default:true
},
title:{
type:String,
default:''

View File

@ -22,7 +22,8 @@
"Share" : {},
"Webview-x5" : {},
"UIWebview" : {},
"Push" : {}
"Push" : {},
"VideoPlayer" : {}
},
/* */
"distribute" : {
@ -77,7 +78,12 @@
}
},
"speech" : {},
"push" : {}
"push" : {
"unipush" : {
"version" : "2",
"offline" : false
}
}
},
"splashscreen" : {
"androidStyle" : "common",

View File

@ -72,8 +72,11 @@
{
"path": "pages/webview/webview",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
"navigationStyle": "custom",
"navigationBarTitleText": "uni-app分页",
"app": {
"bounce": "none"
}
}
},
{

View File

@ -1,5 +1,5 @@
<template>
<uni-nav-bar title="继续教育" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
<navBar :title="'继续教育'"></navBar>
<view class="page">
<!-- 课程列表 -->
<view class="course-list">
@ -103,6 +103,7 @@
import xueyuanImg from "@/static/ganbingxueyuan.png"
import newerImg from "@/static/xinshoujiaocheng.png"
import navTo from '@/utils/navTo.js';
import navBar from "@/components/navBar/navBar.vue"
//
//
const goToCourse = (courseType) => {
@ -166,7 +167,7 @@ $padding-small: 10px;
.page {
background-color: $gray-bg;
min-height: calc(100vh - 140rpx);
min-height: calc(100vh - 180rpx);
padding-bottom: 120rpx;
}

View File

@ -387,15 +387,24 @@ import { setTabUnread } from "@/utils/im/msg";
const countdown = ref(5);
const showAd=ref(true);
let timer = null;
const hasAd=ref(false);
const expertDetail = reactive({});
const hasConsult = ref(false);
const hasMsg = ref(false);
const showSign = ref(false);
const signInfo = reactive({
news: {
summary: "",
},
});
/**会话列表 */
const conversationList = ref<
(
| (V2NIMConversationForUI & { renderKey: string })
| (V2NIMLocalConversationForUI & { renderKey: string })
)[]
>([]);
// refs
const tabbarRef = ref(null);
const visible = ref(false);
@ -425,21 +434,27 @@ const handleReadMsg = () => {
const getStartpage = () => {
my_api.startpage().then(res => {
console.log('开屏广告数据:', res);
if (res && res.data) {
adData.value = {
path: docUrl + res.data.path || '',
url: res.data.url || ''
};
// 广
if (res.data.path) {
startCountdown();
if(!hasAd.value){
startCountdown();
}else{
navigateToHome();
}
} else {
// 广
navigateToHome();
}
hasAd.value=true;
} else {
//
navigateToHome();
@ -457,9 +472,7 @@ const getStartpage = () => {
countdown.value--;
if (countdown.value <= 0) {
clearInterval(timer);
if(app.globalData.plAd){
navigateToHome();
}
navigateToHome();
}
}, 1000);
}
@ -555,13 +568,7 @@ const subscribeUserStatus = (
}
};
/**会话列表 */
const conversationList = ref<
(
| (V2NIMConversationForUI & { renderKey: string })
| (V2NIMLocalConversationForUI & { renderKey: string })
)[]
>([]);
/**是否是云端会话 */
const enableV2CloudConversation =
uni.$UIKitStore?.sdkOptions?.enableV2CloudConversation;
@ -747,34 +754,10 @@ const formatToMonthDay = (val) => {
//
const onNoticeClick = (item) => {
uni.showToast({
title: `查看${item.content}`,
icon: "none",
console.log(item);
navTo({
url: `/pages_app/webview/webview?url=${encodeURIComponent(item.path)}&title=${item.content}`,
});
//
switch (item.type) {
case "patient":
uni.navigateTo({
url: "/pages/patient/consultation",
});
break;
case "meeting":
uni.navigateTo({
url: "/pages/meeting/live",
});
break;
case "guide":
uni.navigateTo({
url: "/pages/guide/list",
});
break;
default:
uni.navigateTo({
url: "/pages/notice/detail?id=" + item.id,
});
}
};
//
@ -816,7 +799,7 @@ const onClick = (index, name) => {
const encoded = encodeURIComponent(
"https://wx.igandan.com/Esite/index.htm#/home?fromtype=doctor"
);
url = `/pages_app/webview/webview?url=${encoded}`;
url = `/pages_app/webview/webview?url=${encoded}&title=专题e站`;
} else {
url = "/pages_app/myApplication/myApplication";
}
@ -862,12 +845,13 @@ const goNews = () => {
// #ifdef MP
const encoded = encodeURIComponent(url);
uni.navigateTo({
url: `/pages_app/webview/webview?url=${encoded}`,
url: `/pages_app/webview/webview?url=${encoded}&title=${signInfo.news.title}`,
});
// #endif
};
//
const onBannerClick = (item, index) => {
console.log(item, index);
if (!item) return;
if (index == 0) {
navTo({
@ -878,7 +862,7 @@ const onBannerClick = (item, index) => {
if (item.path) {
const encoded = encodeURIComponent(item.path);
navTo({
url: `/pages_app/webview/webview?url=${encoded}`,
url: `/pages_app/webview/webview?url=${encoded}&title=${item.title}`,
});
}
}
@ -886,26 +870,10 @@ const onBannerClick = (item, index) => {
// E
const onEsiteClick = (item) => {
if (!item || !item.url) {
return;
}
// H5
// #ifdef H5
window.open(item.url, "_blank");
// #endif
// App
// #ifdef APP-PLUS
plus.runtime.openURL(item.url);
// #endif
// 使 webview
// #ifdef MP
const encoded = encodeURIComponent(item.url);
uni.navigateTo({
url: `/pages_app/webview/webview?url=${encoded}`,
url: `/pages_app/webview/webview?url=${encoded}&title=${item.name}`,
});
// #endif
};
const hasTip = ref(false);
const goMessage = () => {
@ -1030,6 +998,7 @@ const getHomeData = async () => {
type: item.type, // 0: H5, 1:
path: item.path || "",
uuid: item.uuid || "",
title: item.title || "",
}))
);
} else if (Array.isArray(data.esite_list) && data.esite_list.length > 0) {
@ -1076,6 +1045,7 @@ const getHomeData = async () => {
specialList.push(
...data.esite_list.slice(0, 3).map((item) => ({
image: item.img_path || "",
name: item.name || "",
url: item.url || "",
}))
);

View File

@ -1,5 +1,5 @@
<template>
<uni-nav-bar title="肝胆会议" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
<navBar :title="'肝胆会议'" :showLeft="false"></navBar>
<view class="page">
<!-- 筛选标签栏 -->
<view class="filter-bar">
@ -168,6 +168,7 @@
import docUrl from "@/utils/docUrl"
import dayjs from 'dayjs'
import navTo from '@/utils/navTo.js';
import navBar from "@/components/navBar/navBar.vue"
//
const isTimePopupShow = ref(false);
const isLocationPopupShow = ref(false);
@ -233,7 +234,7 @@
const goDetail=(item)=>{
const encoded = encodeURIComponent(item.path);
uni.navigateTo({
url: `/pages_app/webview/webview?url=${encoded}`
url: `/pages_app/webview/webview?url=${encoded}&title=${item.title}`
});
}
//
@ -755,7 +756,7 @@ $shadow: 0 2px 8px rgba(0,0,0,0.1);
//
.filter-bar {
position:fixed ;
top:140rpx;
top:180rpx;
width:100%;
z-index:2;
background-color: $white;

View File

@ -1,5 +1,5 @@
<template>
<uni-nav-bar title="肝胆会议" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
<navBar :title="'肝胆会议'"></navBar>
<view class="page">
<!-- 筛选标签栏 -->
<view class="filter-bar">
@ -146,6 +146,7 @@
import timeImg from "@/static/play_long.png"
import api from '@/api/api';
import docUrl from '@/utils/docUrl';
import navBar from "@/components/navBar/navBar.vue"
//
const isTimePopupShow = ref(false);
const isLocationPopupShow = ref(false);

View File

@ -1,6 +1,5 @@
<template>
<uni-nav-bar title="我的" fixed color="#8B2316" height="140rpx" :border="false"
backgroundColor="#eeeeee"></uni-nav-bar>
<navBar :title="'我的'" :showLeft="false"></navBar>
<view class="page">
@ -242,6 +241,7 @@
import unidialog from '@/components/dialog/dialog.vue'
import signImg from "@/static/sign_in_bng_big.png"
import CustomTabbar from '@/components/tabBar/tabBar.vue';
import navBar from "@/components/navBar/navBar.vue"
import {
ref,reactive
} from 'vue';
@ -691,7 +691,7 @@ const switchPushPermissions = () => {
.page {
background-color: $gray-bg;
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
overflow-y: scroll;
padding-bottom: 100rpx;
}

View File

@ -1,5 +1,5 @@
<template>
<uni-nav-bar title="患教学堂" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
<navBar :title="'患教学堂'" :showLeft="false"></navBar>
<view class="page">
<!-- 顶部标题栏 -->
@ -129,7 +129,7 @@
import api from "@/api/api.js"
import docUrl from '@/utils/docUrl.js';
import navTo from '@/utils/navTo.js';
import navBar from "@/components/navBar/navBar.vue"
const type=ref(1)
//
@ -260,7 +260,7 @@
}else if(index==2){
let url=encodeURIComponent('https://wx.igandan.com/wxPatient/index.htm#/problem?link=share&fromtype=doctor')
navTo({
url: '/pages_app/webview/webview?url='+url
url: '/pages_app/webview/webview?url='+url+'&title='+'常见问题'
})
}
};
@ -270,7 +270,7 @@
//
if (article.path) {
uni.navigateTo({
url: `/pages_app/webview/webview?url=${encodeURIComponent(docUrl+article.path)}&title=${encodeURIComponent(article.title)}`
url: `/pages_app/webview/webview?url=${encodeURIComponent(docUrl+article.path)}&title=${article.title}`
});
}
};
@ -376,7 +376,7 @@ $padding-small: 10px;
.page {
background-color: $gray-bg;
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
display: flex;
overflow-y: hidden;
flex-direction: column;
@ -385,7 +385,7 @@ $padding-small: 10px;
.top{
width:100%;
position: fixed;
top:140rpx;
top:180rpx;
}
//
.tabs {

View File

@ -1,17 +1,25 @@
<template>
<web-view :src="url"></web-view>
<navBar :title="title" ></navBar>
<web-view :src="url" :webview-styles="webviewStyles"></web-view>
</template>
<script>
import navBar from "@/components/navBar/navBar.vue"
export default {
data() {
return {
url: ''
url: '',
title: '新闻详情',
webviewStyles: {
width: '100%',
height: 'calc(100vh - 160px)'
}
}
},
onLoad(item) {
// 使web-view
this.url = decodeURIComponent(item.url)
this.title = item.title;
// console.log(this.url)
}
}

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>
@ -138,7 +138,7 @@
}
.buy-point-page {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
background-color: $bg-color;
overflow: hidden; //

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>
@ -301,7 +301,7 @@ onMounted(() => {
/* 主要内容区域 */
.main-content {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
padding: 40rpx 30rpx;
box-sizing: border-box;
}

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -384,7 +384,7 @@ function onReachBottom(){
height: 44px;
padding: 0 16px;
position: fixed;
top: 140rpx;
top: 180rpx;
left: 0;
right: 0;
z-index: 10;

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
/>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -534,18 +534,18 @@ $white: #ffffff;
.guidelines-scroll-view {
position: fixed;
top: 140rpx;
top: 180rpx;
left: 0;
right: 0;
bottom: 0;
z-index: 99;
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
background-color: $bg-color;
}
//
.search-container-fixed {
position: fixed;
top: 140rpx; //
top: 180rpx; //
left: 0;
right: 0;
z-index: 90;

View File

@ -9,7 +9,7 @@
@clickRight="addBankCard"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack()"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -673,7 +673,7 @@ $shadow: 0 2px 8px rgba(0,0,0,0.1);
//
.scroll-content {
position: fixed;
top: 228rpx; // 140rpx + 88rpx
top: 268rpx; // 140rpx + 88rpx
left: 0;
right: 0;
bottom: 0rpx; //

View File

@ -216,7 +216,8 @@
uni.setStorageSync('DEV_AUTH_YX_TOKEN_App', res.data.YX_token);
uni.setStorageSync('userInfo', res.data);
}
const app = getApp()
app.initNim({ account:result.data.YX_accid, token: result.data.YX_token })
//
navTo({
url: '/pages/index/index'

View File

@ -9,7 +9,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -265,9 +265,9 @@ onMounted(() => {
}
.journal-list {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
position: fixed;
top: 140rpx;
top: 180rpx;
bottom: 0;
width: 100%;
padding-bottom: 100rpx; /* 为底部操作栏留出空间 */

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -166,9 +166,9 @@ onMounted(() => {
}
.document-list {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
position: fixed;
top: 140rpx;
top: 180rpx;
bottom: 0;
width: 100%;
}

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -172,7 +172,7 @@ const onLoadMore = () => {
}
.history-list {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
position: fixed;
top:140rpx;
bottom:0;

View File

@ -8,7 +8,7 @@
@clickLeft="goBack()"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -177,9 +177,9 @@ onMounted(() => {
}
.news-list {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
position: fixed;
top: 140rpx;
top: 180rpx;
bottom: 0;
width: 100%;
}

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -172,7 +172,7 @@ const onLoadMore = () => {
}
.history-list {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
position: fixed;
top:140rpx;
bottom:0;

View File

@ -7,7 +7,7 @@
@cviewckLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -305,7 +305,7 @@ const onLoadMore = () => {
background: #ffffff;
border-bottom: 2rpx solid #f0f0f0;
position: fixed;
top: 140rpx;
top: 180rpx;
left: 0;
right: 0;
z-index: 10;
@ -355,7 +355,7 @@ const onLoadMore = () => {
}
.courseware-list {
height: calc(100vh - 140rpx - 116rpx - 80rpx);
height: calc(100vh - 180rpx - 116rpx - 80rpx);
position: fixed;
top: 336rpx; //
bottom: 0;

View File

@ -8,7 +8,7 @@
@clickLeft="goBack()"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -8,7 +8,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
/>
@ -247,7 +247,7 @@ $card: #ffffff;
padding: 22rpx 30rpx;
font-size: 30rpx;
position: sticky;
top: 140rpx; /* nav 高度 */
top: 180rpx; /* nav 高度 */
z-index: 5;
.col { width: 33%; }
@ -257,7 +257,7 @@ $card: #ffffff;
}
.table-body {
height: calc(100vh - 140rpx - 88rpx - 70rpx);
height: calc(100vh - 180rpx - 88rpx - 70rpx);
/* 充满剩余高度,避免滚动穿透 */
}

View File

@ -9,7 +9,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
/>

View File

@ -9,7 +9,7 @@
@clickRight="showRules"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -8,7 +8,7 @@
@clickLeft="goBack()"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>
@ -270,7 +270,7 @@ import navTo from '../../utils/navTo';
/* Fixed Banner Container */
.banner-container {
position: fixed;
top: 140rpx; /* uni-nav-bar height */
top: 180rpx; /* uni-nav-bar height */
left: 0;
right: 0;
z-index: 50;

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -8,7 +8,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -388,7 +388,7 @@ const createNew = () => {
padding: 20rpx 30rpx;
background-color: #ffff;
position: fixed;
top: 140rpx;
top: 180rpx;
left: 0;
right: 0;
z-index: 9;

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>
@ -96,7 +96,7 @@
<view class="listbox">
<!-- 使用 up-index-list 索引组件数据动态渲染 -->
<up-index-list :index-list="indexList" custom-nav-height="140rpx" v-if="patientList.length > 0">
<up-index-list :index-list="indexList" custom-nav-height="180rpx" v-if="patientList.length > 0">
<template v-for="group in patientGroups" :key="group.letter">
<up-index-item >
<up-index-anchor :text="group.letter" />
@ -148,7 +148,7 @@
<text class="day">{{ formatDay(item.datetime) }}</text>
</view>
<view class="linebox">
<up-image :src="lineImg" width="14rpx" height="140rpx" ></up-image>
<up-image :src="lineImg" width="14rpx" height="180rpx" ></up-image>
</view>
<view class="right-content">
<view class="leftcontent">
@ -414,7 +414,7 @@
};
const goBack = () => {
uni.reLaunch({
url: "/pages/index/index?from="+fromType.value
url: "/pages/index/index?from=push"
})
};
@ -1058,7 +1058,7 @@
/* 随访计划样式 */
.plan{
position: fixed;
top: 140rpx;
top: 180rpx;
left: 0;
right: 0;
bottom:110rpx;

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
/>

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -1,6 +1,6 @@
<template>
<uni-nav-bar left-icon="left"
@clickLeft="goBack" title="患教视频" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
@clickLeft="goBack" title="患教视频" fixed color="#8B2316" height="180rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
<view class="video-page">
<!-- Header -->
@ -515,7 +515,7 @@
.scroll-view {
position: fixed;
bottom: 0rpx;
height: calc(100vh - 140rpx); /* 固定高度,减去导航栏高度 */
height: calc(100vh - 180rpx); /* 固定高度,减去导航栏高度 */
background-color: #f5f5f5;
top: 172rpx; /* 为导航栏留出空间 */
}
@ -569,7 +569,7 @@
/* Fixed Filter Tabs Container */
.filter-tabs-container {
position: fixed;
top: 140rpx; /* uni-nav-bar height */
top: 180rpx; /* uni-nav-bar height */
left: 0;
right: 0;
z-index: 40;

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>
@ -230,7 +230,7 @@
}
.pay-page {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
background-color: $bg-color;
overflow: hidden;
}

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>
@ -775,7 +775,7 @@ const confirmSpecialties = () => {
}
.content {
position: fixed;
top: calc(var(--status-bar-height) + 44px);
top: 180rpx;
bottom: 0;
left: 0;
right: 0;

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -134,7 +134,7 @@ $white: #ffffff;
$border-color: #e5e5e5;
.goods-page {
min-height: calc(100vh - 140rpx - 120rpx);
min-height: calc(100vh - 180rpx - 120rpx);
background-color: $bg-color;
padding-bottom: 120rpx;
}

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -466,7 +466,7 @@
}
.courseware-container {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
background-color: $background-color;
}
@ -516,7 +516,7 @@
gap: 100rpx;
border-bottom: 1rpx solid $border-color;
position: sticky;
top: 140rpx;
top: 180rpx;
z-index: 99;
.divider{
width: 2rpx;

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>
@ -224,7 +224,7 @@
justify-content: center;
height: 100%;
.calendarbox{
margin-top: 140rpx;
margin-top: 180rpx;
display: flex;
background-color: #ffffff;
flex-direction: column;

View File

@ -208,7 +208,7 @@
<style lang="scss">
.search-container {
min-height: calc(100vh - 140rpx);
min-height: calc(100vh - 180rpx);
background-color: #fff;
}
@ -311,7 +311,7 @@
//
.search-categories {
margin-top: 140rpx;
margin-top: 180rpx;
padding: 30rpx;
background-color: #fff;

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>
@ -525,7 +525,7 @@
bottom:0;
width:100%;
top:140rpx;
height: calc(100vh - 140rpx); //
height: calc(100vh - 180rpx); //
background-color: #f8f8f8;
}

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
/>
@ -225,7 +225,7 @@ $white: #ffffff;
.tabs {
position: fixed;
top: 140rpx;
top: 180rpx;
left: 0;
right: 0;
z-index: 90;

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -8,7 +8,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -365,7 +365,8 @@
}
const app = getApp()
app.initNim({ account:result.YX_accid, token: result.YX_token })
uni.showToast({
title: '登录成功',
icon: 'none'

View File

@ -1,6 +1,6 @@
<template>
<uni-nav-bar left-icon="left"
@clickLeft="goBack" title="肝胆视频" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
@clickLeft="goBack" title="肝胆视频" fixed color="#8B2316" height="180rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
<view class="video-page">
<!-- Header -->
@ -929,7 +929,7 @@
/* Fixed Banner Container */
.banner-container {
position: fixed;
top: 140rpx; /* uni-nav-bar height */
top: 180rpx; /* uni-nav-bar height */
left: 0;
right: 0;
z-index: 50;

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -256,7 +256,7 @@ const onLoadMore = () => {
}
.history-list {
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
position: fixed;
top:140rpx;
bottom:0;

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>
@ -251,7 +251,7 @@
justify-content: center;
height: 100%;
.calendarbox{
margin-top: 140rpx;
margin-top: 180rpx;
display: flex;
background-color: #ffffff;
flex-direction: column;

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>
@ -35,7 +35,7 @@
<text class="day">{{ formatDay(item.datetime) }}</text>
</view>
<view class="linebox">
<up-image :src="lineImg" width="14rpx" height="140rpx" ></up-image>
<up-image :src="lineImg" width="14rpx" height="180rpx" ></up-image>
</view>
<view class="right-content">
<view class="leftcontent">
@ -182,7 +182,7 @@ onShow(() => {
.content { background-color: #f5f5f5; height: 100vh; overflow-y: hidden; }
.linebox{ margin:0 20rpx; }
.plan{ position: fixed; top: 140rpx; left: 0; right: 0; bottom:0rpx; }
.plan{ position: fixed; top: 180rpx; left: 0; right: 0; bottom:0rpx; }
.plan-scroll { height: 100%; }
.plan-list{ padding-bottom: 20rpx; }
.plan-group{ background:#f5f5f5; }

View File

@ -1,37 +1,66 @@
<template>
<view class="container">
<web-view :src="safeUrl"></web-view>
</view>
<view class="container">
<navBar :title="title"></navBar>
</view>
</template>
<script setup>
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { ref } from "vue";
import { onLoad } from "@dcloudio/uni-app";
import navBar from "@/components/navBar/navBar.vue";
const title = ref("新闻详情");
const safeUrl = ref("");
const safeUrl = ref('')
onLoad((query) => {
// url
const raw = query && (query.url || '')
try {
safeUrl.value = decodeURIComponent(raw)
} catch (e) {
safeUrl.value = raw
}
})
onLoad((query) => {
// url
const raw = query && (query.url || "");
try {
safeUrl.value = decodeURIComponent(raw);
title.value = query.title;
// #ifdef APP-PLUS
let wv = plus.webview.create("", "custom-webview", {
top: "140rpx",
bottom:"20rpx",
});
wv.loadURL( safeUrl.value);
let pages = getCurrentPages();
let page = pages[pages.length - 1];
var currentWebview = page.$getAppWebview(); //html5plusplus.webview.currentWebview()uni-appvue使plus.webview.currentWebview()
currentWebview.append(wv);
setTimeout(function () {
wv = currentWebview.children()[0];
uni.getSystemInfo({
//
success: (sysinfo) => {
let height = sysinfo.windowHeight; // ---(-50)
wv.setStyle({ top: 70,height: height- 70});
},
complete: () => {}
});
}, 300); //
wv.onloaded = (e) => {
wv.show();
};
// #endif
} catch (e) {
safeUrl.value = raw;
}
});
</script>
<style>
.container{
min-height: 100vh;
}
.tip{
padding: 24rpx;
color: #666;
font-size: 28rpx;
}
.container {
height: 100vh;
overflow: scroll;
}
.tip {
padding: 24rpx;
color: #666;
font-size: 28rpx;
}
</style>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
/>

View File

@ -5,7 +5,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
></uni-nav-bar>
@ -556,7 +556,7 @@ $accent-color: #4A90E2;
//
.search-container-fixed {
position: fixed;
top: 140rpx; //
top: 180rpx; //
left: 0;
right: 0;
z-index: 90;

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -546,13 +546,13 @@ $white: #ffffff;
right: 0;
bottom: 0;
z-index: 99;
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
background-color: $bg-color;
}
//
.search-container-fixed {
position: fixed;
top: 140rpx; //
top: 180rpx; //
left: 0;
right: 0;
z-index: 90;

View File

@ -356,7 +356,7 @@ $padding-small: 10px;
.page {
background-color: $gray-bg;
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
display: flex;
overflow-y: hidden;
flex-direction: column;

View File

@ -10,7 +10,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -415,7 +415,7 @@ $red: #D32F2F;
//
.scroll-container {
position: fixed;
top: 140rpx;
top: 180rpx;
width:100%;
bottom: 107rpx;

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
/>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eee"
>

View File

@ -8,7 +8,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#eeeeee"
>
@ -518,7 +518,7 @@ const clearSelection = () => {
padding: 20rpx 30rpx;
background-color: #ffff;
position: fixed;
top: 140rpx;
top: 180rpx;
left: 0;
right: 0;
z-index: 9;
@ -578,7 +578,7 @@ const clearSelection = () => {
}
.patient-list-section {
top: 140rpx;
top: 180rpx;
width:100%;
bottom:120rpx; //
position: fixed;

View File

@ -6,7 +6,7 @@
title="快捷回复"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#f5f5f5"
/>
@ -182,7 +182,7 @@
position: fixed;
top: 140rpx; /* 与导航栏高度一致 */
top: 180rpx; /* 与导航栏高度一致 */
left: 0;
right: 0;
z-index: 2;

View File

@ -396,7 +396,7 @@ $padding-small: 10px;
.page {
background-color: $gray-bg;
height: calc(100vh - 140rpx);
height: calc(100vh - 180rpx);
display: flex;
overflow-y: hidden;
flex-direction: column;

View File

@ -1,6 +1,6 @@
<template>
<uni-nav-bar left-icon="left"
@clickLeft="goBack" title="患教视频" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
@clickLeft="goBack" title="患教视频" fixed color="#8B2316" height="180rpx" :border="false" backgroundColor="#eeeeee"></uni-nav-bar>
<view class="video-page">
<!-- Header -->
<!-- Fixed Filter Tabs -->
@ -517,7 +517,7 @@
.scroll-view {
position: fixed;
bottom: 0rpx;
height: calc(100vh - 140rpx); /* 固定高度,减去导航栏高度 */
height: calc(100vh - 180rpx); /* 固定高度,减去导航栏高度 */
background-color: #f5f5f5;
top: 172rpx; /* 为导航栏留出空间 */
}
@ -574,7 +574,7 @@
/* Fixed Filter Tabs Container */
.filter-tabs-container {
position: fixed;
top: 140rpx; /* uni-nav-bar height */
top: 180rpx; /* uni-nav-bar height */
left: 0;
right: 0;
z-index: 40;

View File

@ -6,7 +6,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#ffffff"
/>
@ -128,7 +128,7 @@ const formatDate = (seconds) => {
.tab-item{flex:1;display:flex;align-items:center;justify-content:center}
.tab-text{font-size:28rpx;color:#999}
.tab-item.active .tab-text{color:#8B2316;font-weight:600}
.list{height:calc(100vh - 88rpx - 140rpx);}
.list{height:calc(100vh - 88rpx - 180rpx);}
.card-wrap{padding:24rpx}
.coupon-card{display:flex;flex-direction: column; background:linear-gradient(90deg,#ff7381, #ff6a7a);border-radius:16rpx;color:#fff;position:relative;margin-bottom:24rpx}
.coupon-card.gray{background:#e5e5e5;color:#666}

View File

@ -1,6 +1,6 @@
<template>
<view class="address-page">
<uni-nav-bar left-icon="left" title="收货地址" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#ffffff" @clickLeft="goBack" />
<uni-nav-bar left-icon="left" title="收货地址" fixed color="#8B2316" height="180rpx" :border="false" backgroundColor="#ffffff" @clickLeft="goBack" />
<scroll-view scroll-y class="content">
<view class="form-item">
@ -205,7 +205,7 @@ const submit = () => {
<style scoped>
.address-page { min-height: 100vh; background: #fff; }
.content { position: absolute; top: 140rpx; bottom: 120rpx; left: 0; right: 0; background: #fff; }
.content { position: absolute; top: 180rpx; bottom: 120rpx; left: 0; right: 0; background: #fff; }
.form-item { display: flex; align-items: center; padding: 24rpx; }
.label { width: 160rpx; color: #333; font-size: 30rpx; }
.input { flex: 1; color: #333; font-size: 30rpx; }

View File

@ -1,6 +1,6 @@
<template>
<view class="addr-list-page">
<uni-nav-bar left-icon="left" title="地址管理" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#ffffff" @clickLeft="goBack" />
<uni-nav-bar left-icon="left" title="地址管理" fixed color="#8B2316" height="180rpx" :border="false" backgroundColor="#ffffff" @clickLeft="goBack" />
<scroll-view scroll-y class="list-wrap">
<view v-if="!list.length" class="empty">暂无收货地址</view>
@ -74,7 +74,7 @@ const select = (item) => {
<style scoped>
.addr-list-page { min-height: 100vh; background: #fff; }
.list-wrap { position: absolute; top: 140rpx; bottom: 120rpx; left: 0; right: 0; }
.list-wrap { position: absolute; top: 180rpx; bottom: 120rpx; left: 0; right: 0; }
.empty { text-align: center; color: #999; padding: 80rpx 24rpx; }
.addr-item { display: flex; align-items: center; justify-content: space-between; padding: 24rpx; border-bottom: 1rpx solid #f0f0f0; }
.addr-main { flex: 1; }

View File

@ -1,6 +1,6 @@
<template>
<view class="exchange-page">
<uni-nav-bar left-icon="left" title="在线兑换" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#ffffff" @clickLeft="goBack" />
<uni-nav-bar left-icon="left" title="在线兑换" fixed color="#8B2316" height="180rpx" :border="false" backgroundColor="#ffffff" @clickLeft="goBack" />
<scroll-view scroll-y class="content">
<!-- 收货地址 -->
@ -168,7 +168,7 @@ const getTotalPoints = () => {
<style scoped>
.exchange-page { min-height: 100vh; background: #fff; }
.content { position: absolute; top: 140rpx; bottom: 120rpx; left: 0; right: 0; background: #fff; }
.content { position: absolute; top: 180rpx; bottom: 120rpx; left: 0; right: 0; background: #fff; }
.addr-card { background: #fff; padding: 24rpx; border-bottom: 1rpx solid #f0f0f0; }
.addr-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12rpx; }
.addr-title { color: #333; font-size: 30rpx; }

View File

@ -1,6 +1,6 @@
<template>
<view class="page">
<uni-nav-bar left-icon="left" title="我的兑换" fixed color="#8B2316" height="140rpx" :border="false" backgroundColor="#ffffff" @clickLeft="goBack" />
<uni-nav-bar left-icon="left" title="我的兑换" fixed color="#8B2316" height="180rpx" :border="false" backgroundColor="#ffffff" @clickLeft="goBack" />
<scroll-view
scroll-y
@ -99,7 +99,7 @@ const goBack = () => uni.navigateBack()
<style scoped>
.page { min-height: 100vh; background: #fff; }
.content { position: absolute; top: 140rpx; bottom: 0; left: 0; right: 0; background: #fff; }
.content { position: absolute; top: 180rpx; bottom: 0; left: 0; right: 0; background: #fff; }
.card { background: #fff; padding: 24rpx; border-bottom: 16rpx solid #f5f5f5; }
.row { display: flex; align-items: center; padding: 10rpx 0; }
.label { color: #333; font-size: 30rpx; width: 180rpx; }

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#e74c3c"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#ffffff"
>

View File

@ -7,7 +7,7 @@
@clickLeft="goBack"
fixed
color="#8B2316"
height="140rpx"
height="180rpx"
:border="false"
backgroundColor="#ffffff"
/>
@ -116,7 +116,7 @@ const goExchange = () => {
.detail-scroll {
position: absolute;
top: 140rpx;
top: 180rpx;
left: 0;
right: 0;
bottom: 100rpx;

View File

@ -43,3 +43,4 @@