<template>
	<view class="changecontainer">
		<view>
			<view class="logobox">
				<image src="../../static/logo-xietaitai.png" mode="widthFix"></image>
			</view>
			<view class="customerService">
				<view class="customerTit">
					<text class="bigtitle">铂金款产品</text>
					<text>专属管家通道</text>
				</view>
				<view class="qrCodebox">
					<view class="codeimg">
						<image show-menu-by-longpress :src="img" mode="widthFix"></image>
					</view>
				</view>
				<view class="textbottom">长按扫码添加企业微信</view>
			</view>
		</view>

		<tabbar :currentPage="1"></tabbar>
	</view>
</template>

<script>
	import tabbar from '@/components/tabbar/tabbar.vue';
	export default {
		components: {
			tabbar
		},
		data(){
			return{
				img:''
			}
		},
		onLoad(){
			const banner4 = uni.getStorageSync('banner4')?uni.getStorageSync('banner4'):[]
			if(banner4.length>0){
				this.img = banner4[0].image
			}
			
		},
	}
</script>
<style type="text/css" scoped>
	.changecontainer {
		width: 100%;
		padding-bottom: 200rpx;
		padding-top: 60rpx;
		min-height: 100vh;
		display: flex;
		align-items: center;
		background-image: url(../../static/bg-change.jpg);
		background-position: center top;
		background-size: cover;
	}

	.changecontainer>view {
		width: 100%
	}

	.logobox {
		width: 162rpx;
		height: 162rpx;
		border-radius: 50%;
		overflow: hidden;
		margin: 0 auto;
		background: #fff;
		margin-bottom: 60rpx;
		box-shadow: 0 22rpx 32rpx rgba(53, 53, 53, .6);
	}

	.logobox image {
		width: 100%;
		height: auto;
	}

	.customerService {
		width: 87.33%;
		margin: 0 auto;
		background: #fff;
		border-radius: 10rpx;
		overflow: hidden;
	}

	.customerTit {
		text-align: center;
		padding-top: 80rpx;
		padding-bottom: 62rpx;
	}

	.customerTit text {
		display: block;
		font-size: 20rpx;
		color: #000;
	}

	.customerTit text.bigtitle {
		color: #b98b44;
		font-size: 36rpx;
		margin-bottom: 26rpx;
	}

	.qrCodebox {
		width: 510rpx;
		margin: 0 auto;
		border-radius: 30rpx;
		overflow: hidden;
		padding: 22rpx;
		box-sizing: border-box;
		background: #ededed;
		text-align: center;
		margin-bottom: 98rpx;
	}

	.codeimg {
		width: 466rpx;
		height: 466rpx;
		margin: 0 auto;
		background: url(../../static/ewmbg.png) center center no-repeat;
		background-size: cover;
		padding: 19rpx;
	}

	.codeimg image {
		width: 428rpx;
		height: auto;
		border-radius: 20rpx;
	}

	.textbottom {
		width: 100%;
		height: 60rpx;
		line-height: 60rpx;
		text-align: center;
		background: #f4f4f4;
		font-size: 20rpx;
		color: #000;
	}
</style>