| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <template>
- <view class="company-section">
- <view class="company-title">
- <image class="img" src="/static/image/public/qyjj-icon.png" mode=""></image>
- <text class="name">{{companyInfo.name || cardInfo.companyName}}</text>
- </view>
- <rich-text class="company-text" :nodes="companyInfo.introduce" v-if="companyInfo.introduce"></rich-text>
- <EmptyState
- v-else
- text=""
- sub-text="暂时没有企业信息"
- image="/static/image/public/no-data.png"
- />
- </view>
- </template>
- <script setup>
- import EmptyState from '@/components/empty-state/index.vue'
- import {
- onShareAppMessage
- } from '@dcloudio/uni-app';
- import {
- useUserStore
- } from '@/store/modules/user.js'
- import {
- storeToRefs
- } from 'pinia'
- const userStore = useUserStore()
- const {
- companyInfo,
- cardInfo
- } = storeToRefs(userStore)
- </script>
- <style lang="scss" scoped>
- // 企业简介
- .company-section {
- background: #ffffff;
- .company-title {
- display: flex;
- align-items: center;
- gap: 16rpx;
- margin: 38rpx 0 30rpx;
- .img{
- width: 124rpx;
- height: 40rpx;
-
- }
- .name{
- font-size: 32rpx;
- font-weight: 500;
- color: #202020;
- position: relative;
- bottom: 4rpx;
- }
- }
- .company-text {
- display: block;
- font-size: 28rpx;
- color: #666666;
- line-height: 1.8;
- margin-bottom: 24rpx;
- ::v-deep img {
- max-width: 100% !important;
- height: auto !important;
- }
- &:last-child {
- margin-bottom: 0;
- }
- }
- }
- </style>
|