<template>
		<view class="u-flex-center-sb name">
			<view class="u-text1 viewWidthTitle">
				<text class="iconfont3 u-font40 " style="color: #FA6138;vertical-align: middle;">&#xe655;</text>
				<text  class="u-1A1A1A u-font30 u-ml15" style="vertical-align: middle;">{{value}}</text>
			</view>
			<!-- <text  class="u-1A1A1A u-font30 u-ml15">{{proxy?'第三方':'自营'}}</text> -->
			<text v-if="showCustomer" @click="call()" class="u-font30 u-ml15" style="color: #FA6138;">
				<text class="iconfont2 u-font40 u-mr5">&#xe612;</text>
				<!-- 联系客服 -->
			</text>
			<text class="u-FF0000 u-font28" v-if="shopStatus">待审核</text>
		</view>
</template>

<script>
	export default{
		props:{
			shopStatus:{
				type:Boolean,
				default:true
			},
			proxy:{
				type:Boolean,
				default:false
			},
			phone:{
				type:String,
				default: ''
			},
			showCustomer:{
				type:Boolean,
				default:false
			},
			value:{
				type:String,
				default:''
			}
		},
		data(){
			return {}
		},
		methods:{
			call(){
				let that = this;
				uni.makePhoneCall({
				  phoneNumber: that.phone
				});
			}
		}
	}
</script>

<style scoped>
	.right-icon {
		font-size: 25rpx;
	}
	.name {
		/* padding-bottom: 25rpx; */
		border-bottom: 1px solid #E7E7E7;
		height: 100rpx;
	}
</style>
