|
@@ -1,2 +1,82 @@
|
|
<!--component/popup/popup.wxml-->
|
|
<!--component/popup/popup.wxml-->
|
|
-<text>component/popup/popup.wxml</text>
|
|
|
|
|
|
+<view class="popup" hidden="{{closeFlag}}">
|
|
|
|
+ <!--成功-->
|
|
|
|
+ <view class="popup-container" wx:if="{{typeOf == 'success' ? true : false}}">
|
|
|
|
+ <view class="head-img" style="height: 240rpx">
|
|
|
|
+ <image src="../../static/groupImg/success.png"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="head-txt">
|
|
|
|
+ <view class="title">{{title}}</view>
|
|
|
|
+ <view class="head-con">
|
|
|
|
+ {{headTextOne}}
|
|
|
|
+ </view>
|
|
|
|
+ <view>
|
|
|
|
+ {{headTextTwo}}
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="content">
|
|
|
|
+ <block wx:for="{{content}}" wx:key="{{index}}">
|
|
|
|
+ <text style="color: {{item.color}};">{{item.text}}</text>
|
|
|
|
+ </block>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="send-btn">
|
|
|
|
+ <image src="../../static/groupImg/Invitation.png"></image>
|
|
|
|
+ <text>发起团购</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!--失败 -->
|
|
|
|
+ <view class="popup-container" wx:if="{{typeOf == 'error' ? true : false}}">
|
|
|
|
+ <view class="head-img" style="height: 366rpx; margin-top: -120rpx;">
|
|
|
|
+ <image src="../../static/groupImg/error.png"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="head-txt">
|
|
|
|
+ <view class="title" style="margin-top: 80rpx; color: #4A90E2;">很遗憾拼团失败</view>
|
|
|
|
+ <view class="head-con" style="color: #000">
|
|
|
|
+ 您发起的团购拼团成功
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="content" style="margin-top: 30rpx;">
|
|
|
|
+ <text style="color: #000;">您可以继续发起新的团购,</text>
|
|
|
|
+ <text style="color: #FF9B00;">不再需要支付本课程费用,拼团成功,</text>
|
|
|
|
+ <text style="color: #FF0000;">您将得到xxx元奖励。</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="send-btn">
|
|
|
|
+ <image src="../../static/groupImg/Invitation.png"></image>
|
|
|
|
+ <text>发起团购</text>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!--发起拼团成功 -->
|
|
|
|
+ <view class="popup-container" wx:if="{{typeOf == 'sendSuccess' ? true : false}}">
|
|
|
|
+ <view class="head-img"style="text-align: center;margin-top: 29rpx;">
|
|
|
|
+ <image src="../../static/groupImg/tuanzhang.png" style="width: 160rpx; height: 160rpx;"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="content">
|
|
|
|
+ <text style="color: #F66C1C; font-weight: bolder;">报告团长</text>
|
|
|
|
+ <text style="color: #F66C1C;">不再需要支付本课程费用,拼团成功,</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="content" style="margin-top: 30rpx; font-size: 36rpx;">
|
|
|
|
+ <text style="color: #000;">您可以继续发起新的团购,</text>
|
|
|
|
+ <text style="color: #FF9B00;">不再需要支付本课程费用,拼团成功,</text>
|
|
|
|
+ <text style="color: #FF0000;">您将得到xxx元奖励。</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="bottom">
|
|
|
|
+ * 如果拼团失败,您预付的课程费将在48小时内退回您的账户。
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <!--发起拼团失败 -->
|
|
|
|
+ <view class="popup-container" wx:if="{{typeOf == 'senderror' ? true : false}}">
|
|
|
|
+ <view class="content">
|
|
|
|
+ <text style="color: #F66C1C; font-weight: bolder;">感谢团长</text>
|
|
|
|
+ <text style="color: #F66C1C;">不再需要支付本课程费用,拼团成功,</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="head-img"style="text-align: center;margin-top: 29rpx;">
|
|
|
|
+ <image src="../../static/groupImg/liwu.png" style="width: 288rpx; height: 184rpx;"></image>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="bottom" style="color: #000;">
|
|
|
|
+ * 如果拼团失败,您预付的课程费将在48小时内退回您的账户。
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="cha" bindtap="close">
|
|
|
|
+ <image src="../../static/groupImg/cha.png"></image>
|
|
|
|
+ </view>
|
|
|
|
+</view>
|