spread-order.wxml 1.8 KB

1
  1. <mescroll-uni class="vue-ref" vue-id="2a48ed61-1" top="80rpx" down="{{downOption}}" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^down',[['downCallback']]],['^up',[['upCallback']]]]}}" bind:init="__e" bind:down="__e" bind:up="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="spread-order"><view class="order-lists"><block wx:for="{{orderList}}" wx:for-item="item" wx:for-index="index" wx:key="sn"><view class="order-item bg-white m-t-20"><view class="order-header flex row-between"><view>{{"订单编号:"+item.sn}}</view><view class="static sm" style="{{'color:'+(item.status==1?'#F95F2F':item.status==2?'#00c735':'#999999')+';'}}">{{''+item.status_desc+''}}</view></view><view class="order-content flex"><view><u-image vue-id="{{('2a48ed61-2-'+index)+','+('2a48ed61-1')}}" width="180rpx" height="180rpx" border-radius="6px" src="{{item.image}}" bind:__l="__l"></u-image></view><view class="order-goods-info m-l-20"><view class="name sm line-2">{{item.goods_name}}</view><view class="flex row-between m-t-6"><view class="xs muted"><text class="m-r-10">数量</text><text class="normal">{{item.goods_num}}</text></view><view class="xs"><text class="muted m-r-10">付款金额</text><price vue-id="{{('2a48ed61-3-'+index)+','+('2a48ed61-1')}}" content="{{item.total_pay_price}}" color="#333333" mainSize="28rpx" minorSize="28rpx" bind:__l="__l"></price></view></view><view class="pre-income muted sm m-t-10"><text class="m-r-10">预估收益</text><price vue-id="{{('2a48ed61-4-'+index)+','+('2a48ed61-1')}}" content="{{item.earnings}}" mainSize="28rpx" minorSize="28rpx" bind:__l="__l"></price></view></view></view><view class="order-footer flex row-between"><view class="time muted sm">{{item.create_time}}</view></view></view></block></view></view></mescroll-uni>