Commit 4ee2853e authored by LiZongLin's avatar LiZongLin

首页图片更改

parent 5d2102ab
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<view class="home_activity_item" v-for="(item1,index1) in activityList" :key="index1" <view class="home_activity_item" v-for="(item1,index1) in activityList" :key="index1"
@click="goActDetil(item1)"> @click="goActDetil(item1)">
<view class="activity_image"> <view class="activity_image">
<image class="image" :src="'https://www.aiwanyundong.com/api/' + item1.bannerImage"></image> <image class="image" :src="'https://www.aiwanyundong.com/stage-api' + item1.bannerImage"></image>
</view> </view>
<view class="activity-body"> <view class="activity-body">
<view class="activity_image_title"> <view class="activity_image_title">
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<view class="home_exercise_item" v-for="(item,index) in exerciseList" :key="index"> <view class="home_exercise_item" v-for="(item,index) in exerciseList" :key="index">
<view class="ima"> <view class="ima">
<image style="width: 116px;height:116px;border-radius:16px " <image style="width: 116px;height:116px;border-radius:16px "
:src="'https://www.aiwanyundong.com/api/' + item.image"></image> :src="'https://www.aiwanyundong.com/stage-api' + item.image"></image>
</view> </view>
<view style="width: 66%;"> <view style="width: 66%;">
<view style="height: 80px;"> <view style="height: 80px;">
...@@ -149,8 +149,8 @@ ...@@ -149,8 +149,8 @@
import { import {
listExercise, listExercise,
listActivityStart, listActivityStart,
listExerciseHaveToken, // listExerciseHaveToken,
listActivityStartHaveToken // listActivityStartHaveToken
} from "@/api/homePage.js"; } from "@/api/homePage.js";
import { import {
getToken getToken
...@@ -215,6 +215,7 @@ ...@@ -215,6 +215,7 @@
getActivityList() { getActivityList() {
listActivityStart().then(res => { listActivityStart().then(res => {
this.activityList = [...this.activityList, ...res.data] || [] this.activityList = [...this.activityList, ...res.data] || []
console.log(res.data);
}).catch(err => { }).catch(err => {
}) })
......
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