更新
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
</view>
|
||||
<view class="action" @tap="onTapUserInfo">
|
||||
<text class="cuIcon-right text-lg"></text>
|
||||
<image class="qrcode" src="../../../static/img/erweima-white.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -40,7 +41,10 @@
|
||||
<!-- <text class="icon-company cuIcon-crownfill padding-right-xs"></text> -->
|
||||
<!-- <my-icon iconName="wd-qy-hy.png" class="padding-right-xs"></my-icon> -->
|
||||
<text class="icon-company text-xs">{{companyCard.name}}</text>
|
||||
<view :class="company_tag===1?'company_tag company_tag_SelfOperated':'company_tag company_tag_externalOperated'">{{companyCard.companyNature===1?'自营':'外请'}}</view>
|
||||
<view
|
||||
:class="company_tag===1?'company_tag company_tag_SelfOperated':'company_tag company_tag_externalOperated'">
|
||||
{{companyCard.companyNature===1?'自营':'外请'}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@@ -128,7 +132,8 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<SwitchEnterprises @submit='upadteCompanyCard' @logout='logout' :is-show.sync="isSwitchEnterprises"></SwitchEnterprises>
|
||||
<SwitchEnterprises @submit='upadteCompanyCard' @logout='logout' :is-show.sync="isSwitchEnterprises">
|
||||
</SwitchEnterprises>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
@@ -167,7 +172,7 @@
|
||||
this.upadteCompanyCard()
|
||||
},
|
||||
methods: {
|
||||
logout(){
|
||||
logout() {
|
||||
this.isSwitchEnterprises = false
|
||||
},
|
||||
upadteCompanyCard() {
|
||||
@@ -305,6 +310,19 @@
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.action {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.qrcode {
|
||||
position: absolute;
|
||||
left: -3rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 34rpx;
|
||||
height: 34rpx;
|
||||
}
|
||||
|
||||
.company_tag_externalOperated {
|
||||
background: #FDDBDB;
|
||||
color: #FE0505;
|
||||
@@ -424,4 +442,4 @@
|
||||
.cu-avatar {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user