You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
90 lines
3.8 KiB
90 lines
3.8 KiB
<!--index.wxml-->
|
|
<view style="background-color: #F9F9F9;">
|
|
<!-- <view class="nav_image">
|
|
</view> -->
|
|
<!-- 顶部菜单 -->
|
|
<view class="top">
|
|
<view style="width: 100%;position: fixed;left: 0rpx;">
|
|
<image class="logo1" src="/images/img_logox@2x.png" style="width: 286rpx;height: 24rpx;"></image>
|
|
<image class="logo2" src="/images/img_logod@2x.png" style="width: 750rpx;height: 100rpx;"></image>
|
|
</view>
|
|
<view wx:for="{{toplist}}" wx:key="url" class="top_box">
|
|
<view class="box_image">
|
|
<image style="width: 100%;height: 100%;" src="{{item.url}}"></image>
|
|
</view>
|
|
<view class="box_bot">
|
|
<view class="box_title">{{item.title}}</view>
|
|
<view class="box_num">{{item.num}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 品牌动态 -->
|
|
<view class="brand">
|
|
<view class="brand_top">
|
|
<view class="brand_title">品牌动态</view>
|
|
<view class="brand_tip">
|
|
<view bindtap="to" data-url="/pages/index/subpage/brand/brand?type=">查看全部</view>
|
|
<l-icon name="right" size="24" color="#999999"></l-icon>
|
|
</view>
|
|
</view>
|
|
<view class="brand_mes">
|
|
<view wx:for="{{records}}" wx:key="index" wx:if="{{index < 4}}" data-cycle_id="{{item}}" class="brand_card" bindtap="detail">
|
|
<view class="brand_voa_type" wx:if="{{item.type === 1}}">视频</view>
|
|
<view class="brand_voa_type" wx:if="{{item.type === 2}}">图片</view>
|
|
<view class="brand_voa_type" wx:if="{{item.type === 3}}">文章</view>
|
|
<!-- <view class="brand_voa"></view> -->
|
|
<!-- <image class="brand_voa" src="./shortimage/img_xingtue@2x.png"></image> -->
|
|
<image class="brand_voa" src="{{cdn+(item.cover)}}"></image>
|
|
<view class="brand_voa_num">
|
|
<image wx:if="{{item.type === 1}}" style="width: 16rpx;height: 18rpx;margin-right: 5rpx;" src="/images/img_bofang@2x.png"></image>
|
|
<!-- {{item.type === 1 ? item.num+'次播放' : item.num+'次阅读'}} -->
|
|
</view>
|
|
<view class="brand_voa_tip">{{item.title}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 排行榜 -->
|
|
<view class="ranking">
|
|
<view class="brand_top">
|
|
<view class="brand_title">排行榜</view>
|
|
<view class="brand_tip">
|
|
<view bindtap="to" data-url="/pages/index/subpage/ranking/ranking">查看全部</view>
|
|
<l-icon name="right" size="24" color="#999999"></l-icon>
|
|
</view>
|
|
</view>
|
|
<view class="ranking_mes">
|
|
<!-- 经销商榜单 -->
|
|
<view class="ranking_mes2" style="margin-right: 9rpx;">
|
|
<view class="ranking_top">
|
|
<view class="ranking_top_title1">经销商</view>
|
|
<view class="rank_top_date">2022-5</view>
|
|
</view>
|
|
<view class="ranking_one" wx:for="{{disranking}}" wx:key="index">
|
|
<view class="ranking_image">
|
|
<image style="width: 100%;height: 100%;" src="{{rankurl[index]}}"></image>
|
|
</view>
|
|
<view class="ranking_text">
|
|
<view class="ranking_text1">{{item.name}}</view>
|
|
<view class="ranking_text2">{{item.add}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 员工榜单 -->
|
|
<view class="ranking_mes2" style="margin-left: 9rpx;">
|
|
<view class="ranking_top">
|
|
<view class="ranking_top_title2">员工</view>
|
|
<view class="rank_top_date">2022-5</view>
|
|
</view>
|
|
<view class="ranking_one" wx:for="{{staranking}}" wx:key="index">
|
|
<view class="ranking_image">
|
|
<image style="width: 100%;height: 100%;" src="{{rankurl[index]}}"></image>
|
|
</view>
|
|
<view class="ranking_text">
|
|
<view class="ranking_text1">{{item.name}}</view>
|
|
<view class="ranking_text2">{{item.dis}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> |