<template>
	<view class="o-w o-h o-pt-30 o-plr-30">
		<view class="l-boxShadow  c-bg-f c-radius-10 o-ptb-40 o-plr-40">
			<image src="/static/images/mine/logo.png" mode="" style="background-color: #fff;width: 100%;height: 100px;"></image>
			<view class="o-mb-20" @click="callPhone">
				<u-icon labelColor="#888" color="#3c9cff" label="电话" size="20" name="phone"></u-icon>
				<view class="o-pl-44">{{ companyInfo.phoneNumber }}</view>
			</view>
			<view class="o-mb-20">
				<u-icon labelColor="#888" color="#3c9cff" label="公司地址" size="20" name="map"></u-icon>
				<view class="o-pl-44">{{ companyInfo.address }}</view>
			</view>
			<u-button @click="callPhone" type="primary" text="我要开店"></u-button>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			companyInfo: {
				phoneNumber: '020-31062206',
				address: '广州市番禺区桥南街蚬涌村联兴路11号华深科技园五层'
			}
		};
	},
	methods: {
		callPhone() {
			uni.makePhoneCall({
				phoneNumber: this.companyInfo.phoneNumber
			});
		}
	}
};
</script>

<style lang="scss"></style>

<!-- <template>
	<view class="l-flex-center o-w o-h">
		<view class="o-plr-40">
			<view class="c-text-c">
				<text>请长按二维码</text>
			</view>
			<view class="c-text-c o-mtb-20">
				<text>添加工作人员微信，获取最新开店优惠政策</text>
			</view>
			<view class="l-f l-flex-j-c">
				<u--image src="/static/images/home/goods/A01.png">
					<view slot="error" style="font-size: 24rpx;">工作人员微信图片加载失败</view>
				</u--image>
			</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {}
};
</script>

<style lang="scss"></style>
 -->
