<template>
<view class="groupContent">
	<view class="group">
		<text class="guishu">归属商家</text>
		<text class="order" v-if="isGroup" @click="goGroupList">查看团队排行</text>
	</view>
	<view class="shop">
		浦口区哈哈哈养生服务中心
	</view>
	<view class="group">
		<text class="guishu">营业执照</text>
	</view>
</view>
</template>

<script>
export default{
	data(){
		return{
			isGroup:false
		}
	},
	methods:{
		async getCompanyMonth() {
			let res = await this.$api.mine.companyMonth()
			console.log(res,"mm")
		},
		goGroupList(){
			this.$util.goUrl({
				url: '/user/pages/myGroup/myGroupOrder'
			})
		}
	},
	onLoad(option) {
		this.isGroup = option.isGroup
		this.getCompanyMonth()
	}
}
</script>

<style lang="scss" scoped>
.groupContent{
	margin: 0 24upx;
	.group{
		padding-top:40upx;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.guishu{
			font-size: 30rpx;
			font-family: Alibaba PuHuiTi;
			font-weight: 400;
			color: #333333;
		}
		.order{
			font-size: 30rpx;
			font-family: Alibaba PuHuiTi;
			font-weight: 400;
			color: #08BF77;
		}
	}
	.shop{
		font-size: 30rpx;
		font-family: Alibaba PuHuiTi;
		font-weight: 400;
		color: #333333;
		margin-top:44rpx;
	}
}
</style>