|
@@ -20,13 +20,13 @@
|
|
<view class="name">{{ user.mentor_name }}</view>
|
|
<view class="name">{{ user.mentor_name }}</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="level fx-r fx-bc" v-if="user.levelid > 1 && user.mentor_id > 0">
|
|
|
|
|
|
+ <!-- <view class="level fx-r fx-bc" v-if="user.levelid > 1 && user.mentor_id > 0">
|
|
<image src="/static/img/level-1.png"></image>
|
|
<image src="/static/img/level-1.png"></image>
|
|
<view class="name">{{ user.mentor_name }}</view>
|
|
<view class="name">{{ user.mentor_name }}</view>
|
|
- </view>
|
|
|
|
- <view v-if="isNewShow" class="newPeople">新人({{user.fresh_time_text}})</view>
|
|
|
|
- <view class="level-ty" v-if="user.mentor_time != '' && user.mentor_time != null">
|
|
|
|
- 到期:{{ user.mentor_time }}</view>
|
|
|
|
|
|
+ </view> -->
|
|
|
|
+ <!-- <view v-if="isNewShow" class="newPeople">新人({{user.fresh_time_text}})</view> -->
|
|
|
|
+ <!-- <view class="level-ty" v-if="user.mentor_time != '' && user.mentor_time != null">
|
|
|
|
+ 到期:{{ user.mentor_time }}</view> -->
|
|
</template>
|
|
</template>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -603,14 +603,14 @@
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
init: function() {
|
|
init: function() {
|
|
- if (this.user.is_mentor) {
|
|
|
|
- this.isGg = true;
|
|
|
|
- }
|
|
|
|
|
|
+ // if (this.user.is_mentor) {
|
|
|
|
+ // this.isGg = true;
|
|
|
|
+ // }
|
|
//获取当前时间的时间戳
|
|
//获取当前时间的时间戳
|
|
- let time = Math.round(new Date().getTime()/1000).toString();
|
|
|
|
- if(this.user.fresh_time > time){
|
|
|
|
- this.isNewShow = true
|
|
|
|
- }
|
|
|
|
|
|
+ // let time = Math.round(new Date().getTime()/1000).toString();
|
|
|
|
+ // if(this.user.fresh_time > time){
|
|
|
|
+ // this.isNewShow = true
|
|
|
|
+ // }
|
|
},
|
|
},
|
|
|
|
|
|
/**
|
|
/**
|