代码拉取完成,页面将自动刷新
同步操作将从 畅阳网络/畅阳教培 在线教育 在线视频教育+在线试题+在线题库+在线考试源码Java+SpringBoot+MySql+vue+uni-app 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<template>
<cover-view class="top_nav_return">
<cover-view class="top_nav_title">
<cover-view class="imgbox">
<cover-image :src="imageUrl+'/icon/arrow_l_white.png'" mode="" class="img-return"></cover-image>
<cover-view class="returnbox" @click="backPage()"></cover-view>
</cover-view>
<cover-view class="">
{{topNavTitle}}
</cover-view>
<cover-view class="">
<!-- 占位,不要删除 -->
</cover-view>
</cover-view>
</cover-view>
</template>
<script>
export default {
// topNavTitle 导航标题
props: ['topNavTitle'],
data() {
return {
imageUrl: getApp().globalData.imageUrl,
}
},
methods: {
backPage() {
let pages = getCurrentPages(); //获取所有页面栈实例列表
let nowPage = pages[pages.length - 1]; //当前页页面实例
let prevPage = pages[pages.length - 2]; //上一页页面实例
// prevPage.$vm.type = that
// .stype; //修改上一页data里面的searchVal参数值为1211
uni.navigateBack({ //uni.navigateTo跳转的返回,默认1为返回上一级
delta: 1
});
// uni.reLaunch({
// url: '/pages/index/index'
// })
}
}
}
</script>
<style scoped lang="scss">
.returnbox {
position: absolute;
top: -15rpx;
left: -15rpx;
height: 60rpx;
width: 70rpx;
}
.top_nav_return {
position: fixed;
z-index: 10;
top: 0;
left: 0;
width: 100vw;
padding-top: 90rpx;
padding-bottom: 30rpx;
background-color: #F1592A;
color: #fff;
}
.top_nav_title {
position: relative;
text-align: center;
font-size: 36rpx;
font-family: PingFang SC;
font-weight: bold;
padding: 0 30rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.imgbox {
position: relative;
display: flex;
align-items: center;
.img-return{
height: 36rpx;
width: 19rpx;
}
// image {
// height: 36rpx;
// width: 19rpx;
// }
}
</style>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。