<template>
	<!-- 客服热线 -->
	<view class="">

		<!-- <view class="round text-center">
			<button class="cu-btn round bg-main-oil" open-type='contact'>
				<text class="cuIcon-servicefill padding-right-xs"></text>
				联系在线客服</button>
		</view> -->
		<view class="round text-center">
			<!-- <button class="cu-btn oil-main-btn-color" open-type="contact" @contact="onContact"> -->
				<!-- <text class="text-grey text-sm">打开会话</text> -->
			<!-- </button> -->
			<view class="cu-btn round bg-main-oil" @click="callHotline">
				<text class="cuIcon-servicefill padding-right-xs"></text>
				 联系客服 
			</view> 
		</view>
		<view class="color-999 text-center padding" @tap="callHotline">
			全国统一客服/投诉热线：
			<text class="text-red">
				4008-56-5355
			</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// key: value
			}
		},
		methods: {
			callHotline() {
				uni.makePhoneCall({
					phoneNumber: '4008-56-5355'
				})
			}
		},
	}
</script>

<style>
</style>
