master
wbb 2 years ago
parent 597a544653
commit c9c3a20268

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

@ -1,25 +1,25 @@
<!--pages/orderlist/orderlist.wxml--> <!--pages/orderlist/orderlist.wxml-->
<view> <view>
<scroll-view class="scrol_view_style" scroll-x="{{false}}" scroll-y="{{true}}"> <scroll-view class="scrol_view_style" scroll-x="{{false}}" scroll-y="{{true}}">
<view style="height: 10rpx;"></view>
<view wx:for-items="{{orderlist}}" class="list_item_style" wx:key="{{ index }}"> <view wx:for-items="{{orderlist}}" class="list_item_style" wx:key="{{ index }}">
<view class="carts_box"> <view class="carts_box">
<image src="{{item.url}}" class="good_main_image" style="border-radius: 20px;"></image> <image src="{{item.url}}" class="good_main_image" style="border-radius: 20px;"></image>
<view class="cart_content_right"> <view class="cart_content_right">
<text class="item_good_title">{{item.food_name}}</text> <text class="item_good_title" style="font-size: larger;color:#596ede;">{{item.food_name}}*{{item.num}}</text>
<view class="price_back_view"> <view class="price_back_view">
<text class="right_list_item_price">总计:¥{{item.price}}</text> <text class="right_list_item_price">总计:¥{{item.price}}\n</text>
<text>地址:{{item.address}}-{{item.detailedAddress}}\n</text>
<text>收货人:{{item.name}}\n</text>
<text>电话:{{item.phone}}\n</text>
<text>时间:{{item.time}}</text> <text>时间:{{item.time}}</text>
</view> </view>
<view class="cart_content_bottom"> <view class="cart_content_bottom">
<view class='btn_wrap'>
<!-- <image src="/images/reduce.png" class = "reduce_image_style" id = "{{index}}" bindtap = "reduceButtonClick"></image> -->
<input type='text' value="*{{item.num}}" />
<!-- <image src="/images/add.png" class = "add_image_style" id = "{{index}}" bindtap = "addButtonClick"></image> -->
</view>
<view class="delete" bindtap="deleteGoods" id="{{index}}">删除</view> <view class="delete" bindtap="deleteGoods" id="{{index}}">删除</view>
</view> </view>
<view class="divLine"></view>
</view> </view>
</view> </view>

@ -1 +1,15 @@
/* pages/orderlist/orderlist.wxss */ /* pages/orderlist/orderlist.wxss */
.delete{
color: brown;
}
.carts_box{
background-color:honeydew;
margin: 10px;
}
.divLine{
background: #E0E3DA;
width: 100%;
height: 5rpx;
background-color: gray;
}

@ -1,4 +1,27 @@
<template is="navigationBar" data="{{...item}}"></template>
<view class="order_address" bindtap="bindaddress">
<view class="select_address"><text class="iconfont icon-map_line-"></text>点击去选择地址</view>
<view><text class="iconfont icon-arrowright"></text></view>
</view>
<view class="Receiving_address" bindtap="bindaddress">
<view wx:for="{{addresslist}}" class="container1">
<view class="text-content">
<checkbox checked="{{item.check}}" class="checkbox_one" data-index="{{index}}" bindtap="allCheckbox" />
<text>{{item.address}}\n</text>
<text>{{item.detailedAddress}}\n</text>
<text>收货人:{{item.name}}\n</text>
<text>电话:{{item.phone}}</text>
</view>
</view>
<view><text class="iconfont icon-arrowright"></text></view>
</view>
<view> <view>
<!-- 订单详情 --> <!-- 订单详情 -->
<view class="order-info"> <view class="order-info">
<view class="order-info-title" style="font-size: 20px;font-weight: bold;padding:10px 20px;margin-top: 20px;">订单详情</view> <view class="order-info-title" style="font-size: 20px;font-weight: bold;padding:10px 20px;margin-top: 20px;">订单详情</view>

@ -52,7 +52,7 @@
<view class="line"></view> <view class="line"></view>
<view class="list-item"> <view class="list-item">
<image class="item-image" src="/images/test6.jpg"></image> <image class="item-image" src="/images/test6.jpg"></image>
<navigator class="item-text" bindtab="addfood" url="/pages/addfood/addfood">添加食物</navigator> <text class="item-text" bindtab="addfood" url="/pages/addfood/addfood">添加食物</text>
</view> </view>

Loading…
Cancel
Save