|
@@ -9,7 +9,7 @@
|
|
|
<view class="carousel-section" wx:if="{{bannerData.length}}">
|
|
<view class="carousel-section" wx:if="{{bannerData.length}}">
|
|
|
<swiper class="carousel-swiper" indicator-dots="{{true}}" autoplay="{{true}}" interval="4000" duration="500">
|
|
<swiper class="carousel-swiper" indicator-dots="{{true}}" autoplay="{{true}}" interval="4000" duration="500">
|
|
|
<swiper-item wx:for="{{bannerData}}" wx:key="carouselId" bindtap="onBannerClick" data-url="{{item.url}}">
|
|
<swiper-item wx:for="{{bannerData}}" wx:key="carouselId" bindtap="onBannerClick" data-url="{{item.url}}">
|
|
|
- <image src="{{item.img}}" alt="{{item.title || '轮播图'}}" class="carousel-img" mode="aspectFill"></image>
|
|
|
|
|
|
|
+ <image src="{{urlImg + item.img}}" alt="{{item.title || '轮播图'}}" class="carousel-img" mode="aspectFill"></image>
|
|
|
</swiper-item>
|
|
</swiper-item>
|
|
|
</swiper>
|
|
</swiper>
|
|
|
</view>
|
|
</view>
|
|
@@ -47,7 +47,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view wx:if="{{newsList && newsList.length > 0}}">
|
|
<view wx:if="{{newsList && newsList.length > 0}}">
|
|
|
<view class="news-item" wx:for="{{newsList}}" wx:key="informationId" bindtap="viewNews" data-item="{{item}}">
|
|
<view class="news-item" wx:for="{{newsList}}" wx:key="informationId" bindtap="viewNews" data-item="{{item}}">
|
|
|
- <image src="{{item.indexImg}}" alt="展览资讯" class="news-img" mode="aspectFill"></image>
|
|
|
|
|
|
|
+ <image src="{{urlImg + item.indexImg}}" alt="展览资讯" class="news-img" mode="aspectFill"></image>
|
|
|
<view class="news-content">
|
|
<view class="news-content">
|
|
|
<text class="news-title">{{item.title}}</text>
|
|
<text class="news-title">{{item.title}}</text>
|
|
|
<text class="news-desc">⇀</text>
|
|
<text class="news-desc">⇀</text>
|
|
@@ -69,7 +69,7 @@
|
|
|
<scroll-view class="scroll-container" scroll-x="{{true}}">
|
|
<scroll-view class="scroll-container" scroll-x="{{true}}">
|
|
|
<view class="scroll-wrapper">
|
|
<view class="scroll-wrapper">
|
|
|
<view class="exhibition-item" wx:for="{{exhibitionList}}" wx:key="exhibitId" bindtap="viewExhibition" data-item="{{item}}">
|
|
<view class="exhibition-item" wx:for="{{exhibitionList}}" wx:key="exhibitId" bindtap="viewExhibition" data-item="{{item}}">
|
|
|
- <image src="{{item.img}}" alt="展览" class="exhibition-img" mode="aspectFill"></image>
|
|
|
|
|
|
|
+ <image src="{{urlImg + item.img}}" alt="展览" class="exhibition-img" mode="aspectFill"></image>
|
|
|
<view class="exhibition-info">
|
|
<view class="exhibition-info">
|
|
|
<text class="exhibition-title">{{item.title}}</text>
|
|
<text class="exhibition-title">{{item.title}}</text>
|
|
|
</view>
|
|
</view>
|
|
@@ -93,7 +93,7 @@
|
|
|
<view class="scroll-wrapper">
|
|
<view class="scroll-wrapper">
|
|
|
<view class="activity-item" wx:for="{{activeList}}" wx:key="activityId" bindtap="viewActivity" data-item="{{item}}">
|
|
<view class="activity-item" wx:for="{{activeList}}" wx:key="activityId" bindtap="viewActivity" data-item="{{item}}">
|
|
|
<view class="active-top">
|
|
<view class="active-top">
|
|
|
- <image src="{{item.indexImg}}" alt="活动" class="activity-img" mode="aspectFill"></image>
|
|
|
|
|
|
|
+ <image src="{{urlImg + item.indexImg}}" alt="活动" class="activity-img" mode="aspectFill"></image>
|
|
|
<text class="active-go">></text>
|
|
<text class="active-go">></text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="activity-info">
|
|
<view class="activity-info">
|