<!--shopping/pages/paysuccess/paysuccess.wxml-->

<van-nav-bar
  title="提交成功"
  left-text=""
  right-text=""
  left-arrow
  bind:click-left="onClickLeft"
  bind:click-right="onClickRight"
  style=" position: fixed;left: 0;top: 0;width: 100%;z-index: 2;"
/>
<view style="margin-top: {{height}}px;">
    <view class="success">
        <image src="/pages/image/success.png"></image>
    </view>
    <view class="news1">提交成功</view>
    <view class="news2">可在个人中心“我的订单”中查看</view>
    <view style="display:flex;margin-bottom:106rpx; ">
        <button style="width: 304rpx;margin-left: 40rpx;"  class="btn1" bindtap="index">返回首页</button>
        <button class="btn2" style="width: 304rpx;" bindtap="godetail">查看详情</button>
    </view>
    <view style=" display:flex; flex-wrap: wrap;justify-content:space-around;">
        <view wx:for="{{goods}}" style="width:340rpx;height:488rpx;background:#fff;margin-bottom:16rpx;" wx:for-item="item" data-id="{{item.id}}" bindtap="itemgodetail">
            <image src="{{item.index_img}}" style="width:340rpx;height:340rpx;border-radius: 10rpx 10rpx 0px 0px;"></image>
            <view class="title1">{{item.goods_name}}</view>
            <view style="display:flex;margin:8rpx 0;">
                <image src="/pages/image/address.png" style="width:17rpx;height:17rpx"></image>
                <view class="dianpu">{{item.mechanism_name}}</view>
            </view>
            <view class="price">
                <view>￥{{item.price}}</view>
                <!-- <view>5.0折</view> -->
                <view>已售{{item.sold}}</view>
            </view>
        </view>
    </view>
</view>












<van-overlay show="{{ show }}" bind:click="onClickHide">
  <view class="wrapper">
    <view class="block" catch:tap="noop" >
<!-- /////////////////////////////////////// -->

<view style="width: 676rpx; height: 280rpx;">
  
<image style="width: 676rpx; height: 280rpx;" src="/pages/image/pintuan.png"></image>

<view class="yaotext">邀请好友拼团</view>
<view class="yaotexttwo">拼团成功会返现哦~</view>


</view>


<view class="status-box">
        <view bindtap="statusTap" class="status-label {{index == currentType ? 'active' : ''}}" wx:for-items="{{statusType}}" wx:key="{{index}}" data-index="{{index}}">
            {{item}}
            <view class="{{tabClass[index]}}"></view>
        </view>
    </view>



  <view wx:if="{{nav_type==0}}">
<!-- 步骤条 -->
    <view style="margin-left: 28rpx;margin-top: 116rpx; ">
          <text style="font-size: 30rpx;font-weight: bold;">拼团规则</text>    
    </view>
    <view class="Groupone" style=" align-items: center;"  data-id="{{item.id}}">
    
            <view class="viewone">
                <view class="textone">1
                </view>
                <view style="color: #333333;font-size: 28rpx;margin-top: 2rpx;">支付</view>                    
                <view style="font-size: 24rpx;font-weight: 400;color: #C2C2C2;margin-top: 2rpx;">开团/参团</view>          
             </view>

             <view style="margin-left: 43rpx;">></view>
            <view class="viewone">
                <view class="textone">2
                </view>
                <view style="color: #333333;font-size: 28rpx;margin-top: 2rpx;">邀请</view>                    
                <view style="font-size: 24rpx;font-weight: 400;color: #C2C2C2;margin-top: 2rpx;">好友参团</view>          
             </view>


             <view style="margin-left: 43rpx;">></view>
            <view class="viewone">
                <view class="textone">3
                </view>
                <view style="color: #333333;font-size: 28rpx;margin-top: 2rpx;">返现</view>                    
                <view style="font-size: 24rpx;font-weight: 400;color: #C2C2C2;margin-top: 2rpx;">拼团成功返现</view>          
             </view>
    </view>


<!-- 订单 -->
    <view class="Distit" style="margin-left: 28rpx;">
          <text style="font-size: 30rpx;font-weight: bold;">拼团详情</text>    
    </view>
    <view class="Group" bindtap="activity" data-id="{{item.id}}">
    
            <view class="Group-image">
                <image src="{{goods_infor.index_img}}"></image>
            </view>
            <view class="content">
                <view class="title1">{{goods_infor.goods_name}}</view>
                <view class="title2">
                    <view class="house">
                        <image src="/pages/image/address.png"/>
                    </view>
                    <view >{{goods_infor.mechanism_name}}</view>
                </view>
                <view class="Price">
                    <view class="Price1">￥{{goods_infor.price}}</view>
                    <view class="Price2">￥{{goods_infor.original_price}}</view>
                    <!-- <view class="Price3">5.0折</view> -->
                </view>
            </view>
    </view>


<!-- 拼团头像 -->
<view style="display: flex;flex-direction: row;position: relative;justify-content: center;"> 
         
       <view style="display: flex;flex-direction:column;align-items: center;">            
                <!-- <image class="imageone" src="/images/WeChat.png"></image>  -->
                <view class="imageone" bindtap="bindViewTap">
                <open-data type="userAvatarUrl"></open-data>
                </view>             
                <view  class="texttwo"style="margin-top: -25rpx;">团长</view>          
        </view>

        <view class="imageone" style="margin-left: 111rpx; display: flex;align-items: center;  justify-content: center;background-color: #FFEDE5;">   
               <view  style="font-size: 54rpx;font-family: 苹方-简;color: #FF4C00;">?
               </view>                   
        </view>         
</view>


<!-- 操作按钮 -->
       <view style="display: flex;flex-direction: row;height: 80rpx;margin-top: 10rpx;"> 
            <view class="buttonsty" style="margin-left: 76rpx;" bindtap="tiaoguo">跳过</view>
             <view class="buttonsty" style="background: #FF4C00;margin-left: 32rpx;"bindtap="tongyifaqi">同意发起拼团</view>
       </view>

  </view>

<!-- 8888888888888888888888888-->
<view wx:if="{{nav_type==1}}">
<!-- 步骤条 -->
    <view style="margin-left: 28rpx;margin-top: 116rpx; ">
          <text style="font-size: 30rpx;font-weight: bold;">砍价规则</text>    
    </view>
    <view class="Groupone" style=" align-items: center;"  data-id="{{item.id}}">
    
            <view class="viewone">
                <view class="textone">1
                </view>
                <view style="color: #333333;font-size: 28rpx;margin-top: 2rpx;">好友参团</view>                    
                <view style="font-size: 24rpx;font-weight: 400;color: #C2C2C2;margin-top: 2rpx;">开团/参团</view>          
             </view>

             <view style="margin-left: 43rpx;">></view>
            <view class="viewone">
                <view class="textone">1
                </view>
                <view style="color: #333333;font-size: 28rpx;margin-top: 2rpx;">好友参团</view>                    
                <view style="font-size: 24rpx;font-weight: 400;color: #C2C2C2;margin-top: 2rpx;">开团/参团</view>          
             </view>


             <view style="margin-left: 43rpx;">></view>
            <view class="viewone">
                <view class="textone">1
                </view>
                <view style="color: #333333;font-size: 28rpx;margin-top: 2rpx;">好友参团</view>                    
                <view style="font-size: 24rpx;font-weight: 400;color: #C2C2C2;margin-top: 2rpx;">开团/参团</view>          
             </view>
    </view>


<!-- 订单 -->
    <view class="Distit" style="margin-left: 28rpx;">
          <text style="font-size: 30rpx;font-weight: bold;">特价商品</text>    
    </view>
    <view class="Group" bindtap="activity" data-id="{{item.id}}">
    
            <view class="Group-image">
                <image src="{{item.index_img}}"></image>
            </view>
            <view class="content">
                <view class="title1">除皱瘦脸 韩国进口标准装瘦咬肌速美小V脸</view>
                <view class="title2">
                    <view class="house">
                        <image src="/pages/image/address.png"/>
                    </view>
                    <view >{{item.mechanism_name}}</view>
                </view>
                <view class="Price">
                    <view class="Price1">￥{{item.price}}</view>
                    <view class="Price2">￥{{item.original_price}}</view>
                    <!-- <view class="Price3">5.0折</view> -->
                </view>
            </view>
    </view>





<!-- 操作按钮 -->
       <view style="display: flex;flex-direction: row;height: 80rpx;margin-top: 57rpx;"> 
            <view class="buttonsty" style="margin-left: 76rpx; ">跳过</view>
             <view class="buttonsty" style="background: #FF4C00;margin-left: 32rpx;"bindtap="getDeposit">同意发起砍价</view>
       </view>

  </view>


<!-- /////////////////////////////////////// -->
    </view>
  </view>
</van-overlay>