init
This commit is contained in:
parent
c08c464778
commit
1bb2fbe9b5
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user