Commit 306f04ff authored by lvtz's avatar lvtz

fix

parent e448ec25
...@@ -313,8 +313,7 @@ Page({ ...@@ -313,8 +313,7 @@ Page({
school_id: this.data.sid, school_id: this.data.sid,
sort: 0, sort: 0,
course_id: this.data.courseSelect.id, course_id: this.data.courseSelect.id,
teacher_id: this.data.teacher_id, teacher_id: this.data.teacher_id
imageBox: JSON.stringify(this.data.imageBox)
})).then((res) => { })).then((res) => {
wx.hideLoading(); wx.hideLoading();
if (res.code == 200) { if (res.code == 200) {
......
...@@ -29,10 +29,7 @@ ...@@ -29,10 +29,7 @@
</block> </block>
<block wx:else> <block wx:else>
<view class="video-box"> <view class="video-box">
<view class="video-play-icon-box"> <image class="video-image" src="{{egBanner}}"></image>
<image class="video-play-icon" src="{{imageRoot}}2c/common/playicon.png?{{imageVersion}}"></image>
</view>
<image class="video-image" src="{{imageRoot}}2c/websiteindex/exabanner.png?{{imageVersion}}"></image>
</view> </view>
</block> </block>
<view class="notice-box" wx:if="{{schoolInfo.notice}}"> <view class="notice-box" wx:if="{{schoolInfo.notice}}">
......
This diff is collapsed.
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
</view> </view>
<view class="container" wx:if="{{!websitehomeEmpty}}"> <view class="container" wx:if="{{!websitehomeEmpty}}">
<view class="banner-box" id="banner"> <view class="banner-box" id="banner">
<block wx:if="{{!websitehomeEmpty && !bannerEmpty}}"> <block wx:if="{{!bannerEmpty}}">
<view class="video-box" bindtap="goBannerVideoPlay" wx:if="{{schoolInfo.banner.type=='video'}}"> <view class="video-box" bindtap="goBannerVideoPlay" wx:if="{{schoolInfo.banner.type=='video'}}">
<!-- <view class="video-play-icon-box"> <!-- <view class="video-play-icon-box">
<image class="video-play-icon" src="{{imageRoot}}2c/common/playicon.png?{{imageVersion}}"></image> <image class="video-play-icon" src="{{imageRoot}}2c/common/playicon.png?{{imageVersion}}"></image>
...@@ -32,10 +32,7 @@ ...@@ -32,10 +32,7 @@
</block> </block>
<block wx:else> <block wx:else>
<view class="video-box"> <view class="video-box">
<view class="video-play-icon-box"> <image class="video-image" src="{{egBanner}}"></image>
<image class="video-play-icon" src="{{imageRoot}}2c/common/playicon.png?{{imageVersion}}"></image>
</view>
<image class="video-image" src="{{imageRoot}}2c/websiteindex/exabanner.png?{{imageVersion}}"></image>
</view> </view>
</block> </block>
<view class="notice-box" wx:if="{{schoolInfo.notice}}"> <view class="notice-box" wx:if="{{schoolInfo.notice}}">
...@@ -111,8 +108,6 @@ ...@@ -111,8 +108,6 @@
<image class="icon-mobile" src="{{imageRoot}}2c/websiteindex/website_phone.png?{{imageVersion}}"></image> <image class="icon-mobile" src="{{imageRoot}}2c/websiteindex/website_phone.png?{{imageVersion}}"></image>
</view> </view>
</view> </view>
<block wx:for="{{schoolInfo.sort?schoolInfo.sort:sort}}" wx:key="idx" wx:for-index="idx" wx:for-item="sortItem" > <block wx:for="{{schoolInfo.sort?schoolInfo.sort:sort}}" wx:key="idx" wx:for-index="idx" wx:for-item="sortItem" >
<!-- 广告banner --> <!-- 广告banner -->
<block wx:if="{{sortItem.name=='adCarousel' && schoolInfo.module_switch.adCarousel}}"> <block wx:if="{{sortItem.name=='adCarousel' && schoolInfo.module_switch.adCarousel}}">
......
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