<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: 120px;
		// height: 105px;
		background-color: #2A2832;
		.sign{
			display: flex;
			box-sizing: border-box;
			height: 50%;
			flex-direction: row;
			align-items: center;
			background: linear-gradient(to right, #303373, #C9A391);
			.robot{
				flex-shrink: 0;
				width: 3%; // 42px;
				height: 65%; // 42px;
				margin-left: 15px; // 2%;
				image{
					width: 100%;
					height: 100%;
				}
			}
			.titleText{
				display: flex;
				margin-left: 10px; // 1%;
				font-size: 2.2vw; // 30px;
				font-weight: 500;
				color: #ffffff;
			}
		}
		.backContent{
			display: flex;
			width: 100%;
			height: 50%;
			align-items: center;
			.back_image{
				display: flex;
				margin-left: 15px; //2%
				width: 5%; // 35px;
				height: 100%; //25px;
				align-items: center;
				// background-color: red;
				image{
					width: 70%;
					height: 40%;
					// background-color: green;
				}
			}
		}
	}
</style>
