<template>
	<My-shade />
	<view style="min-height: 100vh;width: 100vw;background-color: #fff;">
		<view class="image-box">
			<image style="width: 100vw;" src="/static/image/banner.png" mode="widthFix" />
			<view class="main">
				<navigator url="/pages/bookingService/index" class="item" hover-class="navigator-hover">
					<view class="icon">
						<image class="image" src="/static/image/wx.png" />
					</view>
					<view class="label">
						预约服务
					</view>
					<view class="text">
						故障维修排除
					</view>
				</navigator>
				<navigator class="item" url="/pages/serviceSeeking/index">
					<view class="icon">
						<image class="image" src="/static/image/qt.png" />
					</view>
					<view class="label">
						服务查询
					</view>
					<view class="text">
						其他问题服务
					</view>
				</navigator>
			</view>
		</view>
	</view>

</template>

<script setup>
import { ref, getCurrentInstance, computed } from 'vue'
import { onLoad, onShow } from '@dcloudio/uni-app';
const { $Http } = getCurrentInstance().proxy;
const banner = ref([]);

onShow(() => {
})

onLoad(() => {
});
</script>

<style lang="scss" scoped>
.image-box {
	position: relative;

	.main {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		margin-top: 20rpx;
		position: absolute;
		width: 100%;
		height: 300rpx;
		top: 63%;
		z-index: 1;
		padding: 0 30rpx;
		box-sizing: border-box;

		.item {
			width: 334rpx;
			height: 260rpx;
			background: rgba(255, 255, 255, 0.95);
			box-shadow: 0rpx 10rpx 16rpx 2rpx rgba(0, 0, 0, 0.25);
			border-radius: 20rpx;
			box-sizing: border-box;
			padding: 40rpx;


			.image {
				height: 70rpx;
				width: 70rpx;
			}

			.label {
				line-height: 42rpx;
				font-family: Microsoft YaHei, Microsoft YaHei;
				font-weight: bold;
				font-size: 32rpx;
				color: #333333;
				margin-top: 20rpx;
			}

			.text {
				line-height: 38rpx;
				font-family: Microsoft YaHei, Microsoft YaHei;
				font-size: 28rpx;
				color: #999999;
				margin-top: 10rpx;
			}

		}
	}


}
</style>
