|
@@ -18,9 +18,13 @@
|
|
|
:key="contentI">
|
|
:key="contentI">
|
|
|
<!-- 文字 -->
|
|
<!-- 文字 -->
|
|
|
<view v-show="content.type=='text'">
|
|
<view v-show="content.type=='text'">
|
|
|
- <text v-for="(text,textI) in content.textList" :key="textI" :class="'syjj-text-'+text.textType">
|
|
|
|
|
|
|
+ <text v-for="(text,textI) in content.textList" :key="textI" :class="'syjj-text-'+text.textType" v-show="text.textType!='link'">
|
|
|
{{text.text}}
|
|
{{text.text}}
|
|
|
</text>
|
|
</text>
|
|
|
|
|
+ <!-- link -->
|
|
|
|
|
+ <text v-for="(link,index) in content.textList" v-show="link.textType=='link'">
|
|
|
|
|
+ <a :href="url" style="text-decoration:underline;color:blue">{{link.text}}</a>
|
|
|
|
|
+ </text>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 图片 -->
|
|
<!-- 图片 -->
|
|
|
<view class="syjj-pic df jcc" v-show="content.type=='pic'">
|
|
<view class="syjj-pic df jcc" v-show="content.type=='pic'">
|
|
@@ -120,4 +124,9 @@
|
|
|
.syjj-pic img {
|
|
.syjj-pic img {
|
|
|
max-width: 100%;
|
|
max-width: 100%;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ .syjj-link{
|
|
|
|
|
+ color: #EA252C;
|
|
|
|
|
+ text-decoration:underline;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|