123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <!-- pages/grade-details/grade-details.wxml -->
- <view class="group-details">
- <scroll-view scroll-y="{{true}}">
- <view class="grade-details">
- <image src="{{titleIcon}}"></image>
- <text class="lastThreeYears" wx:if="{{lastThreeYears}}">使用期限至:{{lastThreeYears}}</text>
- </view>
- <view class="catalog">
- <!-- <image class="bg2" src="../../../static/groupImg/Rectangle_9.png"></image> -->
- <view class="switch {{knowFlag ? 'select' : ''}}" data-flag="know" bindtap="tabSwitch">
- <image src="../../../static/image/know_menu_bg.jpg" wx:if="{{knowFlag}}"></image>
- <text >您需要知道</text>
- </view>
-
- <view class="switch {{menuFlag ? 'select' : ''}}" bindtap="tabSwitch" data-flag="menu" bindtap="tabSwitch">
- <image src="../../../static/image/know_menu_bg.jpg" wx:if="{{menuFlag}}"></image>
- <text >课文目录</text>
- </view>
- </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 {{isIPX ? 'bottomx' :''}}" wx:if="{{!isIOS ? haveJoinNormal ? false : haveCreatedHelp ? false : haveJoinHelp ? true : true : false}}">
- <image class="btn-image" src="../../../static/groupImg/group_in_ios.jpg" />
- <image class="bg1" src="../../../static/groupImg/baise.png"></image>
- <block wx:for="{{payList}}" wx:key="{{index}}">
- <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{item.headcount === 5 ? false : true }}">
- <text class="formFit two-line-1">{{item.price / 100}}元</text>
- <text class="formFit two-line-2">{{item.headcount == '1' ? '单人购买' : '开团获得使用权'}}
- </text>
- <button class="formBtn" form-type="submit"></button>
- </form>
- </block>
- </view> -->
- <!-- ios界面 -->
- <!-- <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{isIOS ? haveCreatedHelp ? false : haveJoinNormal ? false : true :false }}">
- <image class="btn-image" src="../../../static/groupImg/group_in_ios.jpg" />
- <block wx:for="{{payList}}" wx:key="{{index}}" wx:if="{{!imSuper}}">
- <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{index != 0 && index != 2 }}">
- <text class="formFit one-line-text">邀请好友助力获得本课使用权</text>
- <button class="formBtn" form-type="submit"></button>
- </form>
- </block> -->
- <!-- ios 七天权限的界面-->
- <!-- <block wx:for="{{payList}}" wx:key="{{index}}" wx:if="{{imSuper && haveJoinHelp}}">
- <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{item.headcount == 1 || item.headcount == 5 ? false : true }}">
- <text class="formFit two-line-2">试用期还有{{tasteDay}}天</text>
- <text class="formFit two-line-1">邀请好友助力获得本课使用权</text>
- <button class="formBtn" form-type="submit"></button>
- </form>
- </block> -->
- <!-- ios 三年权限的界面 支持继续开团 -->
- <!-- <block wx:for="{{payList}}" wx:key="{{index}}" wx:if="{{imSuper && !haveJoinHelp}}">
- <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{index != 0 && index != 2 }}">
- <text class="formFit one-line-text">好东西要分享给好朋友</text>
- <button class="formBtn" form-type="submit"></button>
- </form>
- </block>
- </view> -->
- <!-- 已有权限的界面 安卓 -->
- <!-- <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{!isIOS ? haveJoinNormal ? true : haveCreatedHelp ? true : false : false}}">
- <image class="btn-image" src="../../../static/groupImg/group_in_ios.jpg" />
- <block wx:for="{{payList}}" wx:key="{{index}}">
- <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{index != 0 && index != 2 }}">
- <view>继续开团赚取奖学金吧</view>
- <button class="formBtn" form-type="submit"></button>
- </form>
- </block>
- </view> -->
- <!-- 已有权限的界面 并且是ios-->
- <!-- <view class="group-btn {{isIPX ? 'bottomx' :''}}" wx:if="{{isIOS ? haveCreatedHelp ? false : haveJoinHelp ? true : false : false }}">
- <image class="btn-image" src="../../../static/groupImg/group_in_ios.jpg" />
- <!-- <image class="bg1" style="left: 50%" src="../../../static/groupImg/baise.png"></image> -->
- <!-- <block wx:for="{{payList}}" wx:key="{{index}}">
- <form class="Price" bindsubmit="pay" report-submit="{{formIsANAsshole}}" data-id="{{item.id}}" wx:if="{{item.headcount == 1 || item.headcount == 5 ? false : true }}">
- <text class="formFit two-line-2">试用期还有n天</text>
- <text class="formFit two-line-1">邀请好友助力获得本课使用权</text>
- <button class="formBtn" form-type="submit"></button>
- </form>
- </block> -->
- <!-- </view> -->
- </view>
- <popup id="popup" typeOf="sendSuccess" title="报告团长" headTextOne="您发起的团购已经成立" headTextTwo="订单号:{{orderId}}" content="{{content}}"></popup>
- <myModal id="myModal" type="{{modalType}}" isCloseShow="{{isCloseShow}}" text="{{modalText}}" wx:if="{{isModalShow}}" bindconfirm="modalConfirmHandler" bindclose="modalCloseHandler" />
- <goBackHome id="goBackHome" shareType="{{goBackHome}}" wx:if="{{goBackHome}}" />
- <myToast bindShowAlert="showAlert" noRightRules="2" wx:if="{{alertFlag}}" />
|