推荐换成邀请
This commit is contained in:
@@ -1,28 +1,22 @@
|
||||
<template>
|
||||
<view class="rank">
|
||||
|
||||
<view class="rank_top">
|
||||
<view class="rank_top_left">
|
||||
<image class="rank_title" src="../../static/rank/rank_txt.png" mode="widthFix" />
|
||||
<view class="rank_sub_title" @click="toHelp">
|
||||
共力家族 周会员推荐
|
||||
<image src="/static/rank/help.png" mode="widthFix" />
|
||||
</view>
|
||||
<view class="rank_sub_title" @click="toHelp"> 共力家族 周会员邀请 <image src="/static/rank/help.png" mode="widthFix" /> </view>
|
||||
</view>
|
||||
<image class="rank_top_right" src="../../static/rank/rank.png" mode="widthFix" />
|
||||
</view>
|
||||
|
||||
<scroll-view class="rank_type" scroll-x="true">
|
||||
<view :class="['rank_type_item',type === '1'?'rank_type_item_active':'']" @click="changeType('1')">上周加成榜
|
||||
</view>
|
||||
<view :class="['rank_type_item',type === '2'?'rank_type_item_active':'']" @click="changeType('2')">本周推荐榜
|
||||
<view :class="['rank_type_item',type === '2'?'rank_type_item_active':'']" @click="changeType('2')">本周邀请榜
|
||||
</view>
|
||||
<view :class="['rank_type_item',type === '3'?'rank_type_item_active':'']" @click="changeType('3')">会员推荐榜
|
||||
<view :class="['rank_type_item',type === '3'?'rank_type_item_active':'']" @click="changeType('3')">会员邀请榜
|
||||
</view>
|
||||
<view :class="['rank_type_item',type === '4'?'rank_type_item_active':'']" @click="changeType('4')">用户推荐榜
|
||||
<view :class="['rank_type_item',type === '4'?'rank_type_item_active':'']" @click="changeType('4')">用户邀请榜
|
||||
</view>
|
||||
</scroll-view>
|
||||
|
||||
<view class="rank_update_time" v-if="lists.length > 0 && type !== '3'&& type !== '4'">
|
||||
<view class="title"> 加成{{type === '1'?'结束':'生效'}}倒计时 : </view>
|
||||
<u-count-down :time="end_timestamp" format="DD:HH:mm:ss" autoStart millisecond @change="onChange">
|
||||
@@ -66,7 +60,7 @@
|
||||
</view>
|
||||
<view class="tuijian">
|
||||
<view class="num"> {{item.number}}</view>
|
||||
<view class="title">{{type === '4'?'推荐用户':'推荐会员'}}</view>
|
||||
<view class="title">{{type === '4'?'邀请用户':'邀请会员'}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -74,7 +68,7 @@
|
||||
<block v-else>
|
||||
<view class="vertical pages-empty">
|
||||
<u-empty icon="http://cdn.uviewui.com/uview/empty/list.png" textColor="#999"
|
||||
:text="type === '1'?'上周无加成数据':'当前暂无推荐数据'">
|
||||
:text="type === '1'?'上周无加成数据':'当前暂无邀请数据'">
|
||||
</u-empty>
|
||||
</view>
|
||||
</block>
|
||||
@@ -96,7 +90,7 @@
|
||||
end_timestamp: 0,
|
||||
lists: [],
|
||||
timeData: {},
|
||||
type: "1", // 1 加成榜 2推荐榜
|
||||
type: "1", // 1 加成榜 2邀请榜
|
||||
page_id: '',
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user