...
|
...
|
@@ -10,7 +10,9 @@ |
|
|
|
|
|
<!-- 中部 -->
|
|
|
<view class='mid'>
|
|
|
<view class="nodata" wx:if='{{orderList.length==0}}'>暂无数据</view>
|
|
|
<!-- 全部 -->
|
|
|
<block wx:else>
|
|
|
<view class='mid_item' wx:if='{{currentTab == 0}}' wx:for='{{orderList}}' wx:key=''>
|
|
|
<!-- 上 -->
|
|
|
<view class='mid_item_top'>
|
...
|
...
|
@@ -36,7 +38,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<view class='mid_left_pic'>
|
|
|
<!-- <image src='../../../img/goods_1.png'></image>-->
|
|
|
<image src='../../../img/goods_1.png'></image>
|
|
|
<image src='{{item.thumb}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_left_text'>
|
...
|
...
|
@@ -55,13 +57,15 @@ |
|
|
</view>
|
|
|
<!-- 百分比 -->
|
|
|
<view class='mid_right_m'>
|
|
|
<view class='right_m_left'>
|
|
|
<view class='right_m_left_content' ></view>
|
|
|
</view>
|
|
|
<!-- <view class='right_m_left'> -->
|
|
|
<!-- <view class='right_m_left_content' style="width:{{item.percent}}"></view> -->
|
|
|
|
|
|
<view class='right_m_right'>
|
|
|
42%
|
|
|
</view>
|
|
|
<progress percent="{{item.percent}}" show-info color="#B5DE96" border-radius="8" font-size="24rpx" stroke-width="16rpx" />
|
|
|
<!-- </view> -->
|
|
|
|
|
|
<!-- <view class='right_m_right'>
|
|
|
{{item.percent}}%
|
|
|
</view> -->
|
|
|
</view>
|
|
|
<!-- 拼团份数 -->
|
|
|
<view class='mid_right_bottom'>
|
...
|
...
|
@@ -69,7 +73,7 @@ |
|
|
已拼{{item.numb}}份,目标{{item.group}}份
|
|
|
</view>
|
|
|
<view class='mid_right_bottom_rig'>
|
|
|
x4
|
|
|
{{item.goods_numb}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -81,12 +85,26 @@ |
|
|
共2件商品,实付
|
|
|
<span class='color_red'>¥52</span>
|
|
|
</view>
|
|
|
<view class='mid_item_bottom_rig'>
|
|
|
<view class='mid_item_bottom_rig' wx:if="{{item.goods_status==2}}">
|
|
|
<view class='bottom_btn_left' bindtap='cancelOrder'>取消订单</view>
|
|
|
<view class='bottom_btn_right'>立即付款</view>
|
|
|
</view>
|
|
|
|
|
|
<view wx:if="{{item.goods_status==1}}">
|
|
|
<view class='mid_item_bottom_rig' wx:if="{{item.message_id==0}}">
|
|
|
<view class='bottom_btn_left' bindtap='cancelOrder'>去评价</view>
|
|
|
<view class='bottom_btn_right'>确认订单</view>
|
|
|
</view>
|
|
|
|
|
|
<view class='mid_item_bottom_rig' wx:else>
|
|
|
<view class='bottom_btn_left' bindtap='cancelOrder'>删除</view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
<!-- 待付款 -->
|
|
|
<view class='mid_item' wx:if='{{currentTab == 1}}' wx:for='{{orderList}}' wx:key=''>
|
|
|
<!-- 上 -->
|
...
|
...
|
@@ -113,7 +131,7 @@ |
|
|
<!-- 图片 -->
|
|
|
<view class='mid_left_pic'>
|
|
|
<!-- <image src='../../../img/goods_1.png'></image>-->
|
|
|
<image src='../../../img/goods_1.png'></image>
|
|
|
<image src='{{item.thumb}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_left_text'>
|
...
|
...
|
@@ -126,8 +144,8 @@ |
|
|
<view class='right_top_lef'>{{item.shop_name}}</view>
|
|
|
<view class='right_top_rig'>
|
|
|
<span class='price_small'>¥</span>
|
|
|
<span class='font_big'>50</span>
|
|
|
<span class='font_small'>.00</span>
|
|
|
<span class='font_big'>{{item.money_sale}}</span>
|
|
|
<!-- <span class='font_small'>.00</span> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 百分比 -->
|
...
|
...
|
@@ -146,7 +164,7 @@ |
|
|
已拼{{item.numb}}份,目标{{item.group}}份
|
|
|
</view>
|
|
|
<view class='mid_right_bottom_rig'>
|
|
|
x4
|
|
|
{{item.goods_numb}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -159,7 +177,7 @@ |
|
|
<span class='color_red'>¥52</span>
|
|
|
</view>
|
|
|
<view class='mid_item_bottom_rig'>
|
|
|
<view class='bottom_btn_left' bindtap='cancelOrder'>取消订单</view>
|
|
|
<view class='bottom_btn_left' bindtap='cancelOrder' >取消订单</view>
|
|
|
<view class='bottom_btn_right'>立即付款</view>
|
|
|
</view>
|
|
|
</view>
|
...
|
...
|
@@ -189,7 +207,7 @@ |
|
|
<view class='mid_item_mid_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_left_pic'>
|
|
|
<image src='../../../img/goods_1.png'></image>
|
|
|
<image src='{{item.thumb}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_left_text'>
|
...
|
...
|
@@ -222,7 +240,7 @@ |
|
|
已拼300份,目标500份
|
|
|
</view>
|
|
|
<view class='mid_right_bottom_rig'>
|
|
|
x4
|
|
|
{{item.goods_numb}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -231,7 +249,7 @@ |
|
|
|
|
|
</view>
|
|
|
<!-- 待发货 -->
|
|
|
<view class='mid_item' wx:if='{{currentTab == 3}}'>
|
|
|
<view class='mid_item' wx:if='{{currentTab == 3}}' wx:for='{{orderList}}' wx:key=''>
|
|
|
<!-- 上 -->
|
|
|
<view class='mid_item_top'>
|
|
|
<!-- 订单号 -->
|
...
|
...
|
@@ -242,12 +260,12 @@ |
|
|
</view>
|
|
|
<!-- 订单号 -->
|
|
|
<view class='top_left_text'>
|
|
|
订单号:1003828041
|
|
|
订单号:{{item.goods}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 待发货 -->
|
|
|
<view class='mid_item_top_right'>
|
|
|
待发货
|
|
|
{{item.goods_status}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 中 -->
|
...
|
...
|
@@ -255,7 +273,7 @@ |
|
|
<view class='mid_item_mid_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_left_pic'>
|
|
|
<image src='../../../img/goods_1.png'></image>
|
|
|
<image src='{{item.thumb}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_left_text text_b'>
|
...
|
...
|
@@ -265,11 +283,11 @@ |
|
|
<!-- 中——右边 -->
|
|
|
<view class='mid_item_mid_right'>
|
|
|
<view class='mid_right_top'>
|
|
|
<view class='right_top_lef'>纯进口有机菜花</view>
|
|
|
<view class='right_top_lef'>{{item.shop_name}}</view>
|
|
|
<view class='right_top_rig'>
|
|
|
<span class='price_small'>¥</span>
|
|
|
<span class='font_big'>52</span>
|
|
|
<span class='font_small'>.00</span>
|
|
|
<span class='font_big'>{{item.money_pay}}</span>
|
|
|
<!-- <span class='font_small'>.00</span> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -279,7 +297,7 @@ |
|
|
拼团成功
|
|
|
</view>
|
|
|
<view class='mid_right_bottom_rig'>
|
|
|
x4
|
|
|
{{item.goods_numb}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -288,7 +306,10 @@ |
|
|
|
|
|
</view>
|
|
|
<!-- 待完成 -->
|
|
|
<view class='mid_item' wx:if='{{currentTab == 4}}'>
|
|
|
<view class='mid_item' wx:if='{{currentTab == 4}}' wx:for='{{orderList}}' wx:key=''>
|
|
|
<view class="nodata" wx:if="{{orderList.length==0}}">暂无数据</view>
|
|
|
<block wx:else >
|
|
|
<view wx:for='{{orderList}}'>
|
|
|
<!-- 上 -->
|
|
|
<view class='mid_item_top'>
|
|
|
<!-- 订单号 -->
|
...
|
...
|
@@ -299,12 +320,12 @@ |
|
|
</view>
|
|
|
<!-- 订单号 -->
|
|
|
<view class='top_left_text'>
|
|
|
订单号:1003828041
|
|
|
订单号:{{item.goods}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 待完成 -->
|
|
|
<view class='mid_item_top_right'>
|
|
|
待完成
|
|
|
{{item.goods_status}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 中 -->
|
...
|
...
|
@@ -312,7 +333,7 @@ |
|
|
<view class='mid_item_mid_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_left_pic'>
|
|
|
<image src='../../../img/goods_1.png'></image>
|
|
|
<image src='{{item.thumb}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_left_text text_b'>
|
...
|
...
|
@@ -322,11 +343,11 @@ |
|
|
<!-- 中——右边 -->
|
|
|
<view class='mid_item_mid_right'>
|
|
|
<view class='mid_right_top'>
|
|
|
<view class='right_top_lef'>纯进口有机菜花</view>
|
|
|
<view class='right_top_lef'>{{item.shop_name}}</view>
|
|
|
<view class='right_top_rig'>
|
|
|
<span class='price_small'>¥</span>
|
|
|
<span class='font_big'>52</span>
|
|
|
<span class='font_small'>.00</span>
|
|
|
<span class='font_big'>{{item.money_pay}}</span>
|
|
|
<!-- <span class='font_small'>.00</span> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -336,7 +357,7 @@ |
|
|
拼团成功
|
|
|
</view>
|
|
|
<view class='mid_right_bottom_rig'>
|
|
|
x4
|
|
|
{{item.goods_numb}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -353,8 +374,12 @@ |
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
</block>
|
|
|
|
|
|
</view>
|
|
|
<!-- 待评价 -->
|
|
|
<view class='mid_item' wx:if='{{currentTab == 5}}'>
|
|
|
<view class='mid_item' wx:if='{{currentTab == 5}}' wx:for='{{orderList}}' wx:key=''>
|
|
|
<!-- 上 -->
|
|
|
<view class='mid_item_top' >
|
|
|
<!-- 订单号 -->
|
...
|
...
|
@@ -365,12 +390,12 @@ |
|
|
</view>
|
|
|
<!-- 订单号 -->
|
|
|
<view class='top_left_text'>
|
|
|
订单号:1003828041
|
|
|
订单号:{{item.goods}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 待评价 -->
|
|
|
<view class='mid_item_top_right'>
|
|
|
待评价
|
|
|
{{item.goods_status}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 中 -->
|
...
|
...
|
@@ -378,7 +403,7 @@ |
|
|
<view class='mid_item_mid_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_left_pic'>
|
|
|
<image src='../../../img/goods_1.png'></image>
|
|
|
<image src='{{item.thumb}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_left_text text_b'>
|
...
|
...
|
@@ -388,11 +413,11 @@ |
|
|
<!-- 中——右边 -->
|
|
|
<view class='mid_item_mid_right'>
|
|
|
<view class='mid_right_top'>
|
|
|
<view class='right_top_lef'>纯进口有机菜花</view>
|
|
|
<view class='right_top_lef'>{{item.shop_name}}</view>
|
|
|
<view class='right_top_rig'>
|
|
|
<span class='price_small'>¥</span>
|
|
|
<span class='font_big'>52</span>
|
|
|
<span class='font_small'>.00</span>
|
|
|
<span class='font_big'>{{item.money_pay}}</span>
|
|
|
<!-- <span class='font_small'>.00</span> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -402,7 +427,7 @@ |
|
|
拼团成功
|
|
|
</view>
|
|
|
<view class='mid_right_bottom_rig'>
|
|
|
x4
|
|
|
{{item.goods_numb}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -414,13 +439,13 @@ |
|
|
|
|
|
</view>
|
|
|
<view class='mid_item_bottom_rig'>
|
|
|
<view class='bottom_btn_left' bindtap='btn_eOrder'>去评价</view>
|
|
|
<view class='bottom_btn_left' bindtap='btn_eOrder' data-id="{{item.goods_id}}">去评价</view>
|
|
|
<view class='bottom_btn_right'>确认订单</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 已完成 -->
|
|
|
<view class='mid_item' wx:if='{{currentTab == 6}}'>
|
|
|
<view class='mid_item' wx:if='{{currentTab == 6}}' wx:for='{{orderList}}' wx:key=''>
|
|
|
<!-- 上 -->
|
|
|
<view class='mid_item_top'>
|
|
|
<!-- 订单号 -->
|
...
|
...
|
@@ -431,12 +456,12 @@ |
|
|
</view>
|
|
|
<!-- 订单号 -->
|
|
|
<view class='top_left_text'>
|
|
|
订单号:1003828041
|
|
|
订单号:{{item.goods}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 已完成 -->
|
|
|
<view class='mid_item_top_right color_text'>
|
|
|
已完成
|
|
|
{{item.goods_status}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 中 -->
|
...
|
...
|
@@ -444,7 +469,7 @@ |
|
|
<view class='mid_item_mid_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_left_pic'>
|
|
|
<image src='../../../img/goods_1.png'></image>
|
|
|
<image src='{{item.thumb}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_left_text text_b'>
|
...
|
...
|
@@ -454,11 +479,11 @@ |
|
|
<!-- 中——右边 -->
|
|
|
<view class='mid_item_mid_right'>
|
|
|
<view class='mid_right_top'>
|
|
|
<view class='right_top_lef'>纯进口有机菜花</view>
|
|
|
<view class='right_top_lef'>{{item.shop_name}}</view>
|
|
|
<view class='right_top_rig'>
|
|
|
<span class='price_small'>¥</span>
|
|
|
<span class='font_big'>52</span>
|
|
|
<span class='font_small'>.00</span>
|
|
|
<span class='font_big'>{{item.money_pay}}</span>
|
|
|
<!-- <span class='font_small'>.00</span> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -468,7 +493,7 @@ |
|
|
拼团成功
|
|
|
</view>
|
|
|
<view class='mid_right_bottom_rig'>
|
|
|
x4
|
|
|
{{item.goods_numb}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -486,7 +511,7 @@ |
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 已取消 -->
|
|
|
<view class='mid_item' wx:if='{{currentTab == 7}}'>
|
|
|
<view class='mid_item' wx:if='{{currentTab == 7}}' wx:for='{{orderList}}' wx:key=''>
|
|
|
<!-- 上 -->
|
|
|
<view class='mid_item_top'>
|
|
|
<!-- 订单号 -->
|
...
|
...
|
@@ -497,12 +522,12 @@ |
|
|
</view>
|
|
|
<!-- 订单号 -->
|
|
|
<view class='top_left_text'>
|
|
|
订单号:1003828041
|
|
|
订单号:{{item.goods}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 已取消 -->
|
|
|
<view class='mid_item_top_right color_red'>
|
|
|
已取消
|
|
|
{{item.goods_status}}
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 中 -->
|
...
|
...
|
@@ -510,7 +535,7 @@ |
|
|
<view class='mid_item_mid_left'>
|
|
|
<!-- 图片 -->
|
|
|
<view class='mid_left_pic'>
|
|
|
<image src='../../../img/goods_1.png'></image>
|
|
|
<image src='{{item.thumb}}'></image>
|
|
|
</view>
|
|
|
<!-- 文字 -->
|
|
|
<view class='mid_left_text text_b'>
|
...
|
...
|
@@ -520,11 +545,11 @@ |
|
|
<!-- 中——右边 -->
|
|
|
<view class='mid_item_mid_right'>
|
|
|
<view class='mid_right_top'>
|
|
|
<view class='right_top_lef'>纯进口有机菜花</view>
|
|
|
<view class='right_top_lef'>{{item.shop_name}}</view>
|
|
|
<view class='right_top_rig'>
|
|
|
<span class='price_small'>¥</span>
|
|
|
<span class='font_big'>52</span>
|
|
|
<span class='font_small'>.00</span>
|
|
|
<span class='font_big'>{{item.money_pay}}</span>
|
|
|
<!-- <span class='font_small'>.00</span> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -534,7 +559,7 @@ |
|
|
拼团成功
|
|
|
</view>
|
|
|
<view class='mid_right_bottom_rig'>
|
|
|
x4
|
|
|
{{item.goods_numb}}
|
|
|
</view>
|
|
|
</view>
|
|
|
|
...
|
...
|
@@ -547,7 +572,7 @@ |
|
|
</view>
|
|
|
<view class='mid_item_bottom_rig'>
|
|
|
<view></view>
|
|
|
<view class='bottom_btn_delete'>删除</view>
|
|
|
<view class='bottom_btn_delete' bindtap='toDelect'>删除</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
...
|
...
|
@@ -566,3 +591,14 @@ |
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 删除订单弹层 -->
|
|
|
<view class='mask' wx:if='{{delect_order}}'>
|
|
|
<view class='mask_mid'>
|
|
|
<view class='mask_mid_top'>您确定要删除吗?</view>
|
|
|
<view class='mask_mid_bottom'>
|
|
|
<view class='mask_mid_bottom_left'>确定</view>
|
|
|
<view class='mask_mid_bottom_right' bindtap='toDelect_close'>取消</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view> |
|
|
\ No newline at end of file |
...
|
...
|
|