1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <!-- pages/grade-details/grade-details.wxml -->
- <view class="group-details">
- <scroll-view scroll-y="{{true}}">
- <view class="grade-details">
- <image src="{{titleIcon}}"></image>
- </view>
- <view class="catalog">
- <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image>
- <text class="{{knowFlag ? 'select' : ''}}" bindtap="tabSwitch" data-flag="know">您需要知道</text>
- <text class="{{menuFlag ? 'select' : ''}}" bindtap="tabSwitch" data-flag="menu">课文目录</text>
- </view>
- <view class="catalog-list" hidden="{{!menuFlag}}">
- <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/play.png"></image>
- <text>{{item.readNum}}</text> -->
- <image src="../../../static/image/to.png"></image>
- </view>
- </view>
- </view>
- <!-- 你需要知道 -->
- <view class="know" hidden="{{!knowFlag}}">
- <import src="../../../towxml/entry.wxml" />
- <template is="entry" data="{{...article}}" />
- </view>
- </scroll-view>
- <view class="group-btn" wx:if="{{!imSuper? !isIOS : null}}">
- <image class="bg1" src="../../../static/groupImg/baise.png"></image>
- <image class="bg2" src="../../../static/groupImg/baise.png"></image>
- <block wx:for="{{payList}}" wx:key="{{index}}">
- <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : true }}">
- <text>¥{{item.price / 100}}</text>
- <text>{{item.headcount == '1' ? '单' : item.headcount}}人{{item.headcount == '1' ? '购' : '团'}}</text>
- </view>
- </block>
- </view>
- <view class="group-btn" wx:if="{{!imSuper? isIOS : null}}">
- <image class="bg1" src="../../../static/groupImg/baise.png" style="left: 50%"></image>
- <block wx:for="{{payList}}" wx:key="{{index}}">
- <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{share ? (index != 0) : item.headcount === 1 ? false : true }}">
- <text>{{item.price / 100}}元/{{item.headcount - 1}}人帮忙</text>
- <text style="fontSize: 24rpx">免费开团</text>
- </view>
- </block>
- </view>
- <view class="group-btn" wx:if="{{imSuper}}">
- <image class="bg1" style="left: 50%" src="../../../static/groupImg/baise.png" ></image>
- <block wx:for="{{payList}}" wx:key="{{index}}">
- <view class="Price" bindtap="pay" data-id="{{item.id}}" wx:if="{{imSuper ? (index != 0) : true }}">
- <view>继续开团 赚奖学金</view>
- <view>
- <text>{{item.headcount}}人团</text>
- </view>
- </view>
- </block>
- </view>
- </view>
- <popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立" headTextTwo="订单号:{{orderId}}" content="{{content}}"></popup>
|