<template>
	<view class="navigatorback_container">
		<view class="sign">
			<view class="robot">
				<image src="../../static/nav_robot.png" mode="aspectFit"></image>
			</view>
			<view class="titleText">SmartAssistant</view>
		</view>
		<view class="backContent">
			<view class="back_image" @click="clickToGoback">
				<image src="../../static/goback.png" mode="aspectFit"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			clickToGoback() {
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="scss">
	.navigatorback_container{
		display: flex;
		box-sizing: border-box;
		flex-direction: column;
		width: 100%;
		// height: 105px;
		background-color: #2A2832;
		.sign{
			display: flex;
			box-sizing: border-box;
			flex-direction: row;
			align-items: center;
			background: linear-gradient(to right, #303373, #C9A391);
			.robot{
				margin: 10px 0px;
				flex-shrink: 0;
				width: 48px;
				height: 48px;
				margin-left: 15px;
				image{
					width: 100%;
					height: 100%;
				}
			}
			.titleText{
				display: flex;
				margin-left: 10px;
				// height: 100%;
				font-size: 30px;
				font-weight: 500;
				color: #ffffff;
			}
		}
		.backContent{
			display: flex;
			width: 100%;
			.back_image{
				margin: 15px 0px;
				margin-left: 15px;
				width: 35px;
				height: 25px;
				image{
					width: 100%;
					height: 100%;
				}
			}
		}
	}
</style>
