修改app 返回按钮

This commit is contained in:
jia 2023-09-05 18:52:33 +08:00
parent d70a328f9c
commit 8c11c5748c

View File

@ -21,13 +21,6 @@
-->
<!-- 头部导航 -->
<view class="header">
<view class='xiangzuo' @click='goBack()'>
<image src="@/static/images/icon-back.png" mode="aspectFit"></image>
</view>
</view>
<!-- <view v-if="!isUser" class="header" :style="{backgroundColor:currentNav==1?'':'#000'}" >
<view class="items" @click.stop="navTap(2)">
<text class="tName" :class="currentNav==2?'on':''">关注</text>
@ -323,7 +316,12 @@
</view>
</uni-popup>
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
<view class="fixed-head">
<view class="sys-head" :style="{height:statusBarHeight}"></view>
<view class="tool-bar" @click='goBack()'>
<image class="icon-xiangzuo" src="../static/img/index/icon-back.png"></image>
</view>
</view>
</view>
</template>
<script>
@ -403,7 +401,7 @@
newTime: 0, //跟手滑动后的最新时间💗
timeNumber: 0, //🌟💗
ProgressBarBottom: 20, //进度条离底部的距离💗
object_fit: 'fill', //视频样式默认包含🌟💗
object_fit: 'cover', //视频样式默认包含🌟💗
mode: 'aspectFit', //图片封面样式🌟💗
timeout: "", //🌟用来阻止 setTimeout()方法
voice: "", //🌟用来阻止 setTimeout()方法
@ -705,13 +703,12 @@
// });
// })'
// that.isUser ?
videoList({
page: that.page,
limit: that.limit,
id: that.videoID
id: this.videoID
}).then(res => {
console.log(res.data.list)
that.getVideoData(res.data.list);
})
@ -1112,11 +1109,6 @@
// background-color: #999;
// }
// }
.container {
position: relative;
}
.video-list {
// margin: 0 auto;
// width: 750rpx;
@ -1238,61 +1230,45 @@
}
}
.header {
position: fixed;
z-index: 9999 !important;
width: 750rpx;
height: 120rpx;
flex-direction: row;
justify-content: center;
align-items: center;
padding-top: 20rpx;
/* #ifdef MP */
padding-top: 75rpx;
/* #endif */
.fixed-head {
flex-direction: row;
justify-content: center;
align-items: center;
position: fixed;
left: 0;
top: 70rpx;
height: 86rpx;
/deep/ .xiangzuo {
position: absolute;
left: 20rpx;
top: 60px;
width: 23rpx;
height: 42rpx;
margin-right: 40rpx;
margin-left: 20rpx;
image {
width: 100%;
height: 100%;
}
.icon-xiangzuo {
margin-left: 10px;
width: 20px;
height: 20px;
color: #ffffff;
}
}
.header {
position: fixed;
z-index: 9;
width: 750rpx;
height: 186rpx;
flex-direction: row;
justify-content: center;
align-items: center;
padding-top: 70rpx;
.items {
margin: 0 30rpx;
image {
width: 58rpx;
height: 58rpx;
}
.tName {
font-size: 33rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #737373;
line-height: 50px;
color: #000;
font-size: 32rpx;
&.on {
font-size: 33rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
font-size: 38rpx;
}
}
}
}