| | |
| | | <template> |
| | | <view class=""> |
| | | <view class="content chuany-flex chuany-align-end chuany-justify-center"> |
| | | <up-avatar src="/static/avatar.jpg" shape="circle" size='80'></up-avatar> |
| | | </view> |
| | | <fui-list> |
| | | <fui-list-cell arrow> |
| | | <!-- <view class="content chuany-flex chuany-align-end chuany-justify-center"> |
| | | <up-avatar :src="avatarUrlImg" shape="circle" size='80'></up-avatar> |
| | | </view> --> |
| | | <fui-list :topBorder='false'> |
| | | <fui-list-cell arrow :bottomBorder='false' :padding="['20rpx', '32rpx', '20rpx', '32rpx']"> |
| | | <view class="fui-list__item"> |
| | | <text>企业名称</text> |
| | | <text class="chuany-font30">企业名称</text> |
| | | <text class="fui-text__explain">{{enterpriseInfo.suppliername}}</text> |
| | | </view> |
| | | </fui-list-cell> |
| | | <fui-list-cell arrow> |
| | | <fui-list-cell arrow :bottomBorder='false' :padding="['20rpx', '32rpx', '20rpx', '32rpx']"> |
| | | <view class="fui-list__item"> |
| | | <text>企业注册地址</text> |
| | | <text class="chuany-font30">企业地址</text> |
| | | <text class="fui-text__explain address">{{enterpriseInfo.address}}</text> |
| | | </view> |
| | | </fui-list-cell> |
| | | <fui-list-cell arrow> |
| | | <fui-list-cell arrow :bottomBorder='false' :padding="['20rpx', '32rpx', '20rpx', '32rpx']"> |
| | | <view class="fui-list__item"> |
| | | <text>联系电话</text> |
| | | <text class="chuany-font30">联系电话</text> |
| | | <text class="fui-text__explain">{{enterpriseInfo.phone}}</text> |
| | | </view> |
| | | </fui-list-cell> |
| | | <up-collapse> |
| | | <up-collapse-item title="公司简介" name="Numerous tools"> |
| | | <text class="u-collapse-content">{{enterpriseInfo.resume}}</text> |
| | | </up-collapse-item> |
| | | </up-collapse> |
| | | <fui-list-cell arrow @click="goApply"> |
| | | <text>完善企业资料</text> |
| | | <fui-list-cell arrow @click="goApply" :bottomBorder='false' :padding="['20rpx', '32rpx', '20rpx', '32rpx']"> |
| | | <text class="chuany-font30">完善企业资料</text> |
| | | </fui-list-cell> |
| | | </fui-list> |
| | | </view> |
| | |
| | | $db |
| | | } = getCurrentInstance().appContext.config.globalProperties |
| | | onShow(() => { |
| | | let data = JSON.parse($db.get('userInfo')).userCompany |
| | | let data = $db.get('userInfo') ? JSON.parse($db.get('userInfo')).userCompany : null |
| | | if (data) { |
| | | enterpriseInfo.businessLicense = data.businessLicense |
| | | enterpriseInfo.suppliername = data.suppliername //企业名称 |
| | |
| | | enterpriseInfo.resume = data.resume |
| | | } |
| | | }) |
| | | |
| | | let avatarUrlImg = ref('') |
| | | onLoad(() => { |
| | | // getUser() |
| | | let obj = $db.get('userInfo') ? JSON.parse($db.get('userInfo')) : {} |
| | | avatarUrlImg = obj.avatar |
| | | }) |
| | | const enterpriseInfo = reactive({ |
| | | id: 0, //用户公司Id |
| | | businessLicense: '', //营业执照路径 |