123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <!--pages/group-details/group-details.wxml-->
- <view class="group-details">
- <view class="details-head" bindtap="collage">
- <view class="headImg">
- <block wx:for="{{joinUserList}}" wx:key="{{index}}">
- <view class="headImg-item {{organizer == item.uid ? 'bg-boder' : ''}}">
- <image wx:if="{{organizer == item.uid}}" class="tuanzhangIcon" src="../../../static/groupImg/tuanzhangIcon.png"></image>
- <image src="{{item.avatar}}"></image>
- </view>
- </block>
- <block wx:for="{{surplusList}}" wx:key="{{index}}">
- <view class="headImg-item">
- <image src="../../../static/groupImg/no_head.png"></image>
- </view>
- </block>
- </view>
- <view class="shengyu">
- <view class="shengyu-num" wx:if="{{colonelName}}">团长{{colonelName}}发起团购</view>
- <view class="shengyu-num" hidden="{{surplusNum == '0' || !stillGoing}}">仅剩<text>{{surplusNum}}</text>个名额就拼团成功了</view>
- <view class="shengyu-num" hidden="{{stillGoing}}">团购已超过时限</view>
- <view class="shengyu-num" hidden="{{surplusNum != '0'}}">拼团成功!快去朗读吧</view>
- <view class="shengyu-time" hidden="{{!stillGoing}}">
- 剩余时间:
- <view class="time">
- <text>{{timeList[0]}}</text>
- </view>
- 天
- <block wx:for="{{timeList[1]}}" wx:key="{{index}}">
- <view class="time">
- <text>{{item}}</text>
- </view>
- </block>
- 时
- <block wx:for="{{timeList[2]}}" wx:key="{{index}}">
- <view class="time">
- <text>{{item}}</text>
- </view>
- </block>
- 分
- </view>
- </view>
- </view>
- <scroll-view scroll-y="{{true}}">
- <view class="grade-details" bindtap="gradeDetails">
- <image src="{{titleIcon}}" ></image>
- </view>
- <view class="catalog">
- <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image>
- <text class="{{!flag ? '' : 'select'}}" bindtap="tabSwitch">您需要知道</text>
- <text class="{{!flag ? 'select' : ''}}" bindtap="tabSwitch">课文目录</text>
- </view>
- <view class="catalog-list" hidden="{{flag}}">
- <view class="catalog-item" wx:for="{{lessonList}}" wx:key="{{index}}" data-id="{{item.id}}" data-title="{{item.title}}" bindtap="goToClass">
- <text class="left">{{item.title}}</text>
- <view class="right">
-
- <image src="../../../static/image/to.png"></image>
- </view>
- </view>
- </view>
- <view class="know" hidden="{{!flag}}">
- <import src="../../../towxml/entry.wxml" />
- <template is="entry" data="{{...article}}" />
- </view>
- </scroll-view>
- <!-- 底部按钮 -->
- <view class="group-details-btn" hidden="{{surplusNum == '0' || !stillGoing }}">
- <view class="left-btn" bindtap="sendGroup">
- 开团
- </view>
- <view class="right-btn" bindtap="jionGroup">
- 参团
- </view>
- </view>
- <view class="group-details-btn" hidden="{{stillGoing }}">
- <view class="only-one-btn" bindtap="sendGroup">
- 重新开团
- </view>
- </view>
- </view>
- <view class="group-popup" bindtap="sendGroup" hidden="{{sendGroupFlag}}">
- <view class="group-content">
- <view class="group-title">请选择课本</view>
- <view class="group-list">
- <block wx:for="{{bookList}}" wx:key="{{index}}">
- <view class="group-item" catchtap="selectImg" data-ind="{{index}}">
- <image class="item-img" src="{{item.iconImg}}"></image>
- <view id="grade">{{item.subTitle}}</view>
- <image class="select-img" src="../../../static/groupImg/{{selectFlag[index] ? 'bai' : 'lan'}}.png"></image>
- </view>
- </block>
- </view>
- <view class="sure" catchtap="sure">
- <image src="../../../static/groupImg/sure.png"></image>
- <text>确定</text>
- </view>
- </view>
- </view>
- <popup
- id="popupup"
- typeOf="{{typeOf}}"
- title="{{titles}}"
- headTextOne="{{headTextOne}}"
- headTextTwo="{{headTextTwo}}"
- btnContent="{{btnContent}}"
- content="{{content}}"
- bindGroup="group"
- ></popup>
- <goBackHome id="goBackHome" shareType="{{goBackHome}}" wx:if="{{goBackHome}}" />
- <view hidden="{{hide}}">
- <Dialog bindmyevent="jurisdiction" />
- </view>
- <myToast bindShowAlert="showAlert" wx:if="{{alertFlag}}" />
|