10.15上午更新
This commit is contained in:
parent
b16601baa6
commit
2532aa055c
@ -81,7 +81,14 @@
|
|||||||
"push" : {
|
"push" : {
|
||||||
"unipush" : {
|
"unipush" : {
|
||||||
"version" : "2",
|
"version" : "2",
|
||||||
"offline" : false
|
"offline" : false,
|
||||||
|
"honor" : {},
|
||||||
|
"meizu" : {},
|
||||||
|
"mi" : {},
|
||||||
|
"vivo" : {},
|
||||||
|
"oppo" : {},
|
||||||
|
"hms" : {},
|
||||||
|
"fcm" : {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -160,7 +160,7 @@
|
|||||||
|
|
||||||
// #ifdef APP
|
// #ifdef APP
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '微信登录 11',
|
title: '微信登录',
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
});
|
});
|
||||||
// #endif
|
// #endif
|
||||||
@ -219,7 +219,7 @@
|
|||||||
const app = getApp()
|
const app = getApp()
|
||||||
app.initNim({ account:result.data.YX_accid, token: result.data.YX_token })
|
app.initNim({ account:result.data.YX_accid, token: result.data.YX_token })
|
||||||
// 跳转到首页
|
// 跳转到首页
|
||||||
navTo({
|
uni.redirectTo({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index'
|
||||||
})
|
})
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
|
|||||||
@ -43,7 +43,7 @@
|
|||||||
<!-- 顶部轮播 -->
|
<!-- 顶部轮播 -->
|
||||||
<view class="banner-container">
|
<view class="banner-container">
|
||||||
<view class="swipemask">
|
<view class="swipemask">
|
||||||
<view class="banner-subtitle" v-if="bannerList.length>0">{{bannerList[currentBannerIndex].summary}}</view>
|
<view class="banner-subtitle" v-if="bannerList.length>0">{{bannerList[currentBannerIndex].title}}</view>
|
||||||
<view class="dotbox">
|
<view class="dotbox">
|
||||||
<view class="circle" :class="{active:currentBannerIndex==index} "v-for="(banner, index) in bannerList"
|
<view class="circle" :class="{active:currentBannerIndex==index} "v-for="(banner, index) in bannerList"
|
||||||
:key="banner.id" ></view>
|
:key="banner.id" ></view>
|
||||||
@ -166,7 +166,12 @@
|
|||||||
const onSwiperChange = (e) => {
|
const onSwiperChange = (e) => {
|
||||||
currentBannerIndex.value = e.detail.current;
|
currentBannerIndex.value = e.detail.current;
|
||||||
};
|
};
|
||||||
|
const playBannerVideo = (banner) => {
|
||||||
|
let url=encodeURIComponent(docUrl+banner.path)
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages_app/webview/webview?url=${url}&title=${banner.title}`
|
||||||
|
});
|
||||||
|
};
|
||||||
// scroll-view 下拉刷新
|
// scroll-view 下拉刷新
|
||||||
const onRefresh = async () => {
|
const onRefresh = async () => {
|
||||||
console.log('scroll-view 下拉刷新触发');
|
console.log('scroll-view 下拉刷新触发');
|
||||||
@ -604,8 +609,8 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
width:100%;
|
width:100%;
|
||||||
top:200rpx;
|
top:240rpx;
|
||||||
height: calc(100vh - 200rpx); // 减去导航栏、标签栏和banner的高度
|
height: calc(100vh - 240rpx); // 减去导航栏、标签栏和banner的高度
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -539,7 +539,7 @@
|
|||||||
|
|
||||||
.courseware-list {
|
.courseware-list {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top:240rpx;
|
top:280rpx;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
left:30rpx;
|
left:30rpx;
|
||||||
|
|||||||
@ -135,7 +135,7 @@ const checkUser = async (options) => {
|
|||||||
|
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
let wv = plus.webview.create("", "custom-webview", {
|
let wv = plus.webview.create("", "custom-webview", {
|
||||||
top: "140rpx",
|
top: "180rpx",
|
||||||
});
|
});
|
||||||
wv.loadURL(decodeURIComponent(options.src));
|
wv.loadURL(decodeURIComponent(options.src));
|
||||||
let newstr = `document.cookie="hcp_token=${hcp_token.value};domain=.igandan.com;path=/;"`;
|
let newstr = `document.cookie="hcp_token=${hcp_token.value};domain=.igandan.com;path=/;"`;
|
||||||
|
|||||||
@ -849,10 +849,10 @@
|
|||||||
.scroll-view {
|
.scroll-view {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom:0rpx;
|
bottom:0rpx;
|
||||||
height: calc(100vh - 618rpx); /* 固定高度,减去固定的banner和Filter Tabs空间 */
|
height: calc(100vh - 658rpx); /* 固定高度,减去固定的banner和Filter Tabs空间 */
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
margin-bottom: 200rpx;
|
margin-bottom: 200rpx;
|
||||||
top: 574rpx; /* 为固定的banner和Filter Tabs留出空间 */
|
top: 614rpx; /* 为固定的banner和Filter Tabs留出空间 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Banner Styles */
|
/* Banner Styles */
|
||||||
@ -967,7 +967,7 @@
|
|||||||
/* Fixed Filter Tabs Container */
|
/* Fixed Filter Tabs Container */
|
||||||
.filter-tabs-container {
|
.filter-tabs-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 540rpx; /* banner-container top + banner height */
|
top: 580rpx; /* banner-container top + banner height */
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 40;
|
z-index: 40;
|
||||||
|
|||||||
@ -44,3 +44,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user