<template>
	<view class="page">
		<navBar title="售后联系" :back="true" color="black" background="white" />
		<view class="content">
			<image :src="picUrl+'/static/my/conBg.png'" mode="" style="width: 100%;height: 384rpx;"></image>

			<view class="box">
				<view class="item">
					<view class="part1">
						<view class="left">
							<image :src="picUrl+'/static/my/phone.png'" mode="" style="width: 26rpx;height: 26rpx;">
							</image>
						</view>
						<view class="cen">
							<view class="water">
								PHONE
							</view>
							<view class="top">
								手机号
							</view>
							<view class="bot">
								<view class="num">
									18729838270
								</view>
								<view class="call" @click="call('18729838270')">
									拨号
								</view>
							</view>
						</view>
					</view>
					<view class="right">
						<!-- 拨号 -->
					</view>
				</view>

				<view class="item">
					<view class="part1">
						<view class="left">
							<image :src="picUrl+'/static/my/wechat.png'" mode="" style="width: 26rpx;height: 26rpx;">
							</image>
						</view>
						<view class="cen">
							<view class="water">
								WECHAT </view>
							<view class="top">
								微信号
							</view>
							<view class="bot">
								<view class="num">
									18729838270
								</view>
								<view class="call" @click="copy('18729838270')">
									复制
								</view>
							</view>
						</view>
					</view>
					<view class="right">
						<!-- 拨号 -->
					</view>
				</view>

				<view class="item" style="height: auto;padding-top: 34rpx;box-sizing: border-box;">
					<view class="part1">
						<view class="left">
							<image :src="picUrl+'/static/my/code.png'" mode="" style="width: 26rpx;height: 26rpx;">
							</image>
						</view>
						<view class="cen">
							<view class="water">
								QR CODE
							</view>
							<view class="top">
								微信二维码
							</view>
							<view class="bot1">
								<view class="top">
									扫码了解
								</view>
								<image class="code" :src="picUrl+'/static/my/codePic.png'" mode=""
									style="width: 250rpx;height: 250rpx;"></image>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components: {

		},
		data() {
			return {
				picUrl: this.$picUrl,
			}
		},
		onLoad(options) {},
		methods: {
			copy(data) {
				let _this = this
				uni.setClipboardData({
					data,
					success: function() {
						_this.$toast('复制成功', 'success')
					}
				});
			},
			call(phone) {
				uni.makePhoneCall({
					phoneNumber: phone,
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	@import "./index.scss";
</style>