Commit 306f04ff authored by lvtz's avatar lvtz

fix

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