tmp: 部分代码与UnishopV5结合,但是代码有严重缺陷
This commit is contained in:
25
components/ns-mp-html/ns-mp-html.vue
Normal file
25
components/ns-mp-html/ns-mp-html.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<view class="mp-html">
|
||||
<mp-html :content="content"></mp-html>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
content: {
|
||||
type: String,
|
||||
default: '',
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.mp-html{
|
||||
/deep/ img{
|
||||
width:100% !important;
|
||||
display:block;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user