parent
e9ebe236e6
commit
ff9211e557
|
|
@ -1,4 +1,3 @@
|
||||||
<!-- 商品详情:描述卡片 -->
|
|
||||||
<template>
|
<template>
|
||||||
<view class="detail-content-card bg-white ss-m-x-20 ss-p-t-20">
|
<view class="detail-content-card bg-white ss-m-x-20 ss-p-t-20">
|
||||||
<view class="card-header ss-flex ss-col-center ss-m-b-30 ss-m-l-20">
|
<view class="card-header ss-flex ss-col-center ss-m-b-30 ss-m-l-20">
|
||||||
|
|
@ -6,7 +5,7 @@
|
||||||
<view class="title ss-m-l-20 ss-m-r-20">详情</view>
|
<view class="title ss-m-l-20 ss-m-r-20">详情</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="card-content">
|
<view class="card-content">
|
||||||
<mp-html :content="content" />
|
<mp-html :content="content"></mp-html>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -49,4 +48,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep() {
|
||||||
|
image {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -74,4 +74,10 @@
|
||||||
color: #999999;
|
color: #999999;
|
||||||
margin-bottom: 40rpx;
|
margin-bottom: 40rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep() {
|
||||||
|
image {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
<!-- 文章展示 -->
|
<!-- 文章展示 -->
|
||||||
<template>
|
<template>
|
||||||
<s-layout :bgStyle="{ color: '#FFF' }" :title="state.title" class="set-wrap">
|
<s-layout :bgStyle="{ color: '#FFF' }" :title="state.title" class="set-wrap">
|
||||||
<view class="ss-p-30">
|
<view class="ss-p-30 richtext"><mp-html :content="state.content"></mp-html></view>
|
||||||
<mp-html class="richtext" :content="state.content" />
|
|
||||||
</view>
|
|
||||||
</s-layout>
|
</s-layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -41,7 +39,6 @@
|
||||||
}
|
}
|
||||||
getRichTextContent(options.id, options.title);
|
getRichTextContent(options.id, options.title);
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
@ -49,6 +46,9 @@
|
||||||
margin: 0 30rpx;
|
margin: 0 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.richtext {
|
:deep() {
|
||||||
|
image {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<!-- 装修营销组件:营销文章 -->
|
<!-- 装修营销组件:营销文章 -->
|
||||||
<template>
|
<template>
|
||||||
<view
|
<view
|
||||||
|
class="richtext"
|
||||||
:style="[
|
:style="[
|
||||||
{
|
{
|
||||||
marginLeft: styles.marginLeft + 'px',
|
marginLeft: styles.marginLeft + 'px',
|
||||||
|
|
@ -11,7 +12,7 @@
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
>
|
>
|
||||||
<mp-html class="richtext" :content="state.content"></mp-html>
|
<mp-html :content="state.content"></mp-html>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|
@ -38,3 +39,8 @@
|
||||||
state.content = data.content;
|
state.content = data.content;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.richtext {
|
||||||
|
line-height: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue