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.
38 lines
1.7 KiB
38 lines
1.7 KiB
<view class="discussion">
|
|
|
|
<view class="header">
|
|
<view class="left">
|
|
<image class="dang-logo" src="../../images/discussion/ic_dang@3x.png" />
|
|
<view class="grid-name">{{gridName}}</view>
|
|
</view>
|
|
<!-- <view class="right">
|
|
<view hover-class="hover-view" class="issue {{ discussionType === 'issue' ? 'select' : ''}}" data-type="issue" bindtap="changeDiscussionType">议题</view>
|
|
<view hover-class="hover-view" class="project {{ discussionType === 'project' ? 'select' : ''}}" data-type="project" bindtap="changeDiscussionType">项目</view>
|
|
<view class="select-tab {{discussionType === 'issue' ? 'issue-select' : 'project-select'}}"></view>
|
|
</view> -->
|
|
</view>
|
|
<view class="tab-v2">
|
|
<button wx:for="{{typeList}}" wx:key="index" wx:for-index="index" bindtap="onButtonChange" hover-class="hover-btn" data-type="{{item.type}}" id="item-{{ item.type }}" class="{{item.select ? 'font-w' : 'font-b'}}">
|
|
{{item.name}}
|
|
</button>
|
|
</view>
|
|
|
|
<view class="issue-list" wx:if="{{discussionType === 'issue'}}">
|
|
<issue-list id="issuelist" bind:getIssueComponent="getIssueComponent"></issue-list>
|
|
</view>
|
|
<view class="project-list" wx:else>
|
|
<project-list id="projectlist" bind:getProjectComponent="getProjectComponent"></project-list>
|
|
</view>
|
|
|
|
<movable-area class="movable-area">
|
|
<movable-view class="movable-view" direction="all" inertia="true" friction="10">
|
|
<view class="addIssue" bindtap="addIssue">
|
|
<image src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/09/rBAB717LnkmAK5OyAAF05Azead8157.png" />
|
|
</view>
|
|
</movable-view>
|
|
</movable-area>
|
|
</view>
|
|
|
|
<completeInfo-dialog
|
|
completeInfoDialogVisible="{{completeInfoDialogVisible}}">
|
|
</completeInfo-dialog>
|