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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
<template> <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="page">
<!-- 课程列表 --> <!-- 课程列表 -->
<view class="course-list"> <view class="course-list">
@ -103,6 +103,7 @@
import xueyuanImg from "@/static/ganbingxueyuan.png" import xueyuanImg from "@/static/ganbingxueyuan.png"
import newerImg from "@/static/xinshoujiaocheng.png" import newerImg from "@/static/xinshoujiaocheng.png"
import navTo from '@/utils/navTo.js'; import navTo from '@/utils/navTo.js';
import navBar from "@/components/navBar/navBar.vue"
// //
// //
const goToCourse = (courseType) => { const goToCourse = (courseType) => {
@ -166,7 +167,7 @@ $padding-small: 10px;
.page { .page {
background-color: $gray-bg; background-color: $gray-bg;
min-height: calc(100vh - 140rpx); min-height: calc(100vh - 180rpx);
padding-bottom: 120rpx; padding-bottom: 120rpx;
} }

View File

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

View File

@ -1,5 +1,5 @@
<template> <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="page">
<!-- 筛选标签栏 --> <!-- 筛选标签栏 -->
<view class="filter-bar"> <view class="filter-bar">
@ -168,6 +168,7 @@
import docUrl from "@/utils/docUrl" import docUrl from "@/utils/docUrl"
import dayjs from 'dayjs' import dayjs from 'dayjs'
import navTo from '@/utils/navTo.js'; import navTo from '@/utils/navTo.js';
import navBar from "@/components/navBar/navBar.vue"
// //
const isTimePopupShow = ref(false); const isTimePopupShow = ref(false);
const isLocationPopupShow = ref(false); const isLocationPopupShow = ref(false);
@ -233,7 +234,7 @@
const goDetail=(item)=>{ const goDetail=(item)=>{
const encoded = encodeURIComponent(item.path); const encoded = encodeURIComponent(item.path);
uni.navigateTo({ 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 { .filter-bar {
position:fixed ; position:fixed ;
top:140rpx; top:180rpx;
width:100%; width:100%;
z-index:2; z-index:2;
background-color: $white; background-color: $white;

View File

@ -1,5 +1,5 @@
<template> <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="page">
<!-- 筛选标签栏 --> <!-- 筛选标签栏 -->
<view class="filter-bar"> <view class="filter-bar">
@ -146,6 +146,7 @@
import timeImg from "@/static/play_long.png" import timeImg from "@/static/play_long.png"
import api from '@/api/api'; import api from '@/api/api';
import docUrl from '@/utils/docUrl'; import docUrl from '@/utils/docUrl';
import navBar from "@/components/navBar/navBar.vue"
// //
const isTimePopupShow = ref(false); const isTimePopupShow = ref(false);
const isLocationPopupShow = ref(false); const isLocationPopupShow = ref(false);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
<template> <template>
<uni-nav-bar left-icon="left" <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"> <view class="video-page">
<!-- Header --> <!-- Header -->
@ -929,7 +929,7 @@
/* Fixed Banner Container */ /* Fixed Banner Container */
.banner-container { .banner-container {
position: fixed; position: fixed;
top: 140rpx; /* uni-nav-bar height */ top: 180rpx; /* uni-nav-bar height */
left: 0; left: 0;
right: 0; right: 0;
z-index: 50; z-index: 50;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,37 +1,66 @@
<template> <template>
<view class="container"> <view class="container">
<navBar :title="title"></navBar>
</view>
<web-view :src="safeUrl"></web-view>
</view>
</template> </template>
<script setup> <script setup>
import { ref } from 'vue' import { ref } from "vue";
import { onLoad } from '@dcloudio/uni-app' import { onLoad } from "@dcloudio/uni-app";
import navBar from "@/components/navBar/navBar.vue";
const title = ref("新闻详情");
const safeUrl = ref("");
const safeUrl = ref('') onLoad((query) => {
onLoad((query) => { // url
// url const raw = query && (query.url || "");
const raw = query && (query.url || '') try {
try { safeUrl.value = decodeURIComponent(raw);
safeUrl.value = decodeURIComponent(raw) title.value = query.title;
} catch (e) { // #ifdef APP-PLUS
safeUrl.value = raw 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> </script>
<style> <style>
.container{ .container {
min-height: 100vh; height: 100vh;
} overflow: scroll;
.tip{ }
padding: 24rpx; .tip {
color: #666; padding: 24rpx;
font-size: 28rpx; color: #666;
} font-size: 28rpx;
}
</style> </style>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@
@clickLeft="goBack" @clickLeft="goBack"
fixed fixed
color="#8B2316" color="#8B2316"
height="140rpx" height="180rpx"
:border="false" :border="false"
backgroundColor="#ffffff" backgroundColor="#ffffff"
/> />
@ -128,7 +128,7 @@ const formatDate = (seconds) => {
.tab-item{flex:1;display:flex;align-items:center;justify-content:center} .tab-item{flex:1;display:flex;align-items:center;justify-content:center}
.tab-text{font-size:28rpx;color:#999} .tab-text{font-size:28rpx;color:#999}
.tab-item.active .tab-text{color:#8B2316;font-weight:600} .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} .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{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} .coupon-card.gray{background:#e5e5e5;color:#666}

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="address-page"> <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"> <scroll-view scroll-y class="content">
<view class="form-item"> <view class="form-item">
@ -205,7 +205,7 @@ const submit = () => {
<style scoped> <style scoped>
.address-page { min-height: 100vh; background: #fff; } .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; } .form-item { display: flex; align-items: center; padding: 24rpx; }
.label { width: 160rpx; color: #333; font-size: 30rpx; } .label { width: 160rpx; color: #333; font-size: 30rpx; }
.input { flex: 1; color: #333; font-size: 30rpx; } .input { flex: 1; color: #333; font-size: 30rpx; }

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="addr-list-page"> <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"> <scroll-view scroll-y class="list-wrap">
<view v-if="!list.length" class="empty">暂无收货地址</view> <view v-if="!list.length" class="empty">暂无收货地址</view>
@ -74,7 +74,7 @@ const select = (item) => {
<style scoped> <style scoped>
.addr-list-page { min-height: 100vh; background: #fff; } .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; } .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-item { display: flex; align-items: center; justify-content: space-between; padding: 24rpx; border-bottom: 1rpx solid #f0f0f0; }
.addr-main { flex: 1; } .addr-main { flex: 1; }

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="exchange-page"> <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"> <scroll-view scroll-y class="content">
<!-- 收货地址 --> <!-- 收货地址 -->
@ -168,7 +168,7 @@ const getTotalPoints = () => {
<style scoped> <style scoped>
.exchange-page { min-height: 100vh; background: #fff; } .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-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-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12rpx; }
.addr-title { color: #333; font-size: 30rpx; } .addr-title { color: #333; font-size: 30rpx; }

View File

@ -1,6 +1,6 @@
<template> <template>
<view class="page"> <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-view
scroll-y scroll-y
@ -99,7 +99,7 @@ const goBack = () => uni.navigateBack()
<style scoped> <style scoped>
.page { min-height: 100vh; background: #fff; } .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; } .card { background: #fff; padding: 24rpx; border-bottom: 16rpx solid #f5f5f5; }
.row { display: flex; align-items: center; padding: 10rpx 0; } .row { display: flex; align-items: center; padding: 10rpx 0; }
.label { color: #333; font-size: 30rpx; width: 180rpx; } .label { color: #333; font-size: 30rpx; width: 180rpx; }

View File

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

View File

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

View File

@ -43,3 +43,4 @@