|
- <view id="BoxBg">
- <view class="Box">
- <navbar text="首页" background="#0E1119" color="#fff"></navbar>
- <view style="height:{{navigationBarHeight}} "></view>
- <view class="searchBox">
- <navigator class="searchF" url="/pages/search/search" open-type="" hover-class="className">
- <image class="searchLogo" src="{{imgHttps+'home_ic_ss.png'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
- <view class="searchText" style="color: #666666;">搜索</view>
- </navigator>
-
- </view>
-
- <view class="topBox">
- <view class="TopNavigationBox">
- <view class="item" tt:for="{{column}}" bindtap="setTopFlag" data-index="{{index}}" data-itemid="{{item.id}}">
- <view class=" {{index==topFlag?'title_a':'title'}}">{{item.title}}</view>
- <view class="wire" tt:if="{{index==topFlag}}"></view>
- </view>
- </view>
- <image class="logo" src="{{imgHttps+'home_ic_saixuan.png'}}" bindtap="setTopFlag" data-itemid=" "></image>
- </view>
-
- <view class="swiperBox" tt:if="{{swiperLsit.length!=0}}">
- <swiper class="swiper" indicator-dots="ture" indicator-color="rgba(255,255,255,.3)"
- indicator-active-color="rgba(255,255,255,1)" autoplay="ture" current="0" interval="5000"
- duration="{{1000}}" circular="false" previous-margin="false" display-multiple-items="1"
- skip-hidden-item-layout="false" vertical="{{false}}">
- <swiper-item class="swiper-item" item-id="" tt:for="{{swiperLsit}}" bindtap="goPublicity" data-type="{{item.type}}" data-id="{{item.id}}">
- <image class="swiperImg" src="{{item.coverImg}}" mode="" />
- </swiper-item>
-
- </swiper>
- </view>
- <view class="columnBox">
- <navigator class="columnItem" target="" url="/pages/ranking/ranking?type=1&titilText=最新上架" hover-class="navigator-hover" open-type="navigate">
- <image src="{{imgHttps+'home_nav_ic_zxsj.png'}}" class="columnImg" style="width: 90%; height: 70%; margin: 0 5%;">
- </image>
- <view class="columnText">
- 最新上架
- </view>
- </navigator>
- <navigator class="columnItem" target="" url="/pages/ranking/ranking?type=2&titilText=精选课程" hover-class="navigator-hover" open-type="navigate">
- <image src="{{imgHttps+'home_nav_ic_jxkc.png'}}" class="columnImg" style="width: 90%; height: 70%; margin: 0 5%;">
- </image>
- <view class="columnText">
- 精选课程
- </view>
- </navigator>
- <navigator class="columnItem" target="" url="/pages/ranking/ranking?type=3&titilText=排行榜" hover-class="navigator-hover"
- open-type="navigate">
- <image src="{{imgHttps+'home_nav_ic_phb.png'}}" class="columnImg" style="width: 90%; height: 70%; margin: 0 5%;">
- </image>
- <view class="columnText">
- 排行榜
- </view>
- </navigator>
- <navigator class="columnItem" target="" url="/pages/category/category" hover-class="navigator-hover"
- open-type="navigate">
- <image src="{{imgHttps+'home_nav_ic_qbfl.png'}}" class="columnImg" style="width: 90%; height: 70%; margin: 0 5%;">
- </image>
- <view class="columnText">
- 全部分类
- </view>
- </navigator>
- </view>
- <!-- 今日推荐-->
- <view class="deyBox" tt:if="{{deyList.length!=0}}">
- <view class="deyTitleBox">
- <image class="deyTitleImg" src="{{imgHttps+'home_tab_ic_jrtj.png'}}"
- mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
- <view class="deyTitle">
- 今日推荐
- </view>
- </view>
- <view class="deyImgBox">
- <view class="imgBox" tt:for="{{deyList}}" bindtap="goXq" data-id="{{item.id}}" data-title="{{item.title}}">
- <view class="imgitem">
- <image class="img" src="{{item.coverImg}}" mode="" />
- <view class="posClass">
- {{item.businessName}}
- </view>
-
-
- </view>
- <view class="itemTitle">
- 投资者-周期
- </view>
- </view>
-
-
- </view>
- <!-- <view class="exchangeBox">
- <image class="exchangeImg" src="{{imgHttps+'home_ic_hyh.png'}}" mode="aspectFit|aspectFill|widthFix"
- lazy-load="false" binderror="" bindload="" />
- <view class="exchangeText">
- 换一换
- </view>
-
- </view> -->
-
- </view>
- <!-- 精选内容-->
- <view class="handpickBox" tt:if="{{classLsit.length!=0}}">
- <view class="handpickTop">
- <image class="handpickImg" src="{{imgHttps+'home_tab_ic_jxnr.png'}}"
- mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
-
- <view class="handpickText">
- 精选内容
- </view>
- </view>
- <view class="commodityBox" tt:for="{{classLsit}}" bindtap="goXq" data-id="{{item.id}}" data-title="{{item.title}}">
- <view class="commodityImg">
- <image class="classBoxImg" src="{{item.coverImg}}" mode="" />
- <view class="newPopularity oh">
- <image class="popularityImg" style="margin-left: 50rpx;" src="{{imgHttps+'home_ic_renq.png'}}"
- mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
- <view class="popularityText">
- 最近人气
- </view>
- <view class="popularityNum">
- {{item.popularity}}
- </view>
- </view>
- </view>
-
- <view class="describeBox">
- <view class="describeBame">
- {{item.title}}
- </view>
- <view class="authorBox1">
- <image class="headImg" src="{{item.merchantPic}}" mode="" />
- <view class="annotation">
- {{item.merchantName}}
- </view>
-
- <view class="priceBox">
- <view class="priceF" tt:if="{{item.salePriceStr!=0}}">
- ¥
- </view>
- <view class="price" tt:if="{{item.salePriceStr!=0}}">
- {{item.salePriceStr}}
- </view>
- <view class="price" tt:if="{{item.salePriceStr==0}}">
- 免费
- </view>
- </view>
-
-
- </view>
-
- </view>
-
-
-
- </view>
-
- <view class="extendBox">
- <navigator class="extendMoreBox oh" target="" url="/pages/ranking/ranking?type=2&titilText=精选课程" hover-class="navigator-hover"
- open-type="navigate">
- <image
- style="width: 40rpx;height: 40rpx;margin-top: 15rpx;margin-left: 80rpx;float: left; color: #8790A8;font-size: 30rpx;"
- src="{{imgHttps+'home_ic_ckgd.png'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false"
- binderror="" bindload="" />
- <view style="line-height: 70rpx;margin-left: 20rpx;float: left;">
- 查看更多
- </view>
- </navigator>
-
- <!-- <view class="changeBox">
- <image
- style="width: 40rpx;height: 40rpx;margin-top: 15rpx;margin-left: 80rpx;float: left; color: #8790A8;font-size: 30rpx;"
- src="{{imgHttps+'home_ic_hyh.png'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false"
- binderror="" bindload="" />
- <view style="line-height: 70rpx;margin-left: 20rpx;float: left;">
- 换一换
- </view>
-
- </view> -->
-
- </view>
-
- </view>
- <!--推荐作者 -->
- <view class="deyBox author" tt:if="{{autho.length!=0}}">
- <view class="deyTitleBox">
- <image class="deyTitleImg" src="{{imgHttps+'home_tab_tjzz.png'}}" mode="aspectFit|aspectFill|widthFix"
- lazy-load="false" binderror="" bindload="" />
- <view class="deyTitle">
- 推荐作者
- </view>
- </view>
-
-
-
- <view class="authorBox">
- <navigator class="authorItem" tt:for="{{autho}}" url="/pages/UpHome/UpHome?id={{item.id}}&name={{item.name}}" open-type="" hover-class="className">
- <image class="authorImgTop" src="{{item.imgUrl}}" mode="" />
- <view class="nameBox">
- <view class="authorName">
- {{item.name}}
- </view>
- <view class="authorText">
- {{item.authoRemark}}
- </view>
- </view>
- </navigator>
-
-
- </view>
-
-
- </view>
-
-
- <view class="rankingBox" tt:if="{{rankingList.length!=0}}">
- <view class="handpickTop">
- <image class="handpickImg" src="{{imgHttps+'home_tab_ic_rmph.png'}}"
- mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
- <view class="handpickText">
- 热门排行
- </view>
- </view>
- <view class="sortBox">
- <view class="sortItemBox" tt:for="{{rankingList}}" bindtap="goXq" data-id="{{item.id}}" data-title="{{item.title}}">
- <view class="sortItemImg">
- <image class="" src="{{item.coverImg}}" mode="" />
- <view class="{{index <=3?'sortNumBj_'+index:'sortNumBj_3'}}">
- {{index+1}}
- </view>
-
-
- </view>
- <view class="sortTitle">
- {{item.title}}
- </view>
- <view class="popularityBox oh">
- <image class="popularityImg" src="{{imgHttps+'home_ic_renq.png'}}"
- mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
-
- <view class="popularityText">
- 人 气
- </view>
- <view class="popularityNum">
- {{item.popularity}}
- </view>
-
-
-
- </view>
-
-
-
- </view>
- </view>
- <!-- <view class="exchangeBox">
- <image class="exchangeImg" src="{{imgHttps+'home_ic_ckgd.png'}}" mode="aspectFit|aspectFill|widthFix"
- lazy-load="false" binderror="" bindload="" />
- <view class="exchangeText">
- 换一换
- </view>
-
- </view> -->
- </view>
-
-
-
-
- <view class="handpickBox" tt:if="{{deyList.length!=0}}">
- <view class="handpickTop">
- <image class="handpickImg" src="{{imgHttps+'home_tab_ic_new.png'}}" mode="aspectFit|aspectFill|widthFix"
- lazy-load="false" binderror="" bindload="" />
- <view class="handpickText">
- 最新内容
- </view>
- </view>
- <view class="commodityBox" tt:for="{{deyList}}" bindtap="goXq" data-id="{{item.id}}" data-title="{{item.title}}">
- <view class="commodityImg">
- <image class="commodityImage" src="{{item.coverImg}}" mode="" />
- <view class="newPopularity oh">
- <image class="popularityImg" style="margin-left: 50rpx;" src="{{imgHttps+'home_ic_renq.png'}}"
- mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
-
- <view class="popularityText">
- 最近人气
- </view>
- <view class="popularityNum">
- {{item.popularity}}
- </view>
- </view>
- </view>
-
- <view class="describeBox">
- <view class="describeBame">
- {{item.title}}
- </view>
- <view class="authorBox1">
- <image class="headImg" src="{{item.merchantPic}}" mode="" />
- <view class="annotation">
- {{item.merchantName}}
- </view>
-
- <view class="priceBox">
- <view class="priceF" tt:if="{{item.salePriceStr!=0}}">
- ¥
- </view>
- <view class="price" tt:if="{{item.salePriceStr!=0}}">
- {{item.salePriceStr}}
- </view>
- <view class="price" tt:if="{{item.salePriceStr==0}}">
- 免费
- </view>
- </view>
-
-
- </view>
-
- </view>
-
-
-
- </view>
- <view class="extendBox">
- <navigator class="extendMoreBox oh" target="" url="/pages/ranking/ranking?type=1&titilText=最新上架" hover-class="navigator-hover"
- open-type="navigate">
- <image
- style="width: 40rpx;height: 40rpx;margin-top: 15rpx;margin-left: 80rpx;float: left; color: #8790A8;font-size: 30rpx;"
- src="{{imgHttps+'home_ic_ckgd.png'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false"
- binderror="" bindload="" />
- <view style="line-height: 70rpx;margin-left: 20rpx;float: left;">
- 查看更多
- </view>
- </navigator>
- <!-- <view class="changeBox">
- <image
- style="width: 40rpx;height: 40rpx;margin-top: 15rpx;margin-left: 80rpx;float: left; color: #8790A8;font-size: 30rpx;"
- src="{{imgHttps+'home_ic_hyh.png'}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false"
- binderror="" bindload="" />
- <view style="line-height: 70rpx;margin-left: 20rpx;float: left;">
- 换一换
- </view>
-
- </view> -->
-
- </view>
-
- </view>
-
- </view>
-
-
-
- </view>
|