<template>
	<view class="w_t_b">
		<image :src="copy7" class="icon" @click="goBack"></image>
		<view>{{ title }}</view>
		<view></view>
	</view>
</template>
<script>
	export default {
		props: {
			title: {
				type: String
			}
		},
		data(){
			return {
				copy7: require('./img/copy7.svg'),
			}
		},
		methods: {
			goBack(){
				this.$emit('go-back')
				uni.navigateBack();
			}
		}
	}
</script>
<style lang="scss" scoped>
	.w_t_b {
		width: 100%;
		height: 120rpx;
		display: flex;
		align-items: center;
		padding: 0 32rpx;
		justify-content: space-between;
		
		font-family: PingFangSC, PingFang SC;
		color: rgba(17, 17, 17, 1);
		font-size: 36rpx;
		font-weight: 600;
		
		.icon {
			width: 40rpx;
			height: 40rpx;
		}
	}
</style>
