From f62afa4636c67973163697f837d42bc6102f7716 Mon Sep 17 00:00:00 2001 From: xiaobinwu Date: Sun, 14 May 2017 22:22:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/order.js | 4 +++- pages/order/order.wxml | 47 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 49 insertions(+), 2 deletions(-) diff --git a/pages/order/order.js b/pages/order/order.js index 6d81bfb..51a48ea 100644 --- a/pages/order/order.js +++ b/pages/order/order.js @@ -1,6 +1,8 @@ // pages/order/order.js Page({ - data:{}, + data:{ + orderList: [] + }, onLoad:function(options){ // 页面初始化 options为页面跳转所带来的参数 }, diff --git a/pages/order/order.wxml b/pages/order/order.wxml index 072f20a..30dcabf 100644 --- a/pages/order/order.wxml +++ b/pages/order/order.wxml @@ -1,2 +1,47 @@ -pages/order/order.wxml + + + + + + + {{item.store_name}} + {{item.add_time}} + + + + + + + + + {{product.goods_name}} + ¥ {{product.goods_price}} + + x {{product.goods_number}} + + + + + + + + + + {{icon.text}} + {{item.left_time}} + + + + 合计: + ¥ {{item.order_amount}} + + + + + + + + + +