Fix:5778 【商城小程序】【商户入驻-入驻申请须知】香道滇小程序展示的“入驻申请须知”段落格式,与香道滇后台管理系统中配置的内容格式不一致
This commit is contained in:
@@ -451,7 +451,7 @@
|
||||
<script>
|
||||
import CitySelect from '@/components/CitySelect'
|
||||
import { getCity, registerVerify } from '@/api/user'
|
||||
import { uploadVideo, uploadImage } from '@/utils'
|
||||
import { uploadVideo, uploadImage, formatRichText } from '@/utils'
|
||||
import {
|
||||
getShopData,
|
||||
saveExperienceStore,
|
||||
@@ -523,7 +523,7 @@ export default {
|
||||
this.promoterUid = opts.promoterUid || ''
|
||||
this.queryCity()
|
||||
getShopData({partnerId: this.partnerId, promoterUid: this.promoterUid}).then(({ data }) => {
|
||||
this.notice = data.merchantApplyNotice
|
||||
this.notice = formatRichText(data.merchantApplyNotice)
|
||||
})
|
||||
getExperienceStoreCategoryList().then(({ data }) => {
|
||||
this.experienceStoreCategoryList = data || []
|
||||
@@ -865,6 +865,25 @@ export default {
|
||||
height: 52vh;
|
||||
overflow-y: auto;
|
||||
margin: 30rpx 0;
|
||||
|
||||
// 小程序rich-text内块级标签无默认段间距,补充与后台富文本编辑器一致的段落格式
|
||||
::v-deep rich-text {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
p, div, ul, ol {
|
||||
display: block;
|
||||
margin: 0 0 16rpx;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
margin: 0 0 8rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
.popup-body .agree-box {
|
||||
margin: 60rpx 0;
|
||||
|
||||
Reference in New Issue
Block a user