1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <template>
- <view>
- <view class="imageText">
- <view class="title">{{imageText.title}}</view>
- <view class="img" v-if="imageText.imageUrl">
- <image :src="imageText.imageUrl" mode="widthFix"></image>
- </view>
- <view class="content">
- <view v-html="imageText.dataContent"></view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- props:[
- "imageText"
- ],
- data() {
- return {
-
- };
- }
- }
- </script>
- <style lang="scss">
- .imageText{
- .title{
- line-height: 30px;
- border-left: 4px solid #009FE8;
- border-radius: 4px;
- padding-left: 10px;
- margin-bottom: 10px;
- }
- .img{
- width: 700rpx;
- image{
- width: 100%;
- }
- }
- .content{
-
- }
- }
- </style>
|