|
@ -25,6 +25,13 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="bottom" bindtap="navigateToIntegralCentre" data-points="{{userInfo.points}}"> |
|
|
|
|
|
<text wx:if="{{userInfo.grade > 0}}" class="text1">等级:{{userInfo.grade}}</text> |
|
|
|
|
|
<text wx:else class="text1">等级:0</text> |
|
|
|
|
|
<text wx:if="{{userInfo.points > 0}}" class="text2">积分:{{userInfo.points}}</text> |
|
|
|
|
|
<text wx:else class="text2">积分:0</text> |
|
|
|
|
|
<text class="text3">积分兑换</text> |
|
|
|
|
|
</view> |
|
|
<!-- <view class="bottom"> |
|
|
<!-- <view class="bottom"> |
|
|
<view class="operation" bindtap="navigateToInviteRecord"> |
|
|
<view class="operation" bindtap="navigateToInviteRecord"> |
|
|
<image src="../../images/mine/yaoqingjilu.png" /> |
|
|
<image src="../../images/mine/yaoqingjilu.png" /> |
|
@ -40,28 +47,13 @@ |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="tab-bar"> |
|
|
<view class="tab-bar"> |
|
|
<view |
|
|
<view class="type {{selectedTabBar === 'issue' ? 'selected-issue' : ''}}" data-type="issue" hover-class="hover-tabbar" hover-stay-time="300" bindtap="chooseTabBar"> |
|
|
class="type {{selectedTabBar === 'issue' ? 'selected-issue' : ''}}" |
|
|
|
|
|
data-type="issue" |
|
|
|
|
|
hover-class="hover-tabbar" |
|
|
|
|
|
hover-stay-time="300" |
|
|
|
|
|
bindtap="chooseTabBar"> |
|
|
|
|
|
我的议题 |
|
|
我的议题 |
|
|
</view> |
|
|
</view> |
|
|
<view |
|
|
<view class="type {{selectedTabBar === 'project' ? 'selected-project' : ''}}" data-type="project" hover-class="hover-tabbar" hover-stay-time="300" bindtap="chooseTabBar"> |
|
|
class="type {{selectedTabBar === 'project' ? 'selected-project' : ''}}" |
|
|
|
|
|
data-type="project" |
|
|
|
|
|
hover-class="hover-tabbar" |
|
|
|
|
|
hover-stay-time="300" |
|
|
|
|
|
bindtap="chooseTabBar"> |
|
|
|
|
|
我的项目 |
|
|
我的项目 |
|
|
</view> |
|
|
</view> |
|
|
<view |
|
|
<view class="type {{selectedTabBar === 'topic' ? 'selected-topic' : ''}}" data-type="topic" hover-class="hover-tabbar" hover-stay-time="300" bindtap="chooseTabBar"> |
|
|
class="type {{selectedTabBar === 'topic' ? 'selected-topic' : ''}}" |
|
|
|
|
|
data-type="topic" |
|
|
|
|
|
hover-class="hover-tabbar" |
|
|
|
|
|
hover-stay-time="300" |
|
|
|
|
|
bindtap="chooseTabBar"> |
|
|
|
|
|
我的话题 |
|
|
我的话题 |
|
|
</view> |
|
|
</view> |
|
|
<view class="select-bar {{selectedTabBar === 'issue' ? 'selected-issue' : selectedTabBar === 'project' ? 'selected-project' : selectedTabBar === 'topic' ? 'selected-topic' : ''}}"></view> |
|
|
<view class="select-bar {{selectedTabBar === 'issue' ? 'selected-issue' : selectedTabBar === 'project' ? 'selected-project' : selectedTabBar === 'topic' ? 'selected-topic' : ''}}"></view> |
|
@ -72,12 +64,7 @@ |
|
|
<preload-issue-item wx:for="{{[1]}}" wx:key="{{index}}" wx:for-index="index"></preload-issue-item> |
|
|
<preload-issue-item wx:for="{{[1]}}" wx:key="{{index}}" wx:for-index="index"></preload-issue-item> |
|
|
</block> |
|
|
</block> |
|
|
<block wx:if="{{issueList.length > 0}}"> |
|
|
<block wx:if="{{issueList.length > 0}}"> |
|
|
<issue-item |
|
|
<issue-item wx:for="{{issueList}}" wx:key="{{item.id}}" wx:for-item="item" bind:toIssueDetail="toIssueDetail" issueObj="{{item}}"> |
|
|
wx:for="{{issueList}}" |
|
|
|
|
|
wx:key="{{item.id}}" |
|
|
|
|
|
wx:for-item="item" |
|
|
|
|
|
bind:toIssueDetail="toIssueDetail" |
|
|
|
|
|
issueObj="{{item}}"> |
|
|
|
|
|
</issue-item> |
|
|
</issue-item> |
|
|
</block> |
|
|
</block> |
|
|
<view class="issue-nodata" wx:if="{{issueList.length === 0 && !preloadVisible}}"> |
|
|
<view class="issue-nodata" wx:if="{{issueList.length === 0 && !preloadVisible}}"> |
|
@ -95,13 +82,7 @@ |
|
|
<preload-project-item wx:for="{{[1]}}" wx:key="{{index}}" wx:for-index="index"></preload-project-item> |
|
|
<preload-project-item wx:for="{{[1]}}" wx:key="{{index}}" wx:for-index="index"></preload-project-item> |
|
|
</block> |
|
|
</block> |
|
|
<block wx:if="{{projectList.length > 0}}"> |
|
|
<block wx:if="{{projectList.length > 0}}"> |
|
|
<project-item |
|
|
<project-item wx:for="{{projectList}}" wx:for-item="item" wx:key="{{item.id}}" projectObj="{{item}}" bind:toProjectDetail="toProjectDetail" wx:for-index="index"> |
|
|
wx:for="{{projectList}}" |
|
|
|
|
|
wx:for-item="item" |
|
|
|
|
|
wx:key="{{item.id}}" |
|
|
|
|
|
projectObj="{{item}}" |
|
|
|
|
|
bind:toProjectDetail="toProjectDetail" |
|
|
|
|
|
wx:for-index="index"> |
|
|
|
|
|
</project-item> |
|
|
</project-item> |
|
|
</block> |
|
|
</block> |
|
|
<view class="project-nodata" wx:if="{{projectList.length === 0 && !preloadVisible}}"> |
|
|
<view class="project-nodata" wx:if="{{projectList.length === 0 && !preloadVisible}}"> |
|
@ -120,13 +101,7 @@ |
|
|
<preload-topic-item wx:for="{{[1]}}" wx:key="{{index}}" wx:for-index="index"></preload-topic-item> |
|
|
<preload-topic-item wx:for="{{[1]}}" wx:key="{{index}}" wx:for-index="index"></preload-topic-item> |
|
|
</block> |
|
|
</block> |
|
|
<block wx:if="{{topicList.length > 0}}"> |
|
|
<block wx:if="{{topicList.length > 0}}"> |
|
|
<topic-item |
|
|
<topic-item wx:for="{{topicList}}" wx:for-item="item" wx:for-index="index" topicObj="{{item}}" bind:toTopicDetail="toTopicDetail" wx:key="{{item.id}}"> |
|
|
wx:for="{{topicList}}" |
|
|
|
|
|
wx:for-item="item" |
|
|
|
|
|
wx:for-index="index" |
|
|
|
|
|
topicObj="{{item}}" |
|
|
|
|
|
bind:toTopicDetail="toTopicDetail" |
|
|
|
|
|
wx:key="{{item.id}}"> |
|
|
|
|
|
</topic-item> |
|
|
</topic-item> |
|
|
</block> |
|
|
</block> |
|
|
<view class="topic-nodata" wx:if="{{topicList.length === 0 && !preloadVisible}}"> |
|
|
<view class="topic-nodata" wx:if="{{topicList.length === 0 && !preloadVisible}}"> |
|
@ -140,6 +115,5 @@ |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<completeInfo-dialog |
|
|
<completeInfo-dialog completeInfoDialogVisible="{{completeInfoDialogVisible}}"> |
|
|
completeInfoDialogVisible="{{completeInfoDialogVisible}}"> |
|
|
|
|
|
</completeInfo-dialog> |
|
|
</completeInfo-dialog> |