This commit is contained in:
zhuchunyun 2024-08-17 10:20:17 +08:00
parent c08c464778
commit 1bb2fbe9b5

View File

@ -120,7 +120,7 @@
<div class="news11-list"> <div class="news11-list">
<div class="news11-list-item" v-for="(item, index) in this.xlist" :key="index" @click="goDeatails(item)"> <div class="news11-list-item" v-for="(item, index) in this.xlist" :key="index" @click="goDeatails(item)">
<div class="img"> <div class="img">
<div class="yl-right" > <dict-tag :options="dict.type.imitation_type" :value="item.imitationType"/></div> <div class="yl-right" > {{getDictLabel(item.imitationType)}} </div>
<img :src=" imgurl + item.imitationImage" class="imgWO" style="width: 100%; height: 100% "> <img :src=" imgurl + item.imitationImage" class="imgWO" style="width: 100%; height: 100% ">
</div> </div>
<div class="tt"> <div class="tt">
@ -267,10 +267,10 @@ export default {
} }
}, },
mounted() { mounted() {
// console.log(this.$route.query.id)
// //
this.tabLsit(); this.tabLsit();
this.getWebBaseInfo() this.getWebBaseInfo()
this.getDictLabel()
}, },
computed: { computed: {
customswiper() { customswiper() {
@ -284,6 +284,13 @@ export default {
} }
}, },
methods: { methods: {
getDictLabel(value){
for (const item of this.dict.type.imitation_type) {
if(value == item.value){
return item.label
}
}
},
godx() { godx() {
this.$router.push({ this.$router.push({
name: 'xufang', name: 'xufang',