You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xxdj1/user/pages/myGroup/myGroup.vue

70 lines
1.2 KiB

2 years ago
<template>
<view class="groupContent">
<view class="group">
<text class="guishu">归属商家</text>
2 years ago
<text class="order" v-if="isGroup" @click="goGroupList">查看团队排行</text>
2 years ago
</view>
<view class="shop">
浦口区哈哈哈养生服务中心
</view>
<view class="group">
<text class="guishu">营业执照</text>
</view>
</view>
</template>
<script>
export default{
data(){
return{
2 years ago
isGroup:false
2 years ago
}
},
methods:{
async getCompanyMonth() {
let res = await this.$api.mine.companyMonth()
console.log(res,"mm")
},
goGroupList(){
this.$util.goUrl({
url: '/user/pages/myGroup/myGroupOrder'
})
}
},
2 years ago
onLoad(option) {
this.isGroup = option.isGroup
2 years ago
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>