adIndex.vue 1.1 KB
<template>
	<view>
		<image src="http://equiphappy.shs.broing.cn/assets/miniprogram/Frame3007@2x.png"
			style="width: 100vw;height: 100vh;" mode=""></image>
		<view class="btn">
			<u-button @click="go" style="width: 80%;" text="点击进入" shape="circle" type="primary"></u-button>
		</view>
		<view class="btn1">
			<u-button @click="goindex" text="跳过" shape="circle" type="info" :plain="true"></u-button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		methods: {
			go() {
				uni.reLaunch({
					url: '/pages/index/index'
				})
			},
			goindex() {
				uni.reLaunch({
					url: '/pages/index/buy'
				})
			}
		},
		onLoad(option) {
		}
	}
</script>

<style scoped lang="scss">
	.btn {
		width: 100%;
		position: absolute;
		bottom: 80rpx;
		height: 112rpx;
		// background: linear-gradient(134.7deg, #46baecff 0%, #2f67d3ff 100%);
		// box-shadow: 0 16rpx 24rpx 0 #1d6bbb5e;
		/deep/ .u-button {
			width: 80% !important;
		}
	}

	.btn1 {
		width: 15%;
		position: absolute;
		top: 130rpx;
		right: 32rpx;
	}
</style>