12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <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: 4%; // 48px;
- height: 100%; //48px;
- margin-left: 2%; // 15px;
- image{
- width: 100%;
- height: 100%;
- }
- }
- .titleText{
- display: flex;
- margin-left: 1%; //10px;
- font-size: 3vw; //30px;
- font-weight: 500;
- color: #ffffff;
- }
- }
- .backContent{
- display: flex;
- width: 100%;
- height: 50%;
- align-items: center;
- .back_image{
- margin-left: 2%; //15px;
- width: 4%; // 35px;
- height: 50%; //25px;
- image{
- width: 100%;
- height: 100%;
- }
- }
- }
- }
- </style>
|