小程序的循环

<block wx:for="{{order_list}}" wx:for-index='key' wx:for-item='item'>
			<view class="ordergoods-ul" wx:for="{{item.order}}" wx:for-index='keys' wx:for-item='item_info'>
				<view class="xy_orderTit">
					<view class="order_info_l">
						<view class="order-date">订单编号:{{item_info.order_sn}}</view>
						<view  class="order-date">下单时间:{{item_info.add_time}}</view>
						<view  class="order-date">发货类型:{{item_info.add_time}}</view>
					</view>
					{{if item_info.order_status < 3 || item_info.order_status ==6}}
					<view class="order_info_r">
						<view class="order-but">{{item_info.order_status_name}}</view>
						<view class="order-del">删除订单</view>
					</view>
					{{/if}}
				</view>
				<!--商品列表-->
				<view class="order-gooods" wx:for="{{item_info.goods}}" wx:for-index='keys' wx:for-item='item_goods'>
					<image class="goods_img" src="{{main_url}}/{{item_goods.img_url}}"></image>
					<view class="order-text">
						<view>{{item_goods.goods_name}}</view>
						<view style="text-align: right;"><text>{{item_goods.goods_number}}</text>件X<text class="goods-price">¥{{item_goods.goods_price}}</text></view>
					</view>
					
				</view>

			</view>
		</block>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值