clay edit : 详情title可以不要

This commit is contained in:
clay
2022-10-03 20:36:32 +08:00
parent 5c41759bd6
commit 4e24a933ed
2 changed files with 14 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
<el-row> <el-row>
<el-col> <el-col>
<div class="context"> <div class="context">
<div class="title">{{ value.title }}</div> <div v-if="value.title !=null && value.title != ''" class="title">{{ value.title }}</div>
<div class="details_title" v-if="value.isTop=='2'"> <div class="details_title" v-if="value.isTop=='2'">
<!--{{value}}--> <!--{{value}}-->
<span>来源: {{getSource()}}</span> <span>来源: {{getSource()}}</span>

View File

@@ -84,14 +84,14 @@
<div class="tab"> <div class="tab">
<router-link to="/home">{{ $t('message.home') }}</router-link> <router-link to="/home">{{ $t('message.home') }}</router-link>
<span> > </span> <span> > </span>
<!--<span style="color: #1956BC;font-size: 1.4rem">--> <span style="color: #1956BC;">
<!--<router-link to="">--> <!--<router-link to="">-->
<span v-if="$i18n.locale === 'cn'">{{ crumbs.one.title }}</span> <span v-if="$i18n.locale === 'cn'">{{ crumbs.one.title }}</span>
<span v-if="$i18n.locale === 'en'">{{ crumbs.one.englishTitle }}</span> <span v-if="$i18n.locale === 'en'">{{ crumbs.one.englishTitle }}</span>
<!--</router-link>--> <!--</router-link>-->
<!--</span>--> </span>
<span> > </span> <span> > </span>
<span style="color: #1956BC;font-size: 1.4rem"> <span style="color: #1956BC;">
<span v-if="$i18n.locale === 'cn'">{{ crumbs.two.title }}</span> <span v-if="$i18n.locale === 'cn'">{{ crumbs.two.title }}</span>
<span v-if="$i18n.locale === 'en'">{{ crumbs.two.englishTitle }}</span> <span v-if="$i18n.locale === 'en'">{{ crumbs.two.englishTitle }}</span>
</span> </span>
@@ -119,18 +119,21 @@
<el-row> <el-row>
<el-col> <el-col>
<div class="tab"> <div class="tab">
<router-link to="/">{{ $t('message.home') }}</router-link> <router-link to="/" >{{ $t('message.home') }}</router-link>
<span> > </span> <span> > </span>
<span style="color: #1956BC;font-size: 1.4rem"> <span style="color: #1956BC;">
<!--<router-link to="">--> <!--<router-link to="">-->
<span v-if="$i18n.locale === 'cn'">{{ crumbs.one.title }}</span> <span v-if="$i18n.locale === 'cn'">{{ crumbs.one.title }}</span>
<span v-if="$i18n.locale === 'en'">{{ crumbs.one.englishTitle }}</span> <span v-if="$i18n.locale === 'en'">{{ crumbs.one.englishTitle }}</span>
<!--</router-link>--> <!--</router-link>-->
</span> </span>
<!--<span> > </span>--> <span> > </span>
<!-- <span v-if="$i18n.locale === 'cn'">{{ crumbs.two.title }}</span>--> <span style="color: #1956BC;">
<!-- <span v-if="$i18n.locale === 'en'">{{ crumbs.two.englishTitle }}</span>--> <!--<router-link to="">-->
<!-- &lt;!&ndash;{{ crumbs.two.title }}&ndash;&gt;--> <span v-if="$i18n.locale === 'cn'">{{ crumbs.two.title }}</span>
<span v-if="$i18n.locale === 'en'">{{ crumbs.two.englishTitle }}</span>
<!--</router-link>-->
</span>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
@@ -506,6 +509,7 @@ export default {
margin-left: 1.9rem; margin-left: 1.9rem;
margin-top: 1.5rem; margin-top: 1.5rem;
font-weight: 400; font-weight: 400;
font-size: 1.6rem;
a { a {
text-decoration: none; text-decoration: none;