<!-- pages/grade-details/grade-details.wxml -->
<view class="group-details">
    <scroll-view scroll-y="{{true}}">
        <view class="grade-details">
            <image src="{{titleIcon}}"></image>
            <text>{{title}}</text>
            <text>{{bookInfo}}</text>
        </view>
        <view class="catalog">
            <image src="../../../static/groupImg/Rectangle 34@2x.png"></image>
            <text>语文目录</text>
        </view>
        <view class="catalog-list">
            <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>
                <text class="right">{{item.readingNum}}朗读 ></text>
            </view>
        </view>
    </scroll-view>
    <view class="group-btn">
        <image class="bg1" src="../../../static/groupImg/Rectangle_9.png"></image>
        <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image>
        <block wx:for="{{payList}}" wx:key="{{index}}">
            <view class="Price" bindtap="pay" data-id="{{item.id}}">
                <text>￥{{item.price / 100}}</text>
                <text>{{item.headcount}}人团</text>
            </view>
        </block>
    </view>
</view>
<popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立，订单号：12345" content="{{content}}"></popup>