<template>
	<view class="commonPage">
		<z-nav-bar title="关于我们"></z-nav-bar>
		
		<view class="APPinfo">
			<image src="@/static/logo_zi.png" mode="" style="height: 230rpx; width: 240rpx; margin: 0 auto;"></image><br/>
			<p v-if="versionCode">版本信息：{{versionName}},{{versionCode}}</p>
		</view>
		
		<view class="telInfo">
			<view class="nav_list flexbox">
				<text>客服热线</text>
				<view class="view1" @click="makeTel">
					<uni-icons type="phone" size="20" color="#5188e5"></uni-icons>
					<text>022-24142321</text>
				</view>
			</view>
		</view>		
		<view class="prof">
			太湖云医是一款以吴雄志老师独有的一以贯之的中医学、针灸学与心学学术体系，把精准医学思想引入传统医学，将中西医有机整合、医学与心理学有机整合，同时将心理学与东方心学及国学的有机融合，为患者及医生提供现代医学、中医学与心理学的治疗、预防及康复指导意见的一款app。
		</view>
		<view style="text-align: right; padding-right: 20rpx; padding-top: 30rpx;">
			<uni-link href="https://www.taimed.cn/privacy.html" text="隐私政策"></uni-link>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				playData:{},
				versionCode:null,
				versionName:null
			}
		},
		onLoad() {
			this.getAppInfo()
		},
		methods: {
			// 获取版本信息
			getAppInfo(){
				let that = this
				plus.runtime.getProperty(plus.runtime.appid, function(inf) {					
					that.versionCode = inf.version
					that.versionName = inf.name
				});
			},
			makeTel(){
				uni.showModal({
					title: '提示',
					content: '微信号：yilujiankangkefu'
				})
				
			}
		}
	}
</script>

<style scoped lang="scss">
@import '@/static/mixin.scss';
.commonPage{
	background: #fff;
	padding: 0 20rpx;
}
.prof{ color: #666; font-size: 28rpx; line-height: 42rpx; padding: 30rpx 10rpx;}
.telInfo{background-color:#fff; 
	.nav_list{padding: 30rpx 0; border-top: 1px solid #e5e5e5; border-top: 1px solid #e5e5e5; justify-content: space-between; color: #666;
		.view1{ display: flex; align-items: center;}
	}
}
.APPinfo{background-color:#fff; padding: 40rpx 0; text-align: center;
	p{font-size: 28rpx;}
}
.flexbox{display: flex; justify-content: center;}
</style>
