@@ -84,9 +84,7 @@
<!-- 企业简介 -->
<view class="company-section" v-if="currentTab === 'company'">
<view class="company-content">
- <text class="company-text">
- <view v-html="companyInfo.introduce" v-if="companyInfo.introduce"></view>
- </text>
+ <rich-text class="company-text" :nodes="companyInfo.introduce"></rich-text>
</view>
- <view class="company-text">
- </view>
@@ -220,7 +220,7 @@ const drawIconText = async (ctx, type, text, x, y, maxWidth = 350) => {
ctx.font = `${iconSize}px sans-serif`
ctx.textAlign = 'center'
- ctx.fillText(icons[type] || '●', x - maxWidth / 2 + 30, iconY + iconSize / 2 + 5)
+ ctx.fillText(icons[type] || '●', x - maxWidth / 2 + 30, iconY + iconSize / 2 + 10)
// 绘制文字
ctx.fillStyle = '#666666'