| | |
| | | <fui-list-cell arrow> |
| | | <view class="fui-list__item"> |
| | | <text>企业名称</text> |
| | | <text class="fui-text__explain">我是企业名称</text> |
| | | <text class="fui-text__explain">{{enterpriseInfo.suppliername}}</text> |
| | | </view> |
| | | </fui-list-cell> |
| | | <fui-list-cell arrow> |
| | | <view class="fui-list__item"> |
| | | <text>企业注册地址</text> |
| | | <text class="fui-text__explain">我是企业注册地址</text> |
| | | <text class="fui-text__explain address">{{enterpriseInfo.address}}</text> |
| | | </view> |
| | | </fui-list-cell> |
| | | <fui-list-cell arrow> |
| | | <view class="fui-list__item"> |
| | | <text>联系电话</text> |
| | | <text class="fui-text__explain">13245678956</text> |
| | | <text class="fui-text__explain">{{enterpriseInfo.phone}}</text> |
| | | </view> |
| | | </fui-list-cell> |
| | | |
| | | <fui-list-cell arrow> |
| | | <view class="fui-list__item"> |
| | | <text>公司简介</text> |
| | | <text class="fui-text__explain">我是公司简介</text> |
| | | </view> |
| | | </fui-list-cell> <fui-list-cell arrow @click="goApply"> |
| | | <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> |
| | | </fui-list> |
| | |
| | | |
| | | <script setup> |
| | | import { |
| | | ref |
| | | onLoad, |
| | | onShow |
| | | } from "@dcloudio/uni-app"; |
| | | import { |
| | | ref, |
| | | reactive, |
| | | getCurrentInstance |
| | | } from 'vue'; |
| | | const { |
| | | $db |
| | | } = getCurrentInstance().appContext.config.globalProperties |
| | | onShow(() => { |
| | | let data = JSON.parse($db.get('userInfo')).userCompany |
| | | if (data) { |
| | | enterpriseInfo.businessLicense = data.businessLicense |
| | | enterpriseInfo.suppliername = data.suppliername //企业名称 |
| | | enterpriseInfo.regtime = data.regtime //注册时间 |
| | | enterpriseInfo.address = data.address //联系地址 |
| | | enterpriseInfo.suppliercode = data.suppliercode //企业注册号 |
| | | enterpriseInfo.contact = data.contact //联系人 |
| | | enterpriseInfo.phone = data.phone //联系电话 |
| | | enterpriseInfo.id = data.id |
| | | enterpriseInfo.resume = data.resume |
| | | } |
| | | }) |
| | | const enterpriseInfo = reactive({ |
| | | id: 0, //用户公司Id |
| | | businessLicense: '', //营业执照路径 |
| | | suppliername: '', //企业名称 |
| | | regtime: '', //注册时间 |
| | | address: '', //联系地址 |
| | | suppliercode: '', //企业注册号 |
| | | contact: '', //联系人 |
| | | phone: '', //联系电话 |
| | | resume: '', //公司简介 |
| | | }) |
| | | // let src = "http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg" |
| | | const goApply = () => { |
| | | uni.navigateTo({ |
| | |
| | | <style> |
| | | .content { |
| | | height: 300rpx; |
| | | background: linear-gradient(to bottom,#fbec99, #ffffff); |
| | | background: linear-gradient(to bottom, #fbec99, #ffffff); |
| | | } |
| | | |
| | | .fui-list__item { |
| | |
| | | color: #7F7F7F; |
| | | flex-shrink: 0; |
| | | } |
| | | |
| | | .address { |
| | | width: 65%; |
| | | } |
| | | </style> |