jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/pages/wodedingdan/wodedingdan.axml
2024-12-03 19:59:36 +08:00

265 lines
9.9 KiB
XML

<view class="tar">
<ant-tabs
type="primary"
items="{{ items }}"
current="{{ current }}"
onChange="onChange"/>
<swiper
current="{{ current }}"
autoplay="{{ false }}"
vertical="{{ false }}"
circular="{{ false }}"
onChange="onSwipeChange">
<block
a:for="{{ items }}"
a:for-index="index"
a:for-item="item"
a:key="{{ index }}">
<!-- 全部-->
<swiper-item>
<view class="containercontent" a:for="{{ dingdan }}"a:key="index">
<container title={{item.businessVO.businessName}}>
<view >
<view class="container"a:for="{{item.orderItemsVOList}}" a:key="index">
<image class="left" mode="scaleToFill" src="{{item.commoditiesVO.commoditiesImage}}" />
<view class="content" >
<view class="title1">
{{item.commoditiesVO.commoditiesName}}
</view>
<view class="title2">
{{item.sddcreateTime}}
</view>
<view class="title2">
下单时间:{{item.createTime}}
</view>
<view class="title2">
<!-- <ant-icon type="LocationFill" />
{{item.address}} -->
<view class="title2right">
¥{{item.commoditiesVO.commoditiesPrice}}
<view style="margin-left:10px;font-size:12px;color:gray" >
共1件
</view>
</view>
</view>
</view>
</view>
</view>
<view slot="headerRight" style="color:#f48315">
{{item.state}}
</view>
</container>
</view>
</swiper-item>
<!-- 待支付 -->
<swiper-item>
<view class="containercontent" a:for="{{ dingdan }}"a:key="index">
<container title={{item.businessVO.businessName}}>
<view >
<view class="container"a:for="{{item.orderItemsVOList}}" a:key="index">
<image class="left" mode="scaleToFill" src="{{item.commoditiesVO.commoditiesImage}}" />
<view class="content" >
<view class="title1">
{{item.commoditiesVO.commoditiesName}}
</view>
<view class="title2">
{{item.sddcreateTime}}
</view>
<view class="title2">
下单时间:{{item.createTime}}
</view>
<view class="title2">
<!-- <ant-icon type="LocationFill" />
{{item.address}} -->
<view class="title2right">
¥{{item.commoditiesVO.commoditiesPrice}}
<view style="margin-left:10px;font-size:12px;color:gray" >
共1件
</view>
</view>
<view class="box">
<view class="tab1">
<text>取消</text>
</view>
<view class="tab2">
<text>支付</text>
</view>
</view>
</view>
</view>
</view>
</view>
<view slot="headerRight" style="color:#f48315">
{{item.state}}
</view>
</container>
</view>
</swiper-item>
<!-- 待使用 -->
<swiper-item>
<view class="containercontent" a:for="{{ dingdan }}"a:key="index">
<container title={{item.businessVO.businessName}}>
<view >
<view class="container"a:for="{{item.orderItemsVOList}}" a:key="index">
<image class="left" mode="scaleToFill" src="{{item.commoditiesVO.commoditiesImage}}" />
<view class="content" >
<view class="title1">
{{item.commoditiesVO.commoditiesName}}
</view>
<view class="title2">
{{item.sddcreateTime}}
</view>
<view class="title2">
下单时间:{{item.createTime}}
</view>
<view class="title2">
<!-- <ant-icon type="LocationFill" />
{{item.address}} -->
<view class="title2right">
¥{{item.commoditiesVO.commoditiesPrice}}
<view style="margin-left:10px;font-size:12px;color:gray" >
共1件
</view>
</view>
<view class="box">
<view class="tab1">
<text>退款</text>
</view>
<view class="tab2">
<text>完成</text>
</view>
</view>
</view>
</view>
</view>
</view>
<view slot="headerRight" style="color:#f48315">
{{item.state}}
</view>
</container>
</view>
</swiper-item>
<!-- 已完成 -->
<swiper-item>
<view class="containercontent" a:for="{{ dingdan }}"a:key="index">
<container title={{item.businessVO.businessName}}>
<view >
<view class="container"a:for="{{item.orderItemsVOList}}" a:key="index">
<image class="left" mode="scaleToFill" src="{{item.commoditiesVO.commoditiesImage}}" />
<view class="content" >
<view class="title1">
{{item.commoditiesVO.commoditiesName}}
</view>
<view class="title2">
{{item.sddcreateTime}}
</view>
<view class="title2">
下单时间:{{item.createTime}}
</view>
<view class="title2">
<!-- <ant-icon type="LocationFill" />
{{item.address}} -->
<view class="title2right">
¥{{item.commoditiesVO.commoditiesPrice}}
<view style="margin-left:10px;font-size:12px;color:gray" >
共1件
</view>
</view>
</view>
</view>
</view>
</view>
<view slot="headerRight" style="color:#f48315">
{{item.state}}
</view>
</container>
</view>
</swiper-item>
<!-- 已取消 -->
<swiper-item>
<view class="containercontent" a:for="{{ dingdan }}"a:key="index">
<container title={{item.businessVO.businessName}}>
<view >
<view class="container"a:for="{{item.orderItemsVOList}}" a:key="index">
<image class="left" mode="scaleToFill" src="{{item.commoditiesVO.commoditiesImage}}" />
<view class="content" >
<view class="title1">
{{item.commoditiesVO.commoditiesName}}
</view>
<view class="title2">
{{item.sddcreateTime}}
</view>
<view class="title2">
下单时间:{{item.createTime}}
</view>
<view class="title2">
<!-- <ant-icon type="LocationFill" />
{{item.address}} -->
<view class="title2right">
¥{{item.commoditiesVO.commoditiesPrice}}
<view style="margin-left:10px;font-size:12px;color:gray" >
共1件
</view>
</view>
</view>
</view>
</view>
</view>
<view slot="headerRight" style="color:#f48315">
{{item.state}}
</view>
</container>
</view>
</swiper-item>
<!-- 退款 -->
<swiper-item>
<view class="containercontent" a:for="{{ dingdan }}"a:key="index">
<container title={{item.businessVO.businessName}}>
<view >
<view class="container"a:for="{{item.orderItemsVOList}}" a:key="index">
<image class="left" mode="scaleToFill" src="{{item.commoditiesVO.commoditiesImage}}" />
<view class="content" >
<view class="title1">
{{item.commoditiesVO.commoditiesName}}
</view>
<view class="title2">
{{item.sddcreateTime}}
</view>
<view class="title2">
下单时间:{{item.createTime}}
</view>
<view class="title2">
<!-- <ant-icon type="LocationFill" />
{{item.address}} -->
<view class="title2right">
¥{{item.commoditiesVO.commoditiesPrice}}
<view style="margin-left:10px;font-size:12px;color:gray" >
共1件
</view>
</view>
</view>
</view>
</view>
</view>
<view slot="headerRight" style="color:#f48315">
{{item.state}}
</view>
</container>
</view>
</swiper-item>
</block>
</swiper>
</view>