recommendSuccess.vue 2.1 KB
<template>
	<view class="change_company">

		<view class="c-no-data" >
			<view class="image">
				<u-image :src="vuex_baseImgUrl&&`${vuex_baseImgUrl}no_order.png`" width="456rpx" height="262rpx"></u-image>
			</view>
			<view class="title">
				<text>提交成功,感谢您的推荐</text>
				<text>可在“我的-我的推荐”中查看推荐情况</text>
			</view>
		</view>
		
		<view class="footer">
			<view class="left_btn">
				<c-button type="cancel" text="返回" @click="handelSkip">
				</c-button>
			</view>
			<view class="right_btn">
				<c-button type="confirm" @click="handelAdd" text="继续推荐"></c-button>
			</view>
		</view>

	</view>
</template>

<script>
	import {
		mapState,
		mapActions
	} from 'vuex'

	export default {
		data() {
			return {
				list: [],
			}
		},

		onLoad() {
			
		},

		onShow() {

		},

		methods: {

			handelAdd() {
				let pages = getCurrentPages();
				let prevPage = pages[pages.length - 2];
				prevPage.$vm.form.mobile = ''
				prevPage.$vm.form.name = ''
				prevPage.$vm.form.ability = ''
				uni.navigateBack({
					delta:1
				})
			},

			handelSkip() {
				uni.navigateBack({
					delta:2
				})
			}

		}

	}
</script>

<style lang="scss" scoped>
	.change_company {
		width: 100%;
		min-height: 100%;
		height: auto;
		position: relative;
		background-color: #F7F7F7;

		.c-no-data {
			width: 100%;
			padding: 174rpx 0 0 0;
		
			.image {
				width: 456rpx;
				margin: 0 auto;
			}
		
			.title {
				margin: 48rpx 0 0 0;
				
				text {
					display: block;
					text-align: center;
					font-size: 40rpx;
					line-height: 40rpx;
					color: #000000;
				}
				
				text:last-child {
					font-size: 26rpx;
					line-height: 26rpx;
					color: rgba(0, 0, 0, 0.6500);
					margin: 30rpx 0 0 0;
				}
			}
		}
		
		.footer {
			width: 100%;
			height: 130rpx;
			padding: 20rpx 40rpx;
			background: #FFFFFF;
			position: fixed;
			bottom: 0;
			left: 0;
			z-index: 99;
			border-top: 2rpx solid #F0F0F1;
		
			view {
				display: inline-block;
			}
		
			.left_btn {
				width: 192rpx;
				margin: 0 40rpx 0 0;
			}
		
			.right_btn {
				width: 434rpx;
			}
		}
	}
</style>