Merge pull request 'gdpao' (#68) from gyh into master
Reviewed-on: http://git.luyuan.tk/luyuan/demingshangjia/pulls/68
This commit is contained in:
commit
3fe8f15aad
@ -339,17 +339,19 @@ export default {
|
|||||||
},
|
},
|
||||||
// 获取轮播图
|
// 获取轮播图
|
||||||
getswiper() {
|
getswiper() {
|
||||||
this.imageList = [
|
this.$u.post("adv/indexAdv").then(res => {
|
||||||
{
|
let item = res.data;
|
||||||
image: '../../static/image/index/swiper.png'
|
let arr;
|
||||||
},
|
arr = item.map(data => {
|
||||||
{
|
console.log(data);
|
||||||
image: '../../static/image/index/swiper.png'
|
return {
|
||||||
},
|
image: data.adv_code,
|
||||||
{
|
adv_id: data.adv_id,
|
||||||
image: '../../static/image/index/swiper.png'
|
adv_link: data.adv_link,
|
||||||
}
|
}
|
||||||
];
|
})
|
||||||
|
this.imageList = arr;
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 打开发布弹窗
|
// 打开发布弹窗
|
||||||
publish() {
|
publish() {
|
||||||
|
@ -56,10 +56,10 @@ export default {
|
|||||||
value: '',
|
value: '',
|
||||||
login: '登录',
|
login: '登录',
|
||||||
show: false,
|
show: false,
|
||||||
zhanghao: 'seller',
|
zhanghao: '',
|
||||||
mima: '123456',
|
mima: '',
|
||||||
zhanghaoA: '18953829598 ',
|
zhanghaoA: '',
|
||||||
mimaA: '123456',
|
mimaA: '',
|
||||||
url: '',
|
url: '',
|
||||||
state:0,
|
state:0,
|
||||||
clickstate:false
|
clickstate:false
|
||||||
|
@ -238,6 +238,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.tagcontent = '';
|
this.tagcontent = '';
|
||||||
this.show = false;
|
this.show = false;
|
||||||
|
res.data.state = false;
|
||||||
this.fileListes.push(res.data);
|
this.fileListes.push(res.data);
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
Loading…
Reference in New Issue
Block a user