2024-06-04 21:40:25 +08:00
|
|
|
<template>
|
2024-06-08 18:49:58 +08:00
|
|
|
<view class="uninavbars" @click="ReturnPage()">
|
|
|
|
<image src="../../../static/images/sign/return.png" @click="left_return"></image>
|
2024-06-04 21:40:25 +08:00
|
|
|
</view>
|
|
|
|
<view class="uninavbar">
|
2024-06-08 18:49:58 +08:00
|
|
|
<uni-nav-bar statusBar="false" :fixed="true" :border="false" :background-color=background_color
|
|
|
|
:title="title" />
|
2024-06-04 21:40:25 +08:00
|
|
|
</view>
|
2024-06-08 18:49:58 +08:00
|
|
|
|
2024-06-04 21:40:25 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
import {
|
|
|
|
ref,
|
|
|
|
toRefs,
|
|
|
|
defineProps,
|
|
|
|
defineEmits
|
|
|
|
} from "vue";
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
|
|
title: String,
|
2024-06-08 18:49:58 +08:00
|
|
|
background_color: String
|
2024-06-04 21:40:25 +08:00
|
|
|
})
|
|
|
|
const {
|
|
|
|
title,
|
|
|
|
background_color
|
|
|
|
} = toRefs(props)
|
|
|
|
|
|
|
|
let leftImage = ref("../../../static/images/sign/return.png")
|
2024-06-08 18:49:58 +08:00
|
|
|
//返回上一页
|
|
|
|
function ReturnPage() {
|
|
|
|
uni.navigateBack({
|
|
|
|
delta: 1
|
|
|
|
});
|
|
|
|
}
|
2024-06-04 21:40:25 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
2024-06-08 19:17:50 +08:00
|
|
|
/* #ifdef H5 */
|
2024-06-04 21:40:25 +08:00
|
|
|
.uninavbars {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9999;
|
|
|
|
top: 110rpx;
|
|
|
|
left: 32rpx;
|
|
|
|
}
|
2024-06-08 18:49:58 +08:00
|
|
|
/* #ifdef APP-PLUS */
|
|
|
|
.uninavbars {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 9999;
|
2024-06-08 19:37:58 +08:00
|
|
|
top: 110rpx;
|
2024-06-08 18:49:58 +08:00
|
|
|
left: 32rpx;
|
|
|
|
}
|
2024-06-04 21:40:25 +08:00
|
|
|
|
|
|
|
.uninavbars>image {
|
|
|
|
width: 31rpx;
|
|
|
|
height: 44rpx;
|
|
|
|
color: #000000;
|
|
|
|
}
|
|
|
|
</style>
|