| | |
| | | <!-- <u-icon name="arrow-right" color="#999"></u-icon> --> |
| | | </view> |
| | | </view> |
| | | <view class="explain-row c-main f-28"> |
| | | 投票{{!isEnd && !isComplete?"进行中":"已结束"}} |
| | | |
| | | <view class="explain-row "> |
| | | <text class="f-28 c-main" v-if="!isEnd && !isComplete">投票进行中</text> |
| | | <text class="f-28 c-main" v-if="isComplete && !isEnd">投票已提交</text> |
| | | <text class="f-28 c-main" v-if="isEnd">投票已结束</text> |
| | | <text class="ml-20 f-26 " v-if="applyInfo.voteRestrictions == 1">(该议题为一户一票)</text> |
| | | </view> |
| | | |
| | | <view class="vote bgc-ff"> |
| | | <view class="mb-20" v-for="(item,index) in voteTopicList" :key="index"> |
| | | <view class="vote-title"> |
| | |
| | | @click="navToDocument(item.attachment)"> |
| | | {{item.discussContent}}附件 |
| | | </view> |
| | | |
| | | |
| | | <view class="" v-if="item.optionRange == 0"> |
| | | <u-radio-group size="22" iconPlacement="right" activeColor="#017BFC" placement="column" |
| | |
| | | </view> |
| | | <button class="apply-btn bgc-main c-ff" v-if="!isEnd && !isComplete" |
| | | @click="submitVote()">提交</button> |
| | | <button class="apply-btn bgc-gray c-d1" v-if="isComplete && !isEnd">已提交</button> |
| | | <button class="apply-btn bgc-gray c-d1" v-if="isEnd">已结束</button> |
| | | <button class="apply-btn bgc-gray c-dd" v-if="isComplete && !isEnd">已提交</button> |
| | | <button class="apply-btn bgc-gray c-dd" v-if="isEnd">已结束</button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <u-icon name="thumb-up-fill" size="22" color="#fff"></u-icon> |
| | | </view> |
| | | </view> --> |
| | | |
| | | |
| | | <u-popup :show="isShowPopup" @close="isShowPopup = false" mode="center" :round="10" :closeable="true"> |
| | | <view class='login-mode'> |
| | |
| | | // console.log(res) |
| | | if (res.code == 200) { |
| | | this.applyInfo = res.data; |
| | | if (res.data.voteRestrictions == 1 && res.data.disabled) { |
| | | this.isComplete = true; //一户一票 |
| | | this.setOptionDisable() |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | const filePath = res.tempFilePath; |
| | | wx.openDocument({ |
| | | filePath: filePath, |
| | | fileType: 'pdf', |
| | | showMenu: true, |
| | | success: function(res) { |
| | | wx.hideLoading(); |
| | | }, |
| | |
| | | border: 1px solid currentColor |
| | | } |
| | | |
| | | .c-d1 { |
| | | color: #d1d1d1; |
| | | .c-dd { |
| | | color: #ddd |
| | | } |
| | | |
| | | .c-33 { |