myCollections.wxml 5.8 KB
<!--pages/my/myCollection/myCollection.wxml-->
<view>
        <view class='banner'>
                <view class='iconfont icon-fanhui' catchtap='get_my'></view>
                <view class='coupons'>我的收藏</view>
                <view class='complete'>完成</view>
        </view>

        <view class='select_list'>
                <view bindtap='changeId' class='select_list_item {{id==0?"active":""}}'>全部</view>
                <view bindtap='changeId' class='select_list_item {{id==1?"active":""}}'>待付款</view>
                <view bindtap='changeId' class='select_list_item {{id==2?"active":""}}'>待发货</view>
                <view bindtap='changeId' class='select_list_item {{id==3?"active":""}}'>待收货</view>
                <view bindtap='changeId' class='select_list_item {{id==4?"active":""}}'>待评价</view>
        </view>

        <view class='content_item' wx:if='{{id==0}}'>
                <view class='item_list'>
                        <view class='iconfont icon-xuanzhong {{goodsId==1?"active":""}}' bindtap='get_pitch'></view>
                        <view class='content_img' bindtap="get_goodsDetial">
                                <image src='http://hifresh.w.bronet.cn/assets/wxapp/YAOQING@2x.png' mode='widthFix'></image>
                        </view>
                        <view class='content_information' bindtap="get_goodsDetial">
                                <view class='content_title'>泰式冬阴功秘制虾汤620g</view>
                                <view class='content_hint'>量大好吃无限回购</view>
                                <view class='price_box'>
                                        <text class='money_icon'>¥</text>
                                        <text class='present_price'>26.0</text>
                                        <text class='original_price'>¥52.0</text>
                                </view>
                                <view class='special_offer_box'>
                                        <text class='money_icon1'>¥</text>
                                        <text class='special_offer'>25.0</text>
                                        <view class='members_only'>会员专享</view>
                                </view>
                        </view>
                </view>
                <view class='item_list'>
                        <view class='iconfont icon-xuanzhong {{goodsId==0?"active":""}}' bindtap='get_pitch'></view>
                        <view class='content_img' bindtap="get_goodsDetial">
                                <image src='http://hifresh.w.bronet.cn/assets/wxapp/YAOQING@2x.png' mode='widthFix'></image>
                        </view>
                        <view class='content_information' bindtap="get_goodsDetial">
                                <view class='content_title'>泰式冬阴功秘制虾汤620g</view>
                                <view class='content_hint'>量大好吃无限回购</view>
                                <view class='price_box'>
                                        <text class='money_icon'>¥</text>
                                        <text class='present_price'>26.0</text>
                                        <text class='original_price'>¥52.0</text>
                                </view>
                                <view class='special_offer_box'>
                                        <text class='money_icon1'>¥</text>
                                        <text class='special_offer'>25.0</text>
                                        <view class='members_only'>会员专享</view>
                                </view>
                        </view>
                </view>
                <view class='bottom_btn'>
                        <view class='all_btn'>
                                <view class='iconfont icon-xuanzhong'></view>
                                <view class='all'>全选1</view>
                        </view>
                        <view class='delete_btn'>删除</view>
                </view>
        </view>
        <view class='content_item' wx:if='{{id==1}}'>
                <view class='item_list' wx:for='{{unpay}}' wx:for-index='index' wx:key='{{index}}'>
                <view class='unpay_btn' bindtap='go_pay' data-index='{{index}}'>去付款</view>
                        <view class='iconfont icon-xuanzhong' catchtap='get_pitch'></view>
                        <view class='content_img'>
                                <image src='{{item.more.thumbnail[0]}}' mode='widthFix'></image>
                        </view>
                        <view class='content_information'>
                                <view class='content_title'>泰式冬阴功秘制虾汤620g</view>
                                <view class='content_hint'>量大好吃无限回购</view>
                                <view class='price_box'>
                                        <text class='money_icon'>¥</text>
                                        <text class='present_price'>26.0</text>
                                        <text class='original_price'>¥52.0</text>
                                </view>
                                <view class='special_offer_box'>
                                        <text class='money_icon1'>¥</text>
                                        <text class='special_offer'>25.0</text>
                                        <view class='members_only'>会员专享</view>
                                </view>
                        </view>
                </view>
                <view class='bottom_btn'>
                        <view class='all_btn'>
                                <view class='iconfont icon-xuanzhong'></view>
                                <view class='all'>全选</view>
                        </view>
                        <view class='delete_btn'>删除</view>
                </view>
        </view>


</view>