<wxs module="g_filter" src="g_filter.wxs"></wxs>
<view class="pd20 fs30" wx:for="{{portrait_list}}">
    <!-- 上 -->
    <view class="card pd20 flex jc_sb fw_box">
        <image class="fw_img"
               src="{{userInfo.head_pic}}"/>


        <view class="flex mgt10 img_right" >
            <view class="flex jc_sb fs26 mgb20">
                <view class="c-red">{{item.customername || '-'}}</view>
                <view class="c-red">{{item.mobiletel || '-'}}</view>
                <view  class="flex ai_c c-red">{{item.age || '-'}}
                    <view class="c-38">岁
                    </view>
                </view>
            </view>
            <view class="flex fs26 mgb20">
                <view class="flex ai_c c-38">减重疗程数：
                    <view class="c-red">
                        {{item.weightlosscourse || '0'}}
                    </view>
                </view>
                <view style="margin-left: 30rpx;" class="flex ai_c c-38">塑形疗程数：
                    <view class="c-red">{{item.shapecourse || '0'}}</view>
                </view>

            </view>
            <view class="flex fs26 mgb20">
                <view class="flex ai_c c-38">购买日期：
                    <view class="c-red">{{item.signingdate || '-'}}</view>
                </view>
            </view>
        </view>
    </view>
    <!-- 下 -->
    <view class="card mgt20">
        <view>
            <view class="flex pd20 jc_sb ai_c">
                <view class="fs32 c-38">日常打卡</view>
                <view bindtap="goto" data-url="/packageE/pages/user/punchInhistory/punchInhistory?customerid={{item.id}}&diffweight={{item.diffweight}}&howday={{item.tostoreqty}}&standardweight={{item.ideaweight}}"
                class="fs26 fw_see_more">查看全部
            </view>
        </view>

        <view class="flex pd20 jc_sb ai_c fw_detail_box">
            <view class="flex mgr20">
                <view wx:if="{{item.dayweight>0 }}" class="ellipsis-2 fw_day_weight"
                      style="color: #FE3A62;font-size: 84rpx;width: 250rpx;text-align: right;margin-left: 40rpx;">
                    {{  g_filter.toFixTwo(item.dayweight ) }}
                </view>
                <view wx:else class="ellipsis-2 fw_no_day_weight">
                    _ _
                </view>
                <view class="fs26 c-38 mgt40">斤</view>
                <view class="fw_edit_img_box"
                bindtap="goto" data-url="/packageE/pages/punchIn/punchIn?mobiletel={{item.mobiletel}}&iswhere=1&gradenames=true&isMy=1">
                <image :src="imghost+'mdd_img/modigoods.png'" class="fw_edit_img" mode=""></image>
            </view>
        </view>
        <view style="color: #383838;" class="fs26">今日体重</view>
    </view>
</view>

<view class="flex jc_sa fw_tiny_box">
    <view class="flex txt-center fw_tiny_top">
        <view class="flex jc_c">
            <view class="ellipsis-2 flex fs52 c-red">{{g_filter.toFixTwo(item.ringratioweight)}}
              <view class="fs26 mgt20 c-38">斤</view>
            </view>

        </view>
        <view class="fs26 mgt20 c-38">环比重量</view>
    </view>
    <view class="flex txt-center fw_tiny_top">
        <view class="flex jc_c">
            <view class="ellipsis-2 flex fs52 c-red">{{  g_filter.toFixTwo(item.actualweight)}}
              <view class="fs26 mgt20  c-38">斤</view>
            </view>

            
        </view>
        <view  class="fs26 mgt20  c-38">实际减重</view>
    </view>
    <view class="flex txt-center fw_tiny_top">
        <view class="flex jc_c">
            <view class="ellipsis-2 flex fs52 c-red">{{g_filter.toFixTwo(item.diffweight)}}
              <view class="fs26 mgt20 c-38">斤</view>
            </view>

        </view>
        <view class="fs26 mgt20 c-38">累计减重</view>
    </view>
</view>

<view class="flex jc_sa fw_tiny_box" >
    <view class="flex txt-center fw_tiny_top">
        <view class="flex jc_c">
            <view class="ellipsis-2 flex fs52 c-red">{{item.tostoreqty || '0'}}
              <view class="fs26 mgt20 c-38">次</view>
            </view>
            
        </view>
        <view class="fs26 mgt20 c-38">累计到店</view>
    </view>
    <view class="flex txt-center fw_tiny_top">
        <view class="flex jc_c">
            <view class="ellipsis-2 flex fs52 c-red">{{ g_filter.toFixTwo(item.undeduced)}}
              <view class="fs26 mgt20 c-38">斤</view>
            </view>
            
        </view>
        <view class="fs26 mgt20 c-38">未减斤数</view>
    </view>
    <view class="flex txt-center fw_tiny_top">
        <view class="flex jc_c">
            <view class="ellipsis-2 flex fs52 c-red">{{g_filter.toFixTwo(item.minweight) }}
              <view class="fs26 mgt20 c-38">斤</view>
            </view>
        </view>
        <view class="fs26 mgt20 c-38">最低体重</view>
    </view>
</view>

<view class="flex jc_sa fw_3weight">
    <view class="fs26 flex ai_c c-38">初始体重<view class="fs26 c-red">{{ g_filter.toFixTwo(item.weight) }}</view>斤
    </view>
    <view class="fs26 flex ai_c c-38">标准体重<view class="fs26 c-red">{{ g_filter.toFixTwo(item.standardweight)}}</view>斤
    </view>
    <view class="fs26 flex ai_c c-38">应减斤数<view class="fs26 c-red">{{g_filter.toFixTwo(item.subtracted)}}</view>斤
    </view>
</view>
<view class="flex jc_sb fw_bottom_box">
    <view class="fs26 c-38 lh68">减重顾问</view>
    <view class="fs26 c-38 lh68">{{item.advisername || '-'}}</view>
</view>
<view class="flex jc_sb fw_bottom_box">
    <view class="fs26 c-38 lh68">减重塑形师</view>
    <view class="fs26 c-38 lh68">{{item.beautyconsultant || '-'}}</view>
</view>

        </view>
 </view>

<nodata class="t-c" wx:if="{{portrait_list.length == 0 && is_get}}"></nodata>
<view class="noMore" hidden="{{!noMore}}" wx:if="{{portrait_list.length !== 0}}">- 已经到底了 -</view>

