Commit 4f5e64b7 by 林家欣

修改首页轮播图路径

parent 5192e170
...@@ -1154,9 +1154,9 @@ export default { ...@@ -1154,9 +1154,9 @@ export default {
await this.$api.home.homePictureImageList(); await this.$api.home.homePictureImageList();
const { returnCode, data } = homePictureImageListRes; const { returnCode, data } = homePictureImageListRes;
if (returnCode === "0") { if (returnCode === "0") {
data.forEach((el) => { // data.forEach((el) => {
el.picFile = `${this.urls.gs1cnTwo}news/newsimg/${el.picFile}`; // el.picFile = `${this.urls.gs1cnTwo}news/newsimg/${el.picFile}`;
}); // });
this.newsBanner = data; this.newsBanner = data;
} }
console.log(homePictureImageListRes, "要闻左侧图片资讯"); console.log(homePictureImageListRes, "要闻左侧图片资讯");
...@@ -1242,7 +1242,7 @@ export default { ...@@ -1242,7 +1242,7 @@ export default {
if (returnCode === "0") { if (returnCode === "0") {
let list = []; let list = [];
data.forEach((el, i) => { data.forEach((el, i) => {
el.picIndexPath = `${this.urls.gs1cnTwo}img/demo/${el.picIndexPath}`; // el.picIndexPath = `${this.urls.gs1cnTwo}img/demo/${el.picIndexPath}`;
this.smallH5Images.push(el); this.smallH5Images.push(el);
list.push(el); list.push(el);
if ((i + 1) % 3 === 0) { if ((i + 1) % 3 === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment