|
@@ -27,26 +27,29 @@
|
|
|
<image class="messageIcon" src="../../static/image/message_icon.png" />
|
|
|
<text class="messageText">{{hotData.unReadMessageContent}}</text>
|
|
|
</view> -->
|
|
|
- <!-- <view class="myCourseSection">
|
|
|
- <view class="title">
|
|
|
+ <view class="myCourseSection" bindtap="clickBaidu">
|
|
|
+ <!-- <view class="title">
|
|
|
<view class="title-regular">我的课程</view>
|
|
|
<view class="right" bindtap="toMyCourse" wx:if="{{hotData.myCourse.length > 3}}">
|
|
|
更多
|
|
|
<image src="../../static/image/black_to.png" />
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="myCoursePlaceHolder" wx:if="{{hotData.myCourse.length === 0}}" bindtap="goToBooks">
|
|
|
+ </view> -->
|
|
|
+ <!-- <view class="myCoursePlaceHolder" wx:if="{{hotData.myCourse.length === 0}}" bindtap="goToBooks">
|
|
|
<image src="../../static/image/add_class.png" />
|
|
|
+ </view> -->
|
|
|
+ <view class="myCoursePlaceHolder">
|
|
|
+ <image src="https://reader.image.lingjiao.cn/reader/resource/baidu_img.png" />
|
|
|
</view>
|
|
|
- <view class="book-box" wx:if="{{hotData.myCourse.length !== 0}}">
|
|
|
+ <!-- <view class="book-box" wx:if="{{hotData.myCourse.length !== 0}}">
|
|
|
<block wx:for="{{hotData.myCourse}}" wx:key="{{index}}">
|
|
|
<view class="book-item" data-id="{{item.productId}}" bindtap="goToBook" data-title="{{item.title}}">
|
|
|
<image class="book-img" src="{{item.iconImg}}"></image>
|
|
|
<view class="book-title">{{item.title}}</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
+ </view> -->
|
|
|
+ </view>
|
|
|
<view class="searchSection">
|
|
|
<input bindinput="inputHandler" value="{{hotData.inputValue}}" focus="{{hotData.inputFocus}}" bindfocus="searchIconDisappear" bindblur="searchIconCome" bindconfirm="searchHandler" placeholder="{{hotData.hotSearch}}" placeholder-style="text-indent:20rpx" confirm-type="search"></input>
|
|
|
<view>{{searchIcon}}</view>
|
|
@@ -114,4 +117,11 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <!--小度广告海报-->
|
|
|
+ <view class="xiaodu-dialog" bindtap="xiaoduClick" wx:if="{{hotData.baiduFlag}}">
|
|
|
+ <image class="dialog-img" lazy-load="true" src="https://reader.image.lingjiao.cn/reader/resource/海报.png" />
|
|
|
+ <view class="dialog-circle" catchtap="PreservationXiaodu">
|
|
|
+ <text>点我保存到相册,识别二维码</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</template>
|