init
This commit is contained in:
parent
c08c464778
commit
1bb2fbe9b5
@ -120,7 +120,7 @@
|
||||
<div class="news11-list">
|
||||
<div class="news11-list-item" v-for="(item, index) in this.xlist" :key="index" @click="goDeatails(item)">
|
||||
<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% ">
|
||||
</div>
|
||||
<div class="tt">
|
||||
@ -267,10 +267,10 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// console.log(this.$route.query.id)
|
||||
// 页面加载完毕调用
|
||||
this.tabLsit();
|
||||
this.getWebBaseInfo()
|
||||
this.getDictLabel()
|
||||
},
|
||||
computed: {
|
||||
customswiper() {
|
||||
@ -284,6 +284,13 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getDictLabel(value){
|
||||
for (const item of this.dict.type.imitation_type) {
|
||||
if(value == item.value){
|
||||
return item.label
|
||||
}
|
||||
}
|
||||
},
|
||||
godx() {
|
||||
this.$router.push({
|
||||
name: 'xufang',
|
||||
|
Loading…
Reference in New Issue
Block a user