Commit a410d1db authored by mengcuiguang's avatar mengcuiguang

修改状态栏

parent 1d7db962
......@@ -28,6 +28,9 @@
// #ifdef MP-WEIXIN
this.globalData.statusBarHeight = res.statusBarHeight;
// #endif
// #ifdef MP-KUAISHOU
this.globalData.statusBarHeight = res.statusBarHeight;
// #endif
// #ifndef H5
this.globalData.bottomSafePadding = Math.max(res.screenHeight - res.safeArea.bottom, 12);
......
......@@ -142,7 +142,8 @@ export default {
// #endif
Object.assign(header, {
token: uni.getStorageSync('token'),
// token: uni.getStorageSync('token'),
token: 'EF05F562126806736038B218E12884F9483D433C42E9B84882577C78642C25CF5F433703067DF5142735505C42F58997',
pkgName: app.globalData.pkgName,
proChannel:uniChannel
})
......
......@@ -8,27 +8,18 @@
}
},
"pages": [
// #ifndef APP-PLUS
{
"path": "pages/loading",
"style": {
"navigationStyle": "default",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black" //用于配置状态栏的字体颜色
}
},
// #endif
{
"path": "pages/home",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
}, {
"path": "pages/index/index",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
......@@ -36,35 +27,35 @@
{
"path": "pages/my/my",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black" //用于配置状态栏的字体颜色
}
}, {
"path": "pages/brower/brower",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
}, {
"path": "pages/recommend/recommend",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
}, {
"path": "pages/recommend/follow",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
}, {
"path": "pages/recommend/recommendVideo",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
......@@ -76,7 +67,7 @@
"pages": [{
"path": "vipPay/vipPay",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
......@@ -86,14 +77,14 @@
"pages": [{
"path": "video/videoDetail",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
}, {
"path": "video/newVideoDetail",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
......@@ -103,28 +94,28 @@
"pages": [{
"path": "watchRecord/watchRecord",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black" //用于配置状态栏的字体颜色
}
}, {
"path": "payRecord/payRecord",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
}, {
"path": "dotRecord/dotRecord",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
}, {
"path": "useDotRecord/useDotRecord",
"style": {
"navigationStyle": "default",
"navigationStyle": "custom",
"navigationBarBackgroundColor": "#2196f3",
"navigationBarTextStyle": "black"
}
......@@ -148,7 +139,7 @@
},
"globalStyle": {
"backgroundColor": "#232325",
"navigationStyle": "default",
"navigationStyle": "custom",
"app-plus": {
"bounce": "none",
"scrollIndicator": "none"
......
......@@ -8,8 +8,8 @@
:controls="controls" :loop="!isplay" :enable-progress-gesture="false" :show-loading="true"
:show-fullscreen-btn="false" @controlstoggle="controlstoggle" :poster="data.coverImage"
@click="tapVides()" @timeupdate="timeupdate" :autoplay="!list.lock" :src="list.vedioUrl"
class="tsvideo" play-btn-position="center" object-fit="contain" />
<view v-if="!isqp" class="userInfo">
class="tsvideo" play-btn-position="center" object-fit="contain" style="z-index: 0;"/>
<view v-if="!isqp" class="userInfo" style="z-index: 999;">
<!-- 点赞 -->
<view class="flex" style="opacity: 0.9; margin-top: 10rpx;">
<image @click.stop="collect(data.vedioId,index)" v-if="data.collect==0"
......@@ -31,7 +31,7 @@
</view>
</view>
<!-- 最底下的文字部分 -->
<view v-if="!isqp" class="contentcd flex">
<view v-if="!isqp" class="contentcd flex" style="z-index: 999;">
<text class="userName">{{data.title}}</text>
<text class="words">{{list.title}}</text>
<view class="wordss2" @click.stop="sellxj()">
......@@ -41,7 +41,7 @@
<image class="wordsss" src="@/static/up.png" />
</view>
</view>
<view v-if="originList[originIndex].lock || !list.vedioUrl" class="videoHover tsimg"
<view style="z-index: 999;" v-if="originList[originIndex].lock || !list.vedioUrl" class="videoHover tsimg"
@click.stop="tapVideoHover(index,list.pays)"
:style="'width: '+ windowWidth +'px; height:'+100+'%;'">
<image :src="data.coverImage"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment