This commit is contained in:
Gdpao 2020-08-20 15:34:04 +08:00
parent 4c3808d2ff
commit 84c02f90f7
3 changed files with 18 additions and 15 deletions

View File

@ -339,17 +339,19 @@ export default {
},
//
getswiper() {
this.imageList = [
{
image: '../../static/image/index/swiper.png'
},
{
image: '../../static/image/index/swiper.png'
},
{
image: '../../static/image/index/swiper.png'
}
];
this.$u.post("adv/indexAdv").then(res => {
let item = res.data;
let arr;
arr = item.map(data => {
console.log(data);
return {
image: data.adv_code,
adv_id: data.adv_id,
adv_link: data.adv_link,
}
})
this.imageList = arr;
})
},
//
publish() {

View File

@ -56,10 +56,10 @@ export default {
value: '',
login: '登录',
show: false,
zhanghao: 'seller',
mima: '123456',
zhanghaoA: '18953829598 ',
mimaA: '123456',
zhanghao: '',
mima: '',
zhanghaoA: '',
mimaA: '',
url: '',
state:0,
clickstate:false

View File

@ -238,6 +238,7 @@ export default {
} else {
this.tagcontent = '';
this.show = false;
res.data.state = false;
this.fileListes.push(res.data);
this.$refs.uToast.show({
title: res.message,