<template>
	<view class="page">
		<view class="banner">
			<img src="../../static/imgs/concat.png" />
		</view>
		<view class="box">
			<view class="tit">合作与咨询</view>
			<view class="txt">
				请于工作日的08:30至17:30期间来电咨询我们的产品和服务。
			</view>
			<view class="btn" @click="callPhone('0551-68992527')">
				<img src="../../static/imgs/call.png" />0551-68992527
			</view>
		</view>
		<view class="box">
			<view class="tit">演示与在线试用</view>
			<view class="txt">
				我们将适时与您取得联系，并为您量身打造适合企业需求的专项演示方案。
			</view>
			<view class="btn" @click="toApply">
				立即申请
			</view>
		</view>
		<tabbar :tabbarIndex="2"></tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			callPhone(phoneNumber){
				uni.makePhoneCall({
					phoneNumber
				})
			},
			toApply(){
				uni.navigateTo({
					url:'/pages/consult/apply'
				})
			},
		}
	}
</script>

<style scoped lang="less">
	.page {
		background-color: #E8ECF2;
		height: 100vh;
		box-sizing: border-box;

	}

	.banner {
		img {
			width: 100%;
		}
	}

	.box {
		width: calc(100% - 48rpx);
		margin: 0 auto;
		background-color: #fff;
		padding: 36rpx 0;
		border-radius: 12rpx;
		margin-bottom: 40rpx;

		.tit {
			font-size: 32rpx;
			color: #111;
			padding-left: 30rpx;
			font-weight: bold;
			position: relative;
			line-height: 45rpx;

			&:before {
				content: "";
				display: block;
				width: 12rpx;
				height: 24rpx;
				background-color: #1460CA;
				position: absolute;
				top: 11rpx;
				left: 0;
			}
		}

		.txt {
			margin: 7rpx 0 20rpx;
			line-height: 44rpx;
			color: #666;
			font-size: 28rpx;
			padding: 0 30rpx;
		}

		.btn {
			width: 318rpx;
			height: 68rpx;
			line-height: 68rpx;
			color: #fff;
			background-color: #1460CA;
			text-align: center;
			border-radius: 8rpx;
			margin-left: 30rpx;
			img{
				width: 28rpx;
				height: 28rpx;
				margin-right: 20rpx;
			}
		}
	}
</style>